FHIR Chat · Cancel Appointments - R4 · implementers

Stream: implementers

Topic: Cancel Appointments - R4


view this post on Zulip Savannah Dearing (Nov 15 2019 at 13:45):

Hi,
We are working on an implementation to allow an outside system to schedule appointments to another outside system. This was accomplished using the flows here: https://www.hl7.org/fhir/appointment.html

Now we want to add two forms of cancelling an appointment:
1) If an appointment request is sent out, and still pending, cancel the pending request.
I'm not sure of the correct way to do this. My first instinct was to send an AppointmentResponse with "declined" participantStatus, but found it was difficult to tell the difference between the 'cancel-pending' request and a normal request to deny a scheduled appointment. For clarity, I'd like to use a new "cancel-pending" participantStatus, but maybe there is a better way I'm not seeing right now.

2) If an appointment is booked, cancel the booked appointment.
My idea for this was to send it as if it were a new appointment request, with the participantStatus "needs-action", but the appointment status would be "cancelled" instead of "proposed" and then follow the same flow as a new appointment request, requiring approval.

I'm looking for input one way or the other.. or if someone knows of an existing spec they could point me to, or something in progress?
Thanks!

view this post on Zulip Lloyd McKenzie (Nov 15 2019 at 13:50):

@Brian Postlethwaite

view this post on Zulip Brian Postlethwaite (Nov 15 2019 at 21:31):

You're correct in terms of the cancellation. But the pending vs booked is an internal business rule, and you should deal with it server side.
As I'm sure there will be more reasons and different cases for different appointment types.
You should always permit cancellations, however the effects of this will be different under different conditions.
Some might just cancel and be ok, others might cancel and still charge the patient, and could be based on time, previous cancellation history, appt type, relationship to other conditions or actions.

view this post on Zulip Savannah Dearing (Nov 18 2019 at 12:19):

Okay, so it looks like I'm on the right path for a cancel request once an appointment is booked.
Going to think more on how cancelling a proposed appointment should be handled.

Thanks!


Last updated: Apr 12 2022 at 19:14 UTC