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: Segment PV1 to Encounter Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/segment-pv1-to-encounter Version: 1.0.0-ballot
Active as of 2024-12-20 Computable Name: SegmentPV1ToEncounter

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

This ConceptMap represents a mapping from the HL7 V2 Segment PV1 to the FHIR Encounter Resource.

This ConceptMap represents the mapping from the HL7 V2 PV1 Segment to the FHIR Encounter Resource. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeExtensionData TypeCardinality - MinCardinality - MaxData Type MappingVocabulary Mapping
(IS, ID, CE, CEN, CWE)
Assignment
1PV1-1Set ID - PV1SI01
2PV1-2Patient ClassCWE11Encounter.classEncounter.Coding11CWE[Coding]PatientClass[EncounterClass]
2PV1-2Patient ClassCWE11IF PV1-45 NOT VALUEDEncounter.statusEncounter.code11CWE[code]PatientClass[EncounterStatus]
3PV1-3Assigned Patient LocationPL01Encounter.location.location(Encounter.Location)Reference(Encounter.Location)11PL[location]Recommended is to put the most granular location from the v2 segment in Encounter.location(Location) and then chain the less granular back to the most granular using Location.partOf. The additional Location instance do then not need to be linked directly in Encounter.location to avoid confusion on purpose and relationships.
3PV1-3Assigned Patient LocationPL01IF PV1-2.1 NOT EQUALS "P"Encounter.location.statusEncounter.code01"active"
3PV1-3Assigned Patient LocationPL01IF PV1-2.1 EQUALS "P"Encounter.location.statusEncounter.code01"planned"
4PV1-4Admission TypeCWE01Encounter.typeEncounter.CodeableConcept0-1CWE[CodeableConcept]AdmissionType
5PV1-5Preadmit NumberCX01Encounter.hospitalization.preAdmissionIdentifierEncounter.Identifier01CX[Identifier]
6PV1-6Prior Patient LocationPL01Encounter.location.location(Encounter.Location)Reference(Encounter.Location)11PL[Location]
6PV1-6Prior Patient LocationPL01Encounter.location.statusEncounter.code01"completed"
7PV1-7Attending DoctorXCN0-1Encounter.participant.individual(Encounter.Practitioner)Reference(Encounter.Practitioner)01XCN[Practitioner]
7PV1-7Attending DoctorXCN0-1Encounter.participant.type.coding.codeEncounter.code01"ATND"
7PV1-7Attending DoctorXCN0-1Encounter.participant.type.coding.systemEncounter.uri01"http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
7PV1-7Attending DoctorXCN0-1Encounter.participant.type.coding.displayEncounter.string01"attender"
8PV1-8Referring DoctorXCN0-1Encounter.participant.individual(Encounter.Practitioner)Reference(Encounter.Practitioner)01XCN[Practitioner]"http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
8PV1-8Referring DoctorXCN0-1Encounter.participant.type.coding.codeEncounter.code01"REF"
8PV1-8Referring DoctorXCN0-1Encounter.participant.type.coding.systemEncounter.uri01"http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
8PV1-8Referring DoctorXCN0-1Encounter.participant.type.textEncounter.string01"referrer"
9PV1-9Consulting DoctorXCN0-1Encounter.participant.individual(Encounter.Practitioner)Reference(Encounter.Practitioner)01XCN[Practitioner]
9PV1-9Consulting DoctorXCN0-1Encounter.participant.type.coding.codeEncounter.code01"CON"
9PV1-9Consulting DoctorXCN0-1Encounter.participant.type.coding.systemEncounter.uri01"http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
9PV1-9Consulting DoctorXCN0-1Encounter.participant.type.textEncounter.string01"consultant"
10PV1-10Hospital ServiceCWE01Encounter.serviceTypeEncounter.CodeableConcept01CWE[CodeableConcept]HospitalService
11PV1-11Temporary LocationPL01Encounter.location.location(Encounter.Location)Reference(Encounter.Location)11PL[Location]
11PV1-11Temporary LocationPL01Encounter.location.statusEncounter.code01"active"
11PV1-11Temporary LocationPL01Encounter.location.extension.urlEncounter.uri"http://hl7.org/fhir/StructureDefinition/subject-locationClassification"
11PV1-11Temporary LocationPL01Encounter.location.extension.valueCodeableConcept.coding.codeEncounter.code"temporary"
11PV1-11Temporary LocationPL01Encounter.location.extension.valueCodeableConcept.coding.systemEncounter.uri" http://hl7.org/fhir/ValueSet/subject-location"
12PV1-12Preadmit Test IndicatorCWE01
13PV1-13Re-admission IndicatorCWE01Encounter.hospitalization.reAdmissionEncounter.CodeableConcept01CWE[CodeableConcept]ReadmissionIndicator
14PV1-14Admit SourceCWE01Encounter.hospitalization.admitSourceEncounter.CodeableConcept01CWE[CodeableConcept]Table 0023 doesn't have any suggested values, therefore there is no vocabulary mapping
15PV1-15Ambulatory StatusCWE0-1
16PV1-16VIP IndicatorCWE01Encounter.hospitalization.specialCourtesyEncounter.CodeableConcept01CWE[CodeableConcept]VIPIndicatorDepending on the vocabulary used in PV1-16, this may require additional mapping.
17PV1-17Admitting DoctorXCN0-1Encounter.participant.individual(Encounter.Practitioner)Reference(Encounter.Practitioner)01XCN[Practitioner]
17PV1-17Admitting DoctorXCN0-1Encounter.participant.type.coding.codeEncounter.code01"ADM"
17PV1-17Admitting DoctorXCN0-1Encounter.participant.type.coding.systemEncounter.uri01"http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
17PV1-17Admitting DoctorXCN0-1Encounter.participant.type.textEncounter.string01"admitter"
18PV1-18Patient TypeCWE01This field is widely used, but since the value set is user defined and there are no examples, implementations vary widely. It may fit for some Encounter.type, while others may want to reflect it on Patient or use another Encounter attribute. Consequently, the implementer has to determine where to map this.
19PV1-19Visit NumberCX01Encounter.identifierEncounter.Identifier0-1CX[Identifier]
19PV1-19Visit NumberCX01Encounter.identifier.type.coding.codeEncounter.code"VN"
19PV1-19Visit NumberCX01Encounter.identifier.type.coding.systemEncounter.uri"http://terminology.hl7.org/CodeSystem/v2-0203"
19PV1-19Visit NumberCX01Encounter.identifier.type.textEncounter.string"visit number"
20PV1-20Financial ClassFC0-1
21PV1-21Charge Price IndicatorCWE01
22PV1-22Courtesy CodeCWE01
23PV1-23Credit RatingCWE01
24PV1-24Contract CodeCWE0-1
25PV1-25Contract Effective DateDT0-1
26PV1-26Contract AmountNM0-1
27PV1-27Contract PeriodNM0-1
28PV1-28Interest CodeCWE01
29PV1-29Transfer to Bad Debt CodeCWE01
30PV1-30Transfer to Bad Debt DateDT01
31PV1-31Bad Debt Agency CodeCWE01
32PV1-32Bad Debt Transfer AmountNM01
33PV1-33Bad Debt Recovery AmountNM01
34PV1-34Delete Account IndicatorCWE01
35PV1-35Delete Account DateDT01
36PV1-36Discharge DispositionCWE01Encounter.hospitalization.dischargeDispositionEncounter.CodeableConcept01CWE[CodeableConcept]DischargeDisposition
37PV1-37Discharged to LocationDLD01Encounter.hospitalization.destination(Encounter.Location)Reference(Encounter.Location)01DLD[Location-Discharge]/Encounter.hospitalization.destination.reference=Location[n].id/This location should be a new location resources instance.
38PV1-38Diet TypeCWE01Encounter.hospitalization.dietPreferenceEncounter.CodeableConcept0-1CWE[CodeableConcept]DietType
39PV1-39Servicing FacilityCWE01
40PV1-40Bed StatusIS01IF PV1-3.2 OR PV1-3.3 VALUEDEncounter.location.location(Encounter.Location.operationalStatus)Encounter.code01BedStatusThe operational status is on the Location resource where the implementer must determine which of the Encounter.location(Location) instances reflect the Bed or Room and apply it to the most granular available.
41PV1-41Account StatusCWE01
42PV1-42Pending LocationPL01Encounter.location.location(Encounter.Location)Reference(Encounter.Location)11PL[Location]"reserved"
42PV1-42Pending LocationPL01Encounter.location.statusEncounter.code01"reserved"
43PV1-43Prior Temporary LocationPL01
44PV1-44Admit Date/TimeDTM01Encounter.period.startEncounter.dateTime01
45PV1-45Discharge Date/TimeDTM01Encounter.period.endEncounter.dateTime01
45PV1-45Discharge Date/TimeDTM01IF PV1-45 VALUEDEncounter.statusEncounter.code11
46PV1-46Current Patient BalanceNM01
47PV1-47Total ChargesNM01
48PV1-48Total AdjustmentsNM01
49PV1-49Total PaymentsNM01
50PV1-50Alternate Visit IDCX0-1Encounter.identifierEncounter.Identifier0-1CX[Identifier]
51PV1-51Visit IndicatorCWE01
52PV1-52Other Healthcare ProviderXCN0-1Encounter.participant.individual(Encounter.Practitioner)Reference(Encounter.Practitioner)01XCN[Practitioner]
52PV1-52Other Healthcare ProviderXCN0-1Encounter.participant.type.coding.codeEncounter.code01"PART"
52PV1-52Other Healthcare ProviderXCN0-1Encounter.participant.type.coding.systemEncounter.uri01"http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
52PV1-52Other Healthcare ProviderXCN0-1Encounter.participant.type.textEncounter.string01"Participation"
53PV1-53Service Episode DescriptionST01Encounter.episodeOfCare(Encounter.EpisodeOfCare.extension.url)Encounter.uri01"http://hl7.org/fhir/StructureDefinition/resource-instance-description"
53PV1-53Service Episode DescriptionST01Encounter.episodeOfCare(Encounter.EpisodeOfCare.extension.valueString)Encounter.string01
54PV1-54Service Episode IdentifierCX01Encounter.episodeOfCare(Encounter.EpisodeOfCare.identifier)Encounter.Identifier0-1CX[Identifier]

Generated Narrative: ConceptMap segment-pv1-to-encounter

Mapping from PV1 to Encounter


Group 1 Mapping from unspecified code system to unspecified code system

Source CodeRelationshipTarget CodeComment
PV1-2 (Patient Class)is equivalent toclass
PV1-2 (Patient Class)is equivalent tostatus
PV1-3 (Assigned Patient Location)is equivalent tolocation[1].location(Location)Recommended is to put the most granular location from the v2 segment in Encounter.location(Location) and then chain the less granular back to the most granular using Location.partOf. The additional Location instance do then not need to be linked directly in Encounter.location to avoid confusion on purpose and relationships.
PV1-3 (Assigned Patient Location)is equivalent tolocation[1].status
PV1-3 (Assigned Patient Location)is equivalent tolocation[1].status
PV1-4 (Admission Type)is equivalent totype
PV1-5 (Preadmit Number)is equivalent tohospitalization.preAdmissionIdentifier
PV1-6 (Prior Patient Location)is equivalent tolocation[2].location(Location)
PV1-6 (Prior Patient Location)is equivalent tolocation[2].status
PV1-7 (Attending Doctor)is equivalent toparticipant[1].individual(Practitioner)
PV1-7 (Attending Doctor)is equivalent toparticipant[1].type.coding.code
PV1-7 (Attending Doctor)is equivalent toparticipant[1].type.coding.system
PV1-7 (Attending Doctor)is equivalent toparticipant[1].type.coding.display
PV1-8 (Referring Doctor)is equivalent toparticipant[2].individual(Practitioner)
PV1-8 (Referring Doctor)is equivalent toparticipant[2].type.coding.code
PV1-8 (Referring Doctor)is equivalent toparticipant[2].type.coding.system
PV1-8 (Referring Doctor)is equivalent toparticipant[2].type.text
PV1-9 (Consulting Doctor)is equivalent toparticipant[3].individual(Practitioner)
PV1-9 (Consulting Doctor)is equivalent toparticipant[3].type.coding.code
PV1-9 (Consulting Doctor)is equivalent toparticipant[3].type.coding.system
PV1-9 (Consulting Doctor)is equivalent toparticipant[3].type.text
PV1-10 (Hospital Service)is equivalent toserviceType
PV1-11 (Temporary Location)is equivalent tolocation[3].location(Location)
PV1-11 (Temporary Location)is equivalent tolocation[3].status
PV1-11 (Temporary Location)is equivalent tolocation[3].extension.url
PV1-11 (Temporary Location)is equivalent tolocation[3].extension.valueCodeableConcept.coding.code
PV1-11 (Temporary Location)is equivalent tolocation[3].extension.valueCodeableConcept.coding.system
PV1-13 (Re-admission Indicator)is equivalent tohospitalization.reAdmission
PV1-14 (Admit Source)is equivalent tohospitalization.admitSourceTable 0023 doesn't have any suggested values, therefore there is no vocabulary mapping
PV1-16 (VIP Indicator)is equivalent tohospitalization.specialCourtesyDepending on the vocabulary used in PV1-16, this may require additional mapping.
PV1-17 (Admitting Doctor)is equivalent toparticipant[4].individual(Practitioner)
PV1-17 (Admitting Doctor)is equivalent toparticipant[4].type.coding.code
PV1-17 (Admitting Doctor)is equivalent toparticipant[4].type.coding.system
PV1-17 (Admitting Doctor)is equivalent toparticipant[4].type.text
PV1-19 (Visit Number)is equivalent toidentifier[1]
PV1-19 (Visit Number)is equivalent toidentifier[1].type.coding.code
PV1-19 (Visit Number)is equivalent toidentifier[1].type.coding.system
PV1-19 (Visit Number)is equivalent toidentifier[1].type.text
PV1-36 (Discharge Disposition)is equivalent tohospitalization.dischargeDisposition
PV1-37 (Discharged to Location)is equivalent tohospitalization.destination(Location)This location should be a new location resources instance.
PV1-38 (Diet Type)is equivalent tohospitalization.dietPreference
PV1-40 (Bed Status)is equivalent tolocation[1].location(Location.operationalStatus)The operational status is on the Location resource where the implementer must determine which of the Encounter.location(Location) instances reflect the Bed or Room and apply it to the most granular available.
PV1-42 (Pending Location)is equivalent tolocation[4].location(Location)
PV1-42 (Pending Location)is equivalent tolocation[4].status"reserved"
PV1-44 (Admit Date/Time)is equivalent toperiod.start
PV1-45 (Discharge Date/Time)is equivalent toperiod.end
PV1-45 (Discharge Date/Time)is equivalent tostatus (= "finished")
PV1-50 (Alternate Visit ID)is equivalent toidentifier[2]
PV1-52 (Other Healthcare Provider)is equivalent toparticipant[5].individual(Practitioner)
PV1-52 (Other Healthcare Provider)is equivalent toparticipant[5].type.coding.code (= "PART")
PV1-52 (Other Healthcare Provider)is equivalent toparticipant[5].type.coding.system
PV1-52 (Other Healthcare Provider)is equivalent toparticipant[5].type.text (= "Participation")
PV1-53 (Service Episode Description)is equivalent toepisodeOfCare(EpisodeOfCare[1].extension.url)
PV1-53 (Service Episode Description)is equivalent toepisodeOfCare(EpisodeOfCare[1].extension.valueString)
PV1-54 (Service Episode Identifier)is equivalent toepisodeOfCare(EpisodeOfCare[1].identifier)

Notes: