The Extended Telecommunication Number (XTN) HL7 segment maps to the ContactPointPhone object in Salesforce.
HL7 V2.3 - Clinical Data Model Mapping
Here’s how the segments defined by HL7 V2.3 for XTN map to fields in Salesforce standard objects.
Only the segments supported by Salesforce are mentioned below.
Note
XTN
Salesforce Field
Type
Notes
XTN.1 - Telephone Number
ContactPointPhone.TelephoneNumber
Phone
N/A
XTN.2 - Telecommunication Use Code
ContactPointPhone.UsageType
Picklist
N/A
XTN.2 - Telecommunication Use Code
ContactPointEmail.UsageType
Picklist
N/A
XTN.3 - Telecommunication Equipment Type
ContactPointPhone.PhoneType
Picklist
N/A
XTN.4 - Email Address
ContactPointEmail.EmailAddress
Email
N/A
XTN.6 - Area/City Code
ContactPointPhone.AreaCode
String
Some systems may break down the phone number into multiple components, such as country code, area code, local number, extension, and so on. In such cases, the full number may have to be assembled.