JohnMoehrke Consent with Segmented data
0.1.0-current - ci-build International flag

JohnMoehrke Consent with Segmented data, published by John Moehrke (himself). This guide is not an authorized publication; it is the continuous build for version 0.1.0-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/ConsentWithSegmentation/ and changes regularly. See the Directory of published versions

: Consent for treatment example - XML Representation

Page standards status: Informative

Raw xml | Download



<Consent xmlns="http://hl7.org/fhir">
  <id value="ex-consent-treat"/>
  <meta>
    <profile
             value="http://johnmoehrke.github.io/ConsentWithSegmentation/StructureDefinition/johnmoehrke.consentwithsegmentation.consenttreat"/>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
    </security>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Consent</b><a name="ex-consent-treat"> </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 Consent &quot;ex-consent-treat&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-johnmoehrke.consentwithsegmentation.consenttreat.html">Consent to allow use for treatment</a></p><p style="margin-bottom: 0px">Security Labels: <span title="{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></p></div><p><b>status</b>: active</p><p><b>category</b>: Consent <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://loinc.org/">LOINC</a>#59284-0)</span></p><p><b>subject</b>: <a href="Patient-ex-patient.html">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>date</b>: 2022-06-13</p><p><b>grantor</b>: <a href="Patient-ex-patient.html">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>grantee</b>: <a href="Organization-ex-organization.html">Organization/ex-organization</a> &quot;somewhere org&quot;</p><p><b>sourceReference</b>: <a href="DocumentReference-ex-documentreference.html">DocumentReference/ex-documentreference</a></p><h3>PolicyBases</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Url</b></td></tr><tr><td style="display: none">*</td><td><a href="http://example.org/policies/basePrivacyConsentPolicy.xacml">http://example.org/policies/basePrivacyConsentPolicy.xacml</a></td></tr></table><p><b>decision</b>: permit</p><h3>Provisions</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Purpose</b></td></tr><tr><td style="display: none">*</td><td>treatment (Details: http://terminology.hl7.org/CodeSystem/v3-ActReason code TREAT = 'treatment', stated as 'null'), healthcare payment (Details: http://terminology.hl7.org/CodeSystem/v3-ActReason code HPAYMT = 'healthcare payment', stated as 'null'), healthcare operations (Details: http://terminology.hl7.org/CodeSystem/v3-ActReason code HOPERAT = 'healthcare operations', stated as 'null')</td></tr></table></div>
  </text>
  <status value="active"/>
  <category>
    <coding>
      <system value="http://loinc.org"/>
      <code value="59284-0"/>
      <display value="Consent"/>
    </coding>
  </category>
  <subject>🔗 
    <reference value="Patient/ex-patient"/>
  </subject>
  <date value="2022-06-13"/>
  <grantor>🔗 
    <reference value="Patient/ex-patient"/>
  </grantor>
  <grantee>🔗 
    <reference value="Organization/ex-organization"/>
  </grantee>
  <sourceReference>🔗 
    <reference value="DocumentReference/ex-documentreference"/>
  </sourceReference>
  <policyBasis>
    <url value="http://example.org/policies/basePrivacyConsentPolicy.xacml"/>
  </policyBasis>
  <decision value="permit"/>
  <provision>
    <purpose>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="TREAT"/>
    </purpose>
    <purpose>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HPAYMT"/>
    </purpose>
    <purpose>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HOPERAT"/>
    </purpose>
  </provision>
</Consent>