Data type EI in FHIR

How the components of data type EI (Entity Identifier) become FHIR R4 elements, from the HL7 Version 2 to FHIR guide.

HL7 v2 definition
Definition of EI in HL7 v2 2.8
Maps
Identifier (DefaultAssigner)Identifier (Extension)Identifier (Organization)Identifier (System)CodingConditionProcedureDevice (UdiCarrier)

To IdentifierDefaultAssigner1 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
EI.1Entity Identifier
STvalue

To IdentifierExtension1 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
EI.1Entity Identifier
STvaluestring

To IdentifierOrganization4 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
EI.1Entity Identifier
STvalue
EI.2Namespace Id
ISassigner(Organization[1].identifier[1].value)string
EI.3Universal Id
STassigner(Organization[1].identifier[2].value)uri
EI.4Universal Id Type
IDassigner(Organization[1].identifier[2].type)CodeableConcept

To IdentifierSystem4 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
EI.1Entity Identifier
ST$valuestring
EI.2Namespace Id
ISsystemurl
Determine based on implementation context whether to map EI.2 to system or EI.3 to system
EI.3Universal Id
STsystemurl
Determine based on implementation context whether to map EI.3 to system or EI.2 to system
EI.4Universal Id Type
IDtypeCodeableConcept

To Coding2 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
EI.1Entity Identifier
STcodestring
EI.2Namespace Id
ISsystemuri

To Condition4 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
EI.1Entity Identifier
STidentifier.valuestring
EI.2Namespace Id
ISassigner(Organization[1].identifier[1].value)string
EI.3Universal Id
STassigner(Organization[1].identifier[2].value)uri
EI.4Universal Id Type
IDassigner(Organization[1].identifier[2].type)CodeableConcept

To Procedure1 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
EI.1Entity Identifier
STidentifier.value

To DeviceUdiCarrier1 rows

HL7 v2 sourcev2 typeFHIR elementFHIR typeConditions and notes
EI.1Entity Identifier
STudiCarrier.deviceIdentifierstring