Location

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

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.

Here’s how the fields defined by FHIR for Location map to the fields in the Salesforce​.

Location ResourceSalesforce FieldTypeSalesforce CardinalityNotes
identifierIdentifierObject0​.MThe identifier information for a facility is represented as Identifier records that reference the facility record using their Identifier​.Parent​RecordId field​.
statusAccount​.IsActiveBoolean0​.1While FHIR defines location​.status as a code, the salesforce implementation is a boolean field in the referenced account record​.
operational​StatusN/AN/AN/ANot supported
nameHealthcare​Facility​.NameString0​.1N/A
aliasN/AN/AN/ANot supported
descriptionLocation​.DescriptionString0​.1N/A
modeN/AN/AN/ANot supported
typeHealthcare​Facility​.​Facility​TypeIdLookup: CodeSet​Bundle0​.1While FHIR defines location​.type as a zero-to-many resource, Salesforce implements Healthcare​Facility​.​Facility​TypeId as a zero-to-one field​.
telecomContact​Point​PhoneObject0​.MThe telecom information of the facility is stored as Contact​Point​Phone records that reference the account referenced by the facility record​.
addressContact​Point​AddressObject0​.MThe address information of the facility is stored as Contact​Point​Address records that reference the account referenced by the facility record​.
physical​TypeHealthcare​Facility​.Location​TypePicklist0​.1While FHIR defines location​.physical​Type as a code set bundle, Salesforce implements Healthcare​Facility​.Location​Type as a picklist​.
positionLocation​.LocationGeolocation0​.1The location​.position FHIR resource is mapped to the Location​.Location salesforce field​. This location (Salesforce object) record is referenced by the healthcare facility record using its Healthcare​Facility​.LocationId lookup field​.
position​.altitude is not supported in Location​.Location​.
managing​OrganizationAccount​Account​Relation__cJunction Object0​.1The junction object that connects the facility account with the parent organization’s business account​.
partOfHealthcare​Facility​.Parent​FacilityIdLookup: Healthcare​Facility0​.1N/A
hoursOf​Operation​.daysOf​Week​TimeSlot​.DayOf​WeekPicklist0​.1While FHIR defines location​.hoursOf​Operation​.daysOf​Week as a code set bundle, Salesforce implementation is a picklist​.
While the ​TimeSlot​.DayOf​Week 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 location​.hoursOf​Operation​.daysOf​Week in the Salesforce implementation​.
The time slot record references the operating hours record using its ​TimeSlot​.Operating​HoursId master-detail reference field​. This operating hours record is referenced by the facility’s account record using its Account​.Operating​HoursId lookup field​. And finally, this account record is referenced by the facility record using its Healthcare​Facility​.AccountId master-detail reference field​.
hoursOf​Operation​.allDayN/AN/AN/ANot supported
hoursOf​Operation​.opening​​Time​TimeSlot​.Start​​Time​Time0​.1The time slot record references the operating hours record using its ​TimeSlot​.Operating​HoursId master-detail reference field​. This operating hours record is referenced by the facility’s account record using its Account​.Operating​HoursId lookup field​. And finally, this account record is referenced by the facility record using its Healthcare​Facility​.AccountId master-detail reference field​.
hoursOf​Operation​.closing​Time​TimeSlot​.​End​Time​Time0​.1The time slot record references the operating hours record using its ​TimeSlot​.Operating​HoursId master-detail reference field​. This operating hours record is referenced by the facility’s account record using its Account​.Operating​HoursId lookup field​. And finally, this account record is referenced by the facility record using its Healthcare​Facility​.AccountId master-detail reference field​.
availability​ExceptionsHealthcare​Facility​.Availability​ExceptionsString0​.1N/A
end​PointN/AN/AN/ANot supported

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.

See Also