<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://fhir.clevermed.com/StructureDefinition/Consent-BNet-Preg" />
  <name value="Consent-BNet-Preg" />
  <status value="draft" />
  <date value="2025-03-25T15:48:13.0118183Z" />
  <publisher value="Clevermed Ltd." />
  <contact>
    <name value="Clevermed BadgerNet Spine FHIR Team" />
    <telecom>
      <system value="email" />
      <value value="support@clevermed.com" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="This consent resource defines whether the pregnant person/woman has asked for their pregnancy record to not be shared by the BadgerNet Spine." />
  <copyright value="(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Consent" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Consent" />
  <derivation value="constraint" />
  <differential>
    <element id="Consent.status">
      <path value="Consent.status" />
      <short value="Indicates the current state of this consent resource" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.scope">
      <path value="Consent.scope" />
      <short value="Which of the four areas this resource covers" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.scope.coding.system">
      <path value="Consent.scope.coding.system" />
      <fixedUri value="http://terminology.hl7.org/CodeSystem/consentscope" />
    </element>
    <element id="Consent.scope.coding.code">
      <path value="Consent.scope.coding.code" />
      <fixedString value="patient-privacy" />
    </element>
    <element id="Consent.scope.coding.display">
      <path value="Consent.scope.coding.display" />
      <fixedString value="Privacy Consent" />
    </element>
    <element id="Consent.category">
      <path value="Consent.category" />
      <short value="Classification of the consent statement - for indexing/retrieval" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.category.coding.system">
      <path value="Consent.category.coding.system" />
      <fixedUri value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
    </element>
    <element id="Consent.category.coding.code">
      <path value="Consent.category.coding.code" />
      <fixedString value="ICOL" />
    </element>
    <element id="Consent.category.coding.display">
      <path value="Consent.category.coding.display" />
      <fixedString value="information collection" />
    </element>
    <element id="Consent.patient">
      <path value="Consent.patient" />
      <short value="Reference for the pregnant person/woman" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.provision.type">
      <path value="Consent.provision.type" />
      <short value="Action to take - permit or deny - when the rule conditions are met." />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.provision.data.meaning">
      <path value="Consent.provision.data.meaning" />
      <short value="How the resource reference is interpreted when testing consent restrictions." />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.provision.data.reference">
      <path value="Consent.provision.data.reference" />
      <short value="Reference to the episode of care that this consent relates to" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.extension:doNotShareReason">
      <path value="Consent.extension:doNotShareReason" />
      <short value="A reason provided for the do not share request. The extension URL is: https://fhir.clevermed.com/StuctureDefinition/Consent-doNotShareReason" />
      <definition value="" />
      <min value="1" />
      <max value="1" />
    </element>
  </differential>
</StructureDefinition>