{
  "resourceType" : "DocumentReference",
  "id" : "docref-fileconsent",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTDocumentReference"],
    "tag" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code" : "HTEST",
      "display" : "test health data"
    }]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference docref-fileconsent</b></p><a name=\"docref-fileconsent\"> </a><a name=\"hcdocref-fileconsent\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"file://D:\\GitHub\\rettema\\fhir-consent-management\\output/StructureDefinition-FASTDocumentReference.html\">FASTDocumentReference</a></p><p style=\"margin-bottom: 0px\">Tag: test health data (Details: ActReason code HTEST = 'test health data')</p></div><p><b>identifier</b>: <code>http://example.org/identifiers</code>/docref-fileconsent</p><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 64292-6}\">Release of information consent Document</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 57016-8}\">Privacy policy acknowledgment Document</span></p><p><b>subject</b>: <a href=\"Patient-patient-lara-miren.html\">Lara Miren (official) Female, DoB: 1980-01-01 ( http://example.org/identifiers#patient-lara-miren)</a></p><p><b>date</b>: 2025-08-01 00:00:00-0400</p><p><b>author</b>: <a href=\"Patient-patient-lara-miren.html\">Lara Miren (official) Female, DoB: 1980-01-01 ( http://example.org/identifiers#patient-lara-miren)</a></p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Data</b></td></tr><tr><td style=\"display: none\">*</td><td>text/plain; charset=utf-8</td><td><code>SSwgTGFyYSBNaXJlbiwgcGVybWl0IFJvYmVydCBNaXJlbiBhY2Nlc3MgdG8gbXkgbWVkaWNhbCByZWNvcmRzLg==</code></td></tr></table></blockquote></div>"
  },
  "identifier" : [{
    "system" : "http://example.org/identifiers",
    "value" : "docref-fileconsent"
  }],
  "status" : "current",
  "type" : {
    "coding" : [{
      "system" : "http://loinc.org",
      "code" : "64292-6"
    }]
  },
  "category" : [{
    "coding" : [{
      "system" : "http://loinc.org",
      "code" : "57016-8"
    }]
  }],
  "subject" : {
    "reference" : "Patient/patient-lara-miren",
    "identifier" : {
      "system" : "http://example.org/identifiers",
      "value" : "patient-lara-miren"
    }
  },
  "date" : "2025-08-01T00:00:00.000-04:00",
  "author" : [{
    "reference" : "Patient/patient-lara-miren",
    "identifier" : {
      "system" : "http://example.org/identifiers",
      "value" : "patient-lara-miren"
    }
  }],
  "content" : [{
    "attachment" : {
      "contentType" : "text/plain; charset=utf-8",
      "data" : "SSwgTGFyYSBNaXJlbiwgcGVybWl0IFJvYmVydCBNaXJlbiBhY2Nlc3MgdG8gbXkgbWVkaWNhbCByZWNvcmRzLg=="
    }
  }]
}