{
  "resourceType": "StructureDefinition",
  "url": "http://hl7india.org/fhir/StructureDefinition/CarePlan",
  "name": "CarePlan",
  "status": "draft",
  "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.basedOn",
        "path": "CarePlan.basedOn",
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
                "valueBoolean": true
              }
            ],
            "code": "Reference",
            "targetProfile": [
              "http://hl7india.org/fhir/StructureDefinition/CarePlan"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.replaces",
        "path": "CarePlan.replaces",
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
                "valueBoolean": true
              }
            ],
            "code": "Reference",
            "targetProfile": [
              "http://hl7india.org/fhir/StructureDefinition/CarePlan"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.partOf",
        "path": "CarePlan.partOf",
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
                "valueBoolean": true
              }
            ],
            "code": "Reference",
            "targetProfile": [
              "http://hl7india.org/fhir/StructureDefinition/CarePlan"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.subject",
        "path": "CarePlan.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Group",
              "http://hl7india.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.encounter",
        "path": "CarePlan.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7india.org/fhir/StructureDefinition/Encounter"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.author",
        "path": "CarePlan.author",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Device",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/CareTeam",
              "http://hl7india.org/fhir/StructureDefinition/Patient",
              "http://hl7india.org/fhir/StructureDefinition/Practitioner",
              "http://hl7india.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7india.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "CarePlan.contributor",
        "path": "CarePlan.contributor",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Device",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/CareTeam",
              "http://hl7india.org/fhir/StructureDefinition/Patient",
              "http://hl7india.org/fhir/StructureDefinition/Practitioner",
              "http://hl7india.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7india.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.addresses",
        "path": "CarePlan.addresses",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7india.org/fhir/StructureDefinition/Condition"
            ]
          }
        ]
      },
      {
        "id": "CarePlan.goal",
        "path": "CarePlan.goal",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7india.org/fhir/StructureDefinition/Goal"
            ]
          }
        ]
      }
    ]
  }
}