feat (patient): upload done

This commit is contained in:
dpurbosakti
2025-09-24 14:24:57 +07:00
parent 016fcc667c
commit f618a2d6d0
10 changed files with 229 additions and 37 deletions
@@ -85,3 +85,12 @@ func (ec EncounterClassCode) Code() string {
return "UNKNOWN"
}
}
func IsValidUploadCode(code UploadCode) bool {
switch UploadCode(code) {
case UCPRN, UCPDL, UCPP, UCPFC, UCMIR:
return true
default:
return false
}
}