<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-Subscriptioncontent" />
  <name value="Subscriptioncontent" />
  <status value="draft" />
  <description value="How much of the resource content to deliver in the notification payload. The choices are an empty payload, only the resource id, or the full resource content." />
  <fhirVersion value="4.0.1" />
  <kind value="complex-type" />
  <abstract value="false" />
  <context>
    <type value="element" />
    <expression value="Subscription.channel.payload" />
  </context>
  <type value="Extension" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" />
  <derivation value="constraint" />
  <differential>
    <element id="Extension">
      <path value="Extension" />
      <definition value="How much of the resource content to deliver in the notification payload. The choices are an empty payload, only the resource id, or the full resource content." />
      <min value="1" />
      <max value="1" />
      <mustSupport value="false" />
      <isModifier value="false" />
    </element>
    <element id="Extension.url">
      <path value="Extension.url" />
      <fixedUri value="http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-Subscriptioncontent" />
    </element>
    <element id="Extension.value[x]">
      <path value="Extension.value[x]" />
      <slicing>
        <discriminator>
          <type value="type" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <definition value="Notification content level" />
      <type>
        <code value="code" />
      </type>
    </element>
    <element id="Extension.value[x]:valueCode">
      <path value="Extension.value[x]" />
      <sliceName value="valueCode" />
      <type>
        <code value="code" />
      </type>
      <binding>
        <strength value="required" />
        <description value="Codes to represent how much resource content to send in the notification payload." />
        <valueSet value="http://hl7.org/fhir/uv/subscriptions-backport/CodeSystem/backport-content-code-system" />
      </binding>
    </element>
  </differential>
</StructureDefinition>