HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

ConceptMap: Datatype PL to Location Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-pl-to-location Version: 1.0.0-ballot
Active as of 2024-12-20 Computable Name: DatatypePLToLocation

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Datatype PL to the FHIR Location Resource.

This ConceptMap represents the mapping from the HL7 V2 PL Data Type to the FHIR Location Resource. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeProposed ExtensionData TypeCardinality - MinCardinality - MaxData Type MappingVocabulary Mapping
(IS, ID, CE, CEN, CWE)
Assignment
0When mapping a location in, e.g., PV1 to Encounter or PR1 to Procedure, one must reference the most granular Location availabile in PL, e.g., Bed, from the resource that references the Location resource, and then add additional Locations using Location.partOf to reference the next less granular Location. For example, if PL.3 Bed is the most granular, the reference Encounter or Procedure to Location must reference the location for the Bed. From most granular to least, the default sequence would be Bed to Room to Floor to Point of Core to Building to Facility. If a particular location is not present in PL, the reference goes to the next higher level. One may locally need to adjust the default sequencing based on local implementation. For example, if PV1-3 of a message contains a room, bed, and point of care, then Encounter.location.location must reference the Location resource for PV1-3.3 (PL1.3) and that Location reference has a Location.partOf that reference the Location reference for PV1-3.2 (PL1.2) which then in turn references the Point of Care location using Location.partOf that references PV1-3.1 (PL.1). Local variations on which PL component is more or less granular may vary. While normally the meaning of [n] notation does not imply sequence when used within a map, in this map the first [n] notation in the column J cells is only to clarify the default granularity progression.
1PL.1Point of CareHD01Location..identifierLocation.IdentifierHD[Identifier]
1PL.1Point of CareHD01Location..location(Location.Location.mode)Location.code01"instance"
1PL.1Point of CareHD01Location..location(Location.Location.physicalType.coding.code)Location.code01/extension??-poc/
1PL.1Point of CareHD01Location..location(Location.Location.physicalType.coding.system)Location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
1PL.1Point of CareHD01Location..partOf.reference(Location.Location)Location.string01
2PL.2RoomHD01Location..identifierLocation.IdentifierHD[Identifier]
2PL.2RoomHD01Location..modeLocation.code01"instance"
2PL.2RoomHD01Location..physicalType.coding.codeLocation.code01"ro"
2PL.2RoomHD01Location..physicalType.coding.systemLocation.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
2PL.2RoomHD01Location..partOf.reference(Location.Location)Location.string01
3PL.3BedHD01Location..identifierLocation.IdentifierHD[Identifier]
3PL.3BedHD01Location..modeLocation.code01"instance"
3PL.3BedHD01Location..physicalType.coding.codeLocation.code01"bd"
3PL.3BedHD01Location..physicalType.coding.systemLocation.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
3PL.3BedHD01Location..partOf.reference(Location.Location)Location.string01
4PL.4FacilityHD01Location..identifierLocation.IdentifierHD[Identifier]
4PL.4FacilityHD01Location..modeLocation.code01"instance"
4PL.4FacilityHD01Location..physicalType.coding.codeLocation.code01"si"
4PL.4FacilityHD01Location..physicalType.coding.systemLocation.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
5PL.5Location StatusIS01
6PL.6Person Location TypeIS01
7PL.7BuildingHD01Location..identifierLocation.IdentifierHD[Identifier]
7PL.7BuildingHD01Location..modeLocation.code01"instance"
7PL.7BuildingHD01Location..physicalType.coding.codeLocation.code01"bu"
7PL.7BuildingHD01Location..physicalType.coding.systemLocation.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
7PL.7BuildingHD01Location..partOf.reference(Location.Location)Location.string01
8PL.8FloorHD01Location..identifierLocation.IdentifierHD[Identifier]
8PL.8FloorHD01Location..modeLocation.code01"instance"
8PL.8FloorHD01Location..physicalType.coding.codeLocation.code01"lvl"
8PL.8FloorHD01Location..physicalType.coding.systemLocation.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
8PL.8FloorHD01Location..partOf.reference(Location.Location)Location.string01
9PL.9Location DescriptionST01Location..location(Location.Location.description)Location.string01
10PL.10Comprehensive Location IdentifierEI01IF PL.3 VALUEDLocation..identifierLocation.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.2 VALUED AND PL.3 NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.1 VALUE AND PL.2 NOT VALUED AND PL.3 NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.8 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL3.NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.7 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL.3 NOT VALUED AND PL.8 NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.4 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL.3 NOT VALUED AND PL.8 NOT VALUED AND PL.7 NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.3 VALUEDLocation..identifierLocation.IdentifierEI[Identifier-DefaultAssigner]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.2 VALUED AND PL.3 NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-DefaultAssigner]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.1 VALUED AND PL.2 NOT VALUED AND PL.3 NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-DefaultAssigner]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.8 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL3.NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-DefaultAssigner]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.7 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL.3 NOT VALUED AND PL.8 NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-DefaultAssigner]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.4 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL.3 NOT VALUED AND PL.8 NOT VALUED AND PL.7 NOT VALUEDLocation..identifierLocation.IdentifierEI[Identifier-DefaultAssigner]
11PL.11Assigning Authority for LocationHD01Location..identifier.assigner(Location.Organization)ReferenceHD[Organization]
11PL.11Assigning Authority for LocationHD01Location..identifier.assigner(Location.Organization)ReferenceHD[Organization]

Generated Narrative: ConceptMap datatype-pl-to-location

Mapping from PL to Location


Group 1 Mapping from unspecified code system to unspecified code system

Source CodeRelationshipTarget Code
PL.1 (Point of Care)is equivalent to[4].identifier[1]
PL.1 (Point of Care)is equivalent to[4].location(Location.mode)
PL.1 (Point of Care)is equivalent to[4].location(Location.physicalType.coding.code)
PL.1 (Point of Care)is equivalent to[4].location(Location.physicalType.coding.system)
PL.1 (Point of Care)is equivalent to[4].partOf.reference(Location[6])
PL.2 (Room)is equivalent to[2].identifier[1]
PL.2 (Room)is equivalent to[2].mode
PL.2 (Room)is equivalent to[2].physicalType.coding.code
PL.2 (Room)is equivalent to[2].physicalType.coding.system
PL.2 (Room)is equivalent to[2].partOf.reference(Location[3])
PL.3 (Bed)is equivalent to[1].identifier[1]
PL.3 (Bed)is equivalent to[1].mode
PL.3 (Bed)is equivalent to[1].physicalType.coding.code
PL.3 (Bed)is equivalent to[1].physicalType.coding.system
PL.3 (Bed)is equivalent to[1].partOf.reference(Location[2])
PL.4 (Facility)is equivalent to[6].identifier[1]
PL.4 (Facility)is equivalent to[6].mode
PL.4 (Facility)is equivalent to[6].physicalType.coding.code
PL.4 (Facility)is equivalent to[6].physicalType.coding.system
PL.7 (Building)is equivalent to[5].identifier[1]
PL.7 (Building)is equivalent to[5].mode
PL.7 (Building)is equivalent to[5].physicalType.coding.code
PL.7 (Building)is equivalent to[5].physicalType.coding.system
PL.7 (Building)is equivalent to[5].partOf.reference(Location[5])
PL.8 (Floor)is equivalent to[3].identifier[1]
PL.8 (Floor)is equivalent to[3].mode
PL.8 (Floor)is equivalent to[3].physicalType.coding.code
PL.8 (Floor)is equivalent to[3].physicalType.coding.system
PL.8 (Floor)is equivalent to[3].partOf.reference(Location[4])
PL.9 (Location Description)is equivalent to[1].location(Location.description)
PL.10 (Comprehensive Location Identifier)is equivalent to[1].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[2].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[5].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[3].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[4].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[6].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[1].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[2].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[4].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[3].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[5].identifier[2]
PL.10 (Comprehensive Location Identifier)is equivalent to[6].identifier[2]
PL.11 (Assigning Authority for Location)is equivalent to[1-6].identifier[1].assigner(Organization)
PL.11 (Assigning Authority for Location)is equivalent to[1-6].identifier[2].assigner(Organization)

Notes: