enums

package
v0.6.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 0 Imported by: 0

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 Currency

type Currency string
const (
	CLP Currency = "CLP"
	USD Currency = "USD"
	EUR Currency = "EUR"
	GBP Currency = "GBP"
)

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"
)

type Role added in v0.5.70

type Role string
const (
	RoleAdmin        Role = "admin"
	RolePatient      Role = "patient"
	RolePractitioner Role = "practitioner"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL