update soapi struct
This commit is contained in:
@@ -113,80 +113,108 @@ type Soapi struct {
|
|||||||
|
|
||||||
// ---------------- SUBJECT ----------------
|
// ---------------- SUBJECT ----------------
|
||||||
type SubjectSection struct {
|
type SubjectSection struct {
|
||||||
PrimaryComplain string `json:"pri-complain"`
|
Note string `json:"note,omitempty"`
|
||||||
SecondaryComplain string `json:"sec-complain"`
|
PrimComplain string `json:"prim-compl,omitempty"`
|
||||||
CurrentDiseaseHistory string `json:"cur-disea-hist"`
|
SecComplainQ string `json:"sec-compl,omitempty"`
|
||||||
PastDiseaseHistory string `json:"pas-disea-hist"`
|
PrimaryComplain string `json:"pri-complain,omitempty"`
|
||||||
FamilyDiseaseHistory string `json:"fam-disea-hist"`
|
SecondaryComplain string `json:"sec-complain,omitempty"`
|
||||||
AllergyHistory string `json:"alg-hist"`
|
CurrentDiseaseHistory string `json:"cur-disea-hist,omitempty"`
|
||||||
AllergyReaction string `json:"alg-react"`
|
PastDiseaseHistory string `json:"pas-disea-hist,omitempty"`
|
||||||
MedicationHistory string `json:"med-hist"`
|
FamilyDiseaseHistory string `json:"fam-disea-hist,omitempty"`
|
||||||
BloodType string `json:"blood-type"`
|
AllergyHistory string `json:"alg-hist,omitempty"`
|
||||||
|
AllergyReaction string `json:"alg-react,omitempty"`
|
||||||
|
MedicationHistory string `json:"med-hist,omitempty"`
|
||||||
|
BloodType string `json:"blood-type,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------- OBJECT ----------------
|
// ---------------- OBJECT ----------------
|
||||||
type ObjectSection struct {
|
type ObjectSection struct {
|
||||||
ConsciousnessLevel string `json:"consc-level"`
|
Note string `json:"note,omitempty"`
|
||||||
ConsciousnessLevelDet string `json:"consc-level-det"`
|
ConsciousnessLevel string `json:"consc-level,omitempty"`
|
||||||
SystolicBloodPressure string `json:"syst-bp"`
|
ConsciousnessLevelDet string `json:"consc-level-det,omitempty"`
|
||||||
DiastolicBloodPressure string `json:"diast-bp"`
|
SystolicBloodPressure string `json:"syst-bp,omitempty"`
|
||||||
Pulse string `json:"pulse"`
|
DiastolicBloodPressure string `json:"diast-bp,omitempty"`
|
||||||
RespiratoryRate string `json:"resp-rate"`
|
Pulse string `json:"pulse,omitempty"`
|
||||||
HeartRate string `json:"hear-rt"`
|
RespiratoryRate string `json:"resp-rate,omitempty"`
|
||||||
NeuroCranialis string `json:"neuro-cranialis"`
|
HeartRate string `json:"hear-rt,omitempty"`
|
||||||
Sensoris string `json:"sensoris"`
|
NeuroCranialis string `json:"neuro-cranialis,omitempty"`
|
||||||
ReflectFisio string `json:"reflect-fisio"`
|
Sensoris string `json:"sensoris,omitempty"`
|
||||||
ReflectPato string `json:"reflect-pato"`
|
ReflectFisio string `json:"reflect-fisio,omitempty"`
|
||||||
AutonomNeuron string `json:"autonom-neuron"`
|
ReflectPato string `json:"reflect-pato,omitempty"`
|
||||||
NeckRom string `json:"neck-rom"`
|
AutonomNeuron string `json:"autonom-neuron,omitempty"`
|
||||||
BodyRom string `json:"body-rom"`
|
NeckRom string `json:"neck-rom,omitempty"`
|
||||||
AgaRom string `json:"aga-rom"`
|
BodyRom string `json:"body-rom,omitempty"`
|
||||||
AgbRom string `json:"agb-rom"`
|
AgaRom string `json:"aga-rom,omitempty"`
|
||||||
NeckMmt string `json:"neck-mmt"`
|
AgbRom string `json:"agb-rom,omitempty"`
|
||||||
BodyMmt string `json:"body-mmt"`
|
NeckMmt string `json:"neck-mmt,omitempty"`
|
||||||
AgaMmt string `json:"aga-mmt"`
|
BodyMmt string `json:"body-mmt,omitempty"`
|
||||||
AgbMmt string `json:"agb-mmt"`
|
AgaMmt string `json:"aga-mmt,omitempty"`
|
||||||
Localis string `json:"localis"`
|
AgbMmt string `json:"agb-mmt,omitempty"`
|
||||||
MedicalTrouble string `json:"medical-trouble"`
|
Localis string `json:"localis,omitempty"`
|
||||||
RehabMedicTrouble string `json:"rehab-medic-trouble"`
|
MedicalTrouble string `json:"medical-trouble,omitempty"`
|
||||||
Temperature string `json:"temp"`
|
RehabMedicTrouble string `json:"rehab-medic-trouble,omitempty"`
|
||||||
SpO2 string `json:"spo2"`
|
Temperature string `json:"temp,omitempty"`
|
||||||
Weight string `json:"weight"`
|
SpO2 string `json:"spo2,omitempty"`
|
||||||
Height string `json:"height"`
|
Weight string `json:"weight,omitempty"`
|
||||||
HeadToToe string `json:"head-to-toe"`
|
Height string `json:"height,omitempty"`
|
||||||
|
HeadToToe HeadToToe `json:"head-to-toe,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------- ASSESSMENT ----------------
|
// ---------------- ASSESSMENT ----------------
|
||||||
type AssessmentSection struct {
|
type AssessmentSection struct {
|
||||||
|
EarlyDiagnosis DiagnosisDetail `json:"early-diag,omitempty"`
|
||||||
|
LateDiagnosis DiagnosisDetail `json:"late-diag,omitempty"`
|
||||||
|
SecondaryDiag DiagnosisDetail `json:"sec-diag,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// nested object {note, codes}
|
||||||
|
type DiagnosisDetail struct {
|
||||||
Note string `json:"note,omitempty"`
|
Note string `json:"note,omitempty"`
|
||||||
Codes []CodeWithName `json:"codes,omitempty"`
|
Codes []CodeWithName `json:"codes,omitempty"`
|
||||||
|
|
||||||
EarlyDiagnosis string `json:"early-diag,omitempty"`
|
|
||||||
LateDiagnosis string `json:"late-diag,omitempty"`
|
|
||||||
SecondaryDiag string `json:"sec-diag,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------- INSTRUCTION ----------------
|
// ---------------- INSTRUCTION ----------------
|
||||||
type InstructionSection struct {
|
type InstructionSection struct {
|
||||||
Note string `json:"note,omitempty"`
|
Detail string `json:"detail,omitempty"`
|
||||||
Codes []CodeWithName `json:"codes,omitempty"`
|
MedicalAction CodesWithNote `json:"medical-act,omitempty"`
|
||||||
|
SupportingExam []CodeWithName `json:"supporting-exam,omitempty"`
|
||||||
InstructionDetail string `json:"detail,omitempty"`
|
Therapy string `json:"therapy,omitempty"`
|
||||||
MedicalAction string `json:"medical-act,omitempty"`
|
Medication []CodeWithName `json:"medication,omitempty"`
|
||||||
SupportingExam string `json:"supporting-exam,omitempty"`
|
Material []CodeWithName `json:"material,omitempty"`
|
||||||
Therapy string `json:"therapy,omitempty"`
|
RehabProgram string `json:"rehab-program,omitempty"`
|
||||||
Medication string `json:"medication,omitempty"`
|
PhysicModal string `json:"physic-modal,omitempty"`
|
||||||
Material string `json:"material,omitempty"`
|
Exercise string `json:"exercise,omitempty"`
|
||||||
RehabProgram string `json:"rehab-program,omitempty"`
|
OrtesProsthesis string `json:"ortes-protesa,omitempty"`
|
||||||
PhysicModal string `json:"physic-modal,omitempty"`
|
Education string `json:"education,omitempty"`
|
||||||
Exercise string `json:"exercise,omitempty"`
|
Other string `json:"other,omitempty"`
|
||||||
OrtesProsthesis string `json:"ortes-protesa,omitempty"`
|
|
||||||
Education string `json:"education,omitempty"`
|
|
||||||
InstructionOther string `json:"other,omitempty"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------- CODES ----------------
|
// ---------------- CODES ----------------
|
||||||
type CodeWithName struct {
|
type CodeWithName struct {
|
||||||
Code string `json:"code"`
|
Code string `json:"code,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name,omitempty"`
|
||||||
|
}
|
||||||
|
type CodesWithNote struct {
|
||||||
|
Note string `json:"note,omitempty"`
|
||||||
|
Codes []CodeWithName `json:"codes,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type HeadToToe struct {
|
||||||
|
Head string `json:"head,omitempty"`
|
||||||
|
Eye string `json:"eye,omitempty"`
|
||||||
|
Ear string `json:"ear,omitempty"`
|
||||||
|
Nose string `json:"nose,omitempty"`
|
||||||
|
MouthThroat string `json:"mouth-throat,omitempty"`
|
||||||
|
HeadOthers string `json:"head-others,omitempty"`
|
||||||
|
Thorax string `json:"thorax,omitempty"`
|
||||||
|
Heart string `json:"heart,omitempty"`
|
||||||
|
Lung string `json:"lung,omitempty"`
|
||||||
|
Abdomen string `json:"abdomen,omitempty"`
|
||||||
|
Liver string `json:"liver,omitempty"`
|
||||||
|
Back string `json:"back,omitempty"`
|
||||||
|
Ekstremitas string `json:"ekstremitas,omitempty"`
|
||||||
|
Gender string `json:"gender,omitempty"`
|
||||||
|
Rectum string `json:"rectum,omitempty"`
|
||||||
|
Neuron string `json:"neuron,omitempty"`
|
||||||
|
BodyOthers string `json:"body-others,omitempty"`
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user