400 bad request for create patient

67 views
Skip to first unread message

Shankar Ganesh Jayaraman

unread,
Jan 14, 2020, 2:59:54 AM1/14/20
to Cerner FHIR Developers
While I create a patient without the generalPractitioner, the patient getting created. But while I add generalPractitioner inside request payload I am getting 400 Bad requests. I have confirmed the practitioner's existence with Cerner sandbox by Practitioner?_id=1994021 request.

"generalPractitioner": [
    {
      "reference": "Practitioner/1994021"
    }
  ]

x-request-id →
a8eee1b386277391752d78408f27b0a7


Request payload
{
  "resourceType": "Patient",
  "extension": [
    {
      "valueCode": "M"
    },
    {
      "extension": [
        {
          "url": "ombCategory",
          "valueCoding": {
            "system": "urn:oid:2.16.840.1.113883.6.238",
            "code": "2028-9",
            "display": "Asian"
          }
        },
        {
          "url": "detailed",
          "valueCoding": {
            "system": "urn:oid:2.16.840.1.113883.6.238",
            "code": "2039-6",
            "display": "Japanese"
          }
        }
      ]
    },
    {
      "extension": [
        {
          "url": "ombCategory",
          "valueCoding": {
            "system": "urn:oid:2.16.840.1.113883.6.238",
            "code": "2186-5",
            "display": "Non Hispanic or Latino"
          }
        }
      ]
    }
  ],
  "identifier": [
    {
      "assigner": {
        "reference": "Organization/619848"
      }
    }
  ],
  "active": true,
  "name": [
    {
      "use": "official",
      "family": "Patient",
      "given": [
        "Cerner",
        "Corey"
      ],
      "period": {
        "start": "2010-05-17T14:54:31.000Z"
      }
    },
    {
      "use": "usual",
      "given": [
        "Bigby"
      ],
      "period": {
        "start": "2012-05-22T15:45:50.000Z"
      }
    }
  ],
  "telecom": [
    {
      "system": "phone",
      "value": "8168229121",
      "use": "home",
      "period": {
        "start": "2012-05-17T15:33:18.000Z"
      }
    }
  ],
  "gender": "male",
  "birthDate": "1990-09-15",
  "address": [
    {
      "use": "home",
      "line": [
        "121212 Metcalf Drive",
        "Apartment 403"
      ],
      "city": "Kansas City",
      "district": "Jackson",
      "state": "KS",
      "postalCode": "64199",
      "country": "United States of America",
      "period": {
        "start": "2012-05-17T15:33:18.000Z"
      }
    }
  ],
  "maritalStatus": {
    "coding": [
      {
        "code": "UNK",
        "display": "Unknown"
      }
    ],
    "text": "Unknown"
  },
  "communication": [
    {
      "language": {
        "coding": [
          {
            "system": "urn:ietf:bcp:47",
            "code": "en",
            "display": "English"
          }
        ],
        "text": "English"
      },
      "preferred": true
    }
  ],
  "generalPractitioner": [
    {
      "reference": "Practitioner/1994021"
    }
  ]
}


Benjamin Eichhorn (Cerner)

unread,
Jan 14, 2020, 11:09:07 AM1/14/20
to Cerner FHIR Developers
Hi,

We're currently investigating this and will get back to you. In the meantime, please provide a different Practitioner which should fix the issue. 

When we have more details to share we'll let you know.

Thanks,
Ben (Cerner)

Shankar Ganesh Jayaraman

unread,
Jan 14, 2020, 12:25:50 PM1/14/20
to Cerner FHIR Developers
Hi Ben,

Can you please give me alternate practitioner IDs for me to try?

I have tried with the Practitioner/605925 but I’m getting same error.

Thanks,
Shankar

Benjamin Eichhorn (Cerner)

unread,
Jan 15, 2020, 2:16:06 PM1/15/20
to Cerner FHIR Developers
Hi Shankar,

Here's a few Practitioners that should work: 6090007, 7120009, 7120010.

Thanks,
Ben (Cerner)

Shankar Ganesh Jayaraman

unread,
Jan 16, 2020, 9:48:56 AM1/16/20
to Cerner FHIR Developers
Thanks, it is working with 6090007

Shilpa sunil kumar

unread,
Aug 18, 2020, 8:02:00 AM8/18/20
to Cerner FHIR Developers
Hi ,

I am facing the same 400 Bad Request Error when i try to create a new patient. (Referring to :http://fhir.cerner.com/millennium/r4/).

X-Request-Id:2459774a-2ce7-4437-b7aa-2b0e2a664824.

Please help resolve this issue.

Thanks in advance,
Shilpa

Benjamin Eichhorn (Cerner)

unread,
Aug 18, 2020, 9:27:05 AM8/18/20
to Cerner FHIR Developers
Hi,

Per our group guidelines, could you please open up a new thread for your question or issue?

Thank you,
Ben (Cerner)
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages