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 in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Argonaut Goal 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-goal> a fhir:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:StructureDefinition.id [ fhir:value "argo-goal"];
  fhir:StructureDefinition.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:StructureDefinition.url [ fhir:value "http://fhir.org/guides/argonaut/StructureDefinition/argo-goal"];
  fhir:StructureDefinition.name [ fhir:value "Argonaut Goal 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 "v2" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2" ]
  ], [
     fhir:index 2;
     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 3;
     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:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.constrainedType [ fhir:value "Goal"];
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.base [ fhir:value "http://hl7.org/fhir/StructureDefinition/Goal"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile" ];
       fhir:ElementDefinition.path [ fhir:value "Goal" ];
       fhir:ElementDefinition.name [ fhir:value "argoprofile" ];
       fhir:ElementDefinition.short [ fhir:value "Argonaut Goal Profile" ];
       fhir:ElementDefinition.definition [ fhir:value "Healthcare plan for patient or group." ];
       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.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "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 "Goal" ]       ];
       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 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "clinical.careprovision" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Goal" ]       ]     ], [
       fhir:index 1;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.id" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.id" ];
       fhir:ElementDefinition.name [ fhir:value "Goal: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 "Goal.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 "Goal:argoprofile.meta" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.meta" ];
       fhir:ElementDefinition.name [ fhir:value "Goal: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 "Goal.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 "Goal:argoprofile.implicitRules" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.implicitRules" ];
       fhir:ElementDefinition.name [ fhir:value "Goal: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 "Goal.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 "Goal:argoprofile.language" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.language" ];
       fhir:ElementDefinition.name [ fhir:value "Goal: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 "Goal.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 "Goal:argoprofile.text" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.text" ];
       fhir:ElementDefinition.name [ fhir:value "Goal: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 "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.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 "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.text?" ]       ]     ], [
       fhir:index 6;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.contained" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.contained" ];
       fhir:ElementDefinition.name [ fhir:value "Goal: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 "Goal.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 7;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.extension" ];
       fhir:ElementDefinition.name [ fhir:value "Goal: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 "Goal.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 "Goal:argoprofile.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.modifierExtension" ];
       fhir:ElementDefinition.name [ fhir:value "Goal: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 "Goal.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 9;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.identifier" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "External Ids for this goal" ];
       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 "Goal.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 "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "id" ]       ]     ], [
       fhir:index 10;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.subject" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.subject" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.subject" ];
       fhir:ElementDefinition.short [ fhir:value "Who this goal is intended 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 "Goal.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-patient ID list" ]       ], [
         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 "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.focus" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Goal.subject" ]       ]     ], [
       fhir:index 11;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.start[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.start[x]" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.start[x]" ];
       fhir:ElementDefinition.short [ fhir:value "When goal pursuit begins" ];
       fhir:ElementDefinition.definition [ fhir:value "The date or event after which the goal should begin being pursued." ];
       fhir:ElementDefinition.requirements [ fhir:value "Goals can be established prior to there being an intention to start pursuing them; e.g. Goals for post-surgical recovery established prior to surgery." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.start[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 "date" ]       ], [
         fhir:index 1;
         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 "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes describing events that can trigger the initiation of a goal" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/goal-start-event>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/goal-start-event" ]         ]       ]     ], [
       fhir:index 12;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.target[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.target[x]" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.target[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Reach goal on or before" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates either the date or the duration after start by which the goal should be met." ];
       fhir:ElementDefinition.requirements [ fhir:value "Identifies when the goal should be evaluated." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.target[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 "date" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Duration";
           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 13;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.category" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.category" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.category" ];
       fhir:ElementDefinition.short [ fhir:value "E.g. Treatment, dietary, behavioral, etc." ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates a category the goal falls within." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows goals to be filtered and sorted." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.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.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for grouping and sorting goals" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/goal-category>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/goal-category" ]         ]       ]     ], [
       fhir:index 14;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.description" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.description" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.description" ];
       fhir:ElementDefinition.short [ fhir:value "What's the desired outcome?" ];
       fhir:ElementDefinition.definition [ fhir:value "proposed | draft | active | completed | cancelled." ];
       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 "Goal.description" ];
         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 "string" ]       ];
       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 "GOL-3.2-goal ID.text" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".text" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Goal.description" ]       ]     ], [
       fhir:index 15;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.status" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.status" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.status" ];
       fhir:ElementDefinition.short [ fhir:value "proposed | planned | accepted | rejected | in-progress | achieved | sustaining | on-hold | cancelled" ];
       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 "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.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/goal-status>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/goal-status" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "GOL-18-goal life cycle status" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".statusCode in-progress = active (classCode = OBJ) achieved = complete sustaining = active (classCode=OBJC) cancelled = aborted" ]       ], [
         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 "Goal.status" ]       ]     ], [
       fhir:index 16;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.statusDate" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.statusDate" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.statusDate" ];
       fhir:ElementDefinition.short [ fhir:value "When goal status took effect" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies when the current status.  I.e. When initially created, when achieved, when cancelled, etc." ];
       fhir:ElementDefinition.comments [ fhir:value "To see the date for past statuses, query history." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.statusDate" ];
         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 "date" ]       ];
       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 "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.recorded" ]       ]     ], [
       fhir:index 17;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.statusReason" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.statusReason" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.statusReason" ];
       fhir:ElementDefinition.short [ fhir:value "Reason for current status" ];
       fhir:ElementDefinition.definition [ fhir:value "Captures the reason for the current status." ];
       fhir:ElementDefinition.comments [ fhir:value "This will typically be captured for statuses such as rejected, on-hold or cancelled, but could be present for others." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.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 "Codes to identify the reason for a goal's current status" ];
         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 18;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.author" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.author" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.author" ];
       fhir:ElementDefinition.short [ fhir:value "Who's responsible for creating Goal?" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates whose goal this is - patient goal, practitioner goal, etc." ];
       fhir:ElementDefinition.comments [ fhir:value "This is the individual reponsible for establishing the goal, not necessarily who recorded it.  (For that, use the Provenance resource.)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.author" ];
         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/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: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 "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.actor" ]       ]     ], [
       fhir:index 19;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.priority" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.priority" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.priority" ];
       fhir:ElementDefinition.short [ fhir:value "high | medium |low" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the mutually agreed level of importance associated with reaching/sustaining the goal." ];
       fhir:ElementDefinition.comments [ fhir:value "Extensions are available to track priorities as established by each participant (i.e. Priority from the patient's perspective, different practitioners' perspectives, family member's perspectives)  The ordinal extension on Coding can be used to convey a numerically comparable ranking to priority.  (Keep in mind that different coding systems may use a \"low value=important\"." ];
       fhir:ElementDefinition.requirements [ fhir:value "Used for sorting and presenting goals." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.priority" ];
         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 "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "The level of importance associated with a goal" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/goal-priority>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/goal-priority" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".priorityCode" ]       ]     ], [
       fhir:index 20;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.addresses" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.addresses" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.addresses" ];
       fhir:ElementDefinition.short [ fhir:value "Issues addressed by this goal" ];
       fhir:ElementDefinition.definition [ fhir:value "The identified conditions and other health record elements that are intended to be addressed by the goal." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows specific goals to explicitly linked to the concerns they're dealing with - makes the goal more understandable." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.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:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Observation";
           fhir:index 0         ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationStatement";
           fhir:index 0         ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/NutritionOrder";
           fhir:index 0         ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ProcedureRequest";
           fhir:index 0         ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.profile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/RiskAssessment";
           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=SUBJ].target[classCode=CONC]" ]       ]     ], [
       fhir:index 21;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.note" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.note" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.note" ];
       fhir:ElementDefinition.short [ fhir:value "Comments about the goal" ];
       fhir:ElementDefinition.definition [ fhir:value "Any comments related to the goal." ];
       fhir:ElementDefinition.comments [ fhir:value "May be used for progress notes, concerns or other related information that doesn't actually describe the goal itself." ];
       fhir:ElementDefinition.requirements [ fhir:value "There's a need to capture information about the goal that doesn't actually describe the goal." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.note" ];
         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 "GOL-16-goal evaluation + 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 22;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.outcome" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.outcome" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.outcome" ];
       fhir:ElementDefinition.short [ fhir:value "What was end result of goal?" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifies the change (or lack of change) at the point where the goal was deepmed to be cancelled or achieved." ];
       fhir:ElementDefinition.comments [ fhir:value "Note that this should not duplicate the goal status." ];
       fhir:ElementDefinition.requirements [ fhir:value "Outcome tracking is a key aspect of care planning." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.outcome" ];
         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 23;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.outcome.id" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.outcome.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.outcome.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 "Goal.outcome.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 24;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.outcome.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.outcome.extension" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.outcome.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 "Goal.outcome.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 25;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.outcome.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.outcome.modifierExtension" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.outcome.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 "Goal.outcome.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 26;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.outcome.result[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.outcome.result[x]" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.outcome.result[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Code or observation that resulted from goal" ];
       fhir:ElementDefinition.definition [ fhir:value "Details of what's changed (or not changed)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:integer ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Goal.outcome.result[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/Observation";
           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 "The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\".  \"15 kg weight loss sustained over 6 months\"" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile" ];
       fhir:ElementDefinition.path [ fhir:value "Goal" ];
       fhir:ElementDefinition.name [ fhir:value "argoprofile" ];
       fhir:ElementDefinition.short [ fhir:value "Argonaut Goal 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 "Goal" ]       ];
       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 "Goal" ]       ]     ], [
       fhir:index 1;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.subject" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.subject" ];
       fhir:ElementDefinition.name [ fhir:value "Goal: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 "Goal.subject" ]       ]     ], [
       fhir:index 2;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.description" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.description" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.description" ];
       fhir:ElementDefinition.definition [ fhir:value "proposed | draft | active | completed | cancelled." ];
       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 "string" ]       ];
       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 "Goal.description" ]       ]     ], [
       fhir:index 3;
       fhir:ElementDefinition.id [ fhir:value "Goal:argoprofile.status" ];
       fhir:ElementDefinition.path [ fhir:value "Goal.status" ];
       fhir:ElementDefinition.name [ fhir:value "Goal:argoprofile.status" ];
       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 "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/goal-status>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/goal-status" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "us-core-(stu3)" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Goal.status" ]       ]     ]
  ].

<http://hl7.org/fhir/ValueSet/goal-start-event> a fhir:ValueSet.

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

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

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

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