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 PLnull to Encounter.location Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-pl-to-encounter-location Version: 1.0.0-ballot
Active as of 2024-10-14 Computable Name: DatatypePLToEncounterLocation

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 Encounter.location Data Type.

This ConceptMap represents the mapping from the HL7 V2 PL Data Type to the FHIR Encounter.location Data Type. 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
1PL.1Point of CareHD01Encounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierHD[Identifier]
1PL.1Point of CareHD01Encounter.location..location(Encounter.location.Location.mode)Encounter.location.code01"instance"
1PL.1Point of CareHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.code)Encounter.location.code01/extension??-poc/
1PL.1Point of CareHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.system)Encounter.location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
1PL.1Point of CareHD01Encounter.location..location(Encounter.location.Location.partOf.reference(Encounter.location.Location)Encounter.location.string01
2PL.2RoomHD01Encounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierHD[Identifier]
2PL.2RoomHD01Encounter.location..location(Encounter.location.Location.mode)Encounter.location.code01"instance"
2PL.2RoomHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.code)Encounter.location.code01"ro"
2PL.2RoomHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.system)Encounter.location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
2PL.2RoomHD01Encounter.location..location(Encounter.location.Location.partOf.reference(Encounter.location.Location)Encounter.location.string01
2PL.2RoomHD01Encounter.location.partof.reference(Encounter.location.Location.identifier)
2PL.2RoomHD01Encounter.location.partof.reference(Encounter.location.Location.mode)
2PL.2RoomHD01Encounter.location.partof.reference(Encounter.location.Location.physicalType.coding.code)
2PL.2RoomHD01Encounter.location.partof.reference(Encounter.location.Location.physicalType.coding.system)
2PL.2RoomHD01Encounter.location.partof.reference(Encounter.location.Location.partOf(Encounter.location.Location{Encounter.location.n])
3PL.3BedHD01Encounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierHD[Identifier]
3PL.3BedHD01Encounter.location..location(Encounter.location.Location.mode)Encounter.location.code01"instance"
3PL.3BedHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.code)Encounter.location.code01"bd"
3PL.3BedHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.system)Encounter.location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
3PL.3BedHD01Encounter.location..location(Encounter.location.Location.partOf.reference(Encounter.location.Location)Encounter.location.string01
4PL.4FacilityHD01Encounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierHD[Identifier]
4PL.4FacilityHD01Encounter.location..location(Encounter.location.Location.mode)Encounter.location.code01"instance"
4PL.4FacilityHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.code)Encounter.location.code01"si"
4PL.4FacilityHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.system)Encounter.location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
5PL.5Location StatusIS01
6PL.6Person Location TypeIS01
7PL.7BuildingHD01Encounter.location..location(Encounter.location.Location.dentifier)Encounter.location.IdentifierHD[Identifier]
7PL.7BuildingHD01Encounter.location..location(Encounter.location.Location.mode)Encounter.location.code01"instance"
7PL.7BuildingHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.code)Encounter.location.code01"bu"
7PL.7BuildingHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.system)Encounter.location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
7PL.7BuildingHD01Encounter.location..location(Encounter.location.Location.partOf.reference(Encounter.location.Location)Encounter.location.string01
8PL.8FloorHD01Encounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierHD[Identifier]
8PL.8FloorHD01Encounter.location..location(Encounter.location.Location.mode)Encounter.location.code01"instance"
8PL.8FloorHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.code)Encounter.location.code01"lvl"
8PL.8FloorHD01Encounter.location..location(Encounter.location.Location.physicalType.coding.system)Encounter.location.uri01"http://terminology.hl7.org/CodeSystem/location-physical-type"
8PL.8FloorHD01Encounter.location..location(Encounter.location.Location.partOf.reference(Encounter.location.Location)Encounter.location.string01
9PL.9Location DescriptionST01Encounter.location..location(Encounter.location.Location.description)Encounter.location.string01
10PL.10Comprehensive Location IdentifierEI01IF PL.3 VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.2 VALUED AND PL.3 NOT VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.1 VALUE AND PL.2 NOT VALUED AND PL.3 NOT VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.8 VALUED AND PL.1 NOT VALUED AND PL.2 NOT VALUED AND PL3.NOT VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.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 VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.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 VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierEI[Identifier-Organization]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.3 VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierEI[Identifier-DefaultAssigner]
10PL.10Comprehensive Location IdentifierEI01IF PL.11 VALUED AND IF PL.2 VALUED AND PL.3 NOT VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.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 VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.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 VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.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 VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.location.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 VALUEDEncounter.location..location(Encounter.location.Location.identifier)Encounter.location.IdentifierEI[Identifier-DefaultAssigner]
11PL.11Assigning Authority for LocationHD01Encounter.location..location(Encounter.location.Location.identifier.assigner(Encounter.location.Organization)ReferenceHD[Organization]
11PL.11Assigning Authority for LocationHD01Encounter.location..location(Encounter.location.Location.identifier.assigner(Encounter.location.Organization)ReferenceHD[Organization]

Generated Narrative: ConceptMap datatype-pl-to-encounter-location

Mapping from PL to Encounter.location


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsProperties
Codes from datatypemapvalueCodes from antlr
PL.1Point of CareHD[Identifier]is equivalent to[1].location(Location.identifier[1])[1].location(Location.identifier[1])
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[1])[2].location(Location.identifier[1])
PL.2Room"instance"is equivalent to[2].location(Location.mode)[2].location(Location.mode)
PL.2Room"ro"is equivalent to[2].location(Location.physicalType.coding.code)[2].location(Location.physicalType.coding.code)
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)
PL.2Roomis equivalent to[2].location(Location.partOf.reference(Location[1]))[2].location(Location.partOf.reference(Location[1]))
PL.2Roomis equivalent topartof.reference(Location.identifier)partof.reference(Location.identifier)
PL.2Roomis equivalent topartof.reference(Location.mode)partof.reference(Location.mode)
PL.2Roomis equivalent topartof.reference(Location.physicalType.coding.code)partof.reference(Location.physicalType.coding.code)
PL.2Roomis equivalent topartof.reference(Location.physicalType.coding.system)partof.reference(Location.physicalType.coding.system)
PL.2Roomis equivalent topartof.reference(Location.partOf(Location{n]))partof.reference(Location.partOf(Location{n]))
PL.3BedHD[Identifier]is equivalent to[3].location(Location.identifier[1])[3].location(Location.identifier[1])
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[1])[4].location(Location.identifier[1])
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[1])[5].location(Location.dentifier[1])
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[1])[6].location(Location.identifier[1])
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[2])[3].location(Location.identifier[2])IF PL.3 VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-Organization]is equivalent to[2].location(Location.identifier[2])[2].location(Location.identifier[2])IF PL.2 VALUED AND PL.3 NOT VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-Organization]is equivalent to[1].location(Location.identifier[2])[1].location(Location.identifier[2])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[2])[6].location(Location.identifier[2])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[2])[5].location(Location.identifier[2])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[2])[4].location(Location.identifier[2])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[2])[4].location(Location.identifier[2])IF PL.11 VALUED AND IF PL.3 VALUED
PL.10Comprehensive Location IdentifierEI[Identifier-DefaultAssigner]is equivalent to[4].location(Location.identifier[2])[4].location(Location.identifier[2])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[2])[4].location(Location.identifier[2])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[2])[4].location(Location.identifier[2])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[2])[4].location(Location.identifier[2])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[2])[4].location(Location.identifier[2])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[1-6].location(Location.identifier[1].assigner(Organization))[1-6].location(Location.identifier[1].assigner(Organization))
PL.11Assigning Authority for LocationHD[Organization]is equivalent to[1-6].location(Location.identifier[2].assigner(Organization))[1-6].location(Location.identifier[2].assigner(Organization))

Notes: