appointment-book
¶
Looking for Feedback
Hey implementers, we want to hear from you!
- What obstacles are there to limiting this hook to firing only when the appointment is confirmed or finalized as booked?
- For which users should this hook fire?
- Many appointments are scheduled directly into the EHR by the patient, without provider staff involvement ...
Metadata | Value |
---|---|
specificationVersion | 1.0 |
hookVersion | 1.0 |
hookMaturity | 1 - Submitted |
Workflow¶
This hook is invoked when the user is scheduling one or more future encounters/visits for the patient. For example, the appointment-book
hook may be triggered for an appointment with the appointment creator, a clinician within the same organization as the appointment creator or even for an appointment outside the creator's organization. It may be invoked at the start and end of the booking process and/or any time between those two points. This hook enables CDS Services to intervene in the decision of when future appointments should be scheduled, where they should be scheduled, what services should be booked, to identify actions that need to occur prior to scheduled appointments, etc.
Context¶
The Patient whose appointment(s) are being booked, as well as the proposed Appointment records.
Field | Optionality | Prefetch Token | Type | Description |
---|---|---|---|---|
userId |
REQUIRED | Yes | string | The id of the current user. For this hook, the user could be of type Practitioner, PractitionerRole, Patient, or RelatedPerson. For example, PractitionerRole/123 . Patient or RelatedPerson are appropriate when a patient or their proxy are booking the appointment. |
patientId |
REQUIRED | Yes | string | The FHIR Patient.id of Patient appointment(s) is/are for |
encounterId |
OPTIONAL | Yes | string | The FHIR Encounter.id of Encounter where booking was initiated |
appointments |
REQUIRED | No | object | DSTU2/STU3/R4 - FHIR Bundle of Appointments in 'proposed' state |
Examples (STU3)¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
|
Change Log¶
Version | Description |
---|---|
1.0 | Initial Release |