臺灣次世代基因定序檢測實作指引
1.0.0 - STU1.0.0

This page is part of the 臺灣次世代基因定序檢測實作指引 (v1.0.0: STU1.0.0) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: CompositionTWNGS - Mappings

Active as of 2025-07-22

Mappings for the Composition-twngs resource profile.

Mappings to Structures in this Implementation Guide

No Mappings Found

Mappings to other Structures

No Mappings Found

Other Mappings

NameWorkflow PatternRIM MappingCDA (R2)FHIR DocumentReferenceFiveWs Pattern Mappingdoco
.. Composition
Event
Document[classCode="DOC" and moodCode="EVN" and isNormalAct()]
ClinicalDocument
when described by DocumentReference
... id
... meta
... implicitRules
... 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
... section
./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
.... 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
.... Slices for entry
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
.entry
..... entry:diagnosticReport
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
.entry
..... entry:condition
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
.entry
..... entry:gene-organization
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
.entry
..... entry:specimen
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
.entry
..... entry:device
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
.entry
..... entry:documentReference
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
.entry
..... entry:observation
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
.entry
..... entry:serviceRequest
.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

doco Documentation for this format