add soapi, sbar, adime, ambulatory, inpatient, emergency, appointment and edit encounter
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
// Package clinical mostly about SOAPI
|
||||
package clinical
|
||||
|
||||
type (
|
||||
SubjectCode string
|
||||
ObjectCode string
|
||||
AssessmentCode string
|
||||
PlanCode string
|
||||
InstructionCode string
|
||||
)
|
||||
|
||||
@@ -31,6 +33,8 @@ const (
|
||||
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
|
||||
|
||||
@@ -9,17 +9,14 @@ type (
|
||||
EmergencyClassCode string
|
||||
OutpatientClassCode string
|
||||
CheckupScopeCode string
|
||||
AmbulatoryClassCode string
|
||||
InpatientClassCode string
|
||||
)
|
||||
|
||||
const (
|
||||
ECOutpatient EncounterClassCode = "outpatient"
|
||||
ECAmbulatory EncounterClassCode = "ambulatory"
|
||||
ECEmergency EncounterClassCode = "emergency"
|
||||
ECInpatient EncounterClassCode = "inpatient"
|
||||
ECDraft EncounterClassCode = "draft"
|
||||
ECDone EncounterClassCode = "done"
|
||||
ECCancel EncounterClassCode = "cancel"
|
||||
ECSkip EncounterClassCode = "skip"
|
||||
|
||||
QSCWait QueueStatusCode = "wait" // Tunggu
|
||||
QSCProc QueueStatusCode = "proc" // Proses
|
||||
@@ -27,8 +24,13 @@ const (
|
||||
QSCCancel QueueStatusCode = "cancel" // Dibatalkan
|
||||
QSCSkip QueueStatusCode = "skip" // Dilewati
|
||||
|
||||
DMCHome DischargeMethodCode = "home" // Rumah
|
||||
DMCHomeReq DischargeMethodCode = "home-request" // Rumah (Dibutuhkan)
|
||||
DMCHome DischargeMethodCode = "home" // Rumah
|
||||
DMCHomeReq DischargeMethodCode = "home-request" // Rumah (Dibutuhkan)
|
||||
DMCConsulation DischargeMethodCode = "consulation" // Konsultasi Lanjutan
|
||||
DMCInpatient DischargeMethodCode = "inpatient" // Inpatient
|
||||
DMCExtRef DischargeMethodCode = "external-ref" // Rujuk Eksternal
|
||||
DMCIntRef DischargeMethodCode = "internal-ref" // Rujuk Internal
|
||||
DMCDeath DischargeMethodCode = "death" // Meninggal
|
||||
|
||||
TCAmbulance TransportationCode = "ambulance"
|
||||
TCCar TransportationCode = "car"
|
||||
@@ -55,11 +57,18 @@ const (
|
||||
CSCPLab CheckupScopeCode = "pa-lab" // Patology Anatomy Laboratorium
|
||||
CSCRad CheckupScopeCode = "radiology" // Radiology
|
||||
|
||||
ACCReg AmbulatoryClassCode = "reg" // Regular
|
||||
ACCRme AmbulatoryClassCode = "rme" // Rehab Medik
|
||||
|
||||
ICCIp InpatientClassCode = "ip" // Regular Rawat Inap
|
||||
ICCICU InpatientClassCode = "icu" // ICU
|
||||
ICCHCU InpatientClassCode = "hcu" // HCU
|
||||
ICCVK InpatientClassCode = "vk" // Verlos kamer
|
||||
)
|
||||
|
||||
func (ec EncounterClassCode) Code() string {
|
||||
switch ec {
|
||||
case ECAmbulatory, ECOutpatient:
|
||||
case ECAmbulatory:
|
||||
return "AMB"
|
||||
case ECInpatient:
|
||||
return "IMP"
|
||||
|
||||
Reference in New Issue
Block a user