Data type XPN in FHIR

How the components of data type XPN (Extended Person Name) become FHIR R4 elements, from the HL7 Version 2 to FHIR guide.

HL7 v2 definition
Definition of XPN in HL7 v2 2.8
Maps
HumanNameString

To HumanName15 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
XPN.1Family Name
FN[1].familystring
XPN.2Given Name
ST[1].given[1]string
XPN.3Second And Further Given Names Or Initials Thereof
ST[1].given[2]string
XPN.4Suffix (e.g., Jr Or Iii)
ST[1].suffix[1]string
XPN.5Prefix (e.g., Dr)
ST[1].prefixstring
XPN.6Degree (e.g., Md)
[1].suffix[2]string
XPN.7Name Type Code
ID[1].usecode
Code map name-use
XPN.10Name Validity Range
DR[1].periodPeriod
If IF XPN.12 NOT VALUED AND XPN.13 NOT VALUED
XPN.11Name Assembly Order
ID[1].extension.urluri
Value "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"
XPN.11Name Assembly Order
ID[1].extension.valueCodecode
Code map v2-0444
XPN.12Effective Date
DTM[1].period.startdateTime
XPN.13Expiration Date
DTM[1].period.enddateTime
XPN.14Professional Suffix
ST[1].suffix[3]string
XPN.15Called By
ST[2].givenstring
if the resource attribute using the HumanName datatype allows for multiple names
XPN.15Called By
ST[2].usecode
if the resource attribute using the HumanName datatype allows for multiple namesValue "nickname"

To String1 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
XPN.1Family Name
FN$thisstring
Value /concatenate according to XPN.11/