Unable to post data in Cerner

66 views
Skip to first unread message
Assigned to aaron....@oracle.com by me

booma radhakrishnan

unread,
Jun 21, 2021, 2:39:15 PM6/21/21
to Cerner FHIR Developers
Hi,

I am posting below payload as an Observation  FHIR resource and getting error


X-Amz-Cf-Pop: MAA51-C2
X-Cache: Error from cloudfront
X-Request-Id: 9c441143-9b77-46eb-ac5c-6fa9bd14e788
X-Runtime: 0.027319

App Id: 4de0778e-3dec-4f23-a628-cdd30d292c68

SMART Launch URI: http://localhost:3000

Redirect URI: http://localhost:3000


App Type: provider
Client Type: public

Authorized: true
Standard Scopes:
launch
profile
fhirUser
openid
online_access


Patient Scopes:
patient/Observation.read
patient/Patient.read
patient/Basic.write
patient/Observation.write
patient/Patient.write


User Scopes:
user/Observation.read
user/Patient.read
user/Basic.write
user/Observation.write
user/Patient.write

   const obervationPayLoad = {
"resourceType": "Observation",
"status": "final",  
"category": [{
"coding": [{
"code": "laboratory",
"display": "Laboratory"
}],
"text": "Laboratory"
}],
"subject": {
"reference": "Patient/8b33d1f5-8361-4f7e-a93a-72a3ed97bfb2"
},
"code": {
"coding": [{
"system": "http://loinc.org",
"code": "718-7",
"display": "Hemoglobin [Mass/volume] in Blood"
}],
"text": "Hemoglobin"
},

"valueQuantity": {
"value": 13.2,
"unit": "mg/dL",
"code": "mg/dL"
},
"issued": "2021-06-03T20:42:00.000Z",
"effectiveDateTime": "2021-06-03T20:42:00.000Z",
"interpretation": [{
"coding": [{
"code": "N",
"display": "Normal"
}],
"text": "Normal"
}],
"referenceRange": [{
"low": {
"value": 12.0,
"unit": "g/dL",
"code": "g/dL"
},
"high": {
"value": 15.5,
"unit": "g/dL",
"code": "g/dL"
}
}],
"note": [{

"time": "2021-06-03T20:42:15.000Z",
"text": "Specimen slightly hemolyzed."
}]

}


{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"invalid","details":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/operation-outcome","code":"MSG_PARAM_INVALID","display":"Parameter 'Observation.code' content is invalid"}],"text":"The value for Observation.code is not supported."},"diagnostics":"Observation.code: cannot be blank","expression":["Observation.code"]}]}


Please provide inputs

Aaron McGinn (Cerner)

unread,
Jun 25, 2021, 5:42:25 PM6/25/21
to Cerner FHIR Developers
Still looking into this, but we did notice that your Patient reference is invalid in our domain. Can you try again with one of the Patient references from our domain (I'm not sure which you meant to use)?

-Aaron (Cerner)
Reply all
Reply to author
Forward
0 new messages