HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.1

HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE), v0.9.1 FHIR Profiles - Local Development build (v0.9.1). See the Directory of published versions

CarePlan

{
  "resourceType" : "StructureDefinition",
  "id" : "obf-CarePlan",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>CarePlan Profile</b></p>\n  <p>Describes 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. The Care Plan tracks the progress of activities associated with the plan.</p>\n  <p><b>Mapping Summary</b></p>\n  <p><pre>obf.CarePlan maps to http://fhir.org/guides/argonaut/StructureDefinition/argo-careplan:\n  Language maps to language\n  ImplicitRules maps to implicitRules\n  Metadata.VersionId maps to meta.versionId\n  Metadata.SourceSystem maps to meta.extension\n  Metadata.Profile maps to meta.profile\n  Metadata.LastUpdated maps to meta.lastUpdated\n  Metadata.SecurityLabel maps to meta.security\n  Metadata.Tag maps to meta.tag\n  Narrative maps to text\n  BasedOn maps to extension\n  SubjectOfRecord maps to subject\n  CareContext maps to context\n  StatementDateTime maps to extension\n  ReasonReference maps to addresses\n  ReasonCode maps to extension\n  Identifier maps to identifier\n  CarePlanReplaces maps to extension\n  CarePlanPartOf maps to extension\n  Status maps to status\n  RequestIntent maps to extension\n  Category maps to category\n  Title maps to extension\n  CommentOrDescription maps to description\n  ExpectedPerformanceTime maps to period\n  Author maps to author\n  Annotation maps to note\n</pre></p>\n</div>"
  },
  "url" : "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-CarePlan",
  "version" : "0.9.1",
  "name" : "CarePlan",
  "display" : "obf-CarePlan",
  "status" : "draft",
  "publisher" : "The MITRE Corporation",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "other",
          "value" : "http://standardhealthrecord.org",
          "rank" : 0
        }
      ]
    }
  ],
  "date" : "2019-10-23T00:00:00-04:00",
  "description" : "Describes 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. The Care Plan tracks the progress of activities associated with the plan.",
  "fhirVersion" : "1.0.2",
  "mapping" : [
    {
      "identity" : "us-core-stu3",
      "uri" : "http://unknown.org/US%20Core%20(STU3)",
      "name" : "US Core (STU3)"
    },
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/w5",
      "name" : "W5 Mapping"
    },
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2"
    }
  ],
  "kind" : "resource",
  "constrainedType" : "CarePlan",
  "abstract" : false,
  "base" : "http://fhir.org/guides/argonaut/StructureDefinition/argo-careplan",
  "snapshot" : {
    "element" : [
      {
        "id" : "CarePlan-argoprofile",
        "path" : "CarePlan",
        "name" : "CarePlan-argoprofile",
        "short" : "obf-CarePlan",
        "definition" : "Describes 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. The Care Plan tracks the progress of activities associated with the plan.",
        "alias" : [
          "Care Team"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "argo-careplan"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act[classCode=PCPR, moodCode=INT]"
          },
          {
            "identity" : "w5",
            "map" : "clinical.careprovision"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "CarePlan"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.id",
        "path" : "CarePlan.id",
        "name" : "CarePlan-argoprofile.id",
        "short" : "Logical id of this artifact",
        "definition" : "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comments" : "The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "CarePlan-argoprofile.meta",
        "path" : "CarePlan.meta",
        "name" : "CarePlan-argoprofile.meta",
        "short" : "Metadata about the resource",
        "definition" : "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.meta",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "CarePlan-argoprofile.meta.id",
        "path" : "CarePlan.meta.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "CarePlan-argoprofile.meta.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.meta.extension",
        "path" : "CarePlan.meta.extension",
        "name" : "CarePlan-argoprofile.meta.extension",
        "slicing" : {
          "id" : "2",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "sourcesystem",
        "path" : "CarePlan.meta.extension",
        "name" : "sourcesystem",
        "definition" : "FHIR: This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.\nFHIM: Identifies the computer system that created the medical record. This optional field may also be used to indicate that the medical record was originally created by a different organization from the one that is currently storing or utilizing the record in that the assigning authority of the Id could be set to that originating organization. This property is optional, as some systems will assume that all records that it contains originated in that system, however it is anticipated that it will become increasingly commonplace for records from multiple systems and organizations will be comingled in order to provide a complete picture of the patient's health record.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.meta.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-SourceSystem-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.meta.versionId",
        "path" : "CarePlan.meta.versionId",
        "name" : "CarePlan-argoprofile.meta.versionId",
        "short" : "Version specific identifier",
        "definition" : "The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.",
        "comments" : "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "CarePlan-argoprofile.meta.lastUpdated",
        "path" : "CarePlan.meta.lastUpdated",
        "name" : "CarePlan-argoprofile.meta.lastUpdated",
        "short" : "When the resource version last changed",
        "definition" : "When the resource last changed - e.g. when the version changed.",
        "comments" : "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "instant"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "CarePlan-argoprofile.meta.profile",
        "path" : "CarePlan.meta.profile",
        "name" : "CarePlan-argoprofile.meta.profile",
        "short" : "Profiles this resource claims to conform to",
        "definition" : "A list of profiles [[[StructureDefinition]]]s that this resource claims to conform to. The URL is a reference to [[[StructureDefinition.url]]].",
        "comments" : "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "CarePlan-argoprofile.meta.security",
        "path" : "CarePlan.meta.security",
        "name" : "CarePlan-argoprofile.meta.security",
        "short" : "Security Labels applied to this resource",
        "definition" : "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.",
        "comments" : "The security labels can be updated without changing the stated version of the resource  The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "extensible",
          "description" : "Security Labels from the Healthcare Privacy and Security Classification System.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/security-labels"
          }
        }
      },
      {
        "id" : "CarePlan-argoprofile.meta.tag",
        "path" : "CarePlan.meta.tag",
        "name" : "CarePlan-argoprofile.meta.tag",
        "short" : "Tags applied to this resource",
        "definition" : "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.",
        "comments" : "The tags can be updated without changing the stated version of the resource.  The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.",
        "min" : 0,
        "max" : "*",
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "description" : "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\""
        }
      },
      {
        "id" : "CarePlan-argoprofile.implicitRules",
        "path" : "CarePlan.implicitRules",
        "name" : "CarePlan-argoprofile.implicitRules",
        "short" : "A set of rules under which this content was created",
        "definition" : "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.",
        "comments" : "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : true
      },
      {
        "id" : "CarePlan-argoprofile.language",
        "path" : "CarePlan.language",
        "name" : "CarePlan-argoprofile.language",
        "short" : "Language of the resource content",
        "definition" : "The base language in which the resource is written.",
        "comments" : "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "description" : "A human language.",
          "valueSetReference" : {
            "reference" : "http://tools.ietf.org/html/bcp47"
          }
        }
      },
      {
        "id" : "CarePlan-argoprofile.text",
        "path" : "CarePlan.text",
        "name" : "CarePlan-argoprofile.text",
        "short" : "Text summary of the resource, for human interpretation",
        "definition" : "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comments" : "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
        "alias" : [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "dom-1"
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "CarePlan.text"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.contained",
        "path" : "CarePlan.contained",
        "name" : "CarePlan-argoprofile.contained",
        "short" : "Contained, inline Resources",
        "definition" : "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comments" : "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
        "alias" : [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.extension",
        "path" : "CarePlan.extension",
        "name" : "CarePlan-argoprofile.extension",
        "slicing" : {
          "id" : "1",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "basedon",
        "path" : "CarePlan.extension",
        "name" : "basedon",
        "definition" : "The proposal, order, or plan that is partly or wholly fulfilled by this item.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-BasedOn-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "statementdatetime",
        "path" : "CarePlan.extension",
        "name" : "statementdatetime",
        "definition" : "The point in time when the statement was created.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-StatementDateTime-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "reasoncode",
        "path" : "CarePlan.extension",
        "name" : "reasoncode",
        "definition" : "The explanation or justification for the current item or action, as a code.\nReason is a string or CodeableConcept in DSTU2 but in later versions only a CodeableConcept.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-ReasonCode-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "careplanreplaces",
        "path" : "CarePlan.extension",
        "name" : "careplanreplaces",
        "definition" : "The Care Plan that was replaced by the current Care Plan.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-CarePlanReplaces-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "careplanpartof",
        "path" : "CarePlan.extension",
        "name" : "careplanpartof",
        "definition" : "The Care Plan that this Care Plan is a portion of.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-CarePlanPartOf-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "requestintent",
        "path" : "CarePlan.extension",
        "name" : "requestintent",
        "definition" : "Indicates the level of authority/intentionality associated with the request and where the request fits into the workflow chain.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-RequestIntent-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "title",
        "path" : "CarePlan.extension",
        "name" : "title",
        "definition" : "A distinguishing word or group of words naming an item.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Title-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.modifierExtension",
        "path" : "CarePlan.modifierExtension",
        "name" : "CarePlan-argoprofile.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.identifier",
        "path" : "CarePlan.identifier",
        "name" : "CarePlan-argoprofile.identifier",
        "short" : "External Ids for this plan",
        "definition" : "This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
        "requirements" : "Need to allow connection to a wider workflow.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PTH-3"
          },
          {
            "identity" : "rim",
            "map" : ".id"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.subject",
        "path" : "CarePlan.subject",
        "name" : "CarePlan-argoprofile.subject",
        "short" : "Who care plan is for",
        "definition" : "Who care plan is for.",
        "requirements" : "Identifies the patient or group whose intended care is described by the plan.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.subject",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Patient"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PID-3"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=PAT].role[classCode=PAT]"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "CarePlan.subject"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.status",
        "path" : "CarePlan.status",
        "name" : "CarePlan-argoprofile.status",
        "short" : "proposed | draft | active | completed | cancelled",
        "definition" : "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
        "requirements" : "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.status",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : true,
        "isModifier" : true,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/care-plan-status"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PTH-5"
          },
          {
            "identity" : "rim",
            "map" : ".statusCode planned = new active = active completed = completed"
          },
          {
            "identity" : "w5",
            "map" : "status"
          },
          {
            "identity" : "us-core-stu3",
            "map" : "CarePlan.status"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.context",
        "path" : "CarePlan.context",
        "name" : "CarePlan-argoprofile.context",
        "short" : "Created in context of",
        "definition" : "Identifies the context in which this particular CarePlan is defined.",
        "comments" : "Activities conducted as a result of the care plan may well occur as part of other encounters/episodes.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.context",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Encounter",
              "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "Associated PV1"
          },
          {
            "identity" : "rim",
            "map" : "."
          },
          {
            "identity" : "w5",
            "map" : "context"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.period",
        "path" : "CarePlan.period",
        "name" : "CarePlan-argoprofile.period",
        "short" : "Time period plan covers",
        "definition" : "Indicates when the plan did (or is intended to) come into effect and end.",
        "comments" : "Any activities scheduled as part of the plan should be constrained to the specified period.",
        "requirements" : "Allows tracking what plan(s) are in effect at a particular time.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "GOL-7 / GOL-8"
          },
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.author",
        "path" : "CarePlan.author",
        "name" : "CarePlan-argoprofile.author",
        "short" : "Who is responsible for contents of the plan",
        "definition" : "Identifies the individual(s) or ogranization who is responsible for the content of the care plan.",
        "comments" : "Collaborative care plans may have multiple authors.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.author",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Patient",
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "CarePlan-argoprofile.modified",
        "path" : "CarePlan.modified",
        "name" : "CarePlan-argoprofile.modified",
        "short" : "When last updated",
        "definition" : "Identifies the most recent date on which the plan has been revised.",
        "requirements" : "Indicates how current the plan is.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.modified",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PTH-6"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=AUT].time"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.category",
        "path" : "CarePlan.category",
        "name" : "CarePlan-argoprofile.category",
        "short" : "Type of plan",
        "definition" : "Type of plan.",
        "comments" : "There may be multiple axis of categorization and one plan may serve multiple purposes.  In some cases, this may be redundant with references to CarePlan.concern.",
        "requirements" : "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.",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.category",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "constraint" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-expression",
                "valueString" : "where(coding.system='http://argonaut.hl7.org' and coding.code='assess-plan').exists()"
              }
            ],
            "key" : "arg-1",
            "severity" : "error",
            "human" : "Must have a category of 'careplan' and a code system 'http://argonaut.hl7.org'",
            "xpath" : "exists(f:coding/code[@value='assess-plan']) and exists(f:coding/system[@value='http://argonaut.hl7.org'])"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "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.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/care-plan-category"
          }
        },
        "mapping" : [
          {
            "identity" : "us-core-stu3",
            "map" : "CarePlan.category"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.description",
        "path" : "CarePlan.description",
        "name" : "CarePlan-argoprofile.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",
        "base" : {
          "path" : "CarePlan.description",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "CarePlan-argoprofile.addresses",
        "path" : "CarePlan.addresses",
        "name" : "CarePlan-argoprofile.addresses",
        "short" : "Health issues this plan addresses",
        "definition" : "Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.",
        "requirements" : "Links plan to the conditions it manages.  Also scopes plans - multiple plans may exist addressing different concerns.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.addresses",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Condition"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRB-4"
          },
          {
            "identity" : "rim",
            "map" : ".actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.support",
        "path" : "CarePlan.support",
        "name" : "CarePlan-argoprofile.support",
        "short" : "Information considered as part of plan",
        "definition" : "Identifies portions of the patient's record that specifically influenced the formation of the plan.  These might include co-morbidities, recent procedures, limitations, recent assessments, etc.",
        "comments" : "Use \"concern\" to identify specific conditions addressed by the care plan.",
        "requirements" : "Identifies barriers and other considerations associated with the care plan.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.support",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.relatedPlan",
        "path" : "CarePlan.relatedPlan",
        "name" : "CarePlan-argoprofile.relatedPlan",
        "short" : "Plans related to this one",
        "definition" : "Identifies CarePlans with some sort of formal relationship to the current plan.",
        "comments" : "Relationships are uni-directional with the \"newer\" plan pointing to the older one.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.relatedPlan",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.relatedPlan.id",
        "path" : "CarePlan.relatedPlan.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "CarePlan-argoprofile.relatedPlan.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.relatedPlan.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.relatedPlan.extension",
        "path" : "CarePlan.relatedPlan.extension",
        "name" : "CarePlan-argoprofile.relatedPlan.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.relatedPlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.relatedPlan.modifierExtension",
        "path" : "CarePlan.relatedPlan.modifierExtension",
        "name" : "CarePlan-argoprofile.relatedPlan.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.relatedPlan.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.relatedPlan.code",
        "path" : "CarePlan.relatedPlan.code",
        "name" : "CarePlan-argoprofile.relatedPlan.code",
        "short" : "includes | replaces | fulfills",
        "definition" : "Identifies the type of relationship this plan has to the target plan.",
        "comments" : "Read the relationship as \"this plan\" [relatedPlan.code] \"relatedPlan.plan\"; e.g. This plan includes Plan B.  Additional relationship types can be proposed for future releases or handled as extensions.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.relatedPlan.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "description" : "Codes identifying the types of relationships between two plans.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/care-plan-relationship"
          }
        }
      },
      {
        "id" : "CarePlan-argoprofile.relatedPlan.plan",
        "path" : "CarePlan.relatedPlan.plan",
        "name" : "CarePlan-argoprofile.relatedPlan.plan",
        "short" : "Plan relationship exists with",
        "definition" : "A reference to the plan to which a relationship is asserted.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.relatedPlan.plan",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/CarePlan"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.participant",
        "path" : "CarePlan.participant",
        "name" : "CarePlan-argoprofile.participant",
        "short" : "Who's involved in plan?",
        "definition" : "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.",
        "requirements" : "Allows representation of care teams, helps scope care plan.  In some cases may be a determiner of access permissions.",
        "alias" : [
          "Care Team"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.participant",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "REL (REL.4 is always the Patient) ( or PRT?)"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=PFM]"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.participant.id",
        "path" : "CarePlan.participant.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "CarePlan-argoprofile.participant.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.participant.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.participant.extension",
        "path" : "CarePlan.participant.extension",
        "name" : "CarePlan-argoprofile.participant.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.participant.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.participant.modifierExtension",
        "path" : "CarePlan.participant.modifierExtension",
        "name" : "CarePlan-argoprofile.participant.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.participant.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.participant.role",
        "path" : "CarePlan.participant.role",
        "name" : "CarePlan-argoprofile.participant.role",
        "short" : "Type of involvement",
        "definition" : "Indicates specific responsibility of an individual within the care plan; e.g. \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.",
        "comments" : "Roles may sometimes be inferred by type of Practitioner.  These are relationships that hold only within the context of the care plan.  General relationships should be handled as properties of the Patient resource directly.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.participant.role",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "Indicates specific responsibility of an individual within the care plan; e.g. \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/participant-role"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "REL.2 (or PRT-4?)"
          },
          {
            "identity" : "rim",
            "map" : ".functionCode"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.participant.member",
        "path" : "CarePlan.participant.member",
        "name" : "CarePlan-argoprofile.participant.member",
        "short" : "Who is involved",
        "definition" : "The specific person or organization who is participating/expected to participate in the care plan.",
        "comments" : "Patient only needs to be listed if they have a role other than \"subject of care\".  Member is optional because some participants may be known only by their role, particularly in draft plans.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.participant.member",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "REL.5 (or 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" : ".role"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.goal",
        "path" : "CarePlan.goal",
        "name" : "CarePlan-argoprofile.goal",
        "short" : "Desired outcome of plan",
        "definition" : "Describes the intended objective(s) of carrying out the care plan.",
        "comments" : "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.",
        "requirements" : "Provides context for plan.  Allows plan effectiveness to be evaluated by clinicians.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.goal",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Goal"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "GOL.1"
          },
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode<=OBJ]."
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity",
        "path" : "CarePlan.activity",
        "name" : "CarePlan-argoprofile.activity",
        "short" : "Action to occur as part of plan",
        "definition" : "Identifies a planned action to occur as part of the plan.  For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.",
        "requirements" : "Allows systems to prompt for performance of planned activities, and validate plans against best practice.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.activity",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "maxLength" : 0,
        "constraint" : [
          {
            "key" : "cpl-3",
            "severity" : "error",
            "human" : "Provide a reference or detail, not both",
            "xpath" : "not(exists(f:detail)) or not(exists(f:reference))"
          }
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=COMP].target"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.id",
        "path" : "CarePlan.activity.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "CarePlan-argoprofile.activity.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.activity.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.extension",
        "path" : "CarePlan.activity.extension",
        "name" : "CarePlan-argoprofile.activity.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.activity.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.modifierExtension",
        "path" : "CarePlan.activity.modifierExtension",
        "name" : "CarePlan-argoprofile.activity.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.activity.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.actionResulting",
        "path" : "CarePlan.activity.actionResulting",
        "name" : "CarePlan-argoprofile.activity.actionResulting",
        "short" : "Appointments, orders, etc.",
        "definition" : "Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc.",
        "requirements" : "Links plan to resulting actions.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.activity.actionResulting",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Resource"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=FLFS].source"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.progress",
        "path" : "CarePlan.activity.progress",
        "name" : "CarePlan-argoprofile.activity.progress",
        "short" : "Comments about the activity status/progress",
        "definition" : "Notes about the adherence/status/progress of the activity.",
        "comments" : "This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.",
        "requirements" : "Can be used to capture information about adherence, progress, concerns, etc.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.activity.progress",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Annotation"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NTE?"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.reference",
        "path" : "CarePlan.activity.reference",
        "name" : "CarePlan-argoprofile.activity.reference",
        "short" : "Activity details defined in specific resource",
        "definition" : "The details of the proposed activity represented in a specific resource.",
        "requirements" : "Details in a form consistent with other applications and contexts of use.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.activity.reference",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Appointment",
              "http://hl7.org/fhir/StructureDefinition/CommunicationRequest",
              "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest",
              "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder",
              "http://hl7.org/fhir/StructureDefinition/MedicationOrder",
              "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
              "http://hl7.org/fhir/StructureDefinition/Order",
              "http://hl7.org/fhir/StructureDefinition/ProcedureRequest",
              "http://hl7.org/fhir/StructureDefinition/ProcessRequest",
              "http://hl7.org/fhir/StructureDefinition/ReferralRequest",
              "http://hl7.org/fhir/StructureDefinition/SupplyRequest",
              "http://hl7.org/fhir/StructureDefinition/VisionPrescription"
            ]
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "cpl-3"
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=COMP].target"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail",
        "path" : "CarePlan.activity.detail",
        "name" : "CarePlan-argoprofile.activity.detail",
        "short" : "In-line definition of activity",
        "definition" : "A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.",
        "requirements" : "Details in a simple form for generic care plan systems.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.activity.detail",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "maxLength" : 0,
        "condition" : [
          "cpl-3"
        ],
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.id",
        "path" : "CarePlan.activity.detail.id",
        "representation" : [
          "xmlAttr"
        ],
        "name" : "CarePlan-argoprofile.activity.detail.id",
        "short" : "xml:id (or equivalent in JSON)",
        "definition" : "unique id for the element within a resource (for internal references).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.activity.detail.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.extension",
        "path" : "CarePlan.activity.detail.extension",
        "name" : "CarePlan-argoprofile.activity.detail.extension",
        "short" : "Additional Content defined by implementations",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.activity.detail.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.modifierExtension",
        "path" : "CarePlan.activity.detail.modifierExtension",
        "name" : "CarePlan-argoprofile.activity.detail.modifierExtension",
        "short" : "Extensions that cannot be ignored",
        "definition" : "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.",
        "comments" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.activity.detail.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.category",
        "path" : "CarePlan.activity.detail.category",
        "name" : "CarePlan-argoprofile.activity.detail.category",
        "short" : "diet | drug | encounter | observation | procedure | supply | other",
        "definition" : "High-level categorization of the type of activity in a care plan.",
        "requirements" : "May determine what types of extensions are permitted.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.activity.detail.category",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "High-level categorization of the type of activity in a care plan.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/care-plan-activity-category"
          }
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=COMP].source[classCode=LIST].code"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.code",
        "path" : "CarePlan.activity.detail.code",
        "name" : "CarePlan-argoprofile.activity.detail.code",
        "short" : "Detail type of activity",
        "definition" : "Detailed description of the type of planned activity; e.g. What lab test, what procedure, what kind of encounter.",
        "comments" : "Tends to be less relevant for activities involving particular products.  Codes should not convey negation - use \"prohibited\" instead.",
        "requirements" : "Allows matching performed to planned as well as validation against protocols.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.activity.detail.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/care-plan-activity"
          }
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "OBR-4 / RXE-2 / RXO-1  / RXD-2"
          },
          {
            "identity" : "rim",
            "map" : ".code"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.reasonCode",
        "path" : "CarePlan.activity.detail.reasonCode",
        "name" : "CarePlan-argoprofile.activity.detail.reasonCode",
        "short" : "Why activity should be done",
        "definition" : "Provides the rationale that drove the inclusion of this particular activity as part of the plan.",
        "comments" : "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"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "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.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/activity-reason"
          }
        }
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.reasonReference",
        "path" : "CarePlan.activity.detail.reasonReference",
        "name" : "CarePlan-argoprofile.activity.detail.reasonReference",
        "short" : "Condition triggering need for activity",
        "definition" : "Provides the health condition(s) that drove the inclusion of this particular activity as part of the plan.",
        "comments" : "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",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Condition"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.goal",
        "path" : "CarePlan.activity.detail.goal",
        "name" : "CarePlan-argoprofile.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",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Goal"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".outboundRelationship[typeCode<=OBJ]."
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.status",
        "path" : "CarePlan.activity.detail.status",
        "name" : "CarePlan-argoprofile.activity.detail.status",
        "short" : "not-started | scheduled | in-progress | on-hold | completed | cancelled",
        "definition" : "Identifies what progress is being made for the specific activity.",
        "comments" : "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.",
        "requirements" : "Indicates progress against the plan, whether the activity is still relevant for the plan.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.activity.detail.status",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "binding" : {
          "strength" : "required",
          "description" : "Indicates where the activity is at in its overall life cycle.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/care-plan-activity-status"
          }
        },
        "mapping" : [
          {
            "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-argoprofile.activity.detail.statusReason",
        "path" : "CarePlan.activity.detail.statusReason",
        "name" : "CarePlan-argoprofile.activity.detail.statusReason",
        "short" : "Reason for current status",
        "definition" : "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.",
        "comments" : "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"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "Describes why the current activity has the status it does; e.g. \"Recovering from injury\" as a reason for non-started or on-hold, \"Patient does not enjoy activity\" as a reason for cancelling a planned activity.",
          "valueSetReference" : {
            "reference" : "http://hl7.org/fhir/ValueSet/goal-status-reason"
          }
        }
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.prohibited",
        "path" : "CarePlan.activity.detail.prohibited",
        "name" : "CarePlan-argoprofile.activity.detail.prohibited",
        "short" : "Do NOT do",
        "definition" : "If true, indicates that the described activity is one that must NOT be engaged in when following the plan.",
        "requirements" : "Captures intention to not do something that may have been previously typical.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.activity.detail.prohibited",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : true,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "actionNegationInd"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.scheduledx",
        "path" : "CarePlan.activity.detail.scheduled[x]",
        "name" : "CarePlan-argoprofile.activity.detail.scheduledx",
        "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"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "TQ1"
          },
          {
            "identity" : "rim",
            "map" : ".effectiveTime"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.location",
        "path" : "CarePlan.activity.detail.location",
        "name" : "CarePlan-argoprofile.activity.detail.location",
        "short" : "Where it should happen",
        "definition" : "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.",
        "comments" : "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",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Location"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "OBR-24(???!!)"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=LOC].role"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.performer",
        "path" : "CarePlan.activity.detail.performer",
        "name" : "CarePlan-argoprofile.activity.detail.performer",
        "short" : "Who will be responsible?",
        "definition" : "Identifies who's expected to be involved in the activity.",
        "comments" : "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",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "PRT-5 : ( PRV-4 e {provider participations} ) / PRT-5 : ( PRV-4 e {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=PFM]"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.activity.detail.productx",
        "path" : "CarePlan.activity.detail.product[x]",
        "name" : "CarePlan-argoprofile.activity.detail.productx",
        "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",
            "profile" : [
              "http://hl7.org/fhir/StructureDefinition/Medication",
              "http://hl7.org/fhir/StructureDefinition/Substance"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "strength" : "example",
          "description" : "A product supplied or administered as part of a care plan activity.",
          "valueSetReference" : {
            "reference" : "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-argoprofile.activity.detail.dailyAmount",
        "path" : "CarePlan.activity.detail.dailyAmount",
        "name" : "CarePlan-argoprofile.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"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "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-argoprofile.activity.detail.quantity",
        "path" : "CarePlan.activity.detail.quantity",
        "name" : "CarePlan-argoprofile.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"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "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-argoprofile.activity.detail.description",
        "path" : "CarePlan.activity.detail.description",
        "name" : "CarePlan-argoprofile.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"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NTE?"
          },
          {
            "identity" : "rim",
            "map" : ".text"
          }
        ]
      },
      {
        "id" : "CarePlan-argoprofile.note",
        "path" : "CarePlan.note",
        "name" : "CarePlan-argoprofile.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" : "1",
        "base" : {
          "path" : "CarePlan.note",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Annotation",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Annotation"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "NTE?"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "CarePlan-argoprofile",
        "path" : "CarePlan",
        "name" : "CarePlan-argoprofile",
        "short" : "obf-CarePlan",
        "definition" : "Describes 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. The Care Plan tracks the progress of activities associated with the plan.",
        "min" : 0,
        "type" : [
          {
            "code" : "argo-careplan"
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.meta",
        "path" : "CarePlan.meta",
        "name" : "CarePlan-argoprofile.meta",
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.meta.extension",
        "path" : "CarePlan.meta.extension",
        "name" : "CarePlan-argoprofile.meta.extension",
        "slicing" : {
          "id" : "2",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "min" : 0,
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "sourcesystem",
        "path" : "CarePlan.meta.extension",
        "name" : "sourcesystem",
        "definition" : "FHIR: This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.\nFHIM: Identifies the computer system that created the medical record. This optional field may also be used to indicate that the medical record was originally created by a different organization from the one that is currently storing or utilizing the record in that the assigning authority of the Id could be set to that originating organization. This property is optional, as some systems will assume that all records that it contains originated in that system, however it is anticipated that it will become increasingly commonplace for records from multiple systems and organizations will be comingled in order to provide a complete picture of the patient's health record.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.meta.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-SourceSystem-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.extension",
        "path" : "CarePlan.extension",
        "name" : "CarePlan-argoprofile.extension",
        "slicing" : {
          "id" : "1",
          "discriminator" : [
            "url"
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "min" : 1,
        "max" : "*",
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "basedon",
        "path" : "CarePlan.extension",
        "name" : "basedon",
        "definition" : "The proposal, order, or plan that is partly or wholly fulfilled by this item.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-BasedOn-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "statementdatetime",
        "path" : "CarePlan.extension",
        "name" : "statementdatetime",
        "definition" : "The point in time when the statement was created.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-StatementDateTime-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "reasoncode",
        "path" : "CarePlan.extension",
        "name" : "reasoncode",
        "definition" : "The explanation or justification for the current item or action, as a code.\nReason is a string or CodeableConcept in DSTU2 but in later versions only a CodeableConcept.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-ReasonCode-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "careplanreplaces",
        "path" : "CarePlan.extension",
        "name" : "careplanreplaces",
        "definition" : "The Care Plan that was replaced by the current Care Plan.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-CarePlanReplaces-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "careplanpartof",
        "path" : "CarePlan.extension",
        "name" : "careplanpartof",
        "definition" : "The Care Plan that this Care Plan is a portion of.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-CarePlanPartOf-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "requestintent",
        "path" : "CarePlan.extension",
        "name" : "requestintent",
        "definition" : "Indicates the level of authority/intentionality associated with the request and where the request fits into the workflow chain.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-RequestIntent-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "title",
        "path" : "CarePlan.extension",
        "name" : "title",
        "definition" : "A distinguishing word or group of words naming an item.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CarePlan.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-datatype-Title-extension"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.subject",
        "path" : "CarePlan.subject",
        "name" : "CarePlan-argoprofile.subject",
        "min" : 0,
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Patient"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.author",
        "path" : "CarePlan.author",
        "name" : "CarePlan-argoprofile.author",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Patient",
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.addresses",
        "path" : "CarePlan.addresses",
        "name" : "CarePlan-argoprofile.addresses",
        "min" : 0,
        "type" : [
          {
            "code" : "Reference",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Condition"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "CarePlan-argoprofile.note",
        "path" : "CarePlan.note",
        "name" : "CarePlan-argoprofile.note",
        "min" : 0,
        "type" : [
          {
            "code" : "Annotation",
            "profile" : [
              "http://mcodeinitiative.org/us/mcode/StructureDefinition/obf-Annotation"
            ]
          }
        ],
        "maxLength" : 0,
        "mustSupport" : false,
        "isModifier" : false,
        "isSummary" : false
      }
    ]
  }
}