Open AnalogJ opened 1 year ago
Trying to replicate this issue using Cerner open sandbox:
curl -H "Accept: application/fhir+json" "https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/DocumentReference/201512321"
{
"resourceType": "DocumentReference",
"id": "201512321",
"meta": {
"versionId": "1",
"lastUpdated": "2022-12-20T16:44:06.000Z"
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Document Reference</b></p><p><b>Patient Name</b>: Smart II, Nancyu Nha Eeeeee</p><p><b>Document Type</b>: Admission Note Physician</p><p><b>Document Title</b>: Hip - Labral Tear</p><p><b>Service Start Date</b>: Dec 20, 2022 4:44 P.M. UTC</p><p><b>Service End Date</b>: Dec 20, 2023 4:44 P.M. UTC</p><p><b>Document Status</b>: Final</p><p><b>Verifying Provider</b>: Portal, Portal</p></div>"
},
"identifier": [
{
"system": "https://fhir.cerner.com/ceuuid",
"value": "CE87caf4b7-9397-4667-9897-702218017c9e-201512321-2022122016440600"
}
],
"status": "current",
"docStatus": "final",
"type": {
"coding": [
{
"system": "https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/codeSet/72",
"code": "2820507",
"display": "Admission Note Physician",
"userSelected": true
},
{
"system": "http://loinc.org",
"code": "83805-2",
"userSelected": false
}
],
"text": "Admission Note Physician"
},
"category": [
{
"coding": [
{
"system": "http://loinc.org",
"code": "83805-2",
"userSelected": false
}
]
},
{
"coding": [
{
"system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category",
"code": "clinical-note",
"display": "Clinical Note",
"userSelected": false
}
],
"text": "Clinical Note"
},
{
"coding": [
{
"system": "http://loinc.org",
"code": "67852-4",
"userSelected": false
}
]
}
],
"subject": {
"reference": "Patient/12724066",
"display": "Smart II, Nancyu Nha Eeeeee"
},
"date": "2022-12-20T16:44:06Z",
"author": [
{
"reference": "Practitioner/12742069",
"display": "Portal, Portal"
}
],
"authenticator": {
"reference": "Practitioner/12742069",
"display": "Portal, Portal"
},
"custodian": {
"reference": "Organization/675844",
"display": "Model Hospital"
},
"content": [
{
"attachment": {
"contentType": "application/pdf",
"url": "https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Binary/XR-201512321",
"title": "Hip - Labral Tear",
"creation": "2022-12-20T16:44:04.000Z"
},
"format": {
"system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem",
"code": "urn:ihe:iti:xds:2017:mimeTypeSufficient",
"display": "mimeType Sufficient"
}
},
{
"attachment": {
"contentType": "application/xml",
"url": "https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Binary/XML-201512321",
"title": "Hip - Labral Tear",
"creation": "2022-12-20T16:44:04.000Z"
},
"format": {
"system": "http://ihe.net/fhir/ValueSet/IHE.FormatCode.codesystem",
"code": "urn:ihe:iti:xds:2017:mimeTypeSufficient",
"display": "mimeType Sufficient"
}
}
],
"context": {
"encounter": [
{
"reference": "Encounter/97953477"
}
],
"period": {
"start": "2022-12-20T16:44:04Z",
"end": "2023-12-20T16:44:04Z"
},
"related": [
{
"reference": "DiagnosticReport/201512321"
}
]
}
}
curl -H "Accept: application/fhir+json" "https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Binary/XR-201512321" | jq
RESULT: Worked.
Issue opened with Cerner - https://forums.oracle.com/ords/apexds/post/binary-document-404-error-0893
Debugging notes:
However
XML-12928REDACTED
works correctly