### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/CarePlan.json
### ----------------------------------------------------
### -- Chunk 12 of 14
description" : "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/procedure-code"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.code"
      },
      {
        "identity" : "v2",
        "map" : "OBR-4 / RXE-2 / RXO-1 / RXD-2"
      },
      {
        "identity" : "rim",
        "map" : ".code"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.reasonCode",
      "path" : "CarePlan.activity.detail.reasonCode",
      "short" : "Why activity should be done or why activity was prohibited",
      "definition" : "Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited.",
      "comment" : "This could be a diagnosis code.  If a full condition record exists or additional detail is needed, use reasonCondition instead.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "CarePlan.activity.detail.reasonCode",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "CarePlanActivityReason"
        }],
        "strength" : "example",
        "description" : "Identifies why a care plan activity is needed.  Can include any health condition codes as well as such concepts as \"general wellness\", prophylaxis, surgical preparation, etc.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/clinical-findings"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.reasonCode"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.reasonReference",
      "path" : "CarePlan.activity.detail.reasonReference",
      "short" : "Why activity is needed",
      "definition" : "Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan.",
      "comment" : "Conditions can be identified at the activity level that are not identified as reasons for the overall plan.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "CarePlan.activity.detail.reasonReference",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
        "http://hl7.org/fhir/StructureDefinition/DocumentReference"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.reasonReference"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.goal",
      "path" : "CarePlan.activity.detail.goal",
      "short" : "Goals this activity relates to",
      "definition" : "Internal reference that identifies the goals that this activity is intended to contribute towards meeting.",
      "requirements" : "So that participants know the link explicitly.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "CarePlan.activity.detail.goal",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Goal"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode<=OBJ]."
      }]
    },
    {
      "id" : "CarePlan.activity.detail.status",
      "path" : "CarePlan.activity.detail.status",
      "short" : "not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error",
      "definition" : "Identifies what progress is being made for the specific activity.",
      "comment" : "Some aspects of status can be inferred based on the resources linked in actionTaken.  Note that \"status\" is only as current as the plan was most recently updated.  \nThe unknown code is not to be used to convey other statuses.  The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the activity.",
      "requirements" : "Indicates progress against the plan, whether the activity is still relevant for the plan.",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "CarePlan.activity.detail.status",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid",
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "CarePlanActivityStatus"
        }],
        "strength" : "required",
        "description" : "Codes that reflect the current state of a care plan activity within its overall life cycle.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.status"
      },
      {
        "identity" : "v2",
        "map" : "ORC-5?"
      },
      {
        "identity" : "rim",
        "map" : ".statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.statusReason",
      "path" : "CarePlan.activity.detail.statusReason",
      "short" : "Reason for current status",
      "definition" : "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.",
      "comment" : "Will generally not be present if status is \"complete\".  Be sure to prompt to update this (or at least remove the existing value) if the status is changed.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "CarePlan.activity.detail.statusReason",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.statusReason"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.doNotPerform",
      "path" : "CarePlan.activity.detail.doNotPerform",
      "short" : "If true, activity is prohibiting action",
      "definition" : "If true, indicates that the described activity is one that must NOT be engaged in when following the plan.  If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.",
      "comment" : "This element is labeled as a modifier because it marks an activity as an activity that is not to be performed.",
      "requirements" : "Captures intention to not do something that may have been previously typical.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "CarePlan.activity.detail.doNotPerform",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "boolean"
      }],
      "meaningWhenMissing" : "If missing indicates that the described activity is one that should be engaged in when following the plan.",
      "isModifier" : true,
      "isModifierReason" : "If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.",
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.doNotPerform"
      },
      {
        "identity" : "rim",
        "map" : "actionNegationInd"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.scheduled[x]",
      "path" : "CarePlan.activity.detail.scheduled[x]",
      "short" : "When activity is to occur",
      "definition" : "The period, timing or frequency upon which the described activity is to occur.",
      "requirements" : "Allows prompting for activities and detection of missed planned activities.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "CarePlan.activity.detail.scheduled[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Timing"
      },
      {
        "code" : "Period"
      },
      {
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.occurrence[x]"
      },
      {
        "identity" : "v2",
        "map" : "TQ1"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.location",
      "path" : "CarePlan.activity.detail.location",
      "short" : "Where it should happen",
      "definition" : "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.",
      "comment" : "May reference a specific clinical location or may identify a type of location.",
      "requirements" : "Helps in planning of activity.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "CarePlan.activity.detail.location",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "v2",
        "map" : "OBR-24(???!!)"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=LOC].role"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.performer",
      "path" : "CarePlan.activity.detail.performer",
      "short" : "Who will be responsible?",
      "definition" : "Identifies who's expected to be involved in the activity.",
      "comment" : "A performer MAY also be a participant in the care plan.",
      "requirements" : "Helps in planning of activity.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "CarePlan.activity.detail.performer",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
        "http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/CareTeam",
        "http://hl7.org/fhir/StructureDefinition/HealthcareService",
        "http://hl7.org/fhir/StructureDefinition/Device"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.performer"
      },
      {
        "identity" : "v2",
        "map" : "PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PFM]"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.product[x]",
      "path" : "CarePlan.activity.detail.product[x]",
      "short" : "What is to be administered/supplied",
      "definition" : "Identifies the food, drug or other product to be consumed or supplied in the activity.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "CarePlan.activity.detail.product[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "CodeableConcept"
      },
      {
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Medication",
        "http://hl7.org/fhir/StructureDefinition/Substance"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "CarePlanProduct"
        }],
        "strength" : "example",
        "description" : "A product supplied or administered as part of a care plan activity.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/medication-codes"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXE-2 / RXO-1 / RXD-2"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PRD].role"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.dailyAmount",
      "path" : "CarePlan.activity.detail.dailyAmount",
      "short" : "How to consume/day?",
      "definition" : "Identifies the quantity expected to be consumed in a given day.",
      "requirements" : "Allows rough dose checking.",
      "alias" : ["daily dose"],
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "CarePlan.activity.detail.dailyAmount",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXO-23 / RXE-19 / RXD-12"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.quantity",
      "path" : "CarePlan.activity.detail.quantity",
      "short" : "How much to administer/supply/consume",
      "definition" : "Identifies the quantity expected to be supplied, administered or consumed by the subject.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "CarePlan.activity.detail.quantity",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 /  TQ1-2.1  *and*  RXO-12 /  RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=COMP][classCode=SPLY].quantity"
      }]
    },
    {
      "id" : "CarePlan.activity.detail.description",
      "path" : "CarePlan.activity.detail.description",
      "short" : "Extra info describing activity to perform",
      "definition" : "This provides a textual description of constraints on the intended activity occurrence, including relation to other activities.  It may also include objectives, pre-conditions and end-conditions.  Finally, it may convey specifics about the activity such as body site, method, route, etc.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "CarePlan.activity.detail.description",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "v2",
        "map" : "NTE?"
      },
      {
        "identity" : "rim",
        "map" : ".text"
      }]
    },
    {
      "id" : "CarePlan.note",
      "path" : "CarePlan.note",
      "short" : "Comments about the plan",
      "definition" : "General notes about the care plan not covered elsewhere.",
      "requirements" : "Used to capture information that applies to the plan as a whole that doesn't fit into discrete elements.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "CarePlan.note",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Annotation"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.note"
      },
      {
        "identity" : "v2",
        "map" : "NTE?"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "CarePlan",
      "path" : "CarePlan",
      "short" : "Healthcare plan for patient or group",
      "definition" : "Describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.",
      "alias" : ["Care Team"],
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request"
      },
      {
        "identity" : "rim",
        "map" : "Act[classCode=PCPR, moodCode=INT]"
      }]
    },
    {
      "id" : "CarePlan.identifier",
      "path" : "CarePlan.identifier",
      "short" : "External Ids for this plan",
      "definition" : "Business identifiers assigned to this care plan by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
      "comment" : "This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
      "requirements" : "Allows identification of the care plan as it is known by various participating systems and in a way that remains consistent across servers.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "v2",
        "map" : "PTH-3"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      }]
    },
    {
      "id" : "CarePlan.instantiatesCanonical",
      "path" : "CarePlan.instantiatesCanonical",
      "short" : "Instantiates FHIR protocol or definition",
      "definition" : "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "canonical",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/PlanDefinition",
        "http://hl7.org/fhir/StructureDefinition/Questionnaire",
        "http://hl7.org/fhir/StructureDefinition/Measure",
        "http://hl7.org/fhir/StructureDefinition/ActivityDefinition",
        "http://hl7.org/fhir/StructureDefinition/OperationDefinition"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.instantiatesCanonical"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=DEFN].target"
      }]
    },
    {
      "id" : "CarePlan.instantiatesUri",
      "path" : "CarePlan.instantiatesUri",
      "short" : "Instantiates external protocol or definition",
      "definition" : "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.",
      "comment" : "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "uri"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.instantiatesUri"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=DEFN].target"
      }]
    },
    {
      "id" : "CarePlan.basedOn",
      "path" : "CarePlan.basedOn",
      "short" : "Fulfills CarePlan",
      "definition" : "A care plan that is fulfilled in whole or in part by this care plan.",
      "requirements" : "Allows tracing of the care plan and tracking whether proposals/recommendations were acted upon.",
      "alias" : ["fulfills"],
      "min" : 0,
      "max" : "*",
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean" : true
        }],
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CarePlan"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.basedOn"
      }]
    },
    {
      "id" : "CarePlan.replaces",
      "path" : "CarePlan.replaces",
      "short" : "CarePlan replaced by this CarePlan",
      "definition" : "Completed or terminated care plan whose function is taken by this new care plan.",
      "comment" : "The replacement could be because the initial care plan was immediately rejected (due to an issue) or because the previous care plan was completed, but the need for the action described by the care plan remains ongoing.",
      "requirements" : "Allows tracing the continuation of a therapy or administrative process instantiated through multiple care plans.",
      "alias" : ["supersedes"],
      "min" : 0,
      "max" : "*",
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean" : true
        }],
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CarePlan"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.replaces"
      }]
    },
    {
      "id" : "CarePlan.partOf",
      "path" : "CarePlan.partOf",
      "short" : "Part of referenced CarePlan",
      "definition" : "A larger care plan of which this particular care plan is a component or step.",
      "comment" : "Each care plan is an independent request, such that having a care plan be part of another care plan can cause issues with cascading statuses.  As such, this element is still being discussed.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy",
          "valueBoolean" : true
        }],
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/CarePlan"]
      }],
      "isSummary" : true
    },
    {
      "id" : "CarePlan.status",
      "path" : "CarePlan.status",
      "short" : "draft | active | suspended | completed | entered-in-error | cancelled | unknown",
      "definition" : "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
      "comment" : "The unknown code is not to be used to convey other statuses.  The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the care plan.\n\nThis element is labeled as a modifier because the status contains the code entered-in-error that marks the plan as not currently valid.",
      "requirements" : "Allows clinicians to determine whether the plan is actionable or not.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "CarePlanStatus"
        }],
        "strength" : "required",
        "description" : "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/request-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.status {uses different ValueSet}"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.status"
      },
      {
        "identity" : "v2",
        "map" : "PTH-5"
      },
      {
        "identity" : "rim",
        "map" : ".statusCode planned = new active = active completed = completed"
      }]
    },
    {
      "id" : "CarePlan.intent",
      "path" : "CarePlan.intent",
      "short" : "proposal | plan | order | option",
      "definition" : "Indicates the level of authority/intentionality associated with the care plan and where the care plan fits into the workflow chain.",
      "comment" : "This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.",
      "requirements" : "Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request\"",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "CarePlanIntent"
        }],
        "strength" : "required",
        "description" : "Codes indicating the degree of authority/intentionality associated with a care plan.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/care-plan-intent|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.intent"
      }]
    },
    {
      "id" : "CarePlan.category",
      "path" : "CarePlan.category",
      "short" : "Type of plan",
      "definition" : "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.",
      "comment" : "There may be multiple axes of categorization and one plan may serve multiple purposes.  In some cases, this may be redundant with references to CarePlan.concern.",
      "requirements" : "Used for filtering what plan(s) are retrieved and displayed to different types of users.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "CarePlanCategory"
        }],
        "strength" : "example",
        "description" : "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/care-plan-category"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.class"
      }]
    },
    {
      "id" : "CarePlan.title",
      "path" : "CarePlan.title",
      "short" : "Human-friendly name for the care plan",
      "definition" : "Human-friendly name for the care plan.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "CarePlan.description",
      "path" : "CarePlan.description",
      "short" : "Summary of nature of plan",
      "definition" : "A description of the scope and nature of the plan.",
      "requirements" : "Provides more detail than conveyed by category.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      }]
    },
    {
      "id" : "CarePlan.subject",
      "path" : "CarePlan.subject",
      "short" : "Who the care plan is for",
      "definition" : "Identifies the patient or group whose intended care is described by the plan.",
      "alias" : ["patient"],
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Group"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.subject"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "v2",
        "map" : "PID-3"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PAT].role[classCode=PAT]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "CarePlan.encounter",
      "path" : "CarePlan.encounter",
      "short" : "Encounter created as part of",
      "definition" : "The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated.",
      "comment" : "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. CarePlan activities conducted as a result of the care plan may well occur as part of other encounters.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.context"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "v2",
        "map" : "Associated PV1"
      },
      {
        "identity" : "rim",
        "map" : "."
      }]
    },
    {
      "id" : "CarePlan.period",
      "path" : "CarePlan.period",
      "short" : "Time period plan covers",
      "definition" : "Indicates when the plan did (or is intended to) come into effect and end.",
      "comment" : "Any activities scheduled as part of the plan should be constrained to the specified period regardless of whether the activities are planned within a single encounter/episode or across multiple encounters/episodes (e.g. the longitudinal management of a chronic condition