update worker

This commit is contained in:
meninjar
2026-07-29 06:38:42 +00:00
parent cc62620719
commit 7137774c32
15 changed files with 1060 additions and 108 deletions

No files matched your search

@@ -50,9 +50,11 @@ func MapRadiologyToInternalAPI(dbData *ServiceRequestRadDB) map[string]interface
codeVal := ""
codeDisplay := ""
codeSystem := ""
if len(parsedData.Code.Coding) > 0 {
codeVal = parsedData.Code.Coding[0].Code
codeDisplay = parsedData.Code.Coding[0].Display
codeSystem = parsedData.Code.Coding[0].System
}
requesterID := dbData.RequesterID.String
@@ -86,6 +88,7 @@ func MapRadiologyToInternalAPI(dbData *ServiceRequestRadDB) map[string]interface
"category_display": categoryDisplay,
"code": codeVal,
"display": codeDisplay,
"system": codeSystem,
"requester_id": requesterID,
"performer_id": performerID,
"authored_on": parsedData.AuthoredOn,