醫查實作指引 - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Mappings for the encounter-imri resource profile.
EncounterIMRI |
Encounter | Entity. Role, or Act, Encounter[@moodCode='EVN'] |
text | Act.text? |
contained | N/A |
identifier | .id |
id | n/a |
extension | n/a |
use | Role.code or implied by context |
type | n/a, CD |
system | II.root or Role.id.root |
value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root) |
period | Role.effectiveTime or implied by context |
assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper |
status | .statusCode |
statusHistory | n/a |
id | n/a |
extension | n/a |
modifierExtension | N/A |
status | n/a |
period | n/a |
class | n/a, CV |
classHistory | n/a |
id | n/a |
extension | n/a |
modifierExtension | N/A |
class | n/a |
period | n/a |
type | n/a, CD |
serviceType | n/a, CD |
id | n/a |
coding | n/a, CV |
id | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
coding (TWMedicalConsultationDepartmentSCT) | n/a, CV |
id | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
coding (TWMedicalTreatmentDepartmentSCT) | n/a, CV |
id | n/a |
system | ./codeSystem |
version | ./codeSystemVersion |
code | ./code |
display | CV.displayName |
userSelected | CD.codingRationale |
text | ./originalText[mediaType/code="text/plain"]/data |
priority | n/a, CD |
subject | .participation[typeCode=SBJ]/role[classCode=PAT] |
episodeOfCare | n/a |
basedOn | .reason.ClinicalDocument |
participant | .participation[typeCode=PFM] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
type | n/a, CD |
period | .time |
individual | .role |
appointment | .outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT] |
period | .effectiveTime (low & high) |
id | n/a |
extension | n/a |
start | ./low |
end | ./high |
length | .lengthOfStayQuantity |
reasonCode | n/a, CD |
reasonReference | .reasonCode |
diagnosis | .outboundRelationship[typeCode=RSON] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
condition | .outboundRelationship[typeCode=RSON].target |
use | n/a, CD |
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 |
origin | .participation[typeCode=ORG].role |
admitSource | n/a, CD |
reAdmission | n/a, CD |
dietPreference | n/a, CD |
specialCourtesy | n/a, CD |
specialArrangement | n/a, CD |
destination | .participation[typeCode=DST] |
dischargeDisposition | n/a, CD |
location | .participation[typeCode=LOC] |
id | n/a |
extension | n/a |
modifierExtension | N/A |
location | .role |
status | .role.statusCode |
physicalType | n/a, CD |
period | .time |
serviceProvider | .particiaption[typeCode=PFM].role |
partOf | .inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN] |
EncounterIMRI |
Encounter | |
identifier | PV1-19 |
use | N/A |
type | CE/CNE/CWE |
system | CX.4 / EI-2-4 |
value | CX.1 / EI.1 |
period | CX.7 + CX.8 |
assigner | CX.4 / (CX.4,CX.9,CX.10) |
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 |
class | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
type | CE/CNE/CWE |
serviceType | CE/CNE/CWE |
coding | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
system | C*E.3 |
version | C*E.7 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |
userSelected | Sometimes implied by being first |
coding (TWMedicalConsultationDepartmentSCT) | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
system | C*E.3 |
version | C*E.7 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |
userSelected | Sometimes implied by being first |
coding (TWMedicalTreatmentDepartmentSCT) | CE/CNE/CWE subset one of the sets of component 1-3 or 4-6 |
system | C*E.3 |
version | C*E.7 |
code | C*E.1 |
display | C*E.2 - but note this is not well followed |
userSelected | Sometimes implied by being first |
text | C*E.9. But note many systems use C*E.2 for this |
priority | CE/CNE/CWE |
subject | PID-3 |
episodeOfCare | PV1-54, PV1-53 |
participant | ROL |
type | CE/CNE/CWE |
period | ROL-5, ROL-6 (or maybe PRT-5) |
individual | ROL-4 |
appointment | SCH-1 / SCH-2 |
period | PV1-44, PV1-45 |
start | DR.1 |
end | DR.2 |
length | (PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes |
reasonCode | CE/CNE/CWE |
reasonReference | 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 ) |
diagnosis | |
condition | Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively. |
use | CE/CNE/CWE |
hospitalization | |
preAdmissionIdentifier | PV1-5 |
admitSource | CE/CNE/CWE |
reAdmission | CE/CNE/CWE |
dietPreference | CE/CNE/CWE |
specialCourtesy | CE/CNE/CWE |
specialArrangement | CE/CNE/CWE |
destination | PV1-37 |
dischargeDisposition | CE/CNE/CWE |
location | |
location | PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43 |
physicalType | CE/CNE/CWE |
serviceProvider | PL.6 & PL.1 |