80 lines
3.2 KiB
Go
80 lines
3.2 KiB
Go
// Package clinical mostly about SOAPI
|
|
package clinical
|
|
|
|
type (
|
|
SubjectCode string
|
|
ObjectCode string
|
|
AssessmentCode string
|
|
PlanCode string
|
|
InstructionCode string
|
|
)
|
|
|
|
const (
|
|
SCPrimaryComplaint SubjectCode = "pri-compl" // Keluhan Utama
|
|
SCSecComplaint SubjectCode = "sec-compl" // Secondary Complaint
|
|
SCCurrentDiseaseHistory SubjectCode = "cur-disea-hist" // Current Disease History
|
|
SCPastDiseaseHistory SubjectCode = "pas-disea-hist" // Past Disease History
|
|
SCFamilyDiseaseHistory SubjectCode = "fam-disea-hist" // Family Disease History
|
|
SCAllergyHistory SubjectCode = "alg-hist" // Allergic History
|
|
SCAllergyReaction SubjectCode = "alg-react" // Allergic Reaction
|
|
SCMedicationHistory SubjectCode = "med-hist" // Medication History
|
|
|
|
OCConsciousnessLevel ObjectCode = "consc-level" // Tingkat Kesadaran
|
|
OCConsciousnessLevelDet ObjectCode = "consc-level-det" // Detail Tingkat Kesadaran
|
|
OCSystolicBloodPressure ObjectCode = "syst-bp" // Tekanan Darah Systolic
|
|
OCDiastolicBloodPressure ObjectCode = "diast-bp" // Tekanan Darah Diastolic
|
|
OCHeartRate ObjectCode = "hear-rt" // Detak Jantung
|
|
OCTemperature ObjectCode = "temp" // Suhu
|
|
OCSpO2 ObjectCode = "spo2" // SpO2
|
|
OCWeight ObjectCode = "weight" // Berat Badan
|
|
OCHeight ObjectCode = "height" // Tinggi Badan
|
|
|
|
ACEarlyDiag AssessmentCode = "early-diag" // Diagnosis Awal
|
|
ACLateDiag AssessmentCode = "late-diag" // Diagnosis Akhir
|
|
ACSecDiag AssessmentCode = "sec-diag" // Diagnosis Sekunder
|
|
|
|
PCPlan PlanCode = "plan" // Rencana
|
|
|
|
ICDetail InstructionCode = "detail" // Detail instruksi
|
|
ICMedAct InstructionCode = "med-act" // Tindakan medis
|
|
ICMedication InstructionCode = "medication" // Obat
|
|
ICMaterial InstructionCode = "material" // BMHP
|
|
)
|
|
|
|
type Soapi struct {
|
|
// Subject
|
|
PrimaryComplaint string `json:"pri-compl"`
|
|
SecondaryComplaint string `json:"sec-compl"`
|
|
CurrentDiseaseHistory string `json:"cur-disea-hist"`
|
|
PastDiseaseHistory string `json:"pas-disea-hist"`
|
|
FamilyDiseaseHistory string `json:"fam-disea-hist"`
|
|
AllergyHistory string `json:"alg-hist"`
|
|
AllergyReaction string `json:"alg-react"`
|
|
MedicationHistory string `json:"med-hist"`
|
|
|
|
// Object
|
|
ConsciousnessLevel string `json:"consc-level"`
|
|
ConsciousnessLevelDet string `json:"consc-level-det"`
|
|
SystolicBloodPressure string `json:"syst-bp"`
|
|
DiastolicBloodPressure string `json:"diast-bp"`
|
|
HeartRate string `json:"hear-rt"`
|
|
Temperature string `json:"temp"`
|
|
SpO2 string `json:"spo2"`
|
|
Weight string `json:"weight"`
|
|
Height string `json:"height"`
|
|
|
|
// Assessment
|
|
EarlyDiagnosis string `json:"early-diag"`
|
|
LateDiagnosis string `json:"late-diag"`
|
|
SecondaryDiag string `json:"sec-diag"`
|
|
|
|
// Plan
|
|
Plan string `json:"plan"`
|
|
|
|
// Instruction
|
|
InstructionDetail string `json:"detail"`
|
|
MedicalAction string `json:"med-act"`
|
|
Medication string `json:"medication"`
|
|
Material string `json:"material"`
|
|
}
|