---
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


---

# FHIR-to-HCLS field mappings

# FHIR-to-HCLS field mappings {#ariaid-title1}

Release version: Brazil  
Updated September 10, 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 FHIR-to-HCLS field mappings

The Healthcare Operations HL7 FHIR Integration for ServiceNow maps key fields from four FHIR R4 resources to corresponding Healthcare Operations (HCLS) target tables.
It performs upserts by matching primary records on the FHIR resource ID (stored as an external identifier) and related records on natural keys.
This integration enables synchronization between FHIR-based healthcare data and ServiceNow Healthcare Operations tables, supporting accurate and up-to-date healthcare organization, location, practitioner, and care team member data within the platform.
Show full answer Show less  

## Key Mappings and Behavior

* **Organization:** FHIR Organizations upsert into `snhclsorganization` and classified into either internal or external business locations based on organization type. The FHIR logical ID is stored as `externalid`. Required fields include `id` and `name`. Parent-child relationships support one-level recovery for missing parents.
* **Location:** FHIR Locations upsert into `snhclslocation` and the platform `cmnlocation` table. They can be associated with organizations if resolvable. Key fields such as `id`, `name`, `status`, `physicalType`, `address`, and `position` are mapped. Parent location relationships also support one-level recovery.
* **Practitioner:** FHIR Practitioners upsert into `snhclspractitioner` and the platform `sysuser` table. Practitioners must have an email (mapped from telecom) to be imported and are granted the `care-team-member` role. The FHIR logical ID is used as `externalid`. Name, gender, birthDate, phone, address, and active status are mapped with sensible defaults for missing values.
* **PractitionerRole:** FHIR PractitionerRoles create care team memberships by upserting into `sncsmserviceorganizationmember` and `sncsmsvcorgmemberresponsibility`. Practitioner and organization references are resolved to users and business locations respectively. Role codes and specialties are intentionally not mapped. The location array is ignored.

## Important Notes for ServiceNow Customers

* Primary record matching uses the FHIR logical ID as an external identifier to ensure accurate upsert operations.
* Related records without an external ID use natural keys for matching, which helps maintain data integrity for business locations, users, and memberships.
* Certain identifiers like practitioner NPI and FHIR role codes/specialties are not mapped in this release, focusing the integration on core organizational and practitioner data.
* Missing required fields such as organization name or practitioner email cause the record to be skipped or logged with errors, ensuring data quality.
* Parent relationships in organizations and locations support limited recovery for missing hierarchy levels, with deeper gaps logged for review.
* Practitioners imported receive the care-team-member role automatically, streamlining role assignment within ServiceNow.

This mapping framework helps ServiceNow customers integrate FHIR healthcare data into Healthcare Operations tables efficiently, enabling consistent data updates and role management aligned with healthcare workflows.  
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.
Each resource's primary record is matched by its FHIR logical ID, stored as
`external_id` on the Healthcare (HCLS) Organization, Location,
and Practitioner tables. Related records that have no `external_id`
column --- business locations, users, and service organization memberships --- are
matched on their natural keys instead. The tables below summarize the principal
field mappings; some fields are populated on related platform tables as a side
effect of the upsert.

Some FHIR data is intentionally not mapped in this release: practitioner NPI and
other identifiers (the FHIR logical ID serves as the external identifier), and
PractitionerRole role codes and specialties.

## Organization {#hco-fhir-field-mappings__hco-fhir-mappings-organization}

FHIR Organizations upsert into `sn_hcls_organization` and,
based on the organization classification decision table, into either
`sn_csm_business_location_internal` or
`sn_csm_business_location_external`.
{#hco-fhir-field-mappings__hco-fhir-mappings-organization__entry__3}

| FHIR field | Target field | Notes |
|-|-|-|
| id | `sn_hcls_organization.external_id` | Upsert key. |
| name | `sn_hcls_organization.name` | Required; the record is skipped if it is missing. |
| type | `sn_hcls_organization.org_type` | Defaults to `other` if missing or unrecognized. Drives the internal/external business location classification. |
| partOf | `sn_hcls_organization.parent` | Resolved to a parent organization by external ID. One level of missing parent is recovered; deeper hierarchy gaps are logged. |
| address, telecom | Business location address and contact fields | Written to the internal or external business location record. |
[ ]

## Location {#hco-fhir-field-mappings__hco-fhir-mappings-location}

FHIR Locations upsert into `sn_hcls_location` and the platform
`cmn_location` table, and optionally create an
organization-location association.
{#hco-fhir-field-mappings__hco-fhir-mappings-location__entry__3}

| FHIR field | Target field | Notes |
|-|-|-|
| id | `sn_hcls_location.external_id` | Upsert key. |
| name | `sn_hcls_location.name`, `cmn_location.name` | Required. |
| status | `sn_hcls_location.status` | Maps directly (active, suspended, inactive). |
| physicalType | `sn_hcls_location.physical_type` | Mapped where a matching HCLS value exists; left empty otherwise. |
| address, position | `cmn_location` address and coordinate fields | The platform location is anchored to the HCLS location. |
| partOf | `sn_hcls_location.parent_location`, `cmn_location.parent` | Resolved by external ID, with one level of parent recovery. The parent is set on both the Healthcare Location and the platform location. |
| managingOrganization | `sn_hcls_organization_location_association` | Creates the association if the organization resolves; otherwise the association is skipped and logged, and the location still upserts. |
[ ]

## Practitioner {#hco-fhir-field-mappings__hco-fhir-mappings-practitioner}

FHIR Practitioners upsert into `sn_hcls_practitioner` and the
platform `sys_user` table, and each practitioner is granted the
care-team-member role.
{#hco-fhir-field-mappings__hco-fhir-mappings-practitioner__entry__3}

| FHIR field | Target field | Notes |
|-|-|-|
| id | `sn_hcls_practitioner.external_id` | Upsert key. |
| telecom (email) | `sys_user.user_name`, `sys_user.email` | Required; normalized and used to match or create the user. Practitioners without an email are skipped. |
| name (given, family, prefix, suffix, text) | Practitioner and user name fields | Given name defaults to `Unknown` if missing, and the run is marked Completed with errors. |
| gender | `sn_hcls_practitioner.gender` | Mapped to HCLS values; defaults to not-disclosed if missing or unknown. |
| birthDate, telecom (phone), address, active | Corresponding practitioner and user fields | Imported users have login enabled; admins set credentials separately. |
| (role grant) | `sys_user_has_role` | Each practitioner is granted the `sn_hco.care_team_member` role. |
[ ]

## PractitionerRole {#hco-fhir-field-mappings__hco-fhir-mappings-practitionerrole}

FHIR PractitionerRoles upsert into
`sn_csm_service_organization_member` and
`sn_csm_svc_org_member_responsibility`, placing a practitioner
on a care team for an organization.
{#hco-fhir-field-mappings__hco-fhir-mappings-practitionerrole__entry__3}

| FHIR field | Target field | Notes |
|-|-|-|
| practitioner.reference | `sn_csm_service_organization_member.user` | Resolved through the Healthcare Practitioner record to the user. The role is skipped if the practitioner is not found. |
| organization.reference | `sn_csm_service_organization_member.service_organization` | Resolved through the Healthcare Organization to its business location. The role is skipped if the organization is not resolvable. |
| (responsibility) | `sn_csm_svc_org_member_responsibility.type` | Set to the Care Team Member responsibility for every imported role. |
| code, specialty | Not mapped | FHIR role codes and specialties are not captured. |
| location | Not used | The role's location array is not used to infer organization membership. |
[ ]


