422 Unprocessable entity while trying to post an obervation

54 прегледа
Пређи на прву непрочитану поруку
Доделио/ла сам кориснику Fenil....@cerner.com

Abhishek Kini

непрочитано,
30. 12. 2021. 00:18:5930.12.21.
– Cerner FHIR Developers
 Hi,
I  created a patient and tried to POST an observation which was actually an observation of another patient in the Cerner itself but showing 422 Unprocessable entity issue.
X-request-id -  0aad0fa2-617d-4bf8-bcc0-22d23a6a7fa3 

The Body is shown below:
{
    "resourceType": "Observation",
    "identifier": [
        {
            "system": "https://fhir.cerner.com/ceuuid",
            "value": "CE87caf4b7-9397-4667-9897-702218017c9e-197573326-2021121613403900"
        }
    ],
    "status": "final",
    "category": [
        {
            "coding": [
                {
                    "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                    "code": "vital-signs",
                    "display": "Vital Signs"
                }
            ],
            "text": "Vital Signs"
        }
    ],
    "code": {
        "coding": [
            {
                "code": "703540",
                "display": "Respiratory Rate",
                "userSelected": true
            }
        ],
        "text": "Respiratory Rate"
    },
    "subject": {
        "reference": "Patient/12770316"
    },
    "effectiveDateTime": "2021-12-16T13:40:38.000Z",
    "performer": [
        {
            "extension": [
                {
                    "valueCodeableConcept": {
                        "coding": [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                                "code": "LA",
                                "display": "legal authenticator"
                            }
                        ],
                        "text": "legal authenticator"
                    },
                    "url": "http://hl7.org/fhir/StructureDefinition/event-performerFunction"
                }
            ],
            "reference": "Practitioner/4122622"
        }
    ],
    "valueQuantity": {
        "value": 12,
        "unit": "br/min",
        "system": "http://unitsofmeasure.org",
        "code": "/min"
    }
}

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

Can anyone help on this?
Thanks

Fenil Desani (Cerner)

непрочитано,
3. 1. 2022. 12:53:133.1.22.
– Cerner FHIR Developers
Hello,

Patient 12770316 does not have any Encounter and hence you are not able to post the Observation. Please use any other patient, example: 12742400
Also, the code for unit of measure seems to be incorrect. Please use

"code": "{Breaths}/min"


Thanks,
Fenil

Одговори свима
Одговори аутору
Проследи
0 нових порука