XTN - Extended Telecommunication Number
The Extended Telecommunication Number (XTN) HL7 segment maps to the ContactPointPhone object in Salesforce.
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.
| 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 | 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. |
| XTN.8 - Extension | ContactPointPhone.ExtensionNumber | String | N/A |