---
sourceDocument: Brazil Healthcare and Life Sciences
sourceDocumentLink: https://www.servicenow.com/docs/r/healthcare-life-sciences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Healthcare and Life Sciences

ft:clusterId :

    - hcls

bundleId :

    - hcls

workflow :

    - Customer and Industry


---

# Components installed with the EMR Provider Directory Sync

# Components installed with the EMR Provider Directory Sync {#ariaid-title1}

Release version: Brazil  
Updated November 16, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Components installed with the EMR Provider Directory Sync

The EMR Provider Directory Sync plugin for the Brazil release installs several key components that enable synchronization of FHIR-based healthcare provider data into ServiceNow.
These components support importing and updating Healthcare Organizations, Locations, Practitioners, and PractitionerRoles from external EMR systems using FHIR resources.
The plugin streamlines data integration through automated scheduled jobs, flows, business rules, and decision tables.
Show full answer Show less  

## Key Features

* **User Role:** The `HCO FHIR Integration Admin` role allows users to manage sync operations, including triggering sync runs, editing schedules and decision tables, and accessing sync logs.
* **Tables:** The plugin installs the `FHIR Sync Log` table to track sync runs by resource type, including status, timing, and error details. It also interacts with existing tables such as Healthcare Organization, Location, Practitioner, and related records.
* **Scheduled Job:** A daily scheduled job (`FHIR Sync --- Daily`) runs the import orchestration subflow at 03:00 instance time by default. Admins can activate and manually execute this job.
* **Flows and Subflows:** The import process is orchestrated through a series of dependent subflows that handle Organizations, Locations, Practitioners, and PractitionerRoles sequentially, with logging and error handling.
* **Business Rule:** Automatically stamps the end time on sync log entries when a sync transitions out of the Running status.
* **Flow Actions:** Utilities support delta sync filtering by last update and parsing FHIR references.
* **Decision Table:** Admin-configurable table classifies imported Organizations as internal or external business locations based on FHIR organization type.
* **Spoke Integration:** The sync leverages read-only HL7 FHIR Spoke actions to fetch provider data securely using a shared FHIR connection and credential alias.

## Practical Implications for ServiceNow Customers

* The components enable automated, reliable synchronization of external EMR provider directory data into ServiceNow's Healthcare and Life Sciences applications.
* Admins can control sync timing via the scheduled job and customize organization classification using the decision table, tailoring sync behavior to organizational needs.
* Detailed logging supports monitoring and troubleshooting of sync operations.
* The modular flow design allows for clear operational visibility and error handling across different resource imports.
* Integration with the HL7 FHIR Spoke ensures secure, standards-based data access without installing extra properties.  
Several types of components are installed with the EMR Provider Directory Sync.
These include a user role, a sync log table, a scheduled job, flows, a business rule, flow actions, and a decision table.

## Plugin details {#hco-fhir-installed-components__hco-fhir-plugin-details}

Plugin name: EMR Provider Directory Sync

Scope name: `sn_hcls_emr_sync`

## Roles installed {#hco-fhir-installed-components__hco-fhir-installed-roles}

{#hco-fhir-installed-components__hco-fhir-installed-roles__entry__3}

| Role title \[name\] | Description | Contains roles |
|-|-|-|
| HCO FHIR Integration Admin \[`sn_hcls_emr_sync.admin`\] | Operates the FHIR sync: triggers runs, edits the sync schedule and the organization classification decision table, and reads, creates, and updates FHIR Sync Log rows. | Inherited by users with `sn_hco.admin`. |
[ ]

## Tables installed {#hco-fhir-installed-components__hco-fhir-installed-tables}

{#hco-fhir-installed-components__hco-fhir-installed-tables__entry__2}

| Table | Description |
|-|-|
| FHIR Sync Log \[`sn_hcls_emr_sync_log`\] | Records one row per resource type per sync run, with start and end times, processed and skipped counts, status, correlation ID, and a transport error message. For field details, see [FHIR Sync Log fields](https://www.servicenow.com/docs/iJ31vRwahk464c1~Gb53iw "The FHIR Sync Log table (sn_hcls_emr_sync_log) records one row per resource type per sync run. Use these fields to monitor sync health and trace skipped or failed records."). |
[ ]

The application also writes to tables owned by other applications but does not
install them. These include the Healthcare Organization, Location, and Practitioner
tables, the business location tables, the user table, and the service organization
member tables. See
[FHIR-to-HCLS field mappings](https://www.servicenow.com/docs/dACh4MQm~7LM0FLs3XaRVw "For each of the four FHIR R4 resources, the Healthcare Operations HL7 FHIR Integration maps FHIR fields to Healthcare Operations target tables and upserts records — matching the primary HCLS record on the FHIR resource ID (stored as an external identifier) and related records on their natural keys.").

## Scheduled jobs installed {#hco-fhir-installed-components__hco-fhir-installed-scheduled-jobs}

{#hco-fhir-installed-components__hco-fhir-installed-scheduled-jobs__entry__2}

| Scheduled job | Description |
|-|-|
| FHIR Sync --- Daily | Runs daily (by default at 03:00 instance time) and starts the Import FHIR Resources orchestration subflow. Admins can also run it on demand with Execute Now. Installed inactive. Set Active to true on the job record before first use. |
[ ]

## Flows and subflows installed {#hco-fhir-installed-components__hco-fhir-installed-flows}

{#hco-fhir-installed-components__hco-fhir-installed-flows__entry__2}

| Subflow | Description |
|-|-|
| Import FHIR Resources | Orchestration subflow that sets a correlation ID and runs the four per-resource imports in dependency order, stopping if any fails. |
| Import Organizations | Imports FHIR Organizations into Healthcare Organization records and internal or external business locations. |
| Import Locations | Imports FHIR Locations into platform and Healthcare Location records and associates them with a managing organization. |
| Import Practitioners | Imports FHIR Practitioners into user and Healthcare Practitioner records and grants the care-team-member role. |
| Import PractitionerRoles | Imports FHIR PractitionerRoles into service organization member and responsibility records. |
| Start Sync Log Entry / End Sync Log Entry | Shared subflows that open and close a FHIR Sync Log row and provide the delta-sync watermark. |
[ ]

Each per-resource import decomposes into additional child subflows --- a
per-record processor and a shared upsert subflow, plus a one-level
parent-recovery subflow for Organizations and Locations.

## Business rules installed {#hco-fhir-installed-components__hco-fhir-installed-business-rules}

{#hco-fhir-installed-components__hco-fhir-installed-business-rules__entry__3}

| Business rule | Table | Description |
|-|-|-|
| Stamp ended on status transition | `sn_hcls_emr_sync_log` | Before update --- stamps the `ended` timestamp when a sync log row transitions out of the Running status. |
[ ]

## Flow actions installed {#hco-fhir-installed-components__hco-fhir-installed-flow-actions}

{#hco-fhir-installed-components__hco-fhir-installed-flow-actions__entry__2}

| Action | Description |
|-|-|
| Format FHIR Last-Updated Filter | Converts the previous run's timestamp into a FHIR `last updated` search filter for delta syncs. |
| Parse FHIR Reference | Strips the resource-type prefix from a FHIR reference to return the bare logical ID. |
[ ]

## Decision tables installed {#hco-fhir-installed-components__hco-fhir-installed-decision-tables}

{#hco-fhir-installed-components__hco-fhir-installed-decision-tables__entry__2}

| Decision table | Description |
|-|-|
| `FhirOrgTypeToBusinessLocationClass` | Classifies an imported FHIR Organization as an internal or external business location based on its organization type. Editable by admins. See [Configure the organization classification decision table](https://www.servicenow.com/docs/KyryZbbNay32j0l4kP_RpA "Edit the decision table that classifies imported FHIR Organizations as internal or external business locations, so that the classification matches how your organization defines internal and external entities."). |
[ ]

## Spoke components used {#hco-fhir-installed-components__hco-fhir-installed-spoke-components}

EMR Provider Directory Sync uses read-only actions from the
[HL7 FHIR Spoke](https://www.servicenow.com/docs/access?context=fhir-spoke-landing&version=brazil&pubname=brazil-integrate-applications&ft:locale=en-US) to fetch
provider-directory data. The following FHIR Spoke actions are called by the
import subflows:

* Look up Organization by ID
* Look up Organizations Stream
* Look up Location by ID
* Look up Locations Stream
* Look up Practitioner by ID
* Look up Practitioners Stream
* Look up PractitionerRole by ID
* Look up PractitionerRoles Stream

All eight actions authenticate through the shared `HL7 FHIR`
Connection \& Credential Alias defined in the HL7 FHIR Spoke. For setup
details, see [HL7 FHIR
Spoke](https://www.servicenow.com/docs/access?context=fhir-spoke-landing&version=brazil&pubname=brazil-integrate-applications&ft:locale=en-US).

## System properties installed {#hco-fhir-installed-components__hco-fhir-installed-system-properties}

The application installs no system properties. The sync cadence is controlled
by the scheduled job record, and the organization classification is controlled
by the decision table.

