<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="StructureDefinition/DCPActivityDefinition" />
  <name value="DCPActivityDefinition" />
  <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="ActivityDefinition" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/ActivityDefinition" />
  <derivation value="constraint" />
  <differential>
    <element id="ActivityDefinition">
      <path value="ActivityDefinition" />
      <comment value="activityDefinition for care planning" />
    </element>
    <element id="ActivityDefinition.url">
      <path value="ActivityDefinition.url" />
      <requirements value="Allows the activity definition to be referenced by a single globally unique identifier.&#xD;&#xA;This version of the profile requires url where the library of activityDefinitions are stored." />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.identifier">
      <path value="ActivityDefinition.identifier" />
      <requirements value="Allows externally provided and/or usable business identifiers to be easily associated with the module.&#xD;&#xA;This version of the profile requires at least one identifier." />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.version">
      <path value="ActivityDefinition.version" />
      <requirements value="This version of the profile requires at least one identifier." />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.name">
      <path value="ActivityDefinition.name" />
      <requirements value="Support human navigation and code generation.&#xD;&#xA;This version of the profile requires the name of the activityDefinition" />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.title">
      <path value="ActivityDefinition.title" />
      <requirements value="This version of the profile requires a title which is used in an UI." />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.date">
      <path value="ActivityDefinition.date" />
      <requirements value="This version of the profile requires a date for when the ActivityDefinition was last changed" />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.publisher">
      <path value="ActivityDefinition.publisher" />
      <requirements value="Helps establish the &quot;authority/credibility&quot; of the activity definition.  May also allow for contact.&#xD;&#xA;This version of the profile requires the name of the ActivityDefinition publisher." />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.description">
      <path value="ActivityDefinition.description" />
      <requirements value="This version of the profile requires a description of the ActivityDefinition." />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.lastReviewDate">
      <path value="ActivityDefinition.lastReviewDate" />
      <requirements value="Gives a sense of how &quot;current&quot; the content is.  Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant.&#xD;&#xA;This version of the profile requires a date when the ActivityDefinition was last reviewed. " />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.effectivePeriod.start">
      <path value="ActivityDefinition.effectivePeriod.start" />
      <requirements value="This version of the profile requires an effectivePeriod of period.start when the ActivityDefinition status value is active" />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.useContext">
      <path value="ActivityDefinition.useContext" />
      <requirements value="Assist in searching for appropriate content.&#xD;&#xA;This version of the profile requires a useContext which is used to discover activityDefinitions of similar useContext. " />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.kind">
      <path value="ActivityDefinition.kind" />
      <requirements value="This version of the profile requires kind which is used to generate the request resources." />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.timing[x]">
      <path value="ActivityDefinition.timing[x]" />
      <requirements value="Allows prompting for activities and detection of missed planned activities.&#xD;&#xA;This version of the profile requires timing of when the activityDefinition is to occur. " />
      <min value="1" />
    </element>
  </differential>
</StructureDefinition>