Issue: Appointment /cancelationReason

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

Vivek Bhagavan

unread,
Apr 28, 2022, 2:34:59 PM4/28/22
to Cerner FHIR Developers
Thank You all for your support on this group.

I have a query regarding Appointment Cancelation in Development (https://fhir-ehr-code.cerner.com).

I am able to successfully cancel an appointment in Genesis when the /cancelationReason is 

 {
    "op": "add",
    "path": "/cancelationReason",
    "value": {
      "coding": [
        {
 "code": "pat"
 
  }
]
    }

I am unable to cancel an appointment when I use the remaining codes i.e

 {
    "op": "add",
    "path": "/cancelationReason",
    "value": {
      "coding": [
        {
 "code": "prov"
 
  }
]
    }

or

 {
    "op": "add",
    "path": "/cancelationReason",
    "value": {
      "coding": [
        {
 "code": "other"
 
  }
]
    }

I get an error

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


PATCH /r4/............/Appointment/4851100 HTTP/1.1

X-Request-Id: 9f5b7a56-aa6e-42af-bb8a-5298f4ddc719+2623

Can you please check why the system is allowing only "code":"pat"?

Thank You,
Vivek

Fenil Desani (Cerner)

unread,
Apr 29, 2022, 9:31:55 AM4/29/22
to Cerner FHIR Developers
Hello Vivek,

Appointment Cancellation Reason 'prov' is not mapped for our public Sandbox. 'pat' and 'other' are mapped.
Can you provide X-request-ID for failure when using 'other'

Thanks,
Fenil

Vivek Bhagavan

unread,
Apr 29, 2022, 10:20:42 AM4/29/22
to Cerner FHIR Developers

X-Request-Id: 626a0e62-d692-48bf-b795-c0410a0251b6+0323

Fenil Desani (Cerner)

unread,
Apr 29, 2022, 12:04:47 PM4/29/22
to Cerner FHIR Developers
There was missing configuration which has hence been corrected. Please try again with 'other'
Message has been deleted
Message has been deleted

Vivek Bhagavan

unread,
Apr 29, 2022, 12:52:25 PM4/29/22
to Cerner FHIR Developers
It works now.

Thank You.

As always, great work Fenil.

"status": "cancelled",
   "cancelationReason":    {
      "coding":       [
                  {
            "system": "https://fhir.cerner.com/......./codeSet/14229",
            "code": "26491415",
            "display": "Other",
            "userSelected": true
         },
                  {
            "system": "http://terminology.hl7.org/CodeSystem/appointment-cancellation-reason",
            "code": "other",
            "display": "Other",
            "userSelected": false
         }
      ]

Vivek Bhagavan

unread,
May 5, 2022, 5:55:39 PM5/5/22
to Cerner FHIR Developers

Can you please add the code 

: "oth-err"

as well in your public sandbox configuration?

Thank You,
Vivek

Fenil Desani (Cerner)

unread,
May 6, 2022, 2:22:04 PM5/6/22
to Cerner FHIR Developers
Due to the nature of your project, please work directly with your Cerner resources.
Reply all
Reply to author
Forward
0 new messages