Cerner - Create Patient API Error

66 views
Skip to first unread message

Eman Khan

unread,
Jan 19, 2023, 6:14:24 AM1/19/23
to Oracle Cerner FHIR Developers
Hi, I've been trying to create a patient using the Create Patient API from here

and getting this error response.

{
     "resourceType": "OperationOutcome",
      "issue": [
{
       "severity": "error",
       "code": "invalid",
       "details": {
                   "text": "Invalid request"
         }
}]}




This is my request body : 
{
"resourceType": "Patient",
"identifier": [
{
"assigner": {
"reference": "Organization/619848"
}
},
{
"type": {
"coding": [
{
"code": "MR",
}
]},
"system": "urn:oid:1.1.1.1.1.1",
"value": "<unique identifier>",
"period": {
"start": "2016-01-02T00:00:00-05:00",
"end": "2020-01-02T00:00:00-05:00"
}}
],
"name": [
{
"use": "official",
"family": "Wolf",
"given": [
"Big",
"Bad"
],
"period": {
"start": "2010-05-17T14:54:31.000Z"
}},
{
"use": "usual",
"given": [
"Bigby"
],
"period": {
"start": "2012-05-22T15:45:50.000Z"
}}]}



This is my URL :

and I'm sending the access token in the header.

jagat jeevan nayak

unread,
Feb 27, 2023, 12:02:41 AM2/27/23
to Oracle Cerner FHIR Developers

Hello Eman,
Apologies for the late response.
Per our group guidelines, could you please provide the X-Request-Id associated with your request? This is located in the headers of the response.

Thank you,
Jagat Nayak (Oracle Cerner)
Reply all
Reply to author
Forward
0 new messages