MediRecords FHIR Implementation Guide
1.4.2 - release


: Example of Consent - JSON Representation

Raw json | Download

{
  "resourceType" : "Consent",
  "id" : "3f8b439e-b70a-42c3-81dd-23d463da2d72",
  "meta" : {
    "lastUpdated" : "2024-12-19T14:56:18Z",
    "profile" : [
      🔗 "https://fhir.medirecords.com/StructureDefinition/mr-consent"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Consent 3f8b439e-b70a-42c3-81dd-23d463da2d72</b></p><a name=\"3f8b439e-b70a-42c3-81dd-23d463da2d72\"> </a><a name=\"hc3f8b439e-b70a-42c3-81dd-23d463da2d72\"> </a><a name=\"3f8b439e-b70a-42c3-81dd-23d463da2d72-en-US\"> </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\">Last updated: 2024-12-19 14:56:18+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-consent.html\">MR Consent</a></p></div><p><b>MR Comment Note Extension</b>: Consent given by the patient to the hospital to use their data for care and research purposes.</p><p><b>Consent source reference extension</b>: <a href=\"DocumentReference-8184d9d5-ee48-4985-98c0-74a50e77800e.html\">DocumentReference: status = current; docStatus = final; type = Consent Document; category = Consent Document; date = 2017-12-17 14:56:18+0000</a></p><p><b>Consent source reference extension</b>: <a href=\"Bundle-1157b99e-b6f7-40cd-8349-a536e42456ae.html#DocumentReference_5bcb2a5c-b7a8-4619-aabe-955176c1a04c\">Bundle: type = collection</a></p><p><b>status</b>: Active</p><p><b>scope</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/consentscope research}\">Research</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 59284-0}\">Patient Consent</span></p><p><b>patient</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Mila Female, DoB: 1990-11-29 ( Medicare Number:\u00a032788511952\u00a0(,\u00a0period:\u00a0(?) --&gt; 2025-02))</a></p><p><b>performer</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Mila Female, DoB: 1990-11-29 ( Medicare Number:\u00a032788511952\u00a0(,\u00a0period:\u00a0(?) --&gt; 2025-02))</a></p><p><b>policyRule</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode OPTIN}\">opt-in</span></p><h3>Provisions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td>Opt In</td><td>2024-12-19 --&gt; (ongoing)</td></tr></table></div>"
  },
  "extension" : [
    {
      "url" : "https://fhir.medirecords.com/StructureDefinition/mr-comment-note-ext",
      "valueString" : "Consent given by the patient to the hospital to use their data for care and research purposes."
    },
    {
      "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.sourceReference",
      "valueReference" : {
        🔗 "reference" : "DocumentReference/8184d9d5-ee48-4985-98c0-74a50e77800e"
      }
    },
    {
      "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.sourceReference",
      "valueReference" : {
        "reference" : "DocumentReference/5bcb2a5c-b7a8-4619-aabe-955176c1a04c"
      }
    }
  ],
  "status" : "active",
  "scope" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
        "code" : "research",
        "display" : "Research"
      }
    ],
    "text" : "Research"
  },
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://loinc.org",
          "code" : "59284-0",
          "display" : "Patient Consent"
        }
      ],
      "text" : "Patient Consent"
    }
  ],
  "patient" : {
    🔗 "reference" : "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"
  },
  "performer" : [
    {
      🔗 "reference" : "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c"
    }
  ],
  "policyRule" : {
    "coding" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "OPTIN",
        "display" : "opt-in"
      }
    ]
  },
  "provision" : {
    "type" : "permit",
    "period" : {
      "start" : "2024-12-19"
    }
  }
}