Good afternoon,
We are beginning to scope out clinical, and noticed the sandbox API response format does not always follow the system, code, display format depicted in the Cerner R4 documentation.
Expected Format (see highlighted section):
{
"resource": {
"resourceType": "AllergyIntolerance",
"id": "12786025",
"meta": {
"versionId": "12786025",
"lastUpdated": "2021-11-22T21:35:14Z"
},
"text": {
"status": "generated",
"div": "<div xmlns=\"
http://www.w3.org/1999/xhtml\"><p><b>Allergy Intolerance</b></p><p><b>Patient</b>: PHREESIA, THREE</p><p><b>Allergy</b>: Eggs (edible) (substance)</p><p><b>Verification Status</b>: Confirmed</p><p><b>Clinical Status</b>: Active</p><p><b>Criticality</b>: Low Risk</p><p><b>Category</b>: Food</p></div>"
},
"clinicalStatus": {
"coding": [
{
"code": "active",
"display": "Active"
}
],
"text": "Active"
},
"verificationStatus": {
"coding": [
{
"code": "confirmed",
"display": "Confirmed"
}
],
"text": "Active"
},
"type": "allergy",
"category": [
"food"
],
"criticality": "low",
"code": {
"coding": [
{
"code": "102263004",
"display": "Eggs (edible) (substance)"
}
],
"text": "Egg"
},
"patient": {
"reference": "Patient/12762018",
"display": "PHREESIA, THREE"
},
"encounter": {
"reference": "Encounter/97960617"
},
"recordedDate": "2021-11-22T21:35:14Z",
"recorder": {
"reference": "Practitioner/12762230",
"display": "PWPhreesia, MD, Cardio"
}
What we get (missing the system, code, display):
{
"resource": {
"resourceType": "AllergyIntolerance",
"id": "12785959",
"meta": {
"versionId": "12785983",
"lastUpdated": "2021-11-22T21:24:43Z"
},
"text": {
"status": "generated",
"div": "<div xmlns=\"
http://www.w3.org/1999/xhtml\"><p><b>Allergy Intolerance</b></p><p><b>Patient</b>: PHREESIA, THREE</p><p><b>Allergy</b>: Latex</p><p><b>Verification Status</b>: Confirmed</p><p><b>Clinical Status</b>: Active</p><p><b>Criticality</b>: High Risk</p><p><b>Category</b>: Environment</p><p><b>Reactions</b>: Swelling of left ear structure</p></div>"
},
"clinicalStatus": {
"coding": [
{
"code": "active",
"display": "Active"
}
],
"text": "Active"
},
"verificationStatus": {
"coding": [
{
"code": "confirmed",
"display": "Confirmed"
}
],
"text": "Active"
},
"type": "allergy",
"category": [
"environment"
],
"criticality": "high",
"code": {
"text": "Latex"
},
"patient": {
"reference": "Patient/12762018",
"display": "PHREESIA, THREE"
},
"encounter": {
"reference": "Encounter/97960617"
},
"recordedDate": "2021-11-22T21:06:12Z",
"recorder": {
"reference": "Practitioner/12762230",
"display": "PWPhreesia, MD, Cardio"
}
Please refer to our Test Patient named "Three Phreesia" with sandbox MRN 490364676 and FHIR ID 12785993.
X-Request-Id for reference: 53706bdd-dfcc-4ed6-bdaf-ed02f118391d
Thank you,
Bomi Kim