feat (patient): upload done
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user