{
  "resourceType": "StructureDefinition",
  "url": "http://apiframework.dedalus.eu/fhir/StructureDefinition/CarePlan-ForCPM",
  "name": "CarePlan-ForCPM",
  "title": "API Framework CarePlan-ForCPM",
  "status": "active",
  "experimental": false,
  "date": "2020-01-13",
  "description": "Dedalus API Framework profile for CarePlan i CPM scenarios",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "CarePlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CarePlan.meta",
        "path": "CarePlan.meta",
        "type": [
          {
            "code": "Meta",
            "profile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Meta-ForCommonConformance"
          }
        ]
      },
      {
        "id": "CarePlan.meta.tag",
        "path": "CarePlan.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "CarePlan.text",
        "path": "CarePlan.text",
        "mustSupport": true
      },
      {
        "id": "CarePlan.definition",
        "path": "CarePlan.definition",
        "mustSupport": true
      },
      {
        "id": "CarePlan.basedOn",
        "path": "CarePlan.basedOn",
        "mustSupport": true
      },
      {
        "id": "CarePlan.partOf",
        "path": "CarePlan.partOf",
        "mustSupport": false
      },
      {
        "id": "CarePlan.status",
        "path": "CarePlan.status",
        "mustSupport": true
      },
      {
        "id": "CarePlan.intent",
        "path": "CarePlan.intent",
        "mustSupport": true
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "mustSupport": true
      },
      {
        "id": "CarePlan.title",
        "path": "CarePlan.title",
        "mustSupport": true
      },
      {
        "id": "CarePlan.description",
        "path": "CarePlan.description",
        "mustSupport": true
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Patient"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.period",
        "path": "CarePlan.period",
        "min": 1
      },
      {
        "id": "CarePlan.period.start",
        "path": "CarePlan.period.start",
        "min": 1
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam"
          }
        ]
      },
      {
        "id": "CarePlan.activity",
        "path": "CarePlan.activity",
        "mustSupport": true
      },
      {
        "id": "CarePlan.activity.reference",
        "path": "CarePlan.activity.reference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment"
          },
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/ProcedureRequest-ForORD"
          },
          {
            "code": "Reference",
            "targetProfile": "http://apiframework.dedalus.eu/fhir/StructureDefinition/Task-ForORD"
          }
        ]
      }
    ]
  }
}