DSTU2 STU 3 Candidate
This page is part of the FHIR Specification (v1.0.2: DSTU 2). The current version which supercedes this version is

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 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 . For a full list of available versions, see the Directory of published versions . Page versions: . Page versions: R5 R4B R4 R3 R2

6.9.8 6.10.8 Resource DocumentReference - Mappings Resource DocumentReference - Mappings

Mappings:

Mappings for the documentreference resource.

Mappings for the documentreference resource.

6.9.8.1 Mappings for RIM (http://hl7.org/v3) 6.10.8.1 Mappings for RIM (http://hl7.org/v3)

.id / .setId .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code .participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"] .target[classCode="DOC", moodCode="EVN"].id ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] .id ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct].text.reference
DocumentReference Document[classCode="DOC" and moodCode="EVN"] Document[classCode="DOC" and moodCode="EVN"]
    masterIdentifier .id
    identifier .id / .setId
    subject .participation[typeCode="SBJ"].role[typeCode="PAT"]
    type ./code
    class .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
    author .participation[typeCode="AUT"].role[classCode="ASSIGNED"]
    custodian .participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"]
    authenticator .participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"]
    created .effectiveTime[type="TS"]
    indexed .availabilityTime[type="TS"]
    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("ReviseDocument", code) and isNormalAct()]); amended: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and ./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseDocument", code) and isNormalAct() and statusCode="completed"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]="obsolete" 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("ReviseDocument", code) and isNormalAct()]); amended: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and ./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseDocument", code) and isNormalAct() and statusCode="completed"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]="obsolete"
    docStatus .statusCode
    relatesTo .outboundRelationship
        code .outboundRelationship.typeCode
        target .target[classCode="DOC", moodCode="EVN"].id
    description .outboundRelationship[typeCode="SUBJ"].target.text
    securityLabel .confidentialityCode
    content document.text
        attachment document.text
        format document.text
    context outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']
        encounter unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct]) unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct])
        event .code
        period .effectiveTime
        facilityType .participation[typeCode="LOC"].role[classCode="DSDLOC"].code
        practiceSetting .participation[typeCode="LOC"].role[classCode="DSDLOC"].code
        sourcePatientInfo .participation[typeCode="SBJ"].role[typeCode="PAT"]
        related ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct]
            identifier ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] .id
            ref ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct].text.reference

6.9.8.2 Mappings for HL7 v2 (http://hl7.org/v2) 6.10.8.2 Mappings for HL7 v2 (http://hl7.org/v2)

DocumentReference
    masterIdentifier TXA-12
    identifier TXA-16?
    subject PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message) PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)
    type TXA-2
    class
    author TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message) TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)
    custodian
    authenticator TXA-10
    created TXA-6
    indexed
    status TXA-19
    docStatus TXA-17
    relatesTo
        code
        target
    description TXA-25
    securityLabel TXA-18
    content
        attachment TXA-3 for mime type TXA-3 for mime type
        format
    context
        encounter
        event
        period
        facilityType
        practiceSetting
        sourcePatientInfo
        related
            identifier
            ref

6.9.8.3 Mappings for XDS (http://ihe.net/xds) 6.10.8.3 Mappings for XDS (http://ihe.net/xds)

DocumentReference
    masterIdentifier DocumentEntry.uniqueId
    identifier DocumentEntry.entryUUID
    subject DocumentEntry.patientId
    type DocumentEntry.type
    class DocumentEntry.class
    author DocumentEntry.author
    custodian
    authenticator DocumentEntry.legalAuthenticator
    created DocumentEntry.submissionTime
    indexed DocumentEntry.submissionTime
    status DocumentEntry status DocumentEntry status
    docStatus
    relatesTo
        code DocumentEntry Associations type DocumentEntry Associations type
        target DocumentEntry Associations reference DocumentEntry Associations reference
    description DocumentEntry.description
    securityLabel DocumentEntry.confidentialityCode
    content
        attachment DocumentEntry.mimeType DocumentEntry.languageCode DocumentEntry.URI DocumentEntry.size DocumentEntry.hash DocumentEntry.title DocumentEntry.mimeType DocumentEntry.languageCode DocumentEntry.URI DocumentEntry.size DocumentEntry.hash DocumentEntry.title
        format DocumentEntry.formatCode
    context
        encounter
        event DocumentEntry.eventCodeList
        period DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime
        facilityType DocumentEntry.healthcareFacilityTypeCode
        practiceSetting DocumentEntry.practiceSettingCode
        sourcePatientInfo DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId
        related DocumentEntry.referenceIdList
            identifier
            ref © HL7.org 2011+. FHIR DSTU2 (v1.0.2-7202) generated on Sat, Oct 24, 2015 07:43+1100. Links: Search