You are here:
Add Support for Google Map Data
By default, the Self-Scheduling Omniscript for self-service appointment management accepts only ZIP codes for location data. In Omnistudio, you can customize the Omniscript to add support for Google Map data.
Required Editions
Available in: Lightning Experience Available in: Enterprise and Unlimited Editions with Health Cloud |
| User Permissions Needed | |
|---|---|
| To use OmniStudio | OmniStudio Admin permission set |
To add support for Google Map data, you must obtain a Google Maps API Key from Google.
-
Create a new version of the healthCloudIAM/selfService Omniscript.
- In the source org, from the App Launcher, open the OmniStudio app.
- Go to the OmniScripts page and enter healthCloudIAM in the search field.
- Expand the healthCloudIAM/selfService Omniscript.
-
Click the link for the highest version.
The Omniscript opens in the Omniscript Designer.
-
Click New Version.
The Version value in the Header is incremented.
-
In the Navigation Panel, click the Tree View icon.
The Tree View lets you view and select step subcomponents.
-
Edit the SelectLocation step.
- Select the SelectLocation step.
- In the Navigation Panel, expand the SelectLocation step.
- Click PatientZipCode.
- In the Number Properties panel, deselect Active.
- In the Navigation Panel, click Location.
- In the Type Ahead Block Properties panel, select Active.
- In the Type Ahead Block Properties panel, scroll to the Google Maps Autocomplete section.
- Enter your Google Maps API Key.
- In the Navigation Panel, click CheckCompleteAddress.
- In the Formula Properties panel, select Active.
- In the Navigation Panel, click CompletAddressMsg.
- In the Messaging Properties panel, select Active.
-
Edit the ScheduleProvider step.
- Select the ScheduleProvider step.
- In the Navigation Panel, expand the ScheduleProvider step.
- Click FilterPatientZipCode.
- In the Number Properties panel, deselect Active.
- In the Navigation Panel, expand MoreFilters.
- Click SearchPatientLocation.
- In the Type Ahead Block Properties panel, select Active.
- In the Type Ahead Block Properties panel, scroll to the Google Maps Autocomplete section.
- Enter your Google Maps API Key.
- In the Navigation Panel, click CheckFilterAddress.
- In the Formula Properties panel, select Active.
- In the Navigation Panel, click ValidAddress.
- In the Messaging Properties panel, select Active.
-
Edit the Apply Filter button in the ScheduleProvider step.
-
In the Navigation Panel, click
IntegrationProcedureAction1.
As an alternative, you can click the Apply Filter button in the step.
-
In the Integration Procedure Action Properties panel, next to the Integration
Procedure field, click the icon to open the Integration Procedure.
The healthCloudIAM-FetchProviderAndTimeSlotsFilter Integration Procedure opens in the Integration Procedure Designer.
- Select the DRTransformProviderSearchInput step.
-
In the Omnistudio Data Mapper Transform ActionProperties panel, next to the
Data Mapper Interface field, click the icon to open the Data Mapper.
The HealthCloudIAMTransformProviderSearchFiltersInput Data Mapper opens in the Data Mapper Designer.
- Click Clone.
- Go to the Transforms tab if you aren't already there.
-
Edit the
ScheduleProvider:FilterPatientZipCodeInput JSON Path and select Is Disabled. -
Edit
the
ScheduleProvider:MoreFilters:SearchPatientLocation-Block:FilterPatientZipCodeInput JSON Path and deselect Is Disabled.
-
In the Navigation Panel, click
IntegrationProcedureAction1.
-
In the Omniscript Designer, edit the IPGetProviderAndSlots element.
- Select the IPGetProviderAndSlots element.
-
In the Integration Procedure Action Properties panel, next to the Integration
Procedure field, click the icon to open the Integration Procedure.
The healthCloudIAM-FetchProviderAndTimeSlots Integration Procedure opens in the Integration Procedure Designer.
- Select the DRTransformProviderSearchInput element.
-
In the Data Mapper Transform ActionProperties panel, next to the Data Mapper
Interface field, click the icon to open the Data Mapper.
The HealthCloudIAMTransformProviderSearchInput Data Mapper opens in the Data Mapper Designer.
- Click Clone.
- Go to the Formulas tab.
-
Next to the
UpdatePatientZipCodeFormula Result Path, select Is Disabled. - Go to the Transforms tab.
- In the Input JSON Path column, rename the UpdatedPatientZipCode field to InputPatientZipCode.
- In the Omniscript Designer, click Activate Version.
Did this article solve your issue?
Let us know so we can improve!

