DSTU2

This page is part of the FHIR Specification (v0.0.82: (v1.0.2: DSTU 1). 2). 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

6.4.8 6.9.8 Resource Resource DocumentReference - Mappings - Mappings

Mappings for the documentreference resource.

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

n/a n/a n/a n/a outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT'] .code .effectiveTime .participation[typeCode="LOC"].role[classCode="DSDLOC"].code
DocumentReference 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"]
    policyManager N/A - New participation type required     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"
    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
    confidentiality     securityLabel .confidentialityCode
    primaryLanguage .languageCode     content     mimeType .text.mediaType document.text
    format         attachment n/a document.text
    size .text.length         format     hash .text.integrityCheck document.text
    location .text.reference     context     service .text.reference outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']
        type         encounter n/a unique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct])
        address         event .code
        parameter         period .effectiveTime
            name         facilityType .participation[typeCode="LOC"].role[classCode="DSDLOC"].code
            value         practiceSetting .participation[typeCode="LOC"].role[classCode="DSDLOC"].code
    context         sourcePatientInfo .participation[typeCode="SBJ"].role[typeCode="PAT"]
        event         related ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct]
        period             identifier ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct] .id
        facilityType             ref ./outboundRelationship[typeCode="PERT" and isNormalActRelationship()] / target[isNormalAct].text.reference

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

.outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
DocumentReference
    masterIdentifier     masterIdentifier TXA-12-Unique Document Number TXA-12
    identifier     identifier TXA-16-Unique Document File Name? TXA-16?
    subject     subject PID-3-Patient ID List PID-3 (No standard way to define a Practitioner or Group subject in V2 HL7 v2 MDM message)
    type     type TXA-2-Document Type TXA-2
    class     class
    author     author TXA-9-Originator Code/Name TXA-9 (No standard way to indicate a Device in V2 HL7 v2 MDM message)
    custodian     custodian
    policyManager     authenticator TXA-10
    created TXA-6
    indexed
    authenticator     status TXA-10-Assigned Document Authenticator TXA-19
    created     docStatus TXA-6-Origination Date/Time TXA-17
    indexed     relatesTo
    status         code
TXA-19-Document Availability Status         target
    docStatus     description TXA-17-Document Completion Status TXA-25
    relatesTo     securityLabel TXA-18
    content
        code         attachment TXA-3 for mime type
        format
        target     context
    description         encounter
TXA-25-Document Title         event
    confidentiality         period
TXA-18-Document Confidentiality Status         facilityType
    primaryLanguage         practiceSetting
    mimeType         sourcePatientInfo
TXA-3-Document Content Presentation         related
    format             identifier
    size             ref

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

    hash DocumentReference
    location     masterIdentifier (Might include V2 TXA-16-Unique Document File Name or TXA-24-Folder Assignment) DocumentEntry.uniqueId
    service     identifier DocumentEntry.entryUUID
        type     subject DocumentEntry.patientId
        address     type DocumentEntry.type
    class DocumentEntry.class
    author DocumentEntry.author
    custodian
        parameter     authenticator DocumentEntry.legalAuthenticator
    created DocumentEntry.submissionTime
    indexed DocumentEntry.submissionTime
    status DocumentEntry status
    docStatus
            name     relatesTo
            value         code DocumentEntry Associations type
        target DocumentEntry Associations reference
    description DocumentEntry.description
    securityLabel DocumentEntry.confidentialityCode
    content
    context         attachment DocumentEntry.mimeType DocumentEntry.languageCode DocumentEntry.URI DocumentEntry.size DocumentEntry.hash DocumentEntry.title
        format DocumentEntry.formatCode
    context
        event         encounter
        period         event DocumentEntry.eventCodeList
        period DocumentEntry.serviceStartTime DocumentEntry.serviceStopTime
        facilityType DocumentEntry.healthcareFacilityTypeCode
        practiceSetting DocumentEntry.practiceSettingCode
        sourcePatientInfo DocumentEntry.sourcePatientInfo DocumentEntry.sourcePatientId
        related DocumentEntry.referenceIdList
            identifier
        facilityType             ref
var disqus_shortname = 'fhirdstu';(function() {var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus