update mappping

This commit is contained in:
meninjar
2026-08-04 11:46:50 +00:00
parent b8e219868d
commit ccd5a0974d
4 changed files with 21 additions and 25 deletions
@@ -27,7 +27,7 @@ func MapRequestToFHIR(req ServiceRequestRequest) satusehat.FHIRPayload {
payload.Set("intent", req.Intent)
}
if req.Code != "" {
if len(req.Code) > 0 {
system := "http://snomed.info/sct"
if req.System != "" {
system = req.System