---
schema_version: "1"
id: 90ed90eb69846307bac00783cac6db62376730bfb4dd8ffb62c1e27a70be2a6d
title: Location
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/map_fhir_Location.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/map_fhir_Location.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 37269e94ad018055309cefc3d4ed3868b3baf8e22f97e911c4c1db54cae026cb
description: The Location FHIR resource maps to the Healthcare​Facility and Location objects in Salesforce​.
---
# Location

The Location FHIR resource maps to the Healthcare​Facility and Location objects in Salesforce​.

![Important](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## FHIR V4​.0 - Clinical Data Model Mapping

Here’s how the fields defined by FHIR for [Location](https://www.hl7.org/fhir/location.html) map to the fields in the Salesforce​.

<table class="featureTable sort_table" summary="">
          <caption><span class="tablecap">Table 1. Location - Salesforce</span></caption>





          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d114364e78">Location Resource</th>

              <th class="featureTableHeader  " id="d114364e81">Salesforce Field</th>

              <th class="featureTableHeader  " id="d114364e84">Type</th>

              <th class="featureTableHeader  text-center" id="d114364e87">Salesforce Cardinality</th>

              <th class="featureTableHeader  " id="d114364e90">Notes</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">identifier</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Identifier</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Object</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.M</td>

              <td class="entry" headers="d114364e90" data-title="Notes">The identifier information for a facility is represented as <samp class="codeph nolang">Identifier</samp> records that reference the facility record
                using their <samp class="codeph nolang">Identifier​.Parent​RecordId</samp>
                field​.</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">status</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Account​.IsActive</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Boolean</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">While FHIR defines <samp class="codeph nolang">location​.status</samp> as a
                code, the salesforce implementation is a boolean field in the referenced account
                record​.</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">operational​Status</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field">N/A</td>

              <td class="entry" headers="d114364e84" data-title="Type">N/A</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">N/A</td>

              <td class="entry" headers="d114364e90" data-title="Notes">Not supported</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">name</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Healthcare​Facility​.Name</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">String</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">N/A</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">alias</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field">N/A</td>

              <td class="entry" headers="d114364e84" data-title="Type">N/A</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">N/A</td>

              <td class="entry" headers="d114364e90" data-title="Notes">Not supported</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">description</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Location​.Description</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">String</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">N/A</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">mode</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field">N/A</td>

              <td class="entry" headers="d114364e84" data-title="Type">N/A</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">N/A</td>

              <td class="entry" headers="d114364e90" data-title="Notes">Not supported</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">type</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Healthcare​Facility​.​Facility​TypeId</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Lookup: <samp class="codeph nolang">CodeSet​Bundle</samp>
              </td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">While FHIR defines <samp class="codeph nolang">location​.type</samp> as a
                zero-to-many resource, Salesforce implements <samp class="codeph nolang">Healthcare​Facility​.​Facility​TypeId</samp> as a zero-to-one field​.</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">telecom</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Contact​Point​Phone</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Object</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.M</td>

              <td class="entry" headers="d114364e90" data-title="Notes">The telecom information of the facility is stored as <samp class="codeph nolang">Contact​Point​Phone</samp> records that reference the
                account referenced by the facility record​.</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">address</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Contact​Point​Address</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Object</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.M</td>

              <td class="entry" headers="d114364e90" data-title="Notes">The address information of the facility is stored as <samp class="codeph nolang">Contact​Point​Address</samp> records that reference the
                account referenced by the facility record​.</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">physical​Type</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Healthcare​Facility​.Location​Type</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Picklist</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">While FHIR defines <samp class="codeph nolang">location​.physical​Type</samp>
                as a code set bundle, Salesforce implements <samp class="codeph nolang">Healthcare​Facility​.Location​Type</samp> as a picklist​.</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">position</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Location​.Location</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Geolocation</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">
                <p class="p">The <samp class="codeph nolang">location​.position</samp> FHIR resource is
                  mapped to the <samp class="codeph nolang">Location​.Location</samp> salesforce
                  field​. This location (Salesforce object) record is referenced by the healthcare
                  facility record using its <samp class="codeph nolang">Healthcare​Facility​.LocationId</samp> lookup field​.</p>

                <p class="p"><samp class="codeph nolang">position​.altitude</samp> is not supported in
                  <samp class="codeph nolang">Location​.Location</samp>​.
                </p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">managing​Organization</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Account​Account​Relation__c</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Junction Object</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">The junction object that connects the facility account with the parent
                organization’s business account​.</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">partOf</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Healthcare​Facility​.Parent​FacilityId</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Lookup: <samp class="codeph nolang">Healthcare​Facility</samp>
              </td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">N/A</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">hoursOf​Operation​.daysOf​Week</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">​TimeSlot​.DayOf​Week</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">Picklist</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">
                <p class="p">While FHIR defines <samp class="codeph nolang">location​.hoursOf​Operation​.daysOf​Week</samp> as a code set bundle,
                  Salesforce implementation is a picklist​.</p>

                <p class="p">While the <samp class="codeph nolang">​TimeSlot​.DayOf​Week</samp> field is a
                  zero-to-one field, multiple time slot records can reference the same operating
                  hours record, thereby supporting a zero-to-many reference for <samp class="codeph nolang">location​.hoursOf​Operation​.daysOf​Week</samp> in the
                  Salesforce implementation​.</p>

                <p class="p">The time slot record references the operating hours record using its <samp class="codeph nolang">​TimeSlot​.Operating​HoursId</samp> master-detail
                  reference field​. This operating hours record is referenced by the facility’s
                  account record using its <samp class="codeph nolang">Account​.Operating​HoursId</samp> lookup field​. And finally, this account
                  record is referenced by the facility record using its <samp class="codeph nolang">Healthcare​Facility​.AccountId</samp> master-detail reference field​.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">hoursOf​Operation​.allDay</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field">N/A</td>

              <td class="entry" headers="d114364e84" data-title="Type">N/A</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">N/A</td>

              <td class="entry" headers="d114364e90" data-title="Notes">Not supported</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">hoursOf​Operation​.opening​​Time</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">​TimeSlot​.Start​​Time</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">​Time</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">
                <p class="p">The time slot record references the operating hours record using its <samp class="codeph nolang">​TimeSlot​.Operating​HoursId</samp> master-detail
                  reference field​. This operating hours record is referenced by the facility’s
                  account record using its <samp class="codeph nolang">Account​.Operating​HoursId</samp> lookup field​. And finally, this account
                  record is referenced by the facility record using its <samp class="codeph nolang">Healthcare​Facility​.AccountId</samp> master-detail reference field​.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">hoursOf​Operation​.closing​Time</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">​TimeSlot​.​End​Time</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">​Time</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">
                <p class="p">The time slot record references the operating hours record using its <samp class="codeph nolang">​TimeSlot​.Operating​HoursId</samp> master-detail
                  reference field​. This operating hours record is referenced by the facility’s
                  account record using its <samp class="codeph nolang">Account​.Operating​HoursId</samp> lookup field​. And finally, this account
                  record is referenced by the facility record using its <samp class="codeph nolang">Healthcare​Facility​.AccountId</samp> master-detail reference field​.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">availability​Exceptions</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field"><samp class="codeph nolang">Healthcare​Facility​.Availability​Exceptions</samp></td>

              <td class="entry" headers="d114364e84" data-title="Type">String</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">0​.1</td>

              <td class="entry" headers="d114364e90" data-title="Notes">N/A</td>

            </tr>

            <tr>
              <td class="entry" headers="d114364e78" data-title="Location Resource"><samp class="codeph nolang">end​Point</samp></td>

              <td class="entry" headers="d114364e81" data-title="Salesforce Field">N/A</td>

              <td class="entry" headers="d114364e84" data-title="Type">N/A</td>

              <td class=" text-center" headers="d114364e87" data-title="Salesforce Cardinality">N/A</td>

              <td class="entry" headers="d114364e90" data-title="Notes">Not supported</td>

            </tr>

          </tbody>

        </table>

## Sample Record Diagram

Here's a diagram that shows an example of how this resource is represented in Salesforce.

![A diagram that shows how the location resource for a location is represented in Salesforce.](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/dev_guides/healthcare_api/Mappings_FHIR/images/srd_hc_location.png)

#### See Also

- [HealthcareFacility](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/hc_r4_api_objects_HealthCareFacility.htm "Represents a healthcare facility and all its related details. These details may be physical, functional, geographic, or business details. This object is available in API version 51.0 and later.")