Documentation ¶
Index ¶
- type CreateMedicalRecordRequest
- type CreateMedicalRecordResponse
- type CreatePatientRequest
- type CreatePatientResponse
- type MedicalRecord
- type Patient
- type SearchMedicalRecordData
- type SearchMedicalRecordQuery
- type SearchMedicalRecordResponse
- type SearchPatientData
- type SearchPatientQuery
- type SearchPatientResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateMedicalRecordResponse ¶
type CreateMedicalRecordResponse struct { Message string `json:"message"` Data *MedicalRecord `json:"data"` }
type CreatePatientRequest ¶
type CreatePatientRequest struct { IdentityNumber int `json:"identityNumber" validate:"required,int16length"` PhoneNumber string `json:"PhoneNumber" validate:"required,min=10,max=15,phoneNumber"` Name string `json:"name" validate:"required,min=3,max=30"` BirthDate string `json:"birthDate" validate:"required,ISO8601DateTime"` Gender string `json:"gender" validate:"required,gender"` IdentityCardScanImg string `json:"identityCardScanImg" validate:"required,validateUrl"` }
type CreatePatientResponse ¶
type MedicalRecord ¶
type Patient ¶
type Patient struct { Id string `json:"id,omitempty"` IdentityNumber int `json:"identityNumber,omitempty"` PhoneNumber string `json:"PhoneNumber,omitempty"` Name string `json:"name,omitempty"` BirthDate string `json:"birthDate,omitempty"` Gender string `json:"gender,omitempty"` IdentityCardScanImg string `json:"identityCardScanImg,omitempty"` CreatedAt string `json:"createdAt,omitempty"` }
type SearchMedicalRecordData ¶
type SearchMedicalRecordResponse ¶
type SearchMedicalRecordResponse struct { Message string `json:"message"` Data *[]SearchMedicalRecordData `json:"data"` }
type SearchPatientData ¶
type SearchPatientQuery ¶
type SearchPatientResponse ¶
type SearchPatientResponse struct { Message string `json:"message"` Data *[]SearchPatientData `json:"data"` }
Click to show internal directories.
Click to hide internal directories.