Cancel Appointment is not working

75 views
Skip to first unread message
Assigned to rlcer...@gmail.com by eric.s...@cerner.com

chirag prajapati

unread,
May 26, 2021, 6:41:38 AM5/26/21
to Cerner FHIR Developers
Hi Team

 We are not able to perform cancel Appointment

X-Request-Id : 9c7c5203-ebde-4db0-8bd7-0f906e7da36d


body

{"resourceType":"Appointment","id":"4828128","meta":{"versionId":"1","lastUpdated":"2021-05-24T19:22:29.000Z"},"text":{"status":"generated","div":"<div><p><b>Appointment</b></p><p><b>Description</b>: EVisit</p><p><b>Type</b>: EVisit</p><p><b>Start</b>: May 24, 2021  1:15 P.M. UTC</p><p><b>End</b>: May 24, 2021  1:30 P.M. UTC</p><p><b>Duration</b>: 15 Minutes</p><p><b>Status</b>: Booked</p><p><b>Location</b>: MX Clinic 1</p><p><b>Participants</b>:</p><p><b>Patient</b>: Samir, Nilora</p><br /><p><b>Practitioner</b>: PWSUKI, MDCARDIO</p><p><b>Primary</b>: Yes</p></div>"},"status":"cancelled","description":"EVisit","start":"2021-05-24T13:15:00.000Z","end":"2021-05-24T13:30:00.000Z","minutesDuration":"15","comment":"Appointment Reminder Note to patient","participant":[{"type":[{"coding":[{"system":"http://hl7.org/fhir/v3/ParticipationType","code":"PPRF","display":"primary performer"}]}],"actor":{"reference":"Practitioner/12742614","display":"PWSUKI, MDCARDIO"},"required":"required","status":"accepted"},{"type":[{"coding":[{}],"text":"Patient"}],"actor":{"reference":"Patient/12753225","display":"Samir, Nilora"},"required":"required","status":"accepted"},{"type":[],"actor":{"reference":"Location/21304876","display":"MX Clinic 1"},"required":"required","status":"accepted"}]}

We are getting error like 

<!DOCTYPE html>
<html>

<head>
    <title>We're sorry, but something went wrong (500)</title>
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <style>
        body {
            background-color: #EFEFEF;
            color: #2E2F30;
            text-align: center;
            font-family: arial, sans-serif;
            margin: 0;
        }

        div.dialog {
            width: 95%;
            max-width: 33em;
            margin: 4em auto 0;
        }

        div.dialog>div {
            border: 1px solid #CCC;
            border-right-color: #999;
            border-left-color: #999;
            border-bottom-color: #BBB;
            border-top: #B00100 solid 4px;
            border-top-left-radius: 9px;
            border-top-right-radius: 9px;
            background-color: white;
            padding: 7px 12% 0;
            box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
        }

        h1 {
            font-size: 100%;
            color: #730E15;
            line-height: 1.5em;
        }

        div.dialog>p {
            margin: 0 0 1em;
            padding: 1em;
            background-color: #F7F7F7;
            border: 1px solid #CCC;
            border-right-color: #999;
            border-left-color: #999;
            border-bottom-color: #999;
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            border-top-color: #DADADA;
            color: #666;
            box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
        }
    </style>
</head>

<body>
    <!-- This file lives in public/500.html -->
    <div class="dialog">
        <div>
            <h1>We're sorry, but something went wrong.</h1>
        </div>
        <p>If you are the application owner check the logs for more information.</p>
    </div>
</body>

</html>

chirag prajapati

unread,
May 27, 2021, 2:42:01 AM5/27/21
to Cerner FHIR Developers
Hi Team,

Any update on this ?

Richard Leaf

unread,
May 27, 2021, 2:06:22 PM5/27/21
to Cerner FHIR Developers
It appears that the appointment ID in the request was locked by another process at the time you were attempting to cancel the appointment. That appointment still shows as a booked appointment.

chirag prajapati

unread,
May 28, 2021, 9:52:18 AM5/28/21
to Cerner FHIR Developers
Thanks
Reply all
Reply to author
Forward
0 new messages