DSTU2 FHIR Release 3 (STU)

This page is part of the FHIR Specification (v1.0.2: DSTU (v3.0.2: STU 2). 3). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2 R3 R2

Structured Documents Work Group Maturity Level : N/A Ballot Status : Informative Compartments : Device , Encounter , Patient , Practitioner , RelatedPerson

Mappings for the composition resource.

.confidentialityCode .code .effectiveTime .outboundRelationship[typeCode="SUBJ"].target
Composition Document[classCode="DOC" and moodCode="EVN" and isNormalAct()]
    identifier     identifier Document.id / Document.setId
    date .effectiveTime[type="TS"]     type ./code     class .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code     title ./title     status     status 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"
    confidentiality     type ./code
    subject     class .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
    subject .participation[typeCode="SBJ"].role[typeCode="PAT"]
    author     encounter unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct])
    date .effectiveTime[type="TS"]
    author .participation[typeCode="AUT"].role[classCode="ASSIGNED"]
    attester     title ./title
    confidentiality .confidentialityCode
    attester .participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"]
        mode         mode unique(./modeCode)
        time         time ./time[type="TS" and isNormalDatatype()]
        party         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()]
    custodian     custodian .participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"]
    event     relatesTo .outboundRelationship
outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']         code .outboundRelationship.typeCode
        code         target[x] .target[classCode="DOC", moodCode="EVN"].id
        period     event outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']
        detail         code .code
    encounter         period .effectiveTime
unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct])         detail .outboundRelationship[typeCode="SUBJ"].target
    section     section ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
        title         title ./title
        code         code ./code
        text         text .text
        mode         mode .outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
        orderedBy         orderedBy .outboundRelationship[typeCode=COMP].sequenceNumber > 1
        entry         entry .outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
        emptyReason         emptyReason .inboundRelationship[typeCode=SUBJ,code<{ListEmptyReason}].value[type=CD]
        section         section ./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
.effectiveTime .title .confidentialityCode .recordTarget .author.assignedAuthor .documentationOf.serviceEvent .code .effectiveTime .componentOf.encompassingEncounter
Composition ClinicalDocument
  (meta.profile)   (meta.profile) ClinicalDocument.templateId
  (language)   (language) ClinicalDocument.languageCode
    identifier     identifier .setId
    date     status n/a
    type     type .code
    class     class n/a
    title     subject .recordTarget
    status     encounter .componentOf.encompassingEncounter
n/a     date .effectiveTime
    confidentiality     author .author.assignedAuthor
    subject     title .title
    author     confidentiality .confidentialityCode
    attester     attester .authenticator/.legalAuthenticator
        mode         mode implied by .authenticator/.legalAuthenticator
        time         time .authenticator.time
        party         party .authenticator.assignedEnttty
    custodian     custodian .custodian.assignedCustodian
    event     relatesTo .relatedDocument
        code         code .relatedDocument.typeCode
        period         target[x] .relatedDocument.id
        detail     event .documentationOf.serviceEvent
n/a         code .code
    encounter         period .effectiveTime
    section         detail n/a
    section .component.structuredBody.component.section
        title         title .title
        code         code .code
        text         text .text
        mode         mode n/a
        orderedBy         orderedBy n/a
        entry         entry .entry
        emptyReason         emptyReason n/a
        section         section .component.section