update procedure report main api

This commit is contained in:
2025-12-04 13:52:24 +07:00
parent ac2165154f
commit 320ce99b0e
15 changed files with 277 additions and 226 deletions

No files matched your search

+21 -18
View File
@@ -204,26 +204,26 @@ const (
MSCMicroLab McuScopeCode = "micro-lab"
MSCApLab McuScopeCode = "ap-lab"
SSCSmall SurgerySizeCode = ""
SSCMedium SurgerySizeCode = ""
SSCLarge SurgerySizeCode = ""
SSCSpecial SurgerySizeCode = ""
SSCSmall SurgerySizeCode = "small"
SSCMedium SurgerySizeCode = "medium"
SSCLarge SurgerySizeCode = "large"
SSCSpecial SurgerySizeCode = "special"
SSyCCito SurgerySystemCode = ""
SSyCUrgent SurgerySystemCode = ""
SSyCEfective SurgerySystemCode = ""
SSyCSpecial SurgerySystemCode = ""
SSyCCito SurgerySystemCode = "cito"
SSyCUrgent SurgerySystemCode = "urgent"
SSyCEfective SurgerySystemCode = "efective"
SSyCSpecial SurgerySystemCode = "special"
STCClean SurgeryTypeCode = ""
STCCleanCtm SurgeryTypeCode = ""
STCUncleanCtm SurgeryTypeCode = ""
STCUnclean SurgeryTypeCode = ""
STCClean SurgeryTypeCode = "clean"
STCCleanCtm SurgeryTypeCode = "clean-ctm"
STCUncleanCtm SurgeryTypeCode = "unclean-ctm"
STCUnclean SurgeryTypeCode = "unclean"
SStCFirst SurgeryStageCode = ""
SStCRepeat SurgeryStageCode = ""
SStCFirst SurgeryStageCode = "first"
SStCRepeat SurgeryStageCode = "repeat"
BMCAlive BornMortalityCode = ""
BMCDead BornMortalityCode = ""
BMCAlive BornMortalityCode = "alive"
BMCDead BornMortalityCode = "dead"
BLCExtMiw BornLocationCode = ""
BLCExtDoc BornLocationCode = ""
@@ -360,8 +360,11 @@ type HeadToToe struct {
BodyOthers string `json:"body-others,omitempty"`
}
type RecordAction struct {
Procedures []string `json:"procedures"`
type ProcedureRecord struct {
Procedures []CodeWithName `json:"procedures"`
}
type ProcedureExecution struct {
SurgerySize_Code *string `json:"surgerySize_code"`
Billing_Code *string `json:"billing_code"`
SurgerySystem_Code *string `json:"surgerySystem_code"`