Scheduling and appointment

12
© 2013 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office. Scheduling and Appointments Gaute Brakstad November 17, 2016

Transcript of Scheduling and appointment

Page 1: Scheduling and appointment

© 2013 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

Scheduling and Appointments

Gaute BrakstadNovember 17, 2016

Page 2: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

This presentation

Is licensed for use under the Creative Commons, specifically: Creative Commons Attribution 3.0 Unported

License (Do with it as you wish, so long as you give credit)

Page 3: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

3

Who am I?

Name: Gaute Brakstad Company: DIPS ASA Background:

Software Engineer Worked with integration projects using standards

like IHE XDS.b, HL7 v3 and FHIR.

Page 4: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

4

Tutorial Objectives

Show a patient a list of his/her appointments Search for availiable slots for an

appointment Reschedule appointment to a new slot. Discuss challenges around clinical

scheduling

Page 5: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

5

Step 1:The easy part

Get all appointments to a patient {FhirServer}/Appointment?patient=15418247107 Show patient the list of the appointments.

Page 6: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

6

So what can i reschedule? Should a patient be able to reschedule all

future appointments? How can i show that a appointment is able to

reschedule?

Page 7: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

7

Using tags

Our solution was to tag the solutions with «onlinebookable».

Advantages using tags If a resource is availiable for certain purpose is

meta information. Changes in tags does not change version of

resource.

Page 8: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

8

Step 2: Search for new Slot’s Used query for custom search parameters Parameters:

appointmentId (Id of the appointment you want to reschedule)

start (Lower limit of date it can start) end (Higher limit of date it can start) onlySameResource (Do you want same

doctor?)

Page 9: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

9

Step 2: Search for new Slot’s {FhirServer}/Slot?

_query=AppointmentRescheduling&appointmentId=ee728bec-3203-c94e-96db-e753b8a95143&start=2016-11-21&end=2016-11-21&onlySameResource=true

Page 10: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

10

Step 3: Reschedule

Using Operation to create a new appointment.

Input parameters: newStartDate versionId resource patient

Page 11: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

11

Step 3 Reschedule

{FhirServer}/Appointment/{AppointmentId}/$Reschedule

Page 12: Scheduling and appointment

© 2014 HL7 ® International. Licensed under Creative Commons. HL7 & Health Level Seven are registered trademarks of Health Level Seven International. Reg. U.S. TM Office.

12

Step 4: Show the new appointment The response from a operation contains the

new appointment.