Mappings for the Composition-eu-lab resource profile.
| 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 |
|
  Composition / id |
|
|
|
|
|
  Composition / meta |
|
|
|
|
|
  Composition / implicitRules |
|
|
|
|
|
  Composition / language |
|
|
|
|
|
  Composition / text |
|
Act.text? |
|
|
|
  Composition / contained |
|
N/A |
|
|
|
  Composition / Slices for extension |
|
|
|
|
|
   Composition / Slices for extension / extension:version |
|
|
|
|
|
    Composition / Slices for extension / extension:version / id |
|
n/a |
|
|
|
    Composition / Slices for extension / extension:version / extension |
|
|
|
|
|
    Composition / Slices for extension / extension:version / url |
|
N/A |
|
|
|
    Composition / Slices for extension / extension:version / value[x] |
|
N/A |
|
|
|
   Composition / Slices for extension / extension:informationRecipient |
|
|
|
|
|
    Composition / Slices for extension / extension:informationRecipient / id |
|
n/a |
|
|
|
    Composition / Slices for extension / extension:informationRecipient / extension |
|
|
|
|
|
    Composition / Slices for extension / extension:informationRecipient / url |
|
N/A |
|
|
|
    Composition / Slices for extension / extension:informationRecipient / value[x] |
|
N/A |
|
|
|
   Composition / Slices for extension / extension:diagnosticReport |
|
|
|
|
|
  Composition / modifierExtension |
|
N/A |
|
|
|
  Composition / identifier |
Event.identifier |
Document.id / Document.setId |
.setId |
DocumentReference.masterIdentifier |
FiveWs.identifier |
  Composition / 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 |
  Composition / type |
Event.code |
./code |
.code |
DocumentReference.type |
FiveWs.class |
  Composition / Slices for category |
Event.subject |
- .outboundRelationship[typeCode="COMP].target[classCode="LIST"
- moodCode="EVN"].code
|
n/a |
DocumenttReference.category |
FiveWs.class |
   Composition / Slices for category / category:studyType |
Event.subject |
- .outboundRelationship[typeCode="COMP].target[classCode="LIST"
- moodCode="EVN"].code
|
n/a |
DocumenttReference.category |
FiveWs.class |
   Composition / Slices for category / category:specialty |
Event.subject |
- .outboundRelationship[typeCode="COMP].target[classCode="LIST"
- moodCode="EVN"].code
|
n/a |
DocumenttReference.category |
FiveWs.class |
  Composition / subject |
|
.participation[typeCode="SBJ"].role[typeCode="PAT"] |
.recordTarget |
DocumentReference.subject |
FiveWs.subject |
  Composition / 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 |
  Composition / date |
Event.occurrence[x] |
.effectiveTime[type="TS"] |
.effectiveTime |
- DocumentReference.content.attachment.date
- DocumentReference.created
|
FiveWs.done[x] |
  Composition / author |
Event.performer |
.participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
.author.assignedAuthor |
DocumentReference.agent |
FiveWs.author |
  Composition / title |
|
./title |
.title |
- DocumentReference.description
- DocumentReference.content.attachment.title
|
|
  Composition / confidentiality |
|
.confidentialityCode |
.confidentialityCode |
DocumentReference.securityLabel |
|
  Composition / Slices for attester |
|
.participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"] |
.authenticator/.legalAuthenticator |
DocumentReference.authenticator |
|
   Composition / Slices for attester / attester:All Slices |
|
|
|
|
|
    Composition / Slices for attester / attester:All Slices / id |
|
n/a |
|
|
|
    Composition / Slices for attester / attester:All Slices / extension |
|
n/a |
|
|
|
    Composition / Slices for attester / attester:All Slices / modifierExtension |
|
N/A |
|
|
|
    Composition / Slices for attester / attester:All Slices / mode |
|
unique(./modeCode) |
implied by .authenticator/.legalAuthenticator |
|
|
    Composition / Slices for attester / attester:All Slices / time |
|
./time[type="TS" and isNormalDatatype()] |
.authenticator.time |
|
|
    Composition / Slices for attester / attester:All Slices / 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 |
   Composition / Slices for attester / attester:legalAuthenticator |
|
.participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"] |
.authenticator/.legalAuthenticator |
DocumentReference.authenticator |
|
    Composition / Slices for attester / attester:legalAuthenticator / id |
|
n/a |
|
|
|
    Composition / Slices for attester / attester:legalAuthenticator / extension |
|
n/a |
|
|
|
    Composition / Slices for attester / attester:legalAuthenticator / modifierExtension |
|
N/A |
|
|
|
    Composition / Slices for attester / attester:legalAuthenticator / mode |
|
unique(./modeCode) |
implied by .authenticator/.legalAuthenticator |
|
|
    Composition / Slices for attester / attester:legalAuthenticator / time |
|
./time[type="TS" and isNormalDatatype()] |
.authenticator.time |
|
|
    Composition / Slices for attester / attester:legalAuthenticator / 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 |
   Composition / Slices for attester / attester:validator |
|
.participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"] |
.authenticator/.legalAuthenticator |
DocumentReference.authenticator |
|
    Composition / Slices for attester / attester:validator / id |
|
n/a |
|
|
|
    Composition / Slices for attester / attester:validator / extension |
|
n/a |
|
|
|
    Composition / Slices for attester / attester:validator / modifierExtension |
