Unprocessable entity

156 views
Skip to first unread message
Assigned to desani...@gmail.com by eric.s...@cerner.com

psme...@gmail.com

unread,
May 24, 2021, 1:37:10 PM5/24/21
to Cerner FHIR Developers
X-Request-ID "7af441ff-2615-4fbe-baa3-dad93694afc6"

I'm getting this error back while trying to POST a DocumentReference.  I can't figure out what the error means.  Any help would be huge as I'm stuck.

{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"invalid","details":{"text":"Unprocessable entity"}}]}

Thanks,

Peter


Fenil Desani (Cerner)

unread,
May 24, 2021, 1:48:07 PM5/24/21
to Cerner FHIR Developers
Hello,

Are you providing the Author value while creating the document, If so what?

Thanks,
Fenil (Cerner)

psme...@gmail.com

unread,
May 24, 2021, 2:10:46 PM5/24/21
to Cerner FHIR Developers
"resourceType": "DocumentReference",
    "status": "current",
    "docStatus": "final",
    "type": {
      "coding": [
        {
          "system": "http://loinc.org",
          "code": "68608-9"
        }
      ]
    },
    "subject": { "reference": "Patient/12724065" },
    "author": [ { "reference": "Practitioner/24241112" } ],
    "content": [
      {
        "attachment": {
          "contentType": "application/xhtml+xml;charset=utf-8",
          "data": "PCFET0NUWVBFIGh0b.....",
          "creation": "2021-05-24T17:26:11Z",
          "title": "Summary Note"
        }
      }
    ],
    "context": {
      "encounter": [ { "reference": "Encounter/97953483" } ],
      "period": { "end": "2021-05-21T00:00:00Z" }

Fenil Desani (Cerner)

unread,
May 24, 2021, 2:18:08 PM5/24/21
to Cerner FHIR Developers
Can you try with Practitioner: 4122622?
If it still fails, can you send me the exact body you are posting.

psme...@gmail.com

unread,
May 24, 2021, 3:01:08 PM5/24/21
to Cerner FHIR Developers
Sorry to bother you.  I realized that the Practitioner ID was a different ID than their FHIR ID.  Thanks for pointing that out.  Using the FHIR ID, the POST was successful.  Thanks again!
Reply all
Reply to author
Forward
0 new messages