Documentation
¶
Index ¶
- type Appointment
- type AppointmentAggregated
- type Bank
- type BankAccount
- type Consultation
- type ConsultationAggregated
- type CreatePaymentRequest
- type CreatePaymentResponse
- type Patient
- type Practice
- type Practitioner
- type PractitionerAggregated
- type Specialty
- type SubSpecialty
- type University
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Appointment ¶
type Appointment struct { ID int64 `json:"id"` PatientID int64 `json:"patient_id"` PractitionerID int64 `json:"practitioner_id"` ScheduledStartDateTime *time.Time `json:"scheduled_start_date_time"` ScheduledEndDateTime *time.Time `json:"scheduled_end_date_time"` Status string `json:"status"` EndedAt *time.Time `json:"ended_at"` AvailableInsurances *[]string `json:"available_insurances"` AvailableServices *[]string `json:"available_services"` InternalID string `json:"internal_id"` DurationInSeconds int64 `json:"duration_in_seconds"` ElapsedTimeInSeconds int64 `json:"elapsed_time_in_seconds"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` BookedAt *time.Time `json:"booked_at"` ReservedAt *time.Time `json:"reserved_at"` Price float64 `json:"price"` BatchID string `json:"batch_id"` Timezone string `json:"timezone"` PractitionerUID string `json:"practitioner_uid"` PatientUID string `json:"patient_uid"` }
type AppointmentAggregated ¶ added in v0.0.16
type AppointmentAggregated struct { ID int64 `json:"id"` Patient *Patient `json:"patient"` Practitioner *Practitioner `json:"practitioner"` ScheduledStartDateTime *time.Time `json:"scheduled_start_date_time"` ScheduledEndDateTime *time.Time `json:"scheduled_end_date_time"` Status string `json:"status"` EndedAt *time.Time `json:"ended_at"` AvailableInsurances *[]string `json:"available_insurances"` AvailableServices *[]string `json:"available_services"` InternalID string `json:"internal_id"` DurationInSeconds int64 `json:"duration_in_seconds"` ElapsedTimeInSeconds int64 `json:"elapsed_time_in_seconds"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` BookedAt *time.Time `json:"booked_at"` ReservedAt *time.Time `json:"reserved_at"` Price float64 `json:"price"` BatchID string `json:"batch_id"` Timezone string `json:"timezone"` PractitionerUID string `json:"practitioner_uid"` PatientUID string `json:"patient_uid"` }
type BankAccount ¶ added in v0.0.11
type Consultation ¶ added in v0.0.4
type Consultation struct { ID uint64 `json:"id"` AppointmentID uint64 `json:"appointment_id"` PatientID uint64 `json:"patient_id"` PractitionerID uint64 `json:"practitioner_id"` Status string `json:"status"` ElapsedTimeInSeconds int64 `json:"elapsed_time_in_seconds"` PaymentStatus string `json:"payment_status"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` PractitionerUID string `json:"practitioner_uid"` PatientUID string `json:"patient_uid"` }
type ConsultationAggregated ¶ added in v0.0.16
type ConsultationAggregated struct { ID uint64 `json:"id"` AppointmentID uint64 `json:"appointment_id"` Patient Patient `json:"patient"` Practitioner Practitioner `json:"practitioner"` Status string `json:"status"` ElapsedTimeInSeconds int64 `json:"elapsed_time_in_seconds"` PaymentStatus string `json:"payment_status"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` PractitionerUID string `json:"practitioner_uid"` PatientUID string `json:"patient_uid"` }
type CreatePaymentRequest ¶
type CreatePaymentRequest struct { CommerceOrder string `json:"commerce_order"` Subject string `json:"subject"` Currency string `json:"currency"` Amount float64 `json:"amount"` Email string `json:"email"` PaymentMethod int `json:"payment_method"` URLConfirmation string `json:"url_confirmation"` URLReturn string `json:"url_return"` Optional string `json:"optional"` Timeout int `json:"timeout"` MerchantID string `json:"merchant_id"` PaymentCurrency string `json:"payment_currency"` }
type CreatePaymentResponse ¶
type Patient ¶ added in v0.0.16
type Patient struct { ID int64 `json:"id"` UID string `json:"uid"` FirstName string `json:"first_name"` SecondName string `json:"second_name"` LastName string `json:"last_name"` SecondLastName string `json:"second_last_name"` NationalID string `json:"national_id"` Email string `json:"email"` Cellphone string `json:"cellphone"` FullName string `json:"full_name"` Gender string `json:"gender"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` }
type Practitioner ¶ added in v0.0.10
type Practitioner struct { ID uint64 `json:"id"` UID string `json:"uid"` FirstName string `json:"first_name"` SecondName string `json:"second_name"` LastName string `json:"last_name"` SecondLastName string `json:"second_last_name"` FullName string `json:"full_name"` Gender string `json:"gender"` NationalID string `json:"national_id"` RegistryID string `json:"registry_id"` Bio string `json:"bio"` PracticeUniversityID uint64 `json:"practice_university_id"` SpecialtyUniversityID uint64 `json:"specialty_university_id"` Image string `json:"image"` Email string `json:"email"` PracticeID int64 `json:"practice_id"` SpecialtyID int64 `json:"specialty_id"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at"` InternalID string `json:"internal_id"` PracticeName string `json:"practice_name"` SpecialtyName string `json:"specialty_name"` PracticeUniversityName string `json:"practice_university_name"` SpecialtyUniversityName string `json:"specialty_university_name"` Status string `json:"status"` Slug string `json:"slug"` }
type PractitionerAggregated ¶ added in v0.0.13
type PractitionerAggregated struct { ID uint64 `json:"id"` UID string `json:"uid"` FirstName string `json:"first_name"` SecondName string `json:"second_name"` LastName string `json:"last_name"` SecondLastName string `json:"second_last_name"` FullName string `json:"full_name"` PracticeUniversity University `json:"practice_university"` SpecialtyUniversity University `json:"specialty_university"` Practice Practice `json:"practice"` Specialty Specialty `json:"specialty"` }
type SubSpecialty ¶ added in v0.0.17
type University ¶ added in v0.0.13
Click to show internal directories.
Click to hide internal directories.