Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example DocumentReference/example-diagram (XML)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Generic Diagram Image (id = "example-diagram")

<?xml version="1.0" encoding="UTF-8"?>

<DocumentReference xmlns="http://hl7.org/fhir">
  <id value="example-diagram"/> 
  <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><p> <b> Generated Narrative: DocumentReference</b> <a name="example-diagram"> </a> </p> <div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px
       solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource DocumentReference &quot;example-diagram&quot; </p> </div> <p> <b> status</b> : current</p> <p> <b> type</b> : Image <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (media-type#image)</span> </p> <p> <b> subject</b> : <span title="  don't have this codesystem in DocumentReference, could be brought into the event codes.
  &lt;modality&gt;
    &lt;coding&gt;
      &lt;system value=&quot;http://terminology.hl7.org/CodeSystem/media-modality&quot;/&gt;
      &lt;code value=&quot;diagram&quot;/&gt;
    &lt;/coding&gt;
  &lt;/modality&gt;
   "><a href="patient-example-xcda.html">Patient/xcda</a>  &quot;Henry LEVIN&quot;</span> </p> <p> <b> date</b> : 18/12/2017 1:56:18 AM</p> <p> <b> author</b> : </p> <ul> <li> <a href="practitioner-example-xcda-author.html">Practitioner/xcda-author</a>  &quot;Harold HIPPOCRATES&quot;</li> <li> <span> : Acme Camera</span> </li> </ul> <blockquote> <p> <b> content</b> </p> <h3> Attachments</h3> <table class="grid"><tr> <td> -</td> <td> <b> ContentType</b> </td> <td> <b> Data</b> </td> <td> <b> Creation</b> </td> <td> <b> Height</b> </td> <td> <b> Width</b> </td> <td> <b> Frames</b> </td> </tr> <tr> <td> *</td> <td> image/gif</td> <td> R0lGODlhfgCRAPcAAAAAAIAAAACAAICAAAAAgIAAgACAgICAgMDAwP8AAAD/AP//AAAA//8A/wD//////wAAAAAAAAAAAAAAAAAA
              AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMwAAZgAAmQAAzAAA/
              wAzAAAzMwAzZgAzmQAzzAAz/wBmAABmMwBmZgBmmQBmzABm/wCZAACZMwCZZgCZmQCZzACZ/wDMAADMMwDMZgDMmQDMzADM/wD/AA
              D/MwD/ZgD/mQD/zAD//zMAADMAMzMAZjMAmTMAzDMA/zMzADMzMzMzZjMzmTMzzDMz/zNmADNmMzNmZjNmmTNmzDNm/zOZADOZMzO
              ZZjOZmTOZzDOZ/zPMADPMMzPMZjPMmTPMzDPM/zP/ADP/MzP/ZjP/mTP/zDP//2YAAGYAM2YAZmYAmWYAzGYA/2YzAGYzM2YzZmYz
              mWYzzGYz/2ZmAGZmM2ZmZmZmmWZmzGZm/2aZAGaZM2aZZmaZmWaZzGaZ/2bMAGbMM2bMZmbMmWbMzGbM/2b/AGb/M2b/Zmb/mWb/z
              Gb//5kAAJkAM5kAZpkAmZkAzJkA/5kzAJkzM5kzZpkzmZkzzJkz/5lmAJlmM5lmZplmmZlmzJlm/5mZAJmZM5mZZpmZmZmZzJmZ/5
              nMAJnMM5nMZpnMmZnMzJnM/5n/AJn/M5n/Zpn/mZn/zJn//8wAAMwAM8wAZswAmcwAzMwA/8wzAMwzM8wzZswzmcwzzMwz/8xmAMx
              mM8xmZsxmmcxmzMxm/8yZAMyZM8yZZsyZmcyZzMyZ/8zMAMzMM8zMZszMmczMzMzM/8z/AMz/M8z/Zsz/mcz/zMz///8AAP8AM/8A
              Zv8Amf8AzP8A//8zAP8zM/8zZv8zmf8zzP8z//9mAP9mM/9mZv9mmf9mzP9m//+ZAP+ZM/+ZZv+Zmf+ZzP+Z///MAP/MM//MZv/Mm
              f/MzP/M////AP//M///Zv//mf//zP///yH5BAEAABAALAAAAAB+AJEAQAj/AP8JHEiwoMGDCBMqXMiwocOHECNKnEixosWLGFHAck
              aN2jRnsKZhHEmy5EMU0+L5EseNG654KEzKnGkShbN4uFq2xOWRps+fE5nEy6Wz5a+XQJMqTeisGdGiLuNRi7m0qlJn06iF7LhxKoq
              vX2FpnRYSq1eBX62qRYhCKzWzZDeK3bqR7NSsb99uddZ2r1ZnINuanbrWp82tb8ly/Bjya1aOKOu+5ZgXZFa7sARzBMl5a9rCJDl2
              9ejxMuDKeb3mJYsSa93GIOW61QgWbEjQGStbrru7o2K3dkXjBUz242WUbj0u9vj1b2KquCn27Rq7I1+9nBkn7gySK/HBnFd3/y8bU
              izf6CM76s0qduxp0pvN23UrOnF7zB7nWiaMXuZhvGJNoxhjpr3G3WMfJfdbgtD1p1RbxgkHX3uUbeYbdli5dp6DHHbo4YcghijiiC
              SWeJJGrJloIkoqPeXLNA2q+GFHm+yUSzzxiCQjiG3hVFQuN+74IQry4JSTTjfCImSHyE1TyS9I+iJPZkv21ySE+bE31VTjhZfZfhm
              2V+VJXLH3WH70MfZVeKfF9Z1inv3mXldjEiTYmX9tpVhkXrW1JpfX6bVdnosh19xGINVpk3JydafYZjC6RhqMNlHa11u0aQbjl/mV
              JaB1McrY16eSSeYle2AmqGp5wIl1KVxj+f8WIDV1/iOYVote5lt4eZUn6WsI+kZgp6iVxV+tAs064aqUebdraW55GqZ2AiIWKrIHQ
              ahfo3bBeaZ5zq1q17XYMoQleQt+Jxt56jXrarnwxivvvPTWa++9TJYlGrn4+kdNPJv4kksz92zY709ExqPJkbncw+/BI9mEDy4Mx+
              MMxD/9+xQ3m+RIK8Yz2STPkS11s8nFIMvEhDw1FoVLxynLdI9KR+bUMMoxR+yML1BxIyWMOY+0kTxQuizVw0E3hOJjBTe9UYO1fZZ
              0Qlga59hYvgLX3W7GWo20vLWV5uqjlHZUaVcDbukuZVTe29poqNYnZ2ZzrdbV0hRmdZh9dX3/raKv5MknG19YVojmVPIJmtlwhBpX
              bq4V6trd1VhV6t5jfM6XWWVzaRmZ3yO+3WaAi3XGFZfP2vRnYogLp+tec4Ee4qLZ3dfV3XXpHanZMHJVd6WsucprXJiOyaZ+iaH60
              aJ1JxirRoCF5WdmfnqlJ9uUVdma1m7CvTe74mHWLSyNgft6nmaDNSZy5o1mHvPWadW+aN9luVxglpnVeXF6Kxr/88MhX3wcJZsBuS
              81uDpc+5KDM0VBr3SlAQx1LBSSy1AHT2iSS1u2E6DYwUtbGTQOacj3mPGg6TeSEZBrWAUnyMzrbVk6XVyKsxgCwW0/62GMhVKErw1
              2S1D5S0185RQnn8XQxYUx45NyNOe87gCRPubZj+xeaB+smIl+yllirChoxKmhxExoK1Cv0BSftAVmamhMoxrXyMY2uvGNcIyjHOeo
              xkXBh44OOZdn8Ggu+DiPjwtJ2CZyUomCTRGOKJFHLljiEnkc8o0Sy0U3WpILoAGSLf9qmc86ckmE/MtHOfEFVjp5EGfc40jieAlgS
              FmQL27sF/GQx8dYiRaP8EwnL9ERLW1lS5L5whfxyMcubaWworVEHIX0xzBRcI9NMBJJ9xgmMTW5E19QQ5m0tAlOjOkzeeiSlcwcJF
              SAeSxSomRjuDT/2y6ncQ9fkMwozMkmVhRWlFTGk5T5sAlgaCawjjWjnJcEYoYWRJU/CUdqbQSXbNYEGRQZjj630qAXO7MmRJ3pOq6
              5DOOiBaqghaVya4sUcrKYn+ugay+PXFJzgiOesGWISx3sFfRoaEHCqY9ePmzUpCoTnN5JyobF8lx9zJJSEZlqWNK6D0artaDWsY4z
              OV2NVj5olq2VVIvCQ1GsjKURBSnnbCJkFbzihxdSqYc1MAyhZZBDPwZ1sKygKiqTHsOqPGFOL8JrX7cgxBmiYk2LagKo9uQ3LKv2z
              jGcMlbsVLUvI2YRUf+Z5fq2GqzRqO04Z2POlyo4m7KGB3oXsmSd/2Llps7Mh6mVK84FtQW9qllnccLJkFythBgUyo2FAlzTgMIyqE
              CVDkZltSgSB6unZ8Vwc9jZHKUIJ8Ll8YkvkmLUa3koJPaFdoGeK2Ln9KI6S4GFVMsDV31eM1vQqPZT+uMpcJYY2/V89y9+0tuoKuq
              p8mhvfKnx7NNI95fiCIpx1Nmchrj1VbaWtzAOdSLr6MLX+5VHPx+BVIVQdLuXKk8v2pMg69wzFodez0x/Fa+37tQ4CcbnwAge6Icb
              g9Ww6gpAALLrXer20mKhuDDGoWlg/Aveq8InizQsjwq7GkQEEVVRsWHQYYIYQ+cFK00G4o1webxWZEEIsVAEznmH6N1Y4eiUNJaLa
              Rex9UVfwWlSJCRhr+AiZElZsYZoi5xg12eqp3buNEJm3LRQBcTeSZUx8/pLdk53w9p6CYKE/p+J83NjJuUPeemq71bbqrjTkTEvjf
              aQDyFFnXbJr1lshqIKnaja4uHrtWEa4beqRZpJpXcvy3kaxhxD6U/NqaQ0xCr6jJhpFUlYPVl01HrsI8JYPSdpoCXhEG2YUVzrqT2
              mzpkSKVRAG955u3SJdhITZ766KosyNjQOnZAt6F3d7oQJ+inaJNPrHUXt3fCOt7ylSe962/ve+M63vvkYEAA7</td> <td> <span title="  the date this image was created  ">2009-09-03</span> </td> <td> 145</td> <td> 126</td> <td> 1</td> </tr> </table> </blockquote> </div> </text> <status value="current"/> 
  <type> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/media-type"/> 
      <code value="image"/> 
      <display value="Image"/> 
    </coding> 
  </type> 
<!--    don't have this codesystem in DocumentReference, could be brought into the event codes.
  <modality>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/media-modality"/>
      <code value="diagram"/>
    </coding>
  </modality>
     -->
  <subject> 
    <reference value="Patient/xcda"/> 
  </subject> 
  <date value="2017-12-17T14:56:18Z"/> 
  <author> 
    <reference value="Practitioner/xcda-author"/> 
  </author> 
  <author> 
    <display value="Acme Camera"/> 
  </author> 
  <content id="a1">
    <attachment> 
    <contentType value="image/gif"/> 
    <data value="R0lGODlhfgCRAPcAA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EAABAALAAAAAB+AJEAQAj/AP8JHEiwoMGDCBMqXMiwocOHECNKnEixosWLGFHAck
      aN2jRnsKZhHEmy5EMU0+L5EseNG654KEzKnGkShbN4uFq2xOWRps+fE5nEy6Wz5a+XQJMqTeisGdGiLuNRi7m0qlJn06iF7LhxKoq
      vX2FpnRYSq1eBX62qRYhCKzWzZDeK3bqR7NSsb99uddZ2r1ZnINuanbrWp82tb8ly/Bjya1aOKOu+5ZgXZFa7sARzBMl5a9rCJDl2
      9ejxMuDKeb3mJYsSa93GIOW61QgWbEjQGStbrru7o2K3dkXjBUz242WUbj0u9vj1b2KquCn27Rq7I1+9nBkn7gySK/HBnFd3/y8bU
      izf6CM76s0qduxp0pvN23UrOnF7zB7nWiaMXuZhvGJNoxhjpr3G3WMfJfdbgtD1p1RbxgkHX3uUbeYbdli5dp6DHHbo4YcghijiiC
      SWeJJGrJloIkoqPeXLNA2q+GFHm+yUSzzxiCQjiG3hVFQuN+74IQry4JSTTjfCImSHyE1TyS9I+iJPZkv21ySE+bE31VTjhZfZfhm
      2V+VJXLH3WH70MfZVeKfF9Z1inv3mXldjEiTYmX9tpVhkXrW1JpfX6bVdnosh19xGINVpk3JydafYZjC6RhqMNlHa11u0aQbjl/mV
      JaB1McrY16eSSeYle2AmqGp5wIl1KVxj+f8WIDV1/iOYVote5lt4eZUn6WsI+kZgp6iVxV+tAs064aqUebdraW55GqZ2AiIWKrIHQ
      ahfo3bBeaZ5zq1q17XYMoQleQt+Jxt56jXrarnwxivvvPTWa++9TJYlGrn4+kdNPJv4kksz92zY709ExqPJkbncw+/BI9mEDy4Mx+
      MMxD/9+xQ3m+RIK8Yz2STPkS11s8nFIMvEhDw1FoVLxynLdI9KR+bUMMoxR+yML1BxIyWMOY+0kTxQuizVw0E3hOJjBTe9UYO1fZZ
      0Qlga59hYvgLX3W7GWo20vLWV5uqjlHZUaVcDbukuZVTe29poqNYnZ2ZzrdbV0hRmdZh9dX3/raKv5MknG19YVojmVPIJmtlwhBpX
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koJPaFdoGeK2Ln9KI6S4GFVMsDV31eM1vQqPZT+uMpcJYY2/V89y9+0tuoKuq
      p8mhvfKnx7NNI95fiCIpx1Nmchrj1VbaWtzAOdSLr6MLX+5VHPx+BVIVQdLuXKk8v2pMg69wzFodez0x/Fa+37tQ4CcbnwAge6Icb
      g9Ww6gpAALLrXer20mKhuDDGoWlg/Aveq8InizQsjwq7GkQEEVVRsWHQYYIYQ+cFK00G4o1webxWZEEIsVAEznmH6N1Y4eiUNJaLa
      Rex9UVfwWlSJCRhr+AiZElZsYZoi5xg12eqp3buNEJm3LRQBcTeSZUx8/pLdk53w9p6CYKE/p+J83NjJuUPeemq71bbqrjTkTEvjf
      aQDyFFnXbJr1lshqIKnaja4uHrtWEa4beqRZpJpXcvy3kaxhxD6U/NqaQ0xCr6jJhpFUlYPVl01HrsI8JYPSdpoCXhEG2YUVzrqT2
      mzpkSKVRAG955u3SJdhITZ766KosyNjQOnZAt6F3d7oQJ+inaJNPrHUXt3fCOt7ylSe962/ve+M63vvkYEAA7"/> 
    <!--    the date this image was created    -->
    <creation value="2009-09-03"/> 
      <height value="145"/> 
      <width value="126"/> 
      <frames value="1"/> 
      </attachment> 
  </content> 
</DocumentReference> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.