<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="StructureDefinition/DCPSubscription" />
  <name value="DCPSubscription" />
  <status value="draft" />
  <date value="2018-05-01T12:54:02.586-04:00" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Subscription" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Subscription" />
  <derivation value="constraint" />
  <differential>
    <element id="Subscription.channel.type">
      <path value="Subscription.channel.type" />
      <short value="rest-hook" />
      <definition value="The type of channel to send notifications on." />
      <requirements value="This version of the profile constrains the channel type to rest-hook." />
    </element>
    <element id="Subscription.channel.endpoint">
      <path value="Subscription.channel.endpoint" />
      <requirements value="This version of the profile constrains the channel type to rest-hook, the endpoint must be a valid URL for the Provide Care Plan [PCC-40] transaction." />
      <min value="1" />
    </element>
    <element id="Subscription.channel.payload">
      <path value="Subscription.channel.payload" />
      <requirements value="This version of the profile constrains the channel payload to a non-blank value - the CarePlan resource must be the payload." />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>