Observation Create not working

64 views
Skip to first unread message

Franco Olesen

unread,
Nov 10, 2021, 12:49:56 PM11/10/21
to Cerner FHIR Developers
Hi. I'm having trouble writing to an Observation which is returned with the following category and code by GET Observation:

"category": [
                    {
                        "extension": [
                            {
                                "valueCode": "unknown",
                                "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason"
                            }
                        ]
                    }
                ],
                "code": {
                    "coding": [
                        {
                            "system": "https://fhir.cerner.com/XXXXXXXXX/codeSet/72",
                            "code": "704644",
                            "display": "Advance Directive",
                            "userSelected": true
                        },
                        {
                            "system": "http://snomed.info/sct",
                            "code": "425392003",
                            "display": "Active advance directive (finding)"
                        }
                    ],
                    "text": "Advance Directive"
                },

I'm trying to write to it (using the same category object returned in GET Observation) but the error returned by the API reads:
"Observation.category[0].coding: cannot be blank"

What does this mean? Do you have a list of categories currently supported by Cerner for write operations?
Thank you!

Joe Rattazzi (Cerner)

unread,
Nov 10, 2021, 4:13:39 PM11/10/21
to Cerner FHIR Developers
Hi,

Cerner's FHIR R4 Observation implementation currently only supports the "Laboratory" and "Vital Signs" Categories. You can find the details documented here: https://fhir.cerner.com/millennium/r4/clinical/diagnostics/observation/#body-fields

As a note - the Category you've provided (Data-absent-reason) means that no data is available. We tend to use that to describe Observations within our system that we're able to return but aren't able to categorize into a FHIR-defined category.  Since we require a Category during writes (and Data-absent-reason means no category is available), you're receiving the error that the coding information is blank.

Hope that helps,
- Joe (Cerner)
Reply all
Reply to author
Forward
0 new messages