Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MedicalRecordRepository ¶
type MedicalRecordRepository interface { CreatePatient(ctx context.Context, req medical_record_entity.Patient) (medical_record_entity.Patient, error) SearchPatient(ctx context.Context, query medical_record_entity.SearchPatientQuery) (*[]medical_record_entity.SearchPatientData, error) CreateMedicalRecord(ctx context.Context, req medical_record_entity.MedicalRecord) (medical_record_entity.MedicalRecord, error) SearchMedicalRecord(ctx context.Context, query medical_record_entity.SearchMedicalRecordQuery) (*[]medical_record_entity.SearchMedicalRecordData, error) }
func NewMedicalRecordRepository ¶
func NewMedicalRecordRepository(dbPool *pgxpool.Pool) MedicalRecordRepository
Click to show internal directories.
Click to hide internal directories.