HL7中国FHIR Connectathon测试实施指南
2024.5.5 - release

HL7中国FHIR Connectathon测试实施指南 - Local Development build (v2024.5.5) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: CoreInpatientEncounter - Mappings

Mappings for the core-inpatient-encounter resource profile.

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

CoreInpatientEncounter
EncounterEvent
   identifierEvent.identifier
   identifier (BID)Event.identifier
   statusEvent.status
   typeEvent.code
   serviceTypeEvent.code
   subjectEvent.subject
   basedOnEvent.basedOn
   partOfEvent.partOf
   serviceProviderEvent.performer.actor
   participantEvent.performer
      typeEvent.performer.function
      actorEvent.performer.actor
   participant (AUT)Event.performer
      typeEvent.performer.function
      actorEvent.performer.actor
   appointmentEvent.basedOn
   actualPeriodEvent.occurrence[x]
   lengthEvent.occurrence[x]
   reason
      valueEvent.reason
   diagnosis
      conditionEvent.reason
   location
      locationEvent.location

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

CoreInpatientEncounter
Encounterworkflow.encounter
   identifierFiveWs.identifier
   identifier (BID)FiveWs.identifier
   statusFiveWs.status
   classFiveWs.class
   priorityFiveWs.grade
   typeFiveWs.what[x]
   subjectFiveWs.subject[x]
   episodeOfCareFiveWs.context
   participant
      actorFiveWs.who
   participant (AUT)
      actorFiveWs.who
   actualPeriodFiveWs.done[x]
   reason
      valueFiveWs.why[x]
   diagnosis
      conditionFiveWs.why[x]
   location
      locationFiveWs.where[x]

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

CoreInpatientEncounter
EncounterEntity, Role, or Act,PatientEncounter[@moodCode='EVN']
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   identifier (BID).id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      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
   class.inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code
   priority.priorityCode
   type.code
   serviceTypen/a
   subject.participation[typeCode=SBJ]/role[classCode=PAT]
   episodeOfCaren/a
   basedOn.reason.ClinicalDocument
   careTeamn/a
   partOf.inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]
   serviceProvider.participation[typeCode=PRF].role
   participant.participation[typeCode=PRF]
      idn/a
      extensionn/a
      modifierExtensionN/A
      type.functionCode
      period.time
      actor.role
   participant (AUT).participation[typeCode=PRF]
      idn/a
      extensionn/a
      modifierExtensionN/A
      type.functionCode
      period.time
      actor.role
   appointment.outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]
   virtualServiceN/A
   actualPeriod.effectiveTime (low & high)
   length.lengthOfStayQuantity
   reason
      idn/a
      extensionn/a
      modifierExtensionN/A
      value.reasonCode
   diagnosis.outboundRelationship[typeCode=RSON]
      idn/a
      extensionn/a
      modifierExtensionN/A
      condition.outboundRelationship[typeCode=RSON].target
      usen/a
   account.pertains.A_Account
   dietPreference.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code="diet"]
   specialArrangement.specialArrangementCode
   specialCourtesy.specialCourtesiesCode
   admission.outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]
      idn/a
      extensionn/a
      modifierExtensionN/A
      preAdmissionIdentifier.id
      origin.participation[typeCode=ORG].role
      admitSource.admissionReferralSourceCode
      reAdmissionn/a
      destination.participation[typeCode=DST]
      dischargeDisposition.dischargeDispositionCode
   location.participation[typeCode=LOC]
      idn/a
      extensionn/a
      modifierExtensionN/A
      location.role
      status.role.statusCode
      period.time

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

CoreInpatientEncounter
Encounter
   identifierPV1-19
   identifier (BID)PV1-19
      useN/A
      typeCX.5
      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
   classPV1-2
   priorityPV2-25
   typePV1-4 / PV1-18
   serviceTypePV1-10
   subjectPID-3
   episodeOfCarePV1-54, PV1-53
   serviceProviderPL.6 & PL.1
   participantROL
      typeROL-3 (or maybe PRT-4)
      periodROL-5, ROL-6 (or maybe PRT-5)
      actorROL-4
   participant (AUT)ROL
      typeROL-3 (or maybe PRT-4)
      periodROL-5, ROL-6 (or maybe PRT-5)
      actorROL-4
   appointmentSCH-1 / SCH-2
   actualPeriodPV1-44, PV1-45
   plannedStartDatePV2-8
   plannedEndDatePV2-9
   length(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)
   reason
      valueEVN-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.
      useDG1-6 (Diagnosis Type)
   dietPreferencePV1-38
   specialArrangementPV1-15 / OBR-30 / OBR-43
   specialCourtesyPV1-16
   admission
      preAdmissionIdentifierPV1-5
      admitSourcePV1-14
      reAdmissionPV1-13
      destinationPV1-37
      dischargeDispositionPV1-36
   location
      locationPV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43