臺灣次世代基因定序檢測實作指引
1.0.1 - ci-build

臺灣次世代基因定序檢測實作指引, published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/ngs/ and changes regularly. See the Directory of published versions

Resource Profile: CompositionTWNGS - Mappings

Active as of 2026-01-05

Mappings for the Composition-twngs resource profile.

Mappings to Structures in this Implementation Guide

NameMapping to TWNGS Compositiondoco
.. Composition
    ... id
      ... meta
        ... implicitRules
          ... 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
                                                                            ... section
                                                                              .... id
                                                                                .... extension
                                                                                  .... modifierExtension
                                                                                    .... title
                                                                                      .... code
                                                                                        .... author
                                                                                          .... focus
                                                                                            .... text
                                                                                              .... mode
                                                                                                .... orderedBy
                                                                                                  .... Slices for entry
                                                                                                  ..... entry:diagnosticReport
                                                                                                  ..... entry:condition
                                                                                                  ..... entry:gene-organization
                                                                                                  ..... entry:specimen
                                                                                                  ..... entry:device
                                                                                                  ..... entry:documentReference
                                                                                                  ..... entry:observation
                                                                                                  ..... entry:serviceRequest
                                                                                                  .... emptyReason
                                                                                                    .... section

                                                                                                      doco Documentation for this format

                                                                                                      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