臺灣健保事前審查實作指引
1.1.0 - ci-build

臺灣健保事前審查實作指引, published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/pas/ and changes regularly. See the Directory of published versions

## Resource Profile: CompositionOpdTWPAS - Mappings

Active as of 2025-12-29

Mappings for the Composition-opd-twpas resource profile.

#### Mappings to Structures in this Implementation Guide

Name | Mapping to TWPAS Composition OPD
--- | ---
Composition |
id |
meta |
id |
extension |
versionId |
lastUpdated |
source |
profile |
security |
tag |
implicitRules |
language |
text |
contained |
extension |
modifierExtension |
identifier |
status |
type |
category |
subject |
encounter |
date |
author |
title |
confidentiality |
attester |
id |
extension |
modifierExtension |
mode |
time |
party |
custodian |
relatesTo |
id |
extension |
modifierExtension |
code |
target[x] |
event |
id |
extension |
modifierExtension |
code |
period |
detail |
Slices for section |
section:All Slices |
id |
extension |
modifierExtension |
title |
code |
author |
focus |
text |
mode |
orderedBy |
entry | ApplyImmModel.opd.subjective ApplyImmModel.opd.objective ApplyImmModel.opd.assessment ApplyImmModel.opd.plan
emptyReason |
section |
section:subjective |
id |
extension |
modifierExtension |
title |
code |
id |
extension |
coding |
id |
extension |
system |
version |
code |
display |
userSelected |
text |
author |
focus |
text |
mode |
orderedBy |
entry | ApplyImmModel.opd.subjective ApplyImmModel.opd.objective ApplyImmModel.opd.assessment ApplyImmModel.opd.plan
emptyReason |
section |
section:objective |
id |
extension |
modifierExtension |
title |
code |
id |
extension |
coding |
id |
extension |
system |
version |
code |
display |
userSelected |
text |
author |
focus |
text |
mode |
orderedBy |
entry | ApplyImmModel.opd.subjective ApplyImmModel.opd.objective ApplyImmModel.opd.assessment ApplyImmModel.opd.plan
emptyReason |
section |
section:assessment |
id |
extension |
modifierExtension |
title |
code |
id |
extension |
coding |
id |
extension |
system |
version |
code |
display |
userSelected |
text |
author |
focus |
text |
mode |
orderedBy |
entry | ApplyImmModel.opd.subjective ApplyImmModel.opd.objective ApplyImmModel.opd.assessment ApplyImmModel.opd.plan
emptyReason |
section |
section:plan |
id |
extension |
modifierExtension |
title |
code |
id |
extension |
coding |
id |
extension |
system |
version |
code |
display |
userSelected |
text |
author |
focus |
text |
mode |
orderedBy |
entry | ApplyImmModel.opd.subjective ApplyImmModel.opd.objective ApplyImmModel.opd.assessment ApplyImmModel.opd.plan
emptyReason |
section |
Documentation for this format

#### Mappings to other Structures

No Mappings Found

#### Other Mappings

Name | Workflow Pattern | RIM Mapping | CDA (R2) | FHIR DocumentReference | FiveWs Pattern Mapping
--- | --- | --- | --- | --- | ---
Composition | Event | Document[classCode="DOC" and moodCode="EVN" and isNormalAct()] | ClinicalDocument | when described by DocumentReference |
id |  |  |  |  |
meta |  |  |  |  |
id |  | n/a |  |  |
extension |  | n/a |  |  |
versionId |  |  |  |  |
lastUpdated |  |  |  |  |
source |  |  |  |  |
profile |  |  |  |  |
security |  |  |  |  |
tag |  |  |  |  |
implicitRules |  |  |  |  |
language |  |  |  |  |
text |  | Act.text? |  |  |
contained |  | N/A |  |  |
extension |  |  |  |  |
modifierExtension |  |  |  |  |
identifier | Event.identifier | Document.id / Document.setId | .setId | DocumentReference.masterIdentifier | FiveWs.identifier
status | Event.status | .completionCode="IN" & ./statusCode[isNormalDatatype()]="active"; final: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and not(./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseComposition" .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and ./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseComposition" .completionCode=NI && ./statusCode[isNormalDatatype()]="obsolete" | n/a | DocumentReference.status | FiveWs.status
type |  | CD |  |  |
category |  | CD |  |  |
subject |  | .participation[typeCode="SBJ"].role[typeCode="PAT"] | .recordTarget | DocumentReference.subject | FiveWs.subject
encounter | Event.context | unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()] priorityNumber)/target[moodCode="EVN" and classCode=("ENC" "PCPR") and isNormalAct]) | .componentOf.encompassingEncounter | DocumentReference.context.encounter | FiveWs.context
date | Event.occurrence[x] | .effectiveTime[type="TS"] | .effectiveTime | DocumentReference.content.attachment.date DocumentReference.created | FiveWs.done[x]
author | Event.performer | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] | .author.assignedAuthor | DocumentReference.agent | FiveWs.author
title |  | ./title | .title | DocumentReference.description DocumentReference.content.attachment.title |
confidentiality |  | .confidentialityCode | .confidentialityCode | DocumentReference.securityLabel |
attester |  | .participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"] | .authenticator/.legalAuthenticator | DocumentReference.authenticator |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
mode |  | unique(./modeCode) | implied by .authenticator/.legalAuthenticator |  |
time |  | ./time[type="TS" and isNormalDatatype()] | .authenticator.time |  |
party |  | ./role[classCode="ASSIGNED" and isNormalRole]/player[determinerCode="INST" and classCode=("DEV" "PSN") and isNormalEntity()] or ./role[classCode="ASSIGNED" and isNormalRole and not(player)]/scoper[determinerCode="INST" and classCode="ORG" and isNormalEntity()] | .authenticator.assignedEnttty |  | FiveWs.witness
custodian |  | .participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"] | .custodian.assignedCustodian | DocumentReference.custodian |
relatesTo |  | .outboundRelationship | .relatedDocument | DocumentReference.relatesTo |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
code |  | .outboundRelationship.typeCode | .relatedDocument.typeCode | DocumentReference.relatesTo.code |
target[x] |  | .target[classCode="DOC" moodCode="EVN"].id | .relatedDocument.id | DocumentReference.relatesTo.target |
event |  | outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT'] | .documentationOf.serviceEvent | DocumentReference.event |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
code |  | CD |  |  |
period |  | .effectiveTime | .effectiveTime | DocumentReference.event.period |
detail |  | .outboundRelationship[typeCode="SUBJ"].target | n/a |  |
Slices for section |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.structuredBody.component.section |  |
section:All Slices |  |  |  |  |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
title |  | ./title | .title |  |
code |  | CD |  |  |
author |  | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] | .author.assignedAuthor |  | FiveWs.author
focus |  |  | .subject? (CDA did not differentiate between subject and focus) |  |
text |  | .text | .text |  |
mode |  | .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value | n/a |  | FiveWs.class
orderedBy |  | CD |  |  |
entry |  | .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] | .entry |  |
emptyReason |  | CD |  |  |
section |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.section |  |
section:subjective |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.structuredBody.component.section |  |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
title |  | ./title | .title |  |
code |  | CD |  |  |
id |  | n/a |  |  |
extension |  |  |  |  |
coding |  | CV |  |  |
id |  | n/a |  |  |
extension |  |  |  |  |
system |  | ./codeSystem |  |  |
version |  | ./codeSystemVersion |  |  |
code |  | ./code |  |  |
display |  | CV.displayName |  |  |
userSelected |  | CD.codingRationale |  |  |
text |  | ./originalText[mediaType/code="text/plain"]/data |  |  |
author |  | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] | .author.assignedAuthor |  | FiveWs.author
focus |  |  | .subject? (CDA did not differentiate between subject and focus) |  |
text |  | .text | .text |  |
mode |  | .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value | n/a |  | FiveWs.class
orderedBy |  | CD |  |  |
entry |  | .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] | .entry |  |
emptyReason |  | CD |  |  |
section |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.section |  |
section:objective |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.structuredBody.component.section |  |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
title |  | ./title | .title |  |
code |  | CD |  |  |
id |  | n/a |  |  |
extension |  |  |  |  |
coding |  | CV |  |  |
id |  | n/a |  |  |
extension |  |  |  |  |
system |  | ./codeSystem |  |  |
version |  | ./codeSystemVersion |  |  |
code |  | ./code |  |  |
display |  | CV.displayName |  |  |
userSelected |  | CD.codingRationale |  |  |
text |  | ./originalText[mediaType/code="text/plain"]/data |  |  |
author |  | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] | .author.assignedAuthor |  | FiveWs.author
focus |  |  | .subject? (CDA did not differentiate between subject and focus) |  |
text |  | .text | .text |  |
mode |  | .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value | n/a |  | FiveWs.class
orderedBy |  | CD |  |  |
entry |  | .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] | .entry |  |
emptyReason |  | CD |  |  |
section |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.section |  |
section:assessment |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.structuredBody.component.section |  |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
title |  | ./title | .title |  |
code |  | CD |  |  |
id |  | n/a |  |  |
extension |  |  |  |  |
coding |  | CV |  |  |
id |  | n/a |  |  |
extension |  |  |  |  |
system |  | ./codeSystem |  |  |
version |  | ./codeSystemVersion |  |  |
code |  | ./code |  |  |
display |  | CV.displayName |  |  |
userSelected |  | CD.codingRationale |  |  |
text |  | ./originalText[mediaType/code="text/plain"]/data |  |  |
author |  | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] | .author.assignedAuthor |  | FiveWs.author
focus |  |  | .subject? (CDA did not differentiate between subject and focus) |  |
text |  | .text | .text |  |
mode |  | .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value | n/a |  | FiveWs.class
orderedBy |  | CD |  |  |
entry |  | .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] | .entry |  |
emptyReason |  | CD |  |  |
section |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.section |  |
section:plan |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.structuredBody.component.section |  |
id |  | n/a |  |  |
extension |  | n/a |  |  |
modifierExtension |  | N/A |  |  |
title |  | ./title | .title |  |
code |  | CD |  |  |
id |  | n/a |  |  |
extension |  |  |  |  |
coding |  | CV |  |  |
id |  | n/a |  |  |
extension |  |  |  |  |
system |  | ./codeSystem |  |  |
version |  | ./codeSystemVersion |  |  |
code |  | ./code |  |  |
display |  | CV.displayName |  |  |
userSelected |  | CD.codingRationale |  |  |
text |  | ./originalText[mediaType/code="text/plain"]/data |  |  |
author |  | .participation[typeCode="AUT"].role[classCode="ASSIGNED"] | .author.assignedAuthor |  | FiveWs.author
focus |  |  | .subject? (CDA did not differentiate between subject and focus) |  |
text |  | .text | .text |  |
mode |  | .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value | n/a |  | FiveWs.class
orderedBy |  | CD |  |  |
entry |  | .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] | .entry |  |
emptyReason |  | CD |  |  |
section |  | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] | .component.section |  |
Documentation for this format