Mappings for the encounter resource.
Encounter | Encounter[@moodCode='EVN'] |
identifier | .id |
status | .statusCode |
statusHistory | n/a |
status | n/a |
period | n/a |
class | .inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code |
type | .code |
priority | .priorityCode |
patient | .participation[typeCode=SBJ]/role[classCode=PAT] |
episodeOfCare | n/a |
incomingReferral | .reason.ClinicalDocument |
participant | .participation[typeCode=PFM] |
type | .functionCode |
period | .time |
individual | .role |
appointment | .outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT] |
period | .effectiveTime (low & high) |
length | .lengthOfStayQuantity |
reason | .reasonCode |
indication | .outboundRelationship[typeCode=RSON].target |
account | .pertains.A_Account |
hospitalization | .outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN] |
preAdmissionIdentifier | .id |
origin | .participation[typeCode=ORG].role |
admitSource | .admissionReferralSourceCode |
admittingDiagnosis | .reason.A_ObservationDx |
reAdmission | Propose at harmonization |
dietPreference | .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code="diet"] |
specialCourtesy | .specialCourtesiesCode |
specialArrangement | .specialArrangementCode |
destination | .participation[typeCode=DST] |
dischargeDisposition | .dischargeDispositionCode |
dischargeDiagnosis | .outboundRelationship[typeCode=OUT].target[classCode=OBS, moodCode=EVN, code=ASSERTION].value |
location | .participation[typeCode=LOC] |
location | .role |
status | .role.statusCode |
period | .time |
serviceProvider | .particiaption[typeCode=PFM].role |
partOf | .inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN] |
Encounter | |
identifier | PV1-19 |
status | 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 |
statusHistory | |
status | |
period | |
class | PV1-2 |
type | PV1-4 / PV1-18 |
priority | PV2-25 |
patient | PID-3 |
episodeOfCare | PV1-54, PV1-53 |
incomingReferral | |
participant | ROL |
type | ROL-3 (or maybe PRT-4) |
period | ROL-5, ROL-6 (or maybe PRT-5) |
individual | ROL-4 |
appointment | SCH-1 / SCH-2 |
period | PV1-44, PV1-45 |
length | (PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes |
reason | 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 ) |
indication | Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively. |
account | |
hospitalization | |
preAdmissionIdentifier | PV1-5 |
origin | |
admitSource | PV1-14 |
admittingDiagnosis | |
reAdmission | PV1-13 |
dietPreference | PV1-38 |
specialCourtesy | PV1-16 |
specialArrangement | PV1-15 / OBR-30 / OBR-43 |
destination | PV1-37 |
dischargeDisposition | PV1-36 |
dischargeDiagnosis | |
location | |
location | PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43 |
status | |
period | |
serviceProvider | PV1-10 / PL.6 & PL.1 (note: HL7 v2 definition is "the treatment or type of surgery that the patient is scheduled to receive"; seems slightly out of alignment with the concept name 'hospital service'. Would not trust that implementations apply this semantic by default) |
partOf | |