Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppointmentStatusAvailable = "available" AppointmentStatusBooked = "booked" AppointmentStatusCancelled = "cancelled" AppointmentStatusReserved = "reserved" AppointmentStatusFinished = "finished" AppointmentStatusRescheduled = "rescheduled" )
View Source
const ( ConsultationStatusPending = "pending" ConsultationStatusCanceled = "canceled" ConsultationStatusCompleted = "completed" ConsultationStatusInProgress = "in_progress" ConsultationStatusFailed = "failed" )
View Source
const ( ConsultationTypeRemote = "remote" ConsultationTypeInPerson = "in_person" )
View Source
const ( ConsultationPaymentStatusPending = "pending" ConsultationPaymentStatusCompleted = "completed" ConsultationPaymentStatusFailed = "failed" )
View Source
const ( DevEnv = "dev" ProdEnv = "prod" LocalEnv = "local" StagingEnv = "staging" )
View Source
const ( LogLevelDebug = "debug" LogLevelInfo = "info" LogLevelWarn = "warn" LogLevelError = "error" LogLevelFatal = "fatal" LogLevelPanic = "panic" LogLevelDPanic = "dpanic" )
View Source
const ( PaymentRefundRefunded = "REFUNDED" PaymentRefundRequested = "REQUESTED" PaymentRefundRejected = "REJECTED" PaymentRefundAccepted = "ACCEPTED" PaymentRefundCancelled = "CANCELLED" )
View Source
const ( PaymentMethodInStoreCash = "IN_STORE_CASH" PaymentMethodInStoreCreditCard = "IN_STORE_CREDIT_CARD" PaymentMethodInStoreDebitCard = "IN_STORE_DEBIT_CARD" PaymentMethodValeCreditCard = "VALE_CREDIT_CARD" PaymentMethodValeDebitCard = "VALE_DEBIT_CARD" )
View Source
const ( AppointmentResource = "appointment" PaymentResource = "payment" PractitionerResource = "practitioner" UserResource = "user" PractitionerPaymentResource = "practitioner_payment" ConsultationPaymentResource = "consultation_payment" )
View Source
const ( PracticeStatusActive = "active" PracticeStatusInactive = "inactive" )
View Source
const ( SpecialtyStatusActive = "active" SpecialtyStatusInactive = "inactive" )
View Source
const ( UserTypePatient = "patient" UserTypePractitioner = "practitioner" UserTypeAdmin = "admin" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PractitionerStatus ¶ added in v0.5.60
type PractitionerStatus string
const ( PractitionerStatusActive PractitionerStatus = "active" PractitionerStatusInactive PractitionerStatus = "inactive" PractitionerStatusSuspended PractitionerStatus = "suspended" PractitionerStatusTerminated PractitionerStatus = "terminated" PractitionerStatusDeleted PractitionerStatus = "deleted" PractitionerStatusPending PractitionerStatus = "pending" PractitionerStatusUnverified PractitionerStatus = "unverified" )
Click to show internal directories.
Click to hide internal directories.