update system
This commit is contained in:
No files matched your search
@@ -28,8 +28,12 @@ func MapRequestToFHIR(req ServiceRequestRequest) satusehat.FHIRPayload {
|
||||
}
|
||||
|
||||
if req.Code != "" {
|
||||
system := "http://snomed.info/sct"
|
||||
if req.System != "" {
|
||||
system = req.System
|
||||
}
|
||||
coding := map[string]interface{}{
|
||||
"system": "http://snomed.info/sct",
|
||||
"system": system,
|
||||
"code": req.Code,
|
||||
}
|
||||
if req.Display != "" {
|
||||
|
||||
Reference in New Issue
Block a user