This page is part of the 國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG) (v1.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Mappings for the CompositionTOTFA resource profile.
| CompositionTOTFA |
| Composition | Entity. Role, or Act, Document[classCode="DOC" and moodCode="EVN" and isNormalAct()] |
| meta | n/a, N/A |
| implicitRules | n/a |
| language | n/a |
| text | n/a, N/A, Act.text? |
| contained | Entity. Role, or Act, N/A |
| extension | n/a, N/A |
| modifierExtension | n/a, N/A |
| identifier | n/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], Document.id / Document.setId |
| status | n/a, interim: .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", code) and isNormalAct()]); amended: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and ./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseComposition", code) and isNormalAct() and statusCode="completed"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]="obsolete" |
| type | n/a, CD, ./code |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| category | n/a, CD, .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| subject | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode="SBJ"].role[typeCode="PAT"] |
| encounter | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct]) |
| date | n/a, .effectiveTime[type="TS"] |
| author | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
| title | n/a, ./title |
| confidentiality | n/a, .confidentialityCode |
| attester | n/a, .participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"] |
| id | n/a |
| extension | n/a, N/A |
| modifierExtension | n/a, N/A |
| mode | n/a, unique(./modeCode) |
| time | n/a, ./time[type="TS" and isNormalDatatype()] |
| party | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), ./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()] |
| custodian | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"] |
| relatesTo | n/a, .outboundRelationship |
| id | n/a |
| extension | n/a, N/A |
| modifierExtension | n/a, N/A |
| code | n/a, .outboundRelationship.typeCode |
| target[x] | n/a, .target[classCode="DOC", moodCode="EVN"].id |
| event | n/a, outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT'] |
| id | n/a |
| extension | n/a, N/A |
| modifierExtension | n/a, N/A |
| code | n/a, CD, .code |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| period | n/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], .effectiveTime |
| detail | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode="SUBJ"].target |
| section | n/a, ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
| id | n/a |
| extension | n/a, N/A |
| modifierExtension | n/a, N/A |
| title | n/a, ./title |
| code | n/a, CD, ./code |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| author | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
| focus | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity) |
| text | n/a, N/A, .text |
| mode | n/a, .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value |
| orderedBy | n/a, CD, .outboundRelationship[typeCode=COMP].sequenceNumber > 1 |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| entry | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
| emptyReason | n/a, CD, .inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD] |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| section | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
| section (ChargeItem) | n/a, ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
| id | n/a |
| extension | n/a, N/A |
| modifierExtension | n/a, N/A |
| title | n/a, ./title |
| code | n/a, CD, ./code |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| author | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
| focus | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity) |
| text | n/a, N/A, .text |
| mode | n/a, .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value |
| orderedBy | n/a, CD, .outboundRelationship[typeCode=COMP].sequenceNumber > 1 |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| entry | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
| emptyReason | n/a, CD, .inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD] |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| section | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
| section (Procedure) | n/a, ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
| id | n/a |
| extension | n/a, N/A |
| modifierExtension | n/a, N/A |
| title | n/a, ./title |
| code | n/a, CD, ./code |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| author | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
| focus | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity) |
| text | n/a, N/A, .text |
| mode | n/a, .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value |
| orderedBy | n/a, CD, .outboundRelationship[typeCode=COMP].sequenceNumber > 1 |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| entry | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
| emptyReason | n/a, CD, .inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD] |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| section | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
| section (Condition) | n/a, ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
| id | n/a |
| extension | n/a, N/A |
| modifierExtension | n/a, N/A |
| title | n/a, ./title |
| code | n/a, CD, ./code |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| author | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
| focus | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity) |
| text | n/a, N/A, .text |
| mode | n/a, .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value |
| orderedBy | n/a, CD, .outboundRelationship[typeCode=COMP].sequenceNumber > 1 |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| entry | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
| emptyReason | n/a, CD, .inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD] |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| section | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
| section (OrderSection) | n/a, ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
| id | n/a |
| extension | n/a, N/A |
| modifierExtension | n/a, N/A |
| title | n/a, ./title |
| code | n/a, CD, ./code |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| author | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
| focus | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity) |
| text | n/a, N/A, .text |
| mode | n/a, .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value |
| orderedBy | n/a, CD, .outboundRelationship[typeCode=COMP].sequenceNumber > 1 |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| entry | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
| entry (ChargeItem) | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
| entry (MedicationRequest) | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
| entry (Observation) | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
| entry (Procedure) | n/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
| emptyReason | n/a, CD, .inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD] |
| id | n/a |
| extension | n/a, N/A |
| coding | n/a, CV, union(., ./translation) |
| id | n/a |
| extension | n/a, N/A |
| system | n/a, ./codeSystem |
| version | n/a, ./codeSystemVersion |
| code | n/a, ./code |
| display | n/a, CV.displayName |
| userSelected | n/a, CD.codingRationale |
| text | n/a, ./originalText[mediaType/code="text/plain"]/data |
| section | ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |