DSTU2 Ballot Source

This page is part of the FHIR Specification (v0.5.0: DSTU 2 Ballot 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.10.8 Resource DocumentReference - Mappings

Mappings:

Mappings for the documentreference resource.

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

DocumentReferenceDocument[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
    formatn/a
    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"]
    statusinterim: .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
    confidentiality.confidentialityCode
    content
    contextoutboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']
        event.code
        period.effectiveTime
        facilityType.participation[typeCode="LOC"].role[classCode="DSDLOC"].code
        practiceSetting
        sourcePatientInfo
        related
            identifier
            ref

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

DocumentReference
    masterIdentifierTXA-12-Unique Document Number
    identifierTXA-16-Unique Document File Name?
    subjectPID-3-Patient ID List (No standard way to define a Practitioner or Group subject in V2 MDM message)
    typeTXA-2-Document Type
    class.outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
    format
    authorTXA-9-Originator Code/Name (No standard way to indicate a Device in V2 MDM message)
    custodian
    authenticatorTXA-10-Assigned Document Authenticator
    createdTXA-6-Origination Date/Time
    indexed
    statusTXA-19-Document Availability Status
    docStatusTXA-17-Document Completion Status
    relatesTo
        code
        target
    descriptionTXA-25-Document Title
    confidentialityTXA-18-Document Confidentiality Status
    content
    context
        event
        period
        facilityType
        practiceSetting
        sourcePatientInfo
        related
            identifier
            ref

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

DocumentReference
    masterIdentifierDocumentEntry.uniqueId
    identifierDocumentEntry.entryUUID
    subjectDocumentEntry.patientId
    typeDocumentEntry.type
    classDocumentEntry.class
    formatDocumentEntry.formatCode
    authorDocumentEntry.author
    custodian
    authenticatorDocumentEntry.legalAuthenticator
    createdDocumentEntry.submissionTime
    indexedDocumentEntry.submissionTime
    statusDocumentEntry status
    docStatus
    relatesTo
        codeDocumentEntry Associations type
        targetDocumentEntry Associations reference
    descriptionDocumentEntry.description
    confidentialityDocumentEntry.confidentialityCode
    contentDocumentEntry.mimeType
DocumentEntry.languageCode
DocumentEntry.URI
DocumentEntry.size
DocumentEntry.hash
DocumentEntry.title
    context
        eventDocumentEntry.eventCodeList
        periodDocumentEntry.serviceStartTime
DocumentEntry.serviceStopTime
        facilityTypeDocumentEntry.healthcareFacilityTypeCode
        practiceSettingDocumentEntry.practiceSettingCode
        sourcePatientInfoDocumentEntry.sourcePatientInfo
DocumentEntry.sourcePatientId
        related
            identifierDocumentEntry.referenceIdList
            ref