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

Mappings:

Mappings for the documentreference resource.

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

DocumentReference 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"]
    policyManager N/A - New participation type required
    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"
    docStatus .statusCode
    relatesTo .outboundRelationship
        code .outboundRelationship.typeCode
        target .target[classCode="DOC", moodCode="EVN"].id
    description .outboundRelationship[typeCode="SUBJ"].target.text
    confidentiality .confidentialityCode
    primaryLanguage .languageCode
    mimeType .text.mediaType
    format n/a
    size .text.length
    hash .text.integrityCheck
    location .text.reference
    service .text.reference
        type n/a
        address n/a
        parameter n/a
            name n/a
            value n/a
    context outboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']
        event .code
        period .effectiveTime
        facilityType .participation[typeCode="LOC"].role[classCode="DSDLOC"].code

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

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

comments powered by Disqus