Enable Users to Generate a Report of Provider Search Results
Upload a provider search report template, create a Document Generation Setting, and
enable the action bar so that users can generate a report of provider search results.
|
Available in: Lightning Experience Available in: Enterprise and Unlimited Editions with Health Cloud |
| User Permissions Needed | |
|---|---|
| To create document templates and generate documents: | DocGen Designer permission set license |
Before you enable users to generate provider search reports, create a template. To learn how to create a template, see Deep Dive into OmniStudio Document Generation.
Here’s a sample template that you can use.
| Provider Name | Specialty | Sub Specialty | National Provider Identifier | Provider Type | Operating Hours | Facility Name | Facility Street | Facility City | Facility State | Facility Postal Code | Facility Country |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{#ProviderSearchReport}}{{#record}}{{ProviderName}} | {{Specialty}} | {{SubSpecialty}} | {{NationalProviderIdentifier}} | {{ProviderType}} | {{OperatingHours}} | {{FacilityName}} | {{FacilityStreet}} | {{FacilityCity}} | {{FacilityState}} | {{FacilityPostalCode}} | {{FacilityCountry}} {{/record}}{{/ProviderSearchReport}} |
-
Upload and share the provider search report template with users.
For non-English users, make sure the template name is appended with the language code. For example, name a template for French users as fr_ProviderReportTemplate.
- From the App Launcher, find and select Files.
- Click Upload Files and select the provider search report template you created.
- Click Done when the upload completes.
-
Locate the template you uploaded and click
, then
select Share.
- Search for and select users who can access the template. For users who also need to generate reports, select Collaborator.
- Click Share.
-
Create a Document Generation Setting record. If you already have one, skip this step.
- From Setup, in the Quick Find box, enter Document Generation Settings, and then select Document Generation Settings.
- Click New, enter these values, then click Create.
Field Value Label Specify a value such as DocGen API Name Defaults to Label value Document Template Library Name DocgenDocumentTemplateLibrary (default) Generation Mechanism Server-Side Preview Type PDF ServerSide Docgen Enabled Check You can only create one Document Generation Setting record. -
Add the provider search report template name in Lightning App Builder and enable the Action
bar.
- In Lightning App Builder, open the page where you added the provider search component.
-
In the Properties pane, select Show action bar.
The Action drop-down(
) in the provider search component includes the
Generate Report option. - In the Properties pane, in the Provider Search Report Template field, enter the name of the provider search report template you uploaded.
- Save your work.
Users can now select the relevant providers from search results and generate a provider
search report.