Issues with posting new MedicationStatement

13 views
Skip to first unread message

Wood Glass

unread,
Mar 19, 2020, 8:16:37 AM3/19/20
to cerner-fhir...@googlegroups.com
I have been experiencing issues while trying to POST a new MedicationStatement


X-Request-Id →d40d34dab92c4883e2826e255d211853

{
  "resourceType": "MedicationStatement",
  "patient": {
    "reference": "Patient/{id}"
  },
  "status": "active",
 "medicationCodeableConcept": {
    "coding": [
      {
        "system": "<local codeset>",
         "code": "<local code for aspirin>"
      }
    ],
    "text": "aspirin"
  }
}

I keep receiving 422 Unprocessable Entity. wondering if I am missing anything.

Benjamin Eichhorn (Cerner)

unread,
Mar 19, 2020, 9:21:50 AM3/19/20
to Cerner FHIR Developers
Hi there,

Similar to your previous question regarding AllergyIntolerance this again is a mapping issue. I'd suspect as you start to move/test additional resources you'll encounter this issue. I'd suggest that when you log the eService request that you mention all of the resources you wish to have mapped so you don't continue to have this issue as you continue through your development or testing process.

Thanks,
Ben (Cerner)
Reply all
Reply to author
Forward
0 new messages