臺灣核心實作指引(TW Core IG)
0.2.0 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.2.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: TWCoreEncounter - Mappings

Active as of 2024-03-21

Mappings for the Encounter-twcore resource profile.

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

TWCoreEncounter
EncounterEvent
   identifierEvent.identifier
   statusEvent.status
   subjectEvent.subject
   episodeOfCareEvent.context
   basedOnEvent.basedOn
   participantEvent.performer
      individualEvent.performer.actor
   appointmentEvent.basedOn
   periodEvent.occurrence[x]
   lengthEvent.occurrence[x]
   reasonReferenceEvent.reasonCode
   diagnosis
      conditionEvent.reasonReference
   location
      locationEvent.location
   serviceProviderEvent.performer.actor
   partOfEvent.partOf

Mappings for RIM Mapping (http://hl7.org/v3)

TWCoreEncounter
EncounterEntity. Role, or Act, Encounter[@moodCode='EVN']
   textAct.text?
   containedN/A
   identifier.id
      idn/a
      useRole.code or implied by context
      typen/a, CD
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   status.statusCode
   statusHistoryn/a
      idn/a
      statusn/a
      periodn/a
   classn/a, CV
   classHistoryn/a
      idn/a
      classn/a
      periodn/a
   typen/a, CD
   serviceTypen/a, CD
   priorityn/a, CD
   subject.participation[typeCode=SBJ]/role[classCode=PAT]
   episodeOfCaren/a
   basedOn.reason.ClinicalDocument
   participant.participation[typeCode=PFM]
      idn/a
      typen/a, CD
      period.time
      individual.role
   appointment.outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]
   period.effectiveTime (low & high)
   length.lengthOfStayQuantity
   reasonCoden/a, CD
   reasonReference.reasonCode
   diagnosis.outboundRelationship[typeCode=RSON]
      idn/a
      condition.outboundRelationship[typeCode=RSON].target
      usen/a, CD
      rank.outboundRelationship[typeCode=RSON].priority
   account.pertains.A_Account
   hospitalization.outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]
      idn/a
      preAdmissionIdentifier.id
      origin.participation[typeCode=ORG].role
      admitSourcen/a, CD
      reAdmissionn/a, CD
      dietPreferencen/a, CD
      specialCourtesyn/a, CD
      specialArrangementn/a, CD
      destination.participation[typeCode=DST]
      dischargeDispositionn/a, CD
   location.participation[typeCode=LOC]
      idn/a
      location.role
      status.role.statusCode
      physicalTypen/a, CD
      period.time
   serviceProvider.particiaption[typeCode=PFM].role
   partOf.inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

TWCoreEncounter
Encounter
   identifierFiveWs.identifier
   statusFiveWs.status
   subjectFiveWs.subject[x], FiveWs.subject
   episodeOfCareFiveWs.context
   participant
      individualFiveWs.who
   periodFiveWs.done[x]
   reasonReferenceFiveWs.why[x]
   diagnosis
      conditionFiveWs.why[x]
   location
      locationFiveWs.where[x]

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

TWCoreEncounter
Encounter
   identifierPV1-19
      useN/A
      typeCE/CNE/CWE
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   statusNo clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16
   classCE/CNE/CWE subset one of the sets of component 1-3 or 4-6
   typeCE/CNE/CWE
   serviceTypeCE/CNE/CWE
   priorityCE/CNE/CWE
   subjectPID-3
   episodeOfCarePV1-54, PV1-53
   participantROL
      typeCE/CNE/CWE
      periodROL-5, ROL-6 (or maybe PRT-5)
      individualROL-4
   appointmentSCH-1 / SCH-2
   periodPV1-44, PV1-45
   length(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes
   reasonCodeCE/CNE/CWE
   reasonReferenceEVN-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 )
   diagnosis
      conditionResources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively.
      useCE/CNE/CWE
   hospitalization
      preAdmissionIdentifierPV1-5
      admitSourceCE/CNE/CWE
      reAdmissionCE/CNE/CWE
      dietPreferenceCE/CNE/CWE
      specialCourtesyCE/CNE/CWE
      specialArrangementCE/CNE/CWE
      destinationPV1-37
      dischargeDispositionCE/CNE/CWE
   location
      locationPV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
      physicalTypeCE/CNE/CWE
   serviceProviderPL.6 & PL.1