{
  "resourceType": "StructureDefinition",
  "id": "bc-IndividualCareplan",
  "url": "http://nictiz.nl/fhir/StructureDefinition/bc-IndividualCareplan",
  "version": "1.3.3",
  "name": "bc-IndividualCareplan",
  "title": "bc-IndividualCareplan",
  "status": "active",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "geboortezorg@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A CarePlan profile describing the individual care plan of a pregnant woman as defined by BabyConnect.",
  "copyright": "CC0",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "gebz-peri-v3.2",
      "uri": "https://decor.nictiz.nl/art-decor/decor-datasets-\\-peri20-?id=2.16.840.1.113883.2.4.3.11.60.90.77.1.6&effectiveDate=2016-09-08T00%3A00%3A00&conceptId=2.16.840.1.113883.2.4.3.11.60.90.77.2.6.4&conceptEffectiveDate=2016-09-08T00%3A00%3A00",
      "name": "Geboortezorg 3.2"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "CarePlan",
  "baseDefinition": "http://fhir.nl/fhir/StructureDefinition/nl-core-careplan",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CarePlan",
        "path": "CarePlan",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8794",
            "comment": "IndividueelZorgplan"
          }
        ]
      },
      {
        "id": "CarePlan.basedOn",
        "path": "CarePlan.basedOn",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8816",
            "comment": "ZorgAfspraak"
          }
        ]
      },
      {
        "id": "CarePlan.category",
        "path": "CarePlan.category",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "CarePlan.category:individualCarePlanCategory",
        "path": "CarePlan.category",
        "sliceName": "individualCarePlanCategory",
        "max": "1"
      },
      {
        "id": "CarePlan.category:individualCarePlanCategory.coding",
        "path": "CarePlan.category.coding",
        "patternCoding": {
          "system": "http://snomed.info/sct",
          "code": "736377005"
        }
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Woman"
          }
        ]
      },
      {
        "id": "CarePlan.context",
        "path": "CarePlan.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Encounter"
          },
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8874",
            "comment": "Relatie met ZorgEpisode"
          }
        ]
      },
      {
        "id": "CarePlan.period.start",
        "path": "CarePlan.period.start",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8799",
            "comment": "BeginDatum"
          }
        ]
      },
      {
        "id": "CarePlan.period.end",
        "path": "CarePlan.period.end",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8800",
            "comment": "EindDatum"
          }
        ]
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "definition": "Identifies the individual(s) or ogranization who is responsible for the content of the care plan. This can be either the contributor and/or the coordinator of the care plan. Use the isCoordinator and isContributor extensions to indicate the role of the author.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Woman"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-careteam"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8802",
            "comment": "Zorgverlener"
          }
        ]
      },
      {
        "id": "CarePlan.author.extension:practitionerRole",
        "path": "CarePlan.author.extension",
        "sliceName": "practitionerRole",
        "isModifier": false,
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8802",
            "comment": "Zorgverlener"
          }
        ]
      },
      {
        "id": "CarePlan.author.extension:isCoordinator",
        "path": "CarePlan.author.extension",
        "sliceName": "isCoordinator",
        "definition": "Indicates if the .author is responsible for coordinating the execution of the activities of the care plan. Set this element to true if the health professional referenced in .author is the coordinator of the care plan.",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/bc-careplan-isCoordinator"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8801",
            "comment": "Casemanager"
          }
        ]
      },
      {
        "id": "CarePlan.careTeam",
        "path": "CarePlan.careTeam",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-CareTeam"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8803",
            "comment": "Betrokkenen"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8804",
            "comment": "ZorgTeam"
          }
        ]
      },
      {
        "id": "CarePlan.goal",
        "path": "CarePlan.goal",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-IndividualCarePlan-Goal"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-8810",
            "comment": "Behandeldoel"
          }
        ]
      },
      {
        "id": "CarePlan.activity.detail.goal",
        "path": "CarePlan.activity.detail.goal",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-IndividualCarePlan-Goal"
          }
        ]
      }
    ]
  }
}