Documentation ¶
Index ¶
- type Common
- type Data
- type Doctor
- type Drug
- type InsuranceForm
- type Link
- type MedicalRecord
- type Patient
- type RegistrationForm
- type ServiceSetup
- func (t *ServiceSetup) FindDrug(id string) (Drug, error)
- func (t *ServiceSetup) FindRegis(id string) (RegistrationForm, error)
- func (t *ServiceSetup) GetInfo(name string) (string, error)
- func (t *ServiceSetup) GetInsurance(id string) (InsuranceForm, error)
- func (t *ServiceSetup) GetPatient(id string) (Patient, error)
- func (t *ServiceSetup) RecordDrug(name, id, lname, ltime, lplace, lcontent string) (string, error)
- func (t *ServiceSetup) RecordRegis(id, date, doctorid, doctorname, departmentname, departmentid string) (string, error)
- func (t *ServiceSetup) SetInfo(key, value string) (string, error)
- func (t *ServiceSetup) SetInsure(id, company, insuranceContent, date string) (string, error)
- func (t *ServiceSetup) SetPatient(id, name, money string, insform InsuranceForm, regisform RegistrationForm, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsuranceForm ¶
type MedicalRecord ¶
type Patient ¶
type Patient struct { Common Id string `json:"id"` //身份证号 Name string `json:"name"` Money string `json:"money"` MedicalRecords []MedicalRecord `json:"medicalRecords"` //病历数组 RegistrationForms []RegistrationForm `json:"registrationForms"` //挂号单数组 InsuranceForms []InsuranceForm `json:"insuranceForms"` //保险单数组 }
type RegistrationForm ¶
type ServiceSetup ¶
func (*ServiceSetup) FindRegis ¶
func (t *ServiceSetup) FindRegis(id string) (RegistrationForm, error)
查询挂号单
func (*ServiceSetup) GetInsurance ¶
func (t *ServiceSetup) GetInsurance(id string) (InsuranceForm, error)
查询保险单
func (*ServiceSetup) GetPatient ¶
func (t *ServiceSetup) GetPatient(id string) (Patient, error)
查询病人
func (*ServiceSetup) RecordDrug ¶
func (t *ServiceSetup) RecordDrug(name, id, lname, ltime, lplace, lcontent string) (string, error)
存储药品
func (*ServiceSetup) RecordRegis ¶
func (t *ServiceSetup) RecordRegis(id, date, doctorid, doctorname, departmentname, departmentid string) (string, error)
存储挂号单
func (*ServiceSetup) SetInsure ¶
func (t *ServiceSetup) SetInsure(id, company, insuranceContent, date string) (string, error)
存储保险单
func (*ServiceSetup) SetPatient ¶
func (t *ServiceSetup) SetPatient(id, name, money string, insform InsuranceForm, regisform RegistrationForm, medicalRecord MedicalRecord) (string, error)
存储病人
Click to show internal directories.
Click to hide internal directories.