<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2021-06-17T07:04:57.711+00:00" />
  </meta>
  <url value="http://example.org/fhir/StructureDefinition/Consent" />
  <name value="Consent" />
  <status value="draft" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Consent" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Consent" />
  <derivation value="constraint" />
  <differential>
    <element id="Consent">
      <path value="Consent" />
      <comment value="THIS HAS CHANGED ALOT SINCE STU3....&#xD;&#xA;&#xD;&#xA;Broadly, there are 3 key areas of consent for patients: Consent around sharing information (aka Privacy Consent Directive - Authorization to Collect, Use, or Disclose information), consent for specific treatment, or kinds of treatment, and general advance care directives." />
    </element>
    <element id="Consent.category">
      <path value="Consent.category" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.patient">
      <path value="Consent.patient" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.source[x]">
      <path value="Consent.source[x]" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>