DSTU2 STU 3 Ballot
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.6.0: STU 3 Ballot 4). 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 2.37.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) 2.37.8.1 Mappings for RIM Mapping (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     masterIdentifier .id
    identifier     identifier .id / .setId
    subject     subject .participation[typeCode="SBJ"].role[typeCode="PAT"]
    type     type ./code
    class     class .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
    author     author .participation[typeCode="AUT"].role[classCode="ASSIGNED"]
    custodian     custodian .participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"]
    authenticator     authenticator .participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"]
    created     created .effectiveTime[type="TS"]
    indexed     indexed .availabilityTime[type="TS"]
    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("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     docStatus .statusCode
    relatesTo     relatesTo .outboundRelationship
        code         code .outboundRelationship.typeCode
        target         target .target[classCode="DOC", moodCode="EVN"].id
    description     description .outboundRelationship[typeCode="SUBJ"].target.text
    securityLabel     securityLabel .confidentialityCode
    content     content document.text
        attachment         attachment document.text
        format         format document.text
    context     context outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']
        encounter         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         event .code
        period         period .effectiveTime
        facilityType         facilityType .participation[typeCode="LOC"].role[classCode="DSDLOC"].code
        practiceSetting         practiceSetting .participation[typeCode="LOC"].role[classCode="DSDLOC"].code
        sourcePatientInfo         sourcePatientInfo .participation[typeCode="SBJ"].role[typeCode="PAT"]
        related         related ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct]
            identifier             identifier ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] .id
            ref             ref ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct].text.reference

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

DocumentReference
    masterIdentifier     masterIdentifier TXA-12
    identifier     identifier TXA-16?
    subject     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     type TXA-2
    class     class
    author     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     custodian
    authenticator     authenticator TXA-10
    created     created TXA-6
    indexed     indexed
    status     status TXA-19
    docStatus     docStatus TXA-17
    relatesTo     relatesTo
        code         code
        target         target
    description     description TXA-25
    securityLabel     securityLabel TXA-18
    content     content
        attachment         attachment TXA-3 for mime type TXA-3 for mime type
        format         format
    context     context
        encounter         encounter
        event         event
        period         period
        facilityType         facilityType
        practiceSetting         practiceSetting
        sourcePatientInfo         sourcePatientInfo
        related         related
            identifier             identifier
            ref             ref

6.9.8.3 Mappings for XDS (http://ihe.net/xds) 2.37.8.3 Mappings for XDS metadata equivalent (http://ihe.net/xds)

DocumentReference
    masterIdentifier     masterIdentifier DocumentEntry.uniqueId
    identifier     identifier DocumentEntry.entryUUID
    subject     subject DocumentEntry.patientId
    type     type DocumentEntry.type
    class     class DocumentEntry.class
    author     author DocumentEntry.author
    custodian     custodian
    authenticator     authenticator DocumentEntry.legalAuthenticator
    created     created DocumentEntry.submissionTime
    indexed     indexed DocumentEntry.submissionTime
    status     status DocumentEntry status DocumentEntry status
    docStatus     docStatus
    relatesTo     relatesTo
        code         code DocumentEntry Associations type DocumentEntry Associations type
        target         target DocumentEntry Associations reference DocumentEntry Associations reference
    description     description DocumentEntry.description
    securityLabel     securityLabel DocumentEntry.confidentialityCode
    content     content
        attachment         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         format DocumentEntry.formatCode
    context     context
        encounter         encounter
        event         event DocumentEntry.eventCodeList
        period         period DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime
        facilityType         facilityType DocumentEntry.healthcareFacilityTypeCode
        practiceSetting         practiceSetting DocumentEntry.practiceSettingCode
        sourcePatientInfo         sourcePatientInfo DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId
        related         related DocumentEntry.referenceIdList
            identifier             identifier
            ref             ref © HL7.org 2011+. FHIR DSTU2 (v1.0.2-7202) generated on Sat, Oct 24, 2015 07:43+1100. Links: Search | Version History | Table of Contents | Compare to DSTU1