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