<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="d1c7aaf6-c3c9-40bd-85ba-958f8241968a" />
  <meta>
    <lastUpdated value="2019-01-09T09:05:50.468+00:00" />
  </meta>
  <url value="http://healthyme.philips.com/fhir/StructureDefinition/ActivityDefinition" />
  <version value="1" />
  <name value="ActivityDefinition" />
  <title value="Activity Definition" />
  <status value="draft" />
  <date value="2019-01-09T08:46:56.1041087+00:00" />
  <publisher value="Philips" />
  <description value="The (reusable) definition of a specific activity to be taken in the context of a Care Plan. We distinguish three kinds of activities:&#xD;&#xA;• Delivery of a content card to the patient&#xD;&#xA;• A vital sign measurement performed by the patient&#xD;&#xA;• A questionnaire to be filled in by the patient" />
  <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" />
      <short value="The (reusable) definition of a specific activity to be taken in the context of a Care Plan" />
      <definition value="The (reusable) definition of a specific activity to be taken in the context of a Care Plan. We distinguish three kinds of activities:&#xD;&#xA;• Delivery of a content card to the patient&#xD;&#xA;• A vital sign measurement performed by the patient&#xD;&#xA;• A questionnaire to be filled in by the patient" />
    </element>
    <element id="ActivityDefinition.title">
      <path value="ActivityDefinition.title" />
      <short value="Human-friendly name" />
      <definition value="Human-friendly name (also used as the title in case of a content card)" />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.description">
      <path value="ActivityDefinition.description" />
      <short value="Natural language description of the activity" />
      <definition value="A free text natural language description of the activity from a consumer's perspective." />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.relatedArtifact">
      <path value="ActivityDefinition.relatedArtifact" />
      <short value="RelatedImage, RelatedQuestionnaire, or empty" />
      <definition value="For a content card: RelatedImage (optional); for a vital sign measurement: empty; for a questionnaire: RelatedQuestionnaire" />
      <max value="1" />
      <type>
        <code value="RelatedArtifact" />
        <profile value="http://healthyme.philips.com/fhir/StructureDefinition/RelatedImage" />
      </type>
      <type>
        <code value="RelatedArtifact" />
        <profile value="http://healthyme.philips.com/fhir/StructureDefinition/RelatedQuestionnaire" />
      </type>
    </element>
    <element id="ActivityDefinition.kind">
      <path value="ActivityDefinition.kind" />
      <short value="Kind of activity" />
      <definition value="This indicates which kind of activity is defined: For a content card: Procedure (even though we do not create actual Procedure resources); for a vital sign measurement: Observation; for a questionnaire: Questionnaire" />
      <min value="1" />
    </element>
    <element id="ActivityDefinition.code">
      <path value="ActivityDefinition.code" />
      <definition value="This we fill in only for vital sign measurements: 413153004 (Blood pressure recorded by patient at home) or 39857003 (Weighing patient)" />
    </element>
    <element id="ActivityDefinition.timing[x]:timingTiming">
      <path value="ActivityDefinition.timingTiming" />
      <sliceName value="timingTiming" />
      <short value="Timing schedule for the activity" />
      <definition value="A timing schedule for the activity" />
      <min value="1" />
      <type>
        <code value="Timing" />
      </type>
    </element>
  </differential>
</StructureDefinition>