{
  "resourceType": "StructureDefinition",
  "id": "MawendoPlan",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Clinical.Care Provision"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
      "valueCode": "patient"
    }
  ],
  "url": "https://www.mawendo.com/fhir/StructureDefinition/MawendoPlan",
  "version": "1.0",
  "name": "MawendoPlan",
  "title": "Trainingsplan",
  "status": "active",
  "experimental": false,
  "date": "2021-05-05",
  "publisher": "Mawendo GmbH",
  "copyright": "Mawendo GmbH",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "CarePlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CarePlan.status",
        "path": "CarePlan.status",
        "mustSupport": true
      },
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "patternCode": "Plan",
        "mustSupport": true
      },
      {
        "id": "CarePlan.title",
        "path": "CarePlan.title",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "mustSupport": true
      },
      {
        "id": "CarePlan.period",
        "path": "CarePlan.period",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.period.start",
        "path": "CarePlan.period.start",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.period.end",
        "path": "CarePlan.period.end",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity",
        "path": "CarePlan.activity",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail",
        "path": "CarePlan.activity.detail",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.kind",
        "path": "CarePlan.activity.detail.kind",
        "patternCode": "Task"
      },
      {
        "id": "CarePlan.activity.detail.status",
        "path": "CarePlan.activity.detail.status",
        "patternCode": "scheduled",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.scheduled[x]",
        "path": "CarePlan.activity.detail.scheduled[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "Period"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.scheduledPeriod",
        "path": "CarePlan.activity.detail.scheduledPeriod",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.scheduledPeriod.start",
        "path": "CarePlan.activity.detail.scheduledPeriod.start",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.scheduledPeriod.end",
        "path": "CarePlan.activity.detail.scheduledPeriod.end",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.detail.description",
        "path": "CarePlan.activity.detail.description",
        "min": 1,
        "mustSupport": true
      }
    ]
  }
}