--- type: "mappings" title: "Encounter Mappings" resource: "Encounter" --- # Encounter Mappings - **Encounter**: workflow=Event; rim=PatientEncounter[@moodCode='EVN']; w5=workflow.encounter - **Encounter.identifier**: workflow=Event.identifier; w5=FiveWs.identifier; v2=PV1-19; rim=.id - **Encounter.status**: workflow=Event.status; w5=FiveWs.status; v2=No clear equivalent in HL7 V2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16; rim=.statusCode - **Encounter.class**: w5=FiveWs.class; v2=PV1-2; rim=.inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code - **Encounter.priority**: w5=FiveWs.grade; v2=PV2-25; rim=.priorityCode - **Encounter.type**: workflow=Event.code; w5=FiveWs.what[x]; v2=PV1-4 / PV1-18; rim=.code - **Encounter.serviceType**: workflow=Event.code; v2=PV1-10; rim=n/a - **Encounter.subject**: workflow=Event.subject; w5=FiveWs.subject; v2=PID-3; rim=.participation[typeCode=SBJ]/role[classCode=PAT] - **Encounter.episodeOfCare**: w5=FiveWs.context; v2=PV1-54, PV1-53; rim=n/a - **Encounter.basedOn**: workflow=Event.basedOn; rim=.reason.ClinicalDocument - **Encounter.careTeam**: rim=n/a - **Encounter.partOf**: workflow=Event.partOf; rim=.inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN] - **Encounter.serviceProvider**: workflow=Event.performer.actor; v2=PL.6 & PL.1; rim=.participation[typeCode=PRF].role - **Encounter.participant**: workflow=Event.performer; v2=ROL; rim=.participation[typeCode=PRF] - **Encounter.participant.type**: workflow=Event.performer.function; v2=ROL-3 (or maybe PRT-4); rim=.functionCode - **Encounter.participant.period**: v2=ROL-5, ROL-6 (or maybe PRT-5); rim=.time - **Encounter.participant.actor**: workflow=Event.performer.actor; w5=FiveWs.who; v2=ROL-4; rim=.role - **Encounter.appointment**: workflow=Event.basedOn; v2=SCH-1 / SCH-2; rim=.outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT] - **Encounter.virtualService**: rim=N/A - **Encounter.actualPeriod**: workflow=Event.occurrence[x]; w5=FiveWs.done[x]; v2=PV1-44, PV1-45; rim=.effectiveTime (low & high) - **Encounter.plannedStartDate**: v2=PV2-8 - **Encounter.plannedEndDate**: v2=PV2-9 - **Encounter.length**: workflow=Event.occurrence[x]; v2=(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes or PV2-11 (which is actual length in days); rim=.lengthOfStayQuantity - **Encounter.reason.value**: workflow=Event.reason; w5=FiveWs.why[x]; v2=EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 V2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations ); rim=.reasonCode - **Encounter.diagnosis**: rim=.outboundRelationship[typeCode=RSON] - **Encounter.diagnosis.condition**: workflow=Event.reason; w5=FiveWs.why[x]; v2=Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively.; rim=.outboundRelationship[typeCode=RSON].target - **Encounter.diagnosis.use**: v2=DG1-6 (Diagnosis Type); rim=n/a - **Encounter.account**: rim=.pertains.A_Account - **Encounter.dietPreference**: v2=PV1-38; rim=.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code="diet"] - **Encounter.specialArrangement**: v2=PV1-15 / OBR-30 / OBR-43; rim=.specialArrangementCode - **Encounter.specialCourtesy**: v2=PV1-16; rim=.specialCourtesiesCode - **Encounter.admission**: rim=.outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN] - **Encounter.admission.preAdmissionIdentifier**: v2=PV1-5; rim=.id - **Encounter.admission.origin**: rim=.participation[typeCode=ORG].role - **Encounter.admission.admitSource**: v2=PV1-14; rim=.admissionReferralSourceCode - **Encounter.admission.reAdmission**: v2=PV1-13; rim=n/a - **Encounter.admission.destination**: v2=PV1-37; rim=.participation[typeCode=DST] - **Encounter.admission.dischargeDisposition**: v2=PV1-36; rim=.dischargeDispositionCode - **Encounter.location**: rim=.participation[typeCode=LOC] - **Encounter.location.location**: workflow=Event.location; w5=FiveWs.where[x]; v2=PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43; rim=.role - **Encounter.location.status**: rim=.role.statusCode - **Encounter.location.period**: rim=.time