feat/action-report: done

This commit is contained in:
2025-12-01 17:47:59 +07:00
parent ece6a0b7a5
commit 8306e1217e
15 changed files with 930 additions and 2 deletions
@@ -23,6 +23,13 @@ type (
LangClassCode string
TranslatorSrcCode string
ScreeningFormTypeCode string
SurgerySizeCode string
SurgerySystemCode string
SurgeryTypeCode string
SurgeryStageCode string
BornMortalityCode string
BornLocationCode string
SpecimentDestCode string
)
const (
@@ -191,6 +198,38 @@ const (
SFTCA ScreeningFormTypeCode = "form-a" // Formu A
SFTCB ScreeningFormTypeCode = "form-b" // Formu B
SSCSmall SurgerySizeCode = ""
SSCMedium SurgerySizeCode = ""
SSCLarge SurgerySizeCode = ""
SSCSpecial SurgerySizeCode = ""
SSyCCito SurgerySystemCode = ""
SSyCUrgent SurgerySystemCode = ""
SSyCEfective SurgerySystemCode = ""
SSyCSpecial SurgerySystemCode = ""
STCClean SurgeryTypeCode = ""
STCCleanCtm SurgeryTypeCode = ""
STCUncleanCtm SurgeryTypeCode = ""
STCUnclean SurgeryTypeCode = ""
SStCFirst SurgeryStageCode = ""
SStCRepeat SurgeryStageCode = ""
BMCAlive BornMortalityCode = ""
BMCDead BornMortalityCode = ""
BLCExtMiw BornLocationCode = ""
BLCExtDoc BornLocationCode = ""
BLCTradMiw BornLocationCode = ""
BLCLocalMed BornLocationCode = ""
BLCExtParamedic BornLocationCode = ""
SDCAp SpecimentDestCode = ""
SDCMicro SpecimentDestCode = ""
SDCLab SpecimentDestCode = ""
SDCNone SpecimentDestCode = ""
)
type Soapi struct {
@@ -315,3 +354,30 @@ type HeadToToe struct {
Neuron string `json:"neuron,omitempty"`
BodyOthers string `json:"body-others,omitempty"`
}
type RecordAction struct {
Procedures []string `json:"procedures"`
SurgerySize_Code *string `json:"surgerySize_code"`
Billing_Code *string `json:"billing_code"`
SurgerySystem_Code *string `json:"surgerySystem_code"`
StartAt *string `json:"startAt"`
EndAt *string `json:"endAt"`
AnesthesiaStartAt *string `json:"anesthesiaStartAt"`
AnesthesiaEndAt *string `json:"anesthesiaEndAt"`
SurgeryType_Code *string `json:"surgeryType_code"`
SurgeryStage_Code *string `json:"surgeryStage_code"`
BornMortality_Code *string `json:"bornMortality_code"`
BornLocation_Code *string `json:"bornLocation_code"`
Weight *string `json:"weight"`
BornNotes *string `json:"bornNotes" gorm:"size:1024"`
Description *string `json:"notes" gorm:"size:1024"`
BleedingAmount *uint16 `json:"bleedingAmount"`
BloodInType_Code *string `json:"bloodInType_code"`
BloodInAmount *uint16 `json:"bloodInAmount"`
Brand *string `json:"brand" gorm:"size:100"`
ImplantName *string `json:"implantName" gorm:"size:100"`
ImplantRegisterNumber *string `json:"implantRegisterNumber" gorm:"size:100"`
ImplantCompanionName *string `json:"implantCompanionName" gorm:"size:100"`
SpecimentDest_Code *string `json:"specimentDest" gorm:"size:100"`
TissueInfo []string `json:"tissueInfo" gorm:"size:100"`
}
@@ -8,6 +8,7 @@ type (
InfraGroupCode string
UnitTypeCode string
DoctorFeeTypeCode string
ActionBillingCode string
)
const (
@@ -62,4 +63,8 @@ const (
DFTCInp DoctorFeeTypeCode = "inpatient" // Rawat Inap
DFTCEme DoctorFeeTypeCode = "emergency" // Darurat
DFTCReh DoctorFeeTypeCode = "medic-rehab" // Rehab Medik
ABCGeneral ActionBillingCode = "general"
ABCRegional ActionBillingCode = "regional"
ABCLocal ActionBillingCode = "local"
)