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
Official URL: http://hl7.org/fhir/uv/v2mappings/segment-pv2-to-encounter | Version: 1.0.0-ballot | |||
Active as of 2024-12-20 | Computable Name: SegmentPV2ToEncounter | |||
Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved. |
This ConceptMap represents a mapping from the HL7 V2 Segment PV2 to the FHIR Encounter Resource.
This ConceptMap represents the mapping from the HL7 V2 PV2 Segment to the FHIR Encounter Resource. See also the FHIR Shorthand or the CSV Source.
HL7 v2 | Condition (IF True, args) | HL7 FHIR | Comments | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sort Order | Identifier | Name | Data Type | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | FHIR Attribute | Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Vocabulary Mapping (IS, ID, CE, CEN, CWE) | Assignment | |
1 | PV2-1 | Prior Pending Location | PL | 0 | 1 | Encounter.location.location(Encounter.Location) | Reference(Encounter.Location) | 0 | -1 | PL[Location] | |||||||
1 | PV2-1 | Prior Pending Location | PL | 0 | 1 | Encounter.location.status | "planned" | ||||||||||
1 | PV2-1 | Prior Pending Location | PL | 0 | 1 | location[5].extension?-temporaryLocation | Encounter.boolean | 0 | 1 | "false" | |||||||
2 | PV2-2 | Accommodation Code | CWE | 0 | 1 | Please comment on the use of this field and suggest a FHIR mapping. | |||||||||||
3 | PV2-3 | Admit Reason | CWE | 0 | 1 | Encounter.reasonCode | Encounter.CodeableConcept | 0 | -1 | CWE[CodeableConcept] | PV2-3 doesn't have an associated table so no vocabulary mapping is provided | ||||||
4 | PV2-4 | Transfer Reason | CWE | 0 | 1 | Please comment on the use of this field and suggest a FHIR mapping. | |||||||||||
5 | PV2-5 | Patient Valuables | ST | 0 | -1 | ||||||||||||
6 | PV2-6 | Patient Valuables Location | ST | 0 | 1 | ||||||||||||
7 | PV2-7 | Visit User Code | CWE | 0 | -1 | extension?-visitUserCode | Encounter.CodeableConcept | 0 | -1 | CWE[CodeableConcept] | VisitUserCode | ||||||
8 | PV2-8 | Expected Admit Date/Time | DTM | 0 | 1 | Encounter.extension.url | Encounter.uri | 0 | 1 | "http://hl7.org/fhir/v5.0/StructureDefinition/extension-Encounter.plannedStartDate" | |||||||
8 | PV2-8 | Expected Admit Date/Time | DTM | 0 | 1 | Encounter.extension.valueDateTime | Encounter.dateTime | 0 | 1 | ||||||||
9 | PV2-9 | Expected Discharge Date/Time | DTM | 0 | 1 | Encounter.extension.url | Encounter.uri | 0 | 1 | "http://hl7.org/fhir/v5.0/StructureDefinition/extension-Encounter.plannedEndDate" | |||||||
9 | PV2-9 | Expected Discharge Date/Time | DTM | 0 | 1 | Encounter.extension.valueDateTime | Encounter.dateTime | 0 | 1 | ||||||||
10 | PV2-10 | Estimated Length of Inpatient Stay | NM | 0 | 1 | extension?-estimatedLength | Encounter.Quantity | 0 | 1 | NM[Quantity-LengthOfStay] | |||||||
11 | PV2-11 | Actual Length of Inpatient Stay | NM | 0 | 1 | Encounter.length | Encounter.Quantity | 0 | 1 | NM[Quantity-LengthOfStay] | |||||||
12 | PV2-12 | Visit Description | ST | 0 | 1 | Encounter.text.div | xhtml | 0 | 1 | ||||||||
13 | PV2-13 | Referral Source Code | XCN | 0 | -1 | Encounter.participant.individual(Encounter.Practitioner) | Reference(Encounter.Practitioner) | 0 | 1 | XCN[Practitioner] | |||||||
13 | PV2-13 | Referral Source Code | XCN | 0 | -1 | Encounter.participant.type.coding.code | Encounter.code | 0 | 1 | "REF" | |||||||
13 | PV2-13 | Referral Source Code | XCN | 0 | -1 | Encounter.participant.type.coding.system | Encounter.uri | 0 | 1 | "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" | |||||||
13 | PV2-13 | Referral Source Code | XCN | 0 | -1 | Encounter.participant.type.text | Encounter.string | 0 | 1 | "referrer" | |||||||
14 | PV2-14 | Previous Service Date | DT | 0 | 1 | ||||||||||||
15 | PV2-15 | Employment Illness Related Indicator | ID | 0 | 1 | ||||||||||||
16 | PV2-16 | Purge Status Code | CWE | 0 | 1 | ||||||||||||
17 | PV2-17 | Purge Status Date | DT | 0 | 1 | ||||||||||||
18 | PV2-18 | Special Program Code | CWE | 0 | 1 | ||||||||||||
19 | PV2-19 | Retention Indicator | ID | 0 | 1 | ||||||||||||
20 | PV2-20 | Expected Number of Insurance Plans | NM | 0 | 1 | ||||||||||||
21 | PV2-21 | Visit Publicity Code | CWE | 0 | 1 | extension?-publicityCode | Encounter.CodeableConcept | 0 | 1 | CWE[CodeableConcept] | PublicityCode | ||||||
22 | PV2-22 | Visit Protection Indicator | ID | 0 | 1 | meta.security | Encounter.Coding | 0 | -1 | ID[Coding] | Yes/NoIndicator | ||||||
23 | PV2-23 | Clinic Organization Name | XON | 0 | -1 | ||||||||||||
24 | PV2-24 | Patient Status Code | CWE | 0 | 1 | ||||||||||||
25 | PV2-25 | Visit Priority Code | CWE | 0 | 1 | Encounter.priority | Encounter.CodeableConcept | 0 | 1 | CWE[CodeableConcept] | EncounterPriority | ||||||
26 | PV2-26 | Previous Treatment Date | DT | 0 | 1 | ||||||||||||
27 | PV2-27 | Expected Discharge Disposition | CWE | 0 | 1 | ||||||||||||
28 | PV2-28 | Signature on File Date | DT | 0 | 1 | ||||||||||||
29 | PV2-29 | First Similar Illness Date | DT | 0 | 1 | ||||||||||||
30 | PV2-30 | Patient Charge Adjustment Code | CWE | 0 | 1 | ||||||||||||
31 | PV2-31 | Recurring Service Code | CWE | 0 | 1 | ||||||||||||
32 | PV2-32 | Billing Media Code | ID | 0 | 1 | ||||||||||||
33 | PV2-33 | Expected Surgery Date and Time | DTM | 0 | 1 | ||||||||||||
34 | PV2-34 | Military Partnership Code | ID | 0 | 1 | ||||||||||||
35 | PV2-35 | Military Non-Availability Code | ID | 0 | 1 | ||||||||||||
36 | PV2-36 | Newborn Baby Indicator | ID | 0 | 1 | ||||||||||||
37 | PV2-37 | Baby Detained Indicator | ID | 0 | 1 | ||||||||||||
38 | PV2-38 | Mode of Arrival Code | CWE | 0 | 1 | Encounter.extension.url | "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival" | ||||||||||
38 | PV2-38 | Mode of Arrival Code | CWE | 0 | 1 | Encounter.extension.valueCoding | Encounter.Coding | 0 | 1 | CWE[Coding] | ModeOfArrivalCode | ||||||
39 | PV2-39 | Recreational Drug Use Code | CWE | 0 | -1 | ||||||||||||
40 | PV2-40 | Admission Level of Care Code | CWE | 0 | 1 | extension?-admissionLevelOfCare | Encounter.CodeableConcept | 0 | 1 | CWE[CodeableConcept] | AdmissionLevelOfCareCode | ||||||
41 | PV2-41 | Precaution Code | CWE | 0 | -1 | ||||||||||||
42 | PV2-42 | Patient Condition Code | CWE | 0 | 1 | ||||||||||||
43 | PV2-43 | Living Will Code | CWE | 0 | 1 | ||||||||||||
44 | PV2-44 | Organ Donor Code | CWE | 0 | 1 | ||||||||||||
45 | PV2-45 | Advance Directive Code | CWE | 0 | -1 | ||||||||||||
46 | PV2-46 | Patient Status Effective Date | DT | 0 | 1 | ||||||||||||
47 | PV2-47 | Expected LOA Return Date/Time | DTM | 0 | 1 | ||||||||||||
48 | PV2-48 | Expected Pre-admission Testing Date/Time | DTM | 0 | 1 | ||||||||||||
49 | PV2-49 | Notify Clergy Code | CWE | 0 | -1 | ||||||||||||
50 | PV2-50 | Advance Directive Last Verified Date | DT | 0 | 1 |
Generated Narrative: ConceptMap segment-pv2-to-encounter
Mapping from PV2 to Encounter
Group 1 Mapping from unspecified code system
to unspecified code system
Source Code | Relationship | Target Code | Comment |
PV2-1 (Prior Pending Location) | is equivalent to | location[5].location(Location) | |
PV2-1 (Prior Pending Location) | is equivalent to | location[5].status | |
PV2-3 (Admit Reason) | is equivalent to | reasonCode[1] | PV2-3 doesn't have an associated table so no vocabulary mapping is provided |
PV2-8 (Expected Admit Date/Time) | is equivalent to | extension[1].url | |
PV2-8 (Expected Admit Date/Time) | is equivalent to | extension[1].valueDateTime | |
PV2-9 (Expected Discharge Date/Time) | is equivalent to | extension[2].url | |
PV2-9 (Expected Discharge Date/Time) | is equivalent to | extension[2].valueDateTime | |
PV2-11 (Actual Length of Inpatient Stay) | is equivalent to | length | |
PV2-12 (Visit Description) | is equivalent to | text.div | |
PV2-13 (Referral Source Code) | is equivalent to | participant.individual(Practitioner) | |
PV2-13 (Referral Source Code) | is equivalent to | participant.type.coding.code | |
PV2-13 (Referral Source Code) | is equivalent to | participant.type.coding.system | |
PV2-13 (Referral Source Code) | is equivalent to | participant.type.text | |
PV2-22 (Visit Protection Indicator) | is equivalent to | meta.security | |
PV2-25 (Visit Priority Code) | is equivalent to | priority | |
PV2-38 (Mode of Arrival Code) | is equivalent to | extension[1].url | |
PV2-38 (Mode of Arrival Code) | is equivalent to | extension[1].valueCoding |