Argonaut Data Query Implementation Guide Version 1.0.0

This page is part of the Argonaut Data Query Implementation Guide (v1.0.0: Release) based on FHIR R2. This is the current published version. For a full list of available versions, see the Directory of published versions

Argonaut CarePlan Profile

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<StructureDefinition/argo-careplan> a fhir:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:StructureDefinition.id [ fhir:value "argo-careplan"];
  fhir:StructureDefinition.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-careplan"];
  fhir:StructureDefinition.name [ fhir:value "Argonaut CarePlan Profile"];
  fhir:StructureDefinition.status [ fhir:value "draft"];
  fhir:StructureDefinition.publisher [ fhir:value "Argonaut Project"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:StructureDefinition.contact.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "other" ];
       fhir:ContactPoint.value [ fhir:value "http://argonautwiki.hl7.org" ];
       fhir:ContactPoint.rank [ fhir:value "0"^^xsd:positiveInteger ]     ]
  ];
  fhir:StructureDefinition.date [ fhir:value "2016-10-18T00:00:00+11:00"^^xsd:dateTime];
  fhir:StructureDefinition.fhirVersion [ fhir:value "1.0.2"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://unknown.org/US Core (STU3)" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "US Core (STU3)" ]
  ], [
     fhir:index 1;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM" ]
  ], [
     fhir:index 2;
     fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/w5" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "W5 Mapping" ]
  ], [
     fhir:index 3;
     fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.constrainedType [ fhir:value "CarePlan"];
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.base [ fhir:value "http://hl7.org/fhir/StructureDefinition/CarePlan"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan" ];
       fhir:ElementDefinition.name [ fhir:value "argoprofile" ];
       fhir:ElementDefinition.short [ fhir:value "Argonaut CarePlan Profile" ];
       fhir:ElementDefinition.definition [ fhir:value "Healthcare plan for patient or group." ];
       fhir:ElementDefinition.alias [
         fhir:value "Care Team";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CarePlan" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Act[classCode=PCPR, moodCode=INT]" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "clinical.careprovision" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan" ]       ]     ], [
       fhir:index 1;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.id" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.id" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.id" ];
       fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ];
       fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 2;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.meta" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.meta" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.meta" ];
       fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.meta" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Meta" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 3;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.implicitRules" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.implicitRules" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.implicitRules" ];
       fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.implicitRules" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 4;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.language" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.language" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.language" ];
       fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ];
       fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ];
       fhir:ElementDefinition.comments [ fhir:value "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)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.language" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
         fhir:ElementDefinition.binding.valueSetUri [ fhir:value "http://tools.ietf.org/html/bcp47" ]       ]     ], [
       fhir:index 5;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.text" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.text" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.text" ];
       fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative." ];
       fhir:ElementDefinition.alias [
         fhir:value "narrative";
         fhir:index 0       ], [
         fhir:value "html";
         fhir:index 1       ], [
         fhir:value "xhtml";
         fhir:index 2       ], [
         fhir:value "display";
         fhir:index 3       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.text" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Narrative" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.condition [
         fhir:value "dom-1";
         fhir:index 0       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.text" ]       ]     ], [
       fhir:index 6;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.text.id" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.text.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.text.id" ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Narrative.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 7;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.text.extension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.text.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.text.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Narrative.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 8;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.text.status" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.text.status" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.text.status" ];
       fhir:ElementDefinition.short [ fhir:value "generated | extensions | additional | empty" ];
       fhir:ElementDefinition.definition [ fhir:value "generated | additional." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Narrative.status" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://fhir.org/guides/argonaut/ValueSet/narrative-status>;
           fhir:Reference.reference [ fhir:value "http://fhir.org/guides/argonaut/ValueSet/narrative-status" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.text.status" ]       ]     ], [
       fhir:index 9;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.text.div" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.text.div" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.text.div" ];
       fhir:ElementDefinition.short [ fhir:value "Limited xhtml content" ];
       fhir:ElementDefinition.definition [ fhir:value "The actual narrative content, a stripped down version of XHTML." ];
       fhir:ElementDefinition.comments [ fhir:value "The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content may not contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Narrative.div" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "xhtml" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "txt-2" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "The narrative SHALL have some non-whitespace content" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.constraint.key [ fhir:value "txt-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))])" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.constraint.key [ fhir:value "txt-3" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 10;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.contained" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.contained" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.contained" ];
       fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "inline resources";
         fhir:index 0       ], [
         fhir:value "anonymous resources";
         fhir:index 1       ], [
         fhir:value "contained resources";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.contained" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 11;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.extension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 12;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.modifierExtension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 13;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.identifier" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "External Ids for this plan" ];
       fhir:ElementDefinition.definition [ fhir:value "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)." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to allow connection to a wider workflow." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.identifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PTH-3" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]       ]     ], [
       fhir:index 14;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.subject" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.subject" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.subject" ];
       fhir:ElementDefinition.short [ fhir:value "Who care plan is for" ];
       fhir:ElementDefinition.definition [ fhir:value "Who care plan is for." ];
       fhir:ElementDefinition.requirements [ fhir:value "Identifies the patient or group whose intended care is described by the plan." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.subject" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-patient";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PID-3" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PAT].role[classCode=PAT]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.subject" ]       ]     ], [
       fhir:index 15;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.status" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.status" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.status" ];
       fhir:ElementDefinition.short [ fhir:value "proposed | draft | active | completed | cancelled" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record." ];
       fhir:ElementDefinition.requirements [ fhir:value "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.status" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/care-plan-status>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/care-plan-status" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PTH-5" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".statusCode planned = new active = active completed = completed" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "status" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.status" ]       ]     ], [
       fhir:index 16;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.context" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.context" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.context" ];
       fhir:ElementDefinition.short [ fhir:value "Created in context of" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the context in which this particular CarePlan is defined." ];
       fhir:ElementDefinition.comments [ fhir:value "Activities conducted as a result of the care plan may well occur as part of other encounters/episodes." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.context" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter";
           fhir:index 0         ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Associated PV1" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "." ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "context" ]       ]     ], [
       fhir:index 17;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.period" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.period" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.period" ];
       fhir:ElementDefinition.short [ fhir:value "Time period plan covers" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates when the plan did (or is intended to) come into effect and end." ];
       fhir:ElementDefinition.comments [ fhir:value "Any activities scheduled as part of the plan should be constrained to the specified period." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows tracking what plan(s) are in effect at a particular time." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.period" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "GOL-7 / GOL-8" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]       ]     ], [
       fhir:index 18;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.author" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.author" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.author" ];
       fhir:ElementDefinition.short [ fhir:value "Who is responsible for contents of the plan" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the individual(s) or ogranization who is responsible for the content of the care plan." ];
       fhir:ElementDefinition.comments [ fhir:value "Collaborative care plans may have multiple authors." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.author" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
           fhir:index 0         ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
           fhir:index 0         ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson";
           fhir:index 0         ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 19;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.modified" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.modified" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.modified" ];
       fhir:ElementDefinition.short [ fhir:value "When last updated" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the most recent date on which the plan has been revised." ];
       fhir:ElementDefinition.requirements [ fhir:value "Indicates how current the plan is." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.modified" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PTH-6" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].time" ]       ]     ], [
       fhir:index 20;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.category" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.category" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.category" ];
       fhir:ElementDefinition.short [ fhir:value "Type of plan" ];
       fhir:ElementDefinition.definition [ fhir:value "Type of plan." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-expression" ];
           fhir:Extension.valueString [ fhir:value "where(coding.system='http://argonaut.hl7.org' and coding.code='assess-plan').exists()" ]         ];
         fhir:ElementDefinition.constraint.key [ fhir:value "arg-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have a category of 'careplan' and a code system 'http://argonaut.hl7.org'" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:coding/code[@value='assess-plan']) and exists(f:coding/system[@value='http://argonaut.hl7.org'])" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/care-plan-category>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/care-plan-category" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.category" ]       ]     ], [
       fhir:index 21;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.description" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.description" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.description" ];
       fhir:ElementDefinition.short [ fhir:value "Summary of nature of plan" ];
       fhir:ElementDefinition.definition [ fhir:value "A description of the scope and nature of the plan." ];
       fhir:ElementDefinition.requirements [ fhir:value "Provides more detail than conveyed by category." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.description" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 22;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.addresses" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.addresses" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.addresses" ];
       fhir:ElementDefinition.short [ fhir:value "Health issues this plan addresses" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan." ];
       fhir:ElementDefinition.requirements [ fhir:value "Links plan to the conditions it manages.  Also scopes plans - multiple plans may exist addressing different concerns." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.addresses" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRB-4" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]" ]       ]     ], [
       fhir:index 23;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.support" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.support" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.support" ];
       fhir:ElementDefinition.short [ fhir:value "Information considered as part of plan" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "Use \"concern\" to identify specific conditions addressed by the care plan." ];
       fhir:ElementDefinition.requirements [ fhir:value "Identifies barriers and other considerations associated with the care plan." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.support" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Resource";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 24;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.relatedPlan" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.relatedPlan" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.relatedPlan" ];
       fhir:ElementDefinition.short [ fhir:value "Plans related to this one" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies CarePlans with some sort of formal relationship to the current plan." ];
       fhir:ElementDefinition.comments [ fhir:value "Relationships are uni-directional with the \"newer\" plan pointing to the older one." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.relatedPlan" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 25;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.relatedPlan.id" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.relatedPlan.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.relatedPlan.id" ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.relatedPlan.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 26;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.relatedPlan.extension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.relatedPlan.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.relatedPlan.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.relatedPlan.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 27;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.relatedPlan.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.relatedPlan.modifierExtension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.relatedPlan.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.relatedPlan.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 28;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.relatedPlan.code" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.relatedPlan.code" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.relatedPlan.code" ];
       fhir:ElementDefinition.short [ fhir:value "includes | replaces | fulfills" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the type of relationship this plan has to the target plan." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.relatedPlan.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying the types of relationships between two plans." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/care-plan-relationship>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/care-plan-relationship" ]         ]       ]     ], [
       fhir:index 29;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.relatedPlan.plan" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.relatedPlan.plan" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.relatedPlan.plan" ];
       fhir:ElementDefinition.short [ fhir:value "Plan relationship exists with" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to the plan to which a relationship is asserted." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.relatedPlan.plan" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/CarePlan";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 30;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.participant" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.participant" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.participant" ];
       fhir:ElementDefinition.short [ fhir:value "Who's involved in plan?" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows representation of care teams, helps scope care plan.  In some cases may be a determiner of access permissions." ];
       fhir:ElementDefinition.alias [
         fhir:value "Care Team";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.participant" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "REL (REL.4 is always the Patient) ( or PRT?)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PFM]" ]       ]     ], [
       fhir:index 31;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.participant.id" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.participant.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.participant.id" ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.participant.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 32;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.participant.extension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.participant.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.participant.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.participant.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 33;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.participant.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.participant.modifierExtension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.participant.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.participant.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 34;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.participant.role" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.participant.role" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.participant.role" ];
       fhir:ElementDefinition.short [ fhir:value "Type of involvement" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates specific responsibility of an individual within the care plan; e.g. \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.participant.role" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Indicates specific responsibility of an individual within the care plan; e.g. \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/participant-role>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/participant-role" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "REL.2 (or PRT-4?)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".functionCode" ]       ]     ], [
       fhir:index 35;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.participant.member" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.participant.member" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.participant.member" ];
       fhir:ElementDefinition.short [ fhir:value "Who is involved" ];
       fhir:ElementDefinition.definition [ fhir:value "The specific person or organization who is participating/expected to participate in the care plan." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.participant.member" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
           fhir:index 0         ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson";
           fhir:index 0         ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
           fhir:index 0         ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "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?)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".role" ]       ]     ], [
       fhir:index 36;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.goal" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.goal" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.goal" ];
       fhir:ElementDefinition.short [ fhir:value "Desired outcome of plan" ];
       fhir:ElementDefinition.definition [ fhir:value "Describes the intended objective(s) of carrying out the care plan." ];
       fhir:ElementDefinition.comments [ fhir:value "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline." ];
       fhir:ElementDefinition.requirements [ fhir:value "Provides context for plan.  Allows plan effectiveness to be evaluated by clinicians." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.goal" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Goal";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "GOL.1" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode<=OBJ]." ]       ]     ], [
       fhir:index 37;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity" ];
       fhir:ElementDefinition.short [ fhir:value "Action to occur as part of plan" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows systems to prompt for performance of planned activities, and validate plans against best practice." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "cpl-3" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "Provide a reference or detail, not both" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:detail)) or not(exists(f:reference))" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 38;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.id" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.id" ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 39;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.extension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 40;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.modifierExtension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 41;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.actionResulting" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.actionResulting" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.actionResulting" ];
       fhir:ElementDefinition.short [ fhir:value "Appointments, orders, etc." ];
       fhir:ElementDefinition.definition [ fhir:value "Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc." ];
       fhir:ElementDefinition.requirements [ fhir:value "Links plan to resulting actions." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.actionResulting" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Resource";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=FLFS].source" ]       ]     ], [
       fhir:index 42;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.progress" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.progress" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.progress" ];
       fhir:ElementDefinition.short [ fhir:value "Comments about the activity status/progress" ];
       fhir:ElementDefinition.definition [ fhir:value "Notes about the adherence/status/progress of the activity." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "Can be used to capture information about adherence, progress, concerns, etc." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.progress" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Annotation" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "NTE?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" ]       ]     ], [
       fhir:index 43;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.reference" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.reference" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.reference" ];
       fhir:ElementDefinition.short [ fhir:value "Activity details defined in specific resource" ];
       fhir:ElementDefinition.definition [ fhir:value "The details of the proposed activity represented in a specific resource." ];
       fhir:ElementDefinition.requirements [ fhir:value "Details in a form consistent with other applications and contexts of use." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.reference" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Appointment";
           fhir:index 0         ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/CommunicationRequest";
           fhir:index 0         ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest";
           fhir:index 0         ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/DiagnosticOrder";
           fhir:index 0         ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationOrder";
           fhir:index 0         ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/NutritionOrder";
           fhir:index 0         ]       ], [
         fhir:index 6;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Order";
           fhir:index 0         ]       ], [
         fhir:index 7;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ProcedureRequest";
           fhir:index 0         ]       ], [
         fhir:index 8;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ProcessRequest";
           fhir:index 0         ]       ], [
         fhir:index 9;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ReferralRequest";
           fhir:index 0         ]       ], [
         fhir:index 10;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/SupplyRequest";
           fhir:index 0         ]       ], [
         fhir:index 11;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/VisionPrescription";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.condition [
         fhir:value "cpl-3";
         fhir:index 0       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 44;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail" ];
       fhir:ElementDefinition.short [ fhir:value "In-line definition of activity" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "Details in a simple form for generic care plan systems." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.condition [
         fhir:value "cpl-3";
         fhir:index 0       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target" ]       ]     ], [
       fhir:index 45;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.id" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.id" ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       fhir:ElementDefinition.definition [ fhir:value "unique id for the element within a resource (for internal references)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 46;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.extension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.extension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional Content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 47;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.modifierExtension" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 48;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.category" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.category" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.category" ];
       fhir:ElementDefinition.short [ fhir:value "diet | drug | encounter | observation | procedure | supply | other" ];
       fhir:ElementDefinition.definition [ fhir:value "High-level categorization of the type of activity in a care plan." ];
       fhir:ElementDefinition.requirements [ fhir:value "May determine what types of extensions are permitted." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "High-level categorization of the type of activity in a care plan." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/care-plan-activity-category>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/care-plan-activity-category" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=COMP].source[classCode=LIST].code" ]       ]     ], [
       fhir:index 49;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.code" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.code" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.code" ];
       fhir:ElementDefinition.short [ fhir:value "Detail type of activity" ];
       fhir:ElementDefinition.definition [ fhir:value "Detailed description of the type of planned activity; e.g. What lab test, what procedure, what kind of encounter." ];
       fhir:ElementDefinition.comments [ fhir:value "Tends to be less relevant for activities involving particular products.  Codes should not convey negation - use \"prohibited\" instead." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows matching performed to planned as well as validation against protocols." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/care-plan-activity>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/care-plan-activity" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-4 / RXE-2 / RXO-1  / RXD-2" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".code" ]       ]     ], [
       fhir:index 50;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.reasonCode" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.reasonCode" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.reasonCode" ];
       fhir:ElementDefinition.short [ fhir:value "Why activity should be done" ];
       fhir:ElementDefinition.definition [ fhir:value "Provides the rationale that drove the inclusion of this particular activity as part of the plan." ];
       fhir:ElementDefinition.comments [ fhir:value "This could be a diagnosis code.  If a full condition record exists or additional detail is needed, use reasonCondition instead." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.reasonCode" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "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." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/activity-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/activity-reason" ]         ]       ]     ], [
       fhir:index 51;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.reasonReference" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.reasonReference" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.reasonReference" ];
       fhir:ElementDefinition.short [ fhir:value "Condition triggering need for activity" ];
       fhir:ElementDefinition.definition [ fhir:value "Provides the health condition(s) that drove the inclusion of this particular activity as part of the plan." ];
       fhir:ElementDefinition.comments [ fhir:value "Conditions can be identified at the activity level that are not identified as reasons for the overall plan." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.reasonReference" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Condition";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 52;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.goal" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.goal" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.goal" ];
       fhir:ElementDefinition.short [ fhir:value "Goals this activity relates to" ];
       fhir:ElementDefinition.definition [ fhir:value "Internal reference that identifies the goals that this activity is intended to contribute towards meeting." ];
       fhir:ElementDefinition.requirements [ fhir:value "So that participants know the link explicitly." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.goal" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Goal";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode<=OBJ]." ]       ]     ], [
       fhir:index 53;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.status" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.status" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.status" ];
       fhir:ElementDefinition.short [ fhir:value "not-started | scheduled | in-progress | on-hold | completed | cancelled" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies what progress is being made for the specific activity." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.requirements [ fhir:value "Indicates progress against the plan, whether the activity is still relevant for the plan." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.status" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Indicates where the activity is at in its overall life cycle." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/care-plan-activity-status>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/care-plan-activity-status" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "ORC-5?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted" ]       ]     ], [
       fhir:index 54;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.statusReason" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.statusReason" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.statusReason" ];
       fhir:ElementDefinition.short [ fhir:value "Reason for current status" ];
       fhir:ElementDefinition.definition [ fhir:value "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc." ];
       fhir:ElementDefinition.comments [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.statusReason" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "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." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/goal-status-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/goal-status-reason" ]         ]       ]     ], [
       fhir:index 55;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.prohibited" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.prohibited" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.prohibited" ];
       fhir:ElementDefinition.short [ fhir:value "Do NOT do" ];
       fhir:ElementDefinition.definition [ fhir:value "If true, indicates that the described activity is one that must NOT be engaged in when following the plan." ];
       fhir:ElementDefinition.requirements [ fhir:value "Captures intention to not do something that may have been previously typical." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.prohibited" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "actionNegationInd" ]       ]     ], [
       fhir:index 56;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.scheduled[x]" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.scheduled[x]" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.scheduled[x]" ];
       fhir:ElementDefinition.short [ fhir:value "When activity is to occur" ];
       fhir:ElementDefinition.definition [ fhir:value "The period, timing or frequency upon which the described activity is to occur." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows prompting for activities and detection of missed planned activities." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.scheduled[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Timing" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "TQ1" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime" ]       ]     ], [
       fhir:index 57;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.location" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.location" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.location" ];
       fhir:ElementDefinition.short [ fhir:value "Where it should happen" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc." ];
       fhir:ElementDefinition.comments [ fhir:value "May reference a specific clinical location or may identify a type of location." ];
       fhir:ElementDefinition.requirements [ fhir:value "Helps in planning of activity." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.location" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Location";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-24(???!!)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=LOC].role" ]       ]     ], [
       fhir:index 58;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.performer" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.performer" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.performer" ];
       fhir:ElementDefinition.short [ fhir:value "Who will be responsible?" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies who's expected to be involved in the activity." ];
       fhir:ElementDefinition.comments [ fhir:value "A performer MAY also be a participant in the care plan." ];
       fhir:ElementDefinition.requirements [ fhir:value "Helps in planning of activity." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.performer" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner";
           fhir:index 0         ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Organization";
           fhir:index 0         ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson";
           fhir:index 0         ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Patient";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "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" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PFM]" ]       ]     ], [
       fhir:index 59;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.product[x]" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.product[x]" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.product[x]" ];
       fhir:ElementDefinition.short [ fhir:value "What is to be administered/supplied" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the food, drug or other product to be consumed or supplied in the activity." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.product[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Medication";
           fhir:index 0         ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Substance";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A product supplied or administered as part of a care plan activity." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/medication-codes>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/medication-codes" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "RXE-2 / RXO-1 / RXD-2" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PRD].role" ]       ]     ], [
       fhir:index 60;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.dailyAmount" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.dailyAmount" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.dailyAmount" ];
       fhir:ElementDefinition.short [ fhir:value "How to consume/day?" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the quantity expected to be consumed in a given day." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows rough dose checking." ];
       fhir:ElementDefinition.alias [
         fhir:value "daily dose";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.dailyAmount" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "RXO-23 / RXE-19 / RXD-12" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity" ]       ]     ], [
       fhir:index 61;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.quantity" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.quantity" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.quantity" ];
       fhir:ElementDefinition.short [ fhir:value "How much to administer/supply/consume" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the quantity expected to be supplied, administered or consumed by the subject." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.quantity" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "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" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP][classCode=SPLY].quantity" ]       ]     ], [
       fhir:index 62;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.activity.detail.description" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.activity.detail.description" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.activity.detail.description" ];
       fhir:ElementDefinition.short [ fhir:value "Extra info describing activity to perform" ];
       fhir:ElementDefinition.definition [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.activity.detail.description" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "NTE?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".text" ]       ]     ], [
       fhir:index 63;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.note" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.note" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.note" ];
       fhir:ElementDefinition.short [ fhir:value "Comments about the plan" ];
       fhir:ElementDefinition.definition [ fhir:value "General notes about the care plan not covered elsewhere." ];
       fhir:ElementDefinition.requirements [ fhir:value "Used to capture information that applies to the plan as a whole that doesn't fit into discrete elements." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CarePlan.note" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:integer ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Annotation" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "NTE?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan" ];
       fhir:ElementDefinition.name [ fhir:value "argoprofile" ];
       fhir:ElementDefinition.short [ fhir:value "Argonaut CarePlan Profile" ];
       fhir:ElementDefinition.definition [ fhir:value "Healthcare plan for patient or group." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CarePlan" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan" ]       ]     ], [
       fhir:index 1;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.text" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.text" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.text" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Narrative" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.text" ]       ]     ], [
       fhir:index 2;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.text.status" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.text.status" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.text.status" ];
       fhir:ElementDefinition.definition [ fhir:value "generated | additional." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://fhir.org/guides/argonaut/ValueSet/narrative-status>;
           fhir:Reference.reference [ fhir:value "http://fhir.org/guides/argonaut/ValueSet/narrative-status" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.text.status" ]       ]     ], [
       fhir:index 3;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.subject" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.subject" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.subject" ];
       fhir:ElementDefinition.definition [ fhir:value "Who care plan is for." ];
       fhir:ElementDefinition.requirements [ fhir:value "Identifies the patient or group whose intended care is described by the plan." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-patient";
           fhir:index 0         ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.subject" ]       ]     ], [
       fhir:index 4;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.status" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.status" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.status" ];
       fhir:ElementDefinition.requirements [ fhir:value "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/care-plan-status>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/care-plan-status" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.status" ]       ]     ], [
       fhir:index 5;
       fhir:ElementDefinition.id [ fhir:value "CarePlan:argoprofile.category" ];
       fhir:ElementDefinition.path [ fhir:value "CarePlan.category" ];
       fhir:ElementDefinition.name [ fhir:value "CarePlan:argoprofile.category" ];
       fhir:ElementDefinition.definition [ fhir:value "Type of plan." ];
       fhir:ElementDefinition.requirements [ fhir:value "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." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.maxLength [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-expression" ];
           fhir:Extension.valueString [ fhir:value "where(coding.system='http://argonaut.hl7.org' and coding.code='assess-plan').exists()" ]         ];
         fhir:ElementDefinition.constraint.key [ fhir:value "arg-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have a category of 'careplan' and a code system 'http://argonaut.hl7.org'" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:coding/code[@value='assess-plan']) and exists(f:coding/system[@value='http://argonaut.hl7.org'])" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CarePlan.category" ]       ]     ]
  ].

<http://hl7.org/fhir/ValueSet/care-plan-status> a fhir:ValueSet, fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/care-plan-category> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/care-plan-relationship> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/participant-role> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/care-plan-activity-category> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/care-plan-activity> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/activity-reason> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/care-plan-activity-status> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/goal-status-reason> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/medication-codes> a fhir:ValueSet.