Extending the Schedule Medical Appointment Microjourney
You can extend the Pega Customer Service for Healthcare Schedule Medical Appointment Microjourney to update third-party systems and to capture patient needs.
For example, you might add the names of family members who are associated with a patient or retrieve available appointment time slots for a provider. You can also extend the case type for use when integrating with a variety of system records such as Electronic Health Records (EHR) or Electronic Medical Records (EMR) systems.
For more information, see Schedule Medical Appointment Microjourney on the Pega Customer Service for Healthcare product page.
Populating the list of patients that is associated with the caller
During a member interaction, you can retrieve a list of other family members when you extend the Medical Appointment Scheduling case type. For example, you might want to schedule an appointment for another family member while you are in an interaction with a patient.
- In the header of Dev Studio, enter and search for D_GetAssociatedPatients.
- Click the file name that displays Data Page in the Type column.
- On the Patient and subscriber associated details data page, click Check out and then click Save as to save the rule to your ruleset.
- Click Create and open.
- On the Definition tab, make your changes. For additional information, see More about data page rules.
- Click Save and check in your rule.
- Close the record.
Retrieving the available appointment slots for one or more providers
You can retrieve the list of available appointment slots for providers in a third-party system when you extend the Medical Appointment Scheduling case type.
- In the header of Dev Studio, follow these steps: enter and search for
D_GetAvailabilityOfAProvider.
- To find the availability of one provider, enter and search for D_GetAvailabilityOfAProvider.
- To find the availability of multiple providers, enter and search for D_GetAvailabilityOfAProvider.
- Click the file name that displays Data Page in the Type column.
- On the data page, click Check out and then click Save as to save the rule to your ruleset.
- Click Create and open.
- On the Definition tab, make your changes. For additional information, see Completing the Matrix tab.
- Click Save and check in your rule.
- Close the record.
Setting the duration for provider appointment slots
To set the duration for appointment slots for your providers, extend the Medical Appointment Scheduling case type. For example, you can change the default setting of 15 minutes to 30 minutes.
- In the header of Dev Studio, enter and search for SlotDuration.
- Click the file name that displays Dynamic System Settings in the Type column.
- On the Edit Dynamic System Settings: Slot Duration page, on the Settings tab, enter a value that represents the duration of an appointment in minutes, and click Save.
- Close the record.
Setting the working hours for a provider
To set the start and end times of provider working hours, extend the Medical Appointment Scheduling case type. For example, you can change the default start time for provider working hours from 0900 (9:00 AM) to 0830 (8:30 AM) and the default end time from 1600 (4:00 PM) to 1700 (5:00 PM).
- In the header of Dev Studio,follow these steps:
- To set the start time, enter and search for WorkingHoursStartTime.
- To set the start time, enter and search for WorkingHoursEndTime.
- Click the file name that displays Dynamic System Settings in the Type column.
- Based on whether you are setting the start or end time for working hours, on the Edit Dynamic System Settings page, on the Settings tab, enter a value that represents the hours and minutes and click Save.
- Close the record.
Determining when appointment reminders are sent to patients
To determine when appointment reminders are sent to patients, extend the Medical Appointment Scheduling case type. For example, you can change the default setting of 3 days prior to the appointment for the first reminder to 5 days prior to the appointment. You might change the default setting of 1 day prior to the appointment for the second reminder to 3 days prior to the appointment.
- In the header of Dev Studio, enter and search for ReminderInformation.
- Click the file name that displays Map Value in the Type column
- On the Map Value: Reminder information page, click Check out and then click Save as to save the rule to your ruleset.
- Click Create and open.
- On the Matrix tab, make your changes. For additional information, see Map Value form – Completing the Matrix tab.
- Click Save and check in your rule.
- Close the record.
Adding patient needs during appointment scheduling
To add a patient need during appointment scheduling, for example a provision for transportation to the appointment, extend the Medical Appointment Scheduling case type. Then, care team members work with the patient to resolve the transportation issue.
- In the header of Dev Studio, enter and search for DoSpecialNeedsExist.
- Click the file name that displays When in the Type column.
- On the When: Do special needs exist page, click Check out and then click Save as to save the rule to your ruleset.
- Click Create and open.
- On the Conditions tab, click the when rule and modify
your values.For additional information, see When form – Completing the Conditions tab
- Click Save and check in your rule.
- Close the record.
Capturing patient needs
To accommodate patient needs, for example, a transportation need or a nutritional need, extend the flow for the Medical Appointment Scheduling case type.
- In the header of Dev Studio, enter and search for CaptureSpecialNeeds_Ext.
- Click the file name that displays Flow in the Type column.
- On the Flow: Capture special needs page, click Check out and then click Save as to save the rule to your ruleset.
- Click Create and open.
- Modify the flow to meet your needs.For additional information, see Flows.
- Click Save and check in your rule.
- Close the record.
Retrieving provider availability slots in a third-party system
To retrieve the availability slots of providers in a third-party system who meet specific criteria, extend the Medical Appointment Scheduling case type. For example, you might want a list of providers and their availability who speak Spanish or a list of providers who are located in a certain area.
- In the header of Dev Studio, enter and search for PopulateProviderDetails_EXT.
- Click the file name that displays Data Transform in the Type column.
- On the Data Transform: Populate provider details page, click Check out and then click Save as to save the rule to your ruleset.
- Click Create and open.
- On the Definition tab, modify the values for the data
transform.For additional information, see Data Transform form – Completing the Definition tab.
- Click Save and check in your rule.
- Close the record.
Creating, rescheduling, or canceling appointments in a third-party system
To manage appointments in a third-party system, extend the Medical Appointment Scheduling case type. For example, you might want to create an appointment, reschedule an appointment, or cancel an appointment for your patient.
- In the header of Dev Studio, enter and search for PostDataToSchedulingSystems.
- Click the file name that displays Data Transform in the Type column.
- On the Data Transform: Post data to scheduling systems page, click Check out and then click Save as to save the rule to your ruleset.
- Click Create and open.
- On the Definition tab, modify the values to meet your
business needs.For additional information, see Data Transform form – Completing the Definition tab.
- Click Save and check in your rule.
- Close the record.
Previous topic Extending the Welcome member case type Next topic Extending the Authorization Intake case type