Hi,
I'm trying to debug an issue with a Cerner based Healthcare Provider - UAB Hospital
The issue is related to Binary resources, specifically PDF's.
When attempting to request PDF's we're seeing timeouts (even after waiting more than a couple minutes) or 404 errors (XML Binary documents download successfully).
Here's some detailed technical information:
First we requested the DiagnosticReport resource, which has a presentedForm section that looks like the following:
"presentedForm": [
{
"contentType": "application/pdf",
"url": "https://fhir-myrecord.cerner.com/r4/11e960ca-465e-403d-a8ac-REDACTED/Binary/XR-10455279###",
"title": "REDACTED",
"creation": "2019-12-16T22:29:43Z"
},
{
"contentType": "application/xml",
"url": "https://fhir-myrecord.cerner.com/r4/11e960ca-465e-403d-a8ac-REDACTED/Binary/XML-10455279###",
"title": "REDACTED",
"creation": "2019-12-16T22:29:43Z"
}
]
When requesting the XML document, we get the following (successful) response:
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Cache-Control: no-cache
Connection: keep-alive
Content-Type: application/fhir+json; charset=utf-8
Date: Sun, 30 Jul 2023 23:31:11 GMT
Etag: REDACTED
Referrer-Policy: strict-origin-when-cross-origin
Server-Response-Time: 2072.74892
Strict-Transport-Security: max-age=631152000
Vary: Origin
Via: 1.1 bfad77da64cd65a36fcbbe44acb655e8.cloudfront.net (CloudFront)
X-Amz-Cf-Id: 2OsOoT8ZagpDOL-K5DoaDbBAFd80uj10BIy8sAiWz3XHTqpK8vhbVQ==
X-Amz-Cf-Pop: SFO53-P2
X-Cache: Miss from cloudfront
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Request-Id: 3835e8be-7dc1-482f-ba71-d731a6758514+Fe7T_FiN5
X-Runtime: 2.072684
X-Xss-Protection: 1; mode=block
When requesting any PDF documents, we get client timeouts or 404 errors:
HTTP/1.1 404 Not Found
Transfer-Encoding: chunked
Cache-Control: no-cache
Connection: keep-alive
Content-Type: application/fhir+json; charset=utf-8
Date: Sun, 30 Jul 2023 06:29:23 GMT
Referrer-Policy: strict-origin-when-cross-origin
Server-Response-Time: 15594.673639999999
Strict-Transport-Security: max-age=631152000
Vary: Origin
Via: 1.1 b9123be426d0e732cf10eff602d871c8.cloudfront.net (CloudFront)
X-Amz-Cf-Id: fjdh6WXUeASUbkRa-eLPz-txDtI1Z-Xub55W4GQU_BJQ2N539-xauw==
X-Amz-Cf-Pop: SFO53-P2
X-Cache: Error from cloudfront
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Request-Id: 0317a3f6-ad5a-4fc1-8588-7d3541ad9cb5+jqa6_iFyU
X-Runtime: 15.594614
X-Xss-Protection: 1; mode=block
7d
{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"not-found","details":{"text":"Resource not found"}}]}
0
The request for the PDF document looks like the following:
GET /r4/11e960ca-465e-403d-a8ac-REDACTED/Binary/XR-############ HTTP/1.1
Host: fhir-myrecord.cerner.com
Accept: application/fhir+json
As mentioned in https://forums.oracle.com/ords/apexds/post/api-acces-404-error-8625, we are aware that the "Cerner’s Clinical Reporting (XR)" plugin is required if requesting the raw PDF using `application/pdf` content type, however we're using the `application/fhir+json` content type, which should work.
Can you help us determine what's going on?