<DocumentReference xmlns="http://hl7.org/fhir">
  <id value="example-documentreference-ca-core" />
  <meta>
    <profile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/documentreference-ca-core" />
  </meta>
  <identifier>
    <system value="http://example.ca/NamingSystem/DocumentReference" />
    <value value="DOC123456" />
  </identifier>
  <status value="current" />
  <type>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="773590002" />
      <display value="Dietetic care plan (record artifact)" />
    </coding>
  </type>
  <subject>
    <reference value="example-patient-ca-core" />
  </subject>
  <date value="2024-03-27T10:00:00-07:00" />
  <author>
    <reference value="example-practitioner-ca-core" />
    <identifier>
      <system value="http://example.ca/NamingSystem/Practitioner" />
      <value value="PR123456" />
    </identifier>
  </author>
  <custodian>
    <reference value="Organization/example-organization-ca-core" />
  </custodian>
  <content>
    <attachment>
      <contentType value="application/pdf" />
      <language value="en-CA" />
      <data value="ZmFrZSByZXBvcnQ=" />
      <url value="http://example.org/documents/diabetes-care-plan.pdf" />
      <title value="Dietetic Care Plan" />
    </attachment>
  </content>
  <context>
    <related>
      <reference value="FamilyMemberHistory/example-familymemberhistory-ca-core" />
      <identifier>
        <system value="http://example.ca/NamingSystem/FamilyMemberHistory" />
        <value value="COND123456" />
      </identifier>
    </related>
  </context>
</DocumentReference>