Workflow or API calls:
I am trying to create Diagnostic report with sandbox API. Getting ‘Internal server error’.
https://fhir-ehr-code.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/DiagnosticReport
Given all the required field in payload. Please let me know if I am missing anything.
{
"resourceType": "DiagnosticReport",
"category": [
{
"coding": \[
{
"code": "LP29708-2",
"display": "Cardiology",
"isUserSelected": false,
"system": "http://loinc.org"
}
\],
"text": "string"
}
],
"code": {
"coding": \[
{
"code": "703535",
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/72",
"userSelected": true,
"display": "Temperature Axillary"
}
\],
"text": "Cardiology"
},
"effectiveDateTime": "2024-02-27T09:12:28Z",
"encounter": {
"reference": "Encounter/98080048"
},
"identifier": [
{
"use": "usual",
"type": {
"coding": \[
{
"code": "Coding",
"system": "http://snomed.info/sct",
"version": "4.0.1",
"display": "test",
"userSelected": true
}
\]
},
"system": "http://hl7.org/fhir/sid/us-ssn",
"value": "11182456"
}
],
"performer": [
{
"reference": "Practitioner/3332064"
}
],
"presentedForm": [{
"contentType": "application/pdf;charset=utf-8",
"data": "PGh0bWw+Cjx0aXRsZT4gVGVzdCBEb2N1bWVudCA8L3RpdGxlPgoKRG9jdW1lbnQgY29udGVudCEKCjwvaHRtbD4=",
"url": "http://snomed.info/sct",
"title": "CT image",
"creation": "2023-07-29T21:02:04.000Z"
}\],
"status": "final",
"subject": {
"reference": "Patient/12973386"
}
}
Expected Result: Status: 200 OK, with resource ID in response header
Actual Result:
{
"resourceType": "OperationOutcome",
"issue": \[
{
"severity": "fatal",
"code": "exception",
"details": {
"text": "Internal server error"
}
}
\]
}
X-Request-Id :/8041B14BE304CF2EFA9642F7CC17797D+pduo_zxxM
opc-request-id:/8041B14BE304CF2EFA9642F7CC17797D/BCAA322E9DC9058A2DEE8ED3D1C57977