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 Content Examples Formal Definitions Mappings Profiles 6.4.8 Resource Resource DocumentReference - Mappings - Mappings Mappings: RIM HL7 v2 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 © HL7.org 2011+. FHIR DSTU (v0.0.82.2943) generated on Tue, Sep 30, 2014 18:09+1000. Links: What's a DSTU? | Version History | | Propose a change 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 var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-676355-1']); _gaq.push(['_setDomainName', '.hl7.org']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();