500 Internal server error while creating DocumentReference

49 views
Skip to first unread message
Assigned to Fenil....@cerner.com by me

Virginia Everett

unread,
Jun 9, 2021, 10:27:38 AM6/9/21
to Cerner FHIR Developers
Hi,

I'm testing create a new DocumentReference into Cerner Cert environment and getting 500 Internal server error. I searched similar previous questions but I don't think any applies to mine. I put base64 encoded data of an xml string in content.attachment.data.

Can anyone help me with any possible reason of this 500 error?

My X-Request-Id=b5e2eaef-06df-4abb-b751-e10c0831ab92

Thanks, 
Virginia 

Fenil Desani (Cerner)

unread,
Jun 9, 2021, 4:51:53 PM6/9/21
to Cerner FHIR Developers
Hello,

Can you share the post body of you request?

Thanks,
Fenil (Cerner)

Virginia Everett

unread,
Jun 10, 2021, 7:47:53 AM6/10/21
to Cerner FHIR Developers
Hi, 

This is body of the message is being sent to one of our non-prod domains.  The ids are replaced with '#'.  The rest remains the same. 

"resourceType": "DocumentReference",
"status": "current", 
"docStatus": "final",
"type": { 
"coding": [ { 
"system": "http://loinc.org",
"code": "34133-9",
"display": "FHIR Document Test - Text",
"userSelected": true 
] ,
"text": "FHIR Document Test - Text" 
}, 
"subject": { "reference": "Patient/########" },
"author": [ { "reference": "Practitioner/########" } ],
"authenticator": { "reference": "Practitioner/########" },
"content": [ 
{ "attachment": { 
"contentType": "application/xml;charset=utf-8","data": "PHRlc3Q+VGhpcyBpcyBhIHRlc3QuPC90ZXN0Pg==",
"title": "FHIR Document Test",
"creation": "2021-06-01T21:02:04.000Z" 
],
"context": { 
"encounter": [ { "reference": "Encounter/########" } ],
"period": { 
"start": "2021-06-02T00:00:00.000Z",
"end": "2021-06-02T01:00:00.000Z" 
}

Thanks Virginia 

Fenil Desani (Cerner)

unread,
Jun 10, 2021, 10:42:49 AM6/10/21
to Cerner FHIR Developers
I don't see that LOINC inbound mapped. Also, can you try cycling SCP 200.

Virginia Everett

unread,
Jun 10, 2021, 12:38:59 PM6/10/21
to Cerner FHIR Developers
How does it need to be mapped?  Used the one that the SMART App Validator pulled in.  Thanks, 

Fenil Desani (Cerner)

unread,
Jun 10, 2021, 3:28:35 PM6/10/21
to Cerner FHIR Developers
You would need to log a ticket to Cerner's Ignite APIs for Millennium for any mappings you need.

Virginia Everett

unread,
Jun 10, 2021, 3:55:05 PM6/10/21
to Cerner FHIR Developers
Thanks will do. 
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages