<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2017-12-20T15:18:46.428+01:00" />
  </meta>
  <url value="http://clinicalsite.org/fhir/StructureDefinition/consent-soa" />
  <name value="consent-soa" />
  <status value="draft" />
  <date value="2017-12-20T09:33:30.302+01:00" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Consent" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Consent" />
  <derivation value="constraint" />
  <snapshot />
  <differential>
    <element id="Consent.identifier">
      <path value="Consent.identifier" />
      <max value="0" />
    </element>
    <element id="Consent.status">
      <path value="Consent.status" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.category">
      <path value="Consent.category" />
      <max value="0" />
      <mustSupport value="false" />
    </element>
    <element id="Consent.category.coding">
      <path value="Consent.category.coding" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Consent.category.coding.system">
      <path value="Consent.category.coding.system" />
      <min value="1" />
      <fixedUri value="http://hl7.org/fhir/consentcategorycodes" />
    </element>
    <element id="Consent.category.coding.code">
      <path value="Consent.category.coding.code" />
      <min value="1" />
      <fixedCode value="RESEARCH" />
    </element>
    <element id="Consent.patient">
      <path value="Consent.patient" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.dateTime">
      <path value="Consent.dateTime" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.consentingParty">
      <path value="Consent.consentingParty" />
      <max value="0" />
    </element>
    <element id="Consent.actor">
      <path value="Consent.actor" />
      <max value="0" />
    </element>
    <element id="Consent.action">
      <path value="Consent.action" />
      <max value="0" />
    </element>
    <element id="Consent.organization">
      <path value="Consent.organization" />
      <max value="0" />
    </element>
    <element id="Consent.source[x]">
      <path value="Consent.source[x]" />
      <max value="0" />
    </element>
    <element id="Consent.policy">
      <path value="Consent.policy" />
      <max value="0" />
    </element>
    <element id="Consent.policyRule">
      <path value="Consent.policyRule" />
      <max value="0" />
    </element>
    <element id="Consent.securityLabel">
      <path value="Consent.securityLabel" />
      <max value="0" />
    </element>
    <element id="Consent.purpose">
      <path value="Consent.purpose" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="code" />
        </discriminator>
        <description value="Any Consent Resource must have one of the following purposes:&#xD;&#xA;- preclinical trial research&#xD;&#xA;- clinical trial research without patient care or&#xD;&#xA;- clinical trial research with patient care" />
        <rules value="closed" />
      </slicing>
      <min value="1" />
      <max value="1" />
    </element>
    <element id="Consent.purpose:screeningConsent">
      <path value="Consent.purpose" />
      <sliceName value="screeningConsent" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.purpose:screeningConsent.system">
      <path value="Consent.purpose.system" />
      <min value="1" />
      <fixedUri value="http://hl7.org/fhir/v3/ActReason" />
    </element>
    <element id="Consent.purpose:screeningConsent.code">
      <path value="Consent.purpose.code" />
      <short value="preclinical trial research" />
      <definition value="To perform one or more operations on information in preparation for conducting scientific investigation to obtain health care knowledge, such as research on animals or review of patient health records, to determine the feasibility of a clinical trial study; assist with protocol design; or in preparation for institutional review board or ethics committee approval process. May be post-coordinated or used with other purposes of use such as disease, discipline, specialty, population origins or ancestry, translational healthcare research." />
      <comment value="Pre-adopted from R4 valueset" />
      <min value="1" />
      <fixedCode value="PRECLINTRCH" />
    </element>
    <element id="Consent.purpose:observationTrialConsent">
      <path value="Consent.purpose" />
      <sliceName value="observationTrialConsent" />
      <max value="1" />
      <fixedCoding>
        <system value="http://hl7.org/fhir/v3/ActReason" />
      </fixedCoding>
      <mustSupport value="true" />
    </element>
    <element id="Consent.purpose:observationTrialConsent.system">
      <path value="Consent.purpose.system" />
      <min value="1" />
      <fixedUri value="http://hl7.org/fhir/v3/ActReason" />
    </element>
    <element id="Consent.purpose:observationTrialConsent.code">
      <path value="Consent.purpose.code" />
      <short value="clinical trial research without patient care" />
      <definition value="To perform one or more operations on information for conducting scientific investigations in accordance with clinical trial protocols to obtain health care knowledge without provision of patient care. May be post-coordinated or used with other purposes of use such as disease, discipline, specialty, population origins or ancestry, translational healthcare research. For example, a clinical trial conducted on laboratory specimens collected from a specified patient population." />
      <comment value="Pre-adopted from R4 valueset" />
      <min value="1" />
      <fixedCode value="CLINTRCHNPC" />
    </element>
    <element id="Consent.purpose:interventionTrialConsent">
      <path value="Consent.purpose" />
      <sliceName value="interventionTrialConsent" />
      <max value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Consent.purpose:interventionTrialConsent.system">
      <path value="Consent.purpose.system" />
      <min value="1" />
      <fixedUri value="http://hl7.org/fhir/v3/ActReason" />
    </element>
    <element id="Consent.purpose:interventionTrialConsent.code">
      <path value="Consent.purpose.code" />
      <short value="clinical trial research with patient care" />
      <definition value="To perform one or more operations on information for conducting scientific investigations with patient care in accordance with clinical trial protocols to obtain health care knowledge. May be post-coordinated or used with other purposes of use such as disease, discipline, specialty, population origins or ancestry, translational healthcare research. For example, an &quot;off-label&quot; drug used for cancer therapy administer to a specified patient population." />
      <comment value="Pre-adopted from R4 valueset" />
      <min value="1" />
      <fixedCode value="CLINTRCHPC" />
    </element>
    <element id="Consent.dataPeriod">
      <path value="Consent.dataPeriod" />
      <max value="0" />
    </element>
    <element id="Consent.data">
      <path value="Consent.data" />
      <max value="0" />
    </element>
    <element id="Consent.except">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name">
        <valueString value="Except" />
      </extension>
      <path value="Consent.except" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>