POST /Appointment - Error : Unprocessable entity

84 views
Skip to first unread message

Neetoo Maurya

unread,
Mar 31, 2020, 3:07:02 PM3/31/20
to Cerner FHIR Developers
Hi Experts,

I am geeting Unprocessable entity error on calling POST /Appointment API. Please advise.

X-Request-Id:
e23664b29171cd05748e9c491b2d9fd6

Input Json: {"slot":[{"reference":"Slot/21265426-4048128-7752887-0"}],"participant":[{"actor":{"reference":"Patient/3674128"},"status":"needs-action"}],"resourceType":"Appointment","status":"proposed"}

Regards,


Neetoo Maurya

unread,
Apr 1, 2020, 10:42:48 AM4/1/20
to Cerner FHIR Developers
Hi Experts,

Can you please assist on it.

Regards,

Praneeth Kanneganti (Cerner)

unread,
Apr 1, 2020, 11:29:22 AM4/1/20
to Cerner FHIR Developers

Hello,


  Thank you for providing us the details.
  Based on our logs(per the X-Request-Id) and the provided JSON input, it looks like the actor reference is pointing to a patient that does not exist. Resulting in the 422 Unprocessable entity error.

 
  Non-existent patients cannot be used as actors.

  The existence of a patient can be verified by doing a read on the Patient ID.
  https://fhir-open.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/Patient/3674128

  Additional details on how to search/read or create a patient can be found here - fhir.cerner.com - Patient

Thanks,
Praneeth (Cerner)

Reply all
Reply to author
Forward
0 new messages