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-04-24 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 MappingAssignmentVocabulary
0Explain tree, etc.
1PL.1Point of CareHD01If leafLocation..location(Location.Location.identifier)Location.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..location(Location.Location.partOf.reference(Location.Location)Location.string01
2PL.2RoomHD01If leafLocation..location(Location.Location.identifier)Location.IdentifierHD[Identifier]
2PL.2RoomHD01If leafLocation..location(Location.Location.mode)Location.code01"instance"
2PL.2RoomHD01If leafLocation..location(Location.Location.physicalType.coding.code)Location.code01"ro"
2PL.2RoomHD01If leafLocation..location(Location.Location.physicalType.coding.system)Location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
2PL.2RoomHD01If leafLocation..location(Location.Location.partOf.reference(Location.Location)Location.string01
2PL.2RoomHD01If not leafLocation.partof.reference(Location.Location.identifier)
2PL.2RoomHD01If not leafLocation.partof.reference(Location.Location.mode)
2PL.2RoomHD01If not leafLocation.partof.reference(Location.Location.physicalType.coding.code)
2PL.2RoomHD01If not leafLocation.partof.reference(Location.Location.physicalType.coding.system)
2PL.2RoomHD01If not leafLocation.partof.reference(Location.Location.partOf(Location.Location{Location.n])
3PL.3BedHD01Location..location(Location.Location.identifier)Location.IdentifierHD[Identifier]
3PL.3BedHD01Location..location(Location.Location.mode)Location.code01"instance"
3PL.3BedHD01Location..location(Location.Location.physicalType.coding.code)Location.code01"bd"
3PL.3BedHD01Location..location(Location.Location.physicalType.coding.system)Location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
3PL.3BedHD01Location..location(Location.Location.partOf.reference(Location.Location)Location.string01
4PL.4FacilityHD01Location..location(Location.Location.identifier)Location.IdentifierHD[Identifier]
4PL.4FacilityHD01Location..location(Location.Location.mode)Location.code01"instance"
4PL.4FacilityHD01Location..location(Location.Location.physicalType.coding.code)Location.code01"si"
4PL.4FacilityHD01Location..location(Location.Location.physicalType.coding.system)Location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
5PL.5Location StatusIS01
6PL.6Person Location TypeIS01
7PL.7BuildingHD01Location..location(Location.Location.dentifier)Location.IdentifierHD[Identifier]
7PL.7BuildingHD01Location..location(Location.Location.mode)Location.code01"instance"
7PL.7BuildingHD01Location..location(Location.Location.physicalType.coding.code)Location.code01"bu"
7PL.7BuildingHD01Location..location(Location.Location.physicalType.coding.system)Location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
7PL.7BuildingHD01Location..location(Location.Location.partOf.reference(Location.Location)Location.string01
8PL.8FloorHD01Location..location(Location.Location.identifier)Location.IdentifierHD[Identifier]
8PL.8FloorHD01Location..location(Location.Location.mode)Location.code01"instance"
8PL.8FloorHD01Location..location(Location.Location.physicalType.coding.code)Location.code01"lvl"
8PL.8FloorHD01Location..location(Location.Location.physicalType.coding.system)Location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
8PL.8FloorHD01Location..location(Location.Location.partOf.reference(Location.Location)Location.string01
9PL.9Location DescriptionST01Location..location(Location.Location.description)Location.string01
10PL.10Comprehensive Location IdentifierEI01IF PL.3 VALUEDLocation..location(Location.Location.identifier)Location.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.2 VALUED AND PL.3 NOT VALUEDLocation..location(Location.Location.identifier)Location.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.1 VALUE AND PL.2 NOT VALUED AND PL.3 NOT VALUEDLocation..location(Location.Location.identifier)Location.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.8 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL3.NOT VALUEDLocation..location(Location.Location.identifier)Location.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..location(Location.Location.identifier)Location.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..location(Location.Location.identifier)Location.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.3 VALUEDLocation..location(Location.Location.identifier)Location.IdentifierEI[Identifier-DefaultAssigner]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.2 VALUED AND PL.3 NOT VALUEDLocation..location(Location.Location.identifier)Location.IdentifierEI[Identifier-DefaultAssigner]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.1 VALUE AND PL.2 NOT VALUED AND PL.3 NOT VALUEDLocation..location(Location.Location.identifier)Location.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..location(Location.Location.identifier)Location.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..location(Location.Location.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..location(Location.Location.identifierLocation.IdentifierEI[Identifier-DefaultAssigner]
11PL.11Assigning Authority for LocationHD01Location..location(Location.Location.identifier.assigner(Location.Organization)ReferenceHD[Organization]
11PL.11Assigning Authority for LocationHD01Location..location(Location.Location.identifier.assigner(Location.Organization)ReferenceHD[Organization]

Mapping from PL to Location

ACTIVE (not intended for production usage). Published on 2024-04-24 by HL7 International / Orders and Observations (HL7 Orders and Observations Workgroup: http://www.hl7.org/Special/com..., Keith W. Boone: kboone@ainq.com, Rob Hausam: rrhausam@gmail.com). 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.


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsProperties
Codes from datatypemapvalueCodes from narrativeantlr
PL.1Point of CareHD[Identifier]is equivalent to[1].location(Location.identifier)[1].location(Location.identifier)If leaf
PL.1Point of Care"instance"is equivalent to[1].location(Location.mode)[1].location(Location.mode)
PL.1Point of Care/extension??-poc/is equivalent to[1].location(Location.physicalType.coding.code)[1].location(Location.physicalType.coding.code)
PL.1Point of Care"http://terminology.hl7.org/CodeSystem/location-physical-type"is equivalent to[1].location(Location.physicalType.coding.system)[1].location(Location.physicalType.coding.system)
PL.1Point of Careis equivalent to[1].location(Location.partOf.reference(Location[5]))[1].location(Location.partOf.reference(Location[5]))
PL.2RoomHD[Identifier]is equivalent to[2].location(Location.identifier)[2].location(Location.identifier)If leaf
PL.2Room"instance"is equivalent to[2].location(Location.mode)[2].location(Location.mode)If leaf
PL.2Room"ro"is equivalent to[2].location(Location.physicalType.coding.code)[2].location(Location.physicalType.coding.code)If leaf
PL.2Room"http://terminology.hl7.org/CodeSystem/location-physical-type"is equivalent to[2].location(Location.physicalType.coding.system)[2].location(Location.physicalType.coding.system)If leaf
PL.2Roomis equivalent to[2].location(Location.partOf.reference(Location[1]))[2].location(Location.partOf.reference(Location[1]))If leaf
PL.2Roomis equivalent topartof.reference(Location.identifier)partof.reference(Location.identifier)If not leaf
PL.2Roomis equivalent topartof.reference(Location.mode)partof.reference(Location.mode)If not leaf
PL.2Roomis equivalent topartof.reference(Location.physicalType.coding.code)partof.reference(Location.physicalType.coding.code)If not leaf
PL.2Roomis equivalent topartof.reference(Location.physicalType.coding.system)partof.reference(Location.physicalType.coding.system)If not leaf
PL.2Roomis equivalent topartof.reference(Location.partOf(Location{n]))partof.reference(Location.partOf(Location{n]))If not leaf
PL.3BedHD[Identifier]is equivalent to[3].location(Location.identifier)[3].location(Location.identifier)
PL.3Bed"instance"is equivalent to[3].location(Location.mode)[3].location(Location.mode)
PL.3Bed"bd"is equivalent to[3].location(Location.physicalType.coding.code)[3].location(Location.physicalType.coding.code)
PL.3Bed"http://terminology.hl7.org/CodeSystem/location-physical-type"is equivalent to[3].location(Location.physicalType.coding.system)[3].location(Location.physicalType.coding.system)
PL.3Bedis equivalent to[3].location(Location.partOf.reference(Location[2]))[3].location(Location.partOf.reference(Location[2]))
PL.4FacilityHD[Identifier]is equivalent to[4].location(Location.identifier)[4].location(Location.identifier)
PL.4Facility"instance"is equivalent to[4].location(Location.mode)[4].location(Location.mode)
PL.4Facility"si"is equivalent to[4].location(Location.physicalType.coding.code)[4].location(Location.physicalType.coding.code)
PL.4Facility"http://terminology.hl7.org/CodeSystem/location-physical-type"is equivalent to[4].location(Location.physicalType.coding.system)[4].location(Location.physicalType.coding.system)
PL.7BuildingHD[Identifier]is equivalent to[5].location(Location.dentifier)[5].location(Location.dentifier)
PL.7Building"instance"is equivalent to[5].location(Location.mode)[5].location(Location.mode)
PL.7Building"bu"is equivalent to[5].location(Location.physicalType.coding.code)[5].location(Location.physicalType.coding.code)
PL.7Building"http://terminology.hl7.org/CodeSystem/location-physical-type"is equivalent to[5].location(Location.physicalType.coding.system)[5].location(Location.physicalType.coding.system)
PL.7Buildingis equivalent to[5].location(Location.partOf.reference(Location[4]))[5].location(Location.partOf.reference(Location[4]))
PL.8FloorHD[Identifier]is equivalent to[6].location(Location.identifier)[6].location(Location.identifier)
PL.8Floor"instance"is equivalent to[6].location(Location.mode)[6].location(Location.mode)
PL.8Floor"lvl"is equivalent to[6].location(Location.physicalType.coding.code)[6].location(Location.physicalType.coding.code)
PL.8Floor"http://terminology.hl7.org/CodeSystem/location-physical-type"is equivalent to[6].location(Location.physicalType.coding.system)[6].location(Location.physicalType.coding.system)
PL.8Flooris equivalent to[6].location(Location.partOf.reference(Location[1]))[6].location(Location.partOf.reference(Location[1]))
PL.9Location Descriptionis equivalent to[1].location(Location.description)[1].location(Location.description)
PL.10Comprehensive Location IdentifierEI[Identifier-Organization]is equivalent to[3].location(Location.identifier[3])[3].location(Location.identifier[3])IF PL.3 VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-Organization]is equivalent to[2].location(Location.identifier[3])[2].location(Location.identifier[3])IF PL.2 VALUED AND PL.3 NOT VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-Organization]is equivalent to[1].location(Location.identifier[3])[1].location(Location.identifier[3])IF PL.1 VALUE AND PL.2 NOT VALUED AND PL.3 NOT VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-Organization]is equivalent to[6].location(Location.identifier[3])[6].location(Location.identifier[3])IF PL.8 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL3.NOT VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-Organization]is equivalent to[5].location(Location.identifier[3])[5].location(Location.identifier[3])IF PL.7 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL.3 NOT VALUED AND PL.8 NOT VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-Organization]is equivalent to[4].location(Location.identifier[3])[4].location(Location.identifier[3])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 VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-DefaultAssigner]is equivalent to[4].location(Location.identifier[3])[4].location(Location.identifier[3])IF PL.11 VALUED AND IF PL.3 VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-DefaultAssigner]is equivalent to[4].location(Location.identifier[3])[4].location(Location.identifier[3])IF PL.11 VALUED AND IF PL.2 VALUED AND PL.3 NOT VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-DefaultAssigner]is equivalent to[4].location(Location.identifier[3])[4].location(Location.identifier[3])IF PL.11 VALUED AND IF PL.1 VALUE AND PL.2 NOT VALUED AND PL.3 NOT VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-DefaultAssigner]is equivalent to[4].location(Location.identifier[3])[4].location(Location.identifier[3])IF PL.11 VALUED AND IF PL.8 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL3.NOT VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-DefaultAssigner]is equivalent to[4].location(Location.identifier[3][4].location(Location.identifier[3]IF 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 VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-DefaultAssigner]is equivalent to[4].location(Location.identifier[3][4].location(Location.identifier[3]IF 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 VALUED
PL.11Assigning Authority for LocationHD[Organization]is equivalent to[n].location(Location.identifier[1].assigner(Organization))[n].location(Location.identifier[1].assigner(Organization))
PL.11Assigning Authority for LocationHD[Organization]is equivalent to[n].location(Location.identifier[2].assigner(Organization))[n].location(Location.identifier[2].assigner(Organization))

Notes: