Extensions for Using Data Elements from FHIR R5 in FHIR STU3
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R5 in FHIR STU3 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R5_EncounterHistory_R3_Encounter - Mappings

Page standards status: Trial-use Maturity Level: 0

Mappings for the profile-EncounterHistory-for-Encounter resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameRIM MappingW5 MappingHL7 v2 Mappingdoco
.. Encounter
Encounter[@moodCode='EVN']
workflow.encounter
... id
... meta
... implicitRules
... language
... text
Act.text?
... contained
N/A
... Slices for extension
.... extension:encounter
.... extension:serviceType
.... extension:subjectStatus
.... extension:actualPeriod
.... extension:plannedStartDate
.... extension:plannedEndDate
... modifierExtension
N/A
... identifier
.id
id
PV1-19
... status
.statusCode
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
.... id
.... Slices for extension
..... extension:status
.... value
... statusHistory
n/a
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... status
n/a
.... period
n/a
... class
.inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code
class
PV1-2
.... id
n/a
.... Slices for extension
..... extension:class
.... system
./codeSystem
C*E.3
.... version
./codeSystemVersion
C*E.7
.... code
./code
C*E.1
.... display
CV.displayName
C*E.2 - but note this is not well followed
.... userSelected
CD.codingRationale
Sometimes implied by being first
... classHistory
n/a
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... class
n/a
.... period
n/a
... type
.code
class
PV1-4 / PV1-18
... priority
.priorityCode
grade
PV2-25
... subject
.participation[typeCode=SBJ]/role[classCode=PAT]
who.focus
PID-3
.... id
n/a
.... Slices for extension
..... extension:subject
.... reference
N/A
.... identifier
.identifier
.... display
N/A
... episodeOfCare
n/a
context
  • PV1-54
  • PV1-53
... incomingReferral
.reason.ClinicalDocument
... participant
.participation[typeCode=PFM]
ROL
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... type
.functionCode
ROL-3 (or maybe PRT-4)
.... period
.time
  • ROL-5
  • ROL-6 (or maybe PRT-5)
.... individual
.role
who
ROL-4
... appointment
  • .outboundRelationship[typeCode=FLFS].target[classCode=ENC
  • moodCode=APT]
SCH-1 / SCH-2
... period
.effectiveTime (low & high)
when.done
  • PV1-44
  • PV1-45
... length
.lengthOfStayQuantity
(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes
... reason
.reasonCode
why
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 )
... diagnosis
.outboundRelationship[typeCode=RSON]
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... condition
.outboundRelationship[typeCode=RSON].target
why
Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively.
.... role
n/a
.... rank
.outboundRelationship[typeCode=RSON].priority
... account
.pertains.A_Account
... hospitalization
  • .outboundRelationship[typeCode=COMP].target[classCode=ENC
  • moodCode=EVN]
.... id
n/a
.... extension
n/a
.... modifierExtension
N/A
.... preAdmissionIdentifier
.id
PV1-5
.... origin
.participation[typeCode=ORG].role
.... admitSource
.admissionReferralSourceCode
PV1-14
.... reAdmission
n/a
PV1-13
.... dietPreference
  • .outboundRelationship[typeCode=COMP].target[classCode=SBADM
  • moodCode=EVN
  • code="diet"]
PV1-38
.... specialCourtesy
.specialCourtesiesCode
PV1-16
.... specialArrangement
.specialArrangementCode
PV1-15 / OBR-30 / OBR-43
.... destination
.participation[typeCode=DST]
PV1-37
.... dischargeDisposition
.dischargeDispositionCode
PV1-36
... location
.participation[typeCode=LOC]
.... id
n/a
.... Slices for extension
..... extension:form
.... modifierExtension
N/A
.... location
.role
where
PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
..... id
n/a
..... Slices for extension
...... extension:location
..... reference
N/A
..... identifier
.identifier
..... display
N/A
.... status
.role.statusCode
.... period
.time
... serviceProvider
.particiaption[typeCode=PFM].role
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
  • .inboundRelationship[typeCode=COMP].source[classCode=COMP
  • moodCode=EVN]

doco Documentation for this format