<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="consent-item" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>
This FHIR DSTU2 Basic resource profile is used to describe categories of protected information (e.g. HIV-related, substance use disorder, domestic abuse) referenced by a privacy policy and subject to an electronic consent for disclosure. Each Basic resource represents a single assertion of a patient’s privacy/consent preferences based on a security label defined by the security-labels value set at http://hl7.org/fhir/ValueSet/security-labels.
</p>
    </div>
  </text>
  <url value="http://hl7.org/fhir/StructureDefinition/consent-item" />
  <name value="Protected Information Category" />
  <status value="draft" />
  <publisher value="TBD" />
  <contact>
    <name value="Ioana Singureanu" />
  </contact>
  <date value="2018-05-10T14:46:00-05:00" />
  <description value="This FHIR DSTU2 Basic resource profile is used to describe categories of protected information (e.g. HIV-related, substance use disorder, domestic abuse) referenced by a privacy policy and subject to an electronic consent for disclosure. Each Basic resource represents a single assertion of a patient’s privacy/consent preferences based on a security label defined by the security-labels value set at http://hl7.org/fhir/ValueSet/security-labels." />
  <copyright value="TBD" />
  <fhirVersion value="1.0.2" />
  <kind value="resource" />
  <constrainedType value="Basic" />
  <abstract value="false" />
  <base value="http://hl7.org/fhir/StructureDefinition/Basic" />
  <differential>
    <element>
      <path value="Basic" />
      <comments value="This is a profile of the Basic resource." />
      <min value="1" />
      <max value="1" />
    </element>
    <element>
      <path value="Basic.identifier" />
      <min value="0" />
      <max value="0" />
    </element>
    <element>
      <path value="Basic.code" />
      <definition value="Identifies a category of protected information using a security label." />
      <comments value="This data element identifies the category of protected information subject to disclosure using a security label from the security-labels value set at: http://hl7.org/fhir/ValueSet/security-labels." />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element>
      <path value="Basic.code.coding" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="extensible" />
        <description value="Security label value set: http://hl7.org/fhir/ValueSet/security-labels" />
        <valueSetUri value="http://hl7.org/fhir/ValueSet/security-labels" />
      </binding>
    </element>
    <element>
      <path value="Basic.code.coding.system" />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element>
      <path value="Basic.code.coding.version" />
      <min value="0" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element>
      <path value="Basic.code.coding.code" />
      <definition value="Code value" />
      <comments value="Code specifying a sensitive data category (e.g. PSY-psychiatry information sensitivity, HIV-HIV/AIDS information sensitivity, ETH-substance abuse information sensitivity)." />
      <min value="1" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element>
      <path value="Basic.code.coding.display" />
      <min value="0" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element>
      <path value="Basic.code.coding.userSelected" />
      <min value="0" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element>
      <path value="Basic.code.text" />
      <min value="0" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element>
      <path value="Basic.subject" />
      <min value="0" />
      <max value="0" />
    </element>
    <element>
      <path value="Basic.author" />
      <min value="0" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element>
      <path value="Basic.created" />
      <min value="0" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
  </differential>
</StructureDefinition>