Create Observation [ERROR] Unprocessable entity.

170 views
Skip to first unread message
Assigned to Fenil....@cerner.com by me

Developer Intellicure

unread,
Jan 4, 2022, 2:31:04 PM1/4/22
to Cerner FHIR Developers
Hello I am testing creating an observation.  I have worked through several validation errors from Cerner's api responses, however the only response I am now getting is: 
[ERROR] Unprocessable entity.

The last x-request-id:
16df9f50-0db5-4f26-9064-5ef691ce6f3b

Fenil Desani (Cerner)

unread,
Jan 4, 2022, 4:26:09 PM1/4/22
to Cerner FHIR Developers
Hello,

Can you please provide the POST body?

Thanks,
Fenil

Developer Intellicure

unread,
Jan 4, 2022, 5:35:49 PM1/4/22
to Cerner FHIR Developers
Thanks for the prompt response.

Another request id: 177c1d32-c08c-439f-881d-a29a6a4c490a
with the same POST body, below:

{
  "resourceType": "Observation",
  "extension": [
    {
      "url": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code": "LA",
            "display": "legal authenticator"
          }
        ],
        "text": "legal authenticator"
      }
    }
  ],
  "status": "final",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "vital-signs",
          "display": "Vital Signs"
        }
      ],
      "text": "Vital Signs"
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "8480-6",
        "display": "Systolic"
      }
    ],
    "text": "Systolic"
  },
  "subject": {
    "reference": "Patient/12724069"
  },
  "encounter": {
    "reference": "Encounter/97953492"
  },
  "effectiveDateTime": "2020-02-03T20:26:16-05:00",
  "performer": [
    {
      "reference": "Practitioner/12753114"
    }
  ],
  "valueQuantity": {
    "value": 120,
    "unit": "mm[Hg]",
    "system": "http://unitsofmeasure.org",
    "code": "mm[Hg]"
  }
}


Thanks,
Isaac @intellicureehr

Fenil Desani (Cerner)

unread,
Jan 5, 2022, 2:09:26 PM1/5/22
to Cerner FHIR Developers
That LOINC code is not mapped on our side for public Sandbox.
For Systolic Blood Pressure please use either of the following:

Systolic Blood Pressure Sitting 8459-0
Systolic Blood Pressure Standing 8460-8
Systolic Blood Pressure Supine 8461-6

Thanks,
Fenil

Developer Intellicure

unread,
Jan 6, 2022, 3:21:01 PM1/6/22
to Cerner FHIR Developers
Thanks again Fenil,

Could you also help with the error that I am now getting: 
[ERROR] Resource not found

X-Request-ID:2c8ff828-af61-49c2-9c31-c11518ef6264

content body:
{
  "resourceType": "Observation",
  "extension": [
    {
      "url": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
      "valueCodeableConcept": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code": "LA",
            "display": "legal authenticator"
          }
        ],
        "text": "legal authenticator"
      }
    }
  ],
  "status": "final",
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "vital-signs",
          "display": "Vital Signs"
        }
      ],
      "text": "Vital Signs"
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "8459-0",

        "display": "Systolic"
      }
    ],
    "text": "Systolic"
  },
  "subject": {
    "reference": "Patient/12724069"
  },
  "encounter": {
    "reference": "Encounter/97953492"
  },
  "effectiveDateTime": "2020-02-03T20:26:16-05:00",
  "performer": [
    {
      "reference": "Practitioner/12753114"
    }
  ],
  "valueQuantity": {
    "value": 120,
    "unit": "mm[Hg]",
    "system": "http://unitsofmeasure.org",
    "code": "mm[Hg]"
  }
}

Thanks,
Isaac

Developer Intellicure

unread,
Jan 25, 2022, 1:46:24 PM1/25/22
to Cerner FHIR Developers
Hello,

Following up on this.
I have rerun the create request with no changes to the payload.  
Still not a successful response code.
Any help would be appreciated greatly.

Thanks,
Isaac

Recent Test Request Information:
Current Error:
Operation was unsuccessful because of a client error (Conflict). OperationOutcome: Overall result: FAILURE (1 errors and 0 warnings)
[ERROR] Current state of resource in conflict.
X-Request-ID: 9774c2cc-130e-4a85-a3d5-61820fdcb64d
Payload body:
Reply all
Reply to author
Forward
0 new messages