|
N/A |
|
|
|
    Composition / Slices for attester / attester:validator / mode |
|
unique(./modeCode) |
implied by .authenticator/.legalAuthenticator |
|
|
    Composition / Slices for attester / attester:validator / time |
|
./time[type="TS" and isNormalDatatype()] |
.authenticator.time |
|
|
    Composition / Slices for attester / attester:validator / 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 |
  Composition / custodian |
|
.participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"] |
.custodian.assignedCustodian |
DocumentReference.custodian |
|
  Composition / relatesTo |
|
.outboundRelationship |
.relatedDocument |
DocumentReference.relatesTo |
|
   Composition / relatesTo / id |
|
n/a |
|
|
|
   Composition / relatesTo / extension |
|
n/a |
|
|
|
   Composition / relatesTo / modifierExtension |
|
N/A |
|
|
|
   Composition / relatesTo / code |
|
.outboundRelationship.typeCode |
.relatedDocument.typeCode |
DocumentReference.relatesTo.code |
|
   Composition / relatesTo / target[x] |
|
- .target[classCode="DOC"
- moodCode="EVN"].id
|
.relatedDocument.id |
DocumentReference.relatesTo.target |
|
  Composition / event |
|
outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT'] |
.documentationOf.serviceEvent |
DocumentReference.event |
|
   Composition / event / id |
|
n/a |
|
|
|
   Composition / event / extension |
|
n/a |
|
|
|
   Composition / event / modifierExtension |
|
N/A |
|
|
|
   Composition / event / code |
|
.code |
.code |
DocumentReference.event.code |
|
   Composition / event / period |
|
.effectiveTime |
.effectiveTime |
DocumentReference.event.period |
|
   Composition / event / detail |
|
.outboundRelationship[typeCode="SUBJ"].target |
n/a |
|
|
  Composition / Slices for section |
|
./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
.component.structuredBody.component.section |
|
|
   Composition / Slices for section / section:All Slices |
|
|
|
|
|
    Composition / Slices for section / section:All Slices / id |
|
n/a |
|
|
|
    Composition / Slices for section / section:All Slices / Slices for extension |
|
|
|
|
|
     Composition / Slices for section / section:All Slices / Slices for extension / extension:section-note |
|
|
|
|
|
    Composition / Slices for section / section:All Slices / modifierExtension |
|
N/A |
|
|
|
    Composition / Slices for section / section:All Slices / title |
|
./title |
.title |
|
|
    Composition / Slices for section / section:All Slices / code |
|
./code |
.code |
|
|
    Composition / Slices for section / section:All Slices / author |
|
.participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
.author.assignedAuthor |
|
FiveWs.author |
    Composition / Slices for section / section:All Slices / focus |
|
|
.subject? (CDA did not differentiate between subject and focus) |
|
|
    Composition / Slices for section / section:All Slices / text |
|
.text |
.text |
|
|
    Composition / Slices for section / section:All Slices / mode |
|
.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value |
n/a |
|
FiveWs.class |
    Composition / Slices for section / section:All Slices / orderedBy |
|
.outboundRelationship[typeCode=COMP].sequenceNumber > 1 |
n/a |
|
|
    Composition / Slices for section / section:All Slices / entry |
|
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
.entry |
|
|
    Composition / Slices for section / section:All Slices / emptyReason |
|
- .inboundRelationship[typeCode=SUBJ
- code<ListEmptyReason].value[type=CD]
|
n/a |
|
|
    Composition / Slices for section / section:All Slices / section |
|
./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
.component.section |
|
|
   Composition / Slices for section / section:annotations |
|
./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
.component.structuredBody.component.section |
|
|
    Composition / Slices for section / section:annotations / id |
|
n/a |
|
|
|
    Composition / Slices for section / section:annotations / Slices for extension |
|
|
|
|
|
    Composition / Slices for section / section:annotations / Slices for extension |
|
|
|
|
|
     Composition / Slices for section / section:annotations / Slices for extension / extension:section-note |
|
|
|
|
|
    Composition / Slices for section / section:annotations / modifierExtension |
|
N/A |
|
|
|
    Composition / Slices for section / section:annotations / title |
|
./title |
.title |
|
|
    Composition / Slices for section / section:annotations / code |
|
./code |
.code |
|
|
    Composition / Slices for section / section:annotations / author |
|
.participation[typeCode="AUT"].role[classCode="ASSIGNED"] |
.author.assignedAuthor |
|
FiveWs.author |
    Composition / Slices for section / section:annotations / focus |
|
|
.subject? (CDA did not differentiate between subject and focus) |
|
|
    Composition / Slices for section / section:annotations / text |
|
.text |
.text |
|
|
    Composition / Slices for section / section:annotations / mode |
|
.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value |
n/a |
|
FiveWs.class |
    Composition / Slices for section / section:annotations / orderedBy |
|
.outboundRelationship[typeCode=COMP].sequenceNumber > 1 |
n/a |
|
|
    Composition / Slices for section / section:annotations / entry |
|
.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ] |
.entry |
|
|
    Composition / Slices for section / section:annotations / emptyReason |
|
- .inboundRelationship[typeCode=SUBJ
- code<ListEmptyReason].value[type=CD]
|
n/a |
|
|
    Composition / Slices for section / section:annotations / section |
|
./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct] |
.component.section |
|
|
Documentation for this format |