@prefix fhir: . @prefix owl: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "athena-goal-profile"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "

Generated Narrative: StructureDefinition athena-goal-profile

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Goal 0..*GoalDescribes the intended objective(s) for a patient, group or organization
\".\"\".\"\".\" id 0..1idLogical id of this artifact
\".\"\".\"\".\" meta 0..1MetaMetadata about the resource
\".\"\".\"\".\"\".\" versionId 0..1idVersion specific identifier
\".\"\".\"\".\"\".\" lastUpdated 1..1instantWhen the resource version last changed
\".\"\".\"\".\"\".\" Slices for profile 2..*canonical()Profiles this resource claims to conform to
Slice: Unordered, Open by value:uri
\".\"\".\"\".\"\".\"\".\" profile:USCoreGoal 1..1canonical()Profiles this resource claims to conform to
Fixed Value: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal
\".\"\".\"\".\"\".\"\".\" profile:AthenaGoal 1..1canonical()Profiles this resource claims to conform to
Fixed Value: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-goal-profile
\".\"\".\"\".\"\".\" Slices for security 0..2CodingSecurity Labels applied to this resource
Slice: Unordered, Open by value:coding
\".\"\".\"\".\"\".\"\".\" security:SENSITIVECHART 0..1CodingSecurity Labels applied to this resource
\".\"\".\"\".\"\".\"\".\" security:CONFABBR 0..1CodingSecurity Labels applied to this resource
\".\"\".\"\".\"\".\"\".\"\".\" system 1..1uriIdentity of the terminology system
\".\"\".\"\".\"\".\"\".\"\".\" code 1..1codeSymbol in syntax defined by the system
\".\"\".\"\".\"\".\" tag 1..2CodingTags applied to this resource
\".\"\".\"\".\" identifier 0..*IdentifierExternal Ids for this goal
\".\"\".\"\".\" lifecycleStatus S1..1codeproposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
\".\"\".\"\".\" category 0..*CodeableConceptE.g. Treatment, dietary, behavioral, etc.
\".\"\".\"\".\" description S1..1CodeableConceptCode or text describing goal
\".\"\".\"\".\" subject S1..1Reference(Patient)Who this goal is intended for
\".\"\".\"\".\" start[x] 0..1dateWhen goal pursuit begins
\".\"\".\"\".\" target S0..1BackboneElementTarget outcome for the goal
\".\"\".\"\".\"\".\" due[x] S1..1dateReach goal on or before
\".\"\".\"\".\" statusDate 0..1dateWhen goal status took effect
\".\"\".\"\".\" statusReason 0..1stringReason for current status
\".\"\".\"\".\" expressedBy 0..1Reference(Practitioner)Who's responsible for creating Goal?
\".\"\".\"\".\" addresses 0..*Reference(Condition)Issues addressed by this goal
\".\"\".\"\".\" note 0..*AnnotationComments about the goal

\"doco\" Documentation for this format
" ] ; # fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-goal-profile"^^xsd:anyURI] ; # fhir:version [ fhir:v "23.1.0"] ; # fhir:name [ fhir:v "AthenaGoal"] ; # fhir:status [ fhir:v "active"] ; # fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # fhir:date [ fhir:v "2022-03-01"^^xsd:date] ; # fhir:publisher [ fhir:v "athenahealth"] ; # fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://athenahealth.com" ] ] ) ] ) ; # fhir:description [ fhir:v "Defines constraints and extensions on the goal resource as supported by Athena Products."] ; # fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ] ) ] ) ; # fhir:fhirVersion [ fhir:v "4.0.1"] ; # fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:uri [ fhir:v "http://unknown.org/athenaFlow"^^xsd:anyURI ] ; fhir:name [ fhir:v "athenaFlow" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:uri [ fhir:v "http://unknown.org/athenaPractice"^^xsd:anyURI ] ; fhir:name [ fhir:v "athenaPractice" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:uri [ fhir:v "http://hl7.org/v2"^^xsd:anyURI ] ; fhir:name [ fhir:v "HL7 v2 Mapping" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ; fhir:name [ fhir:v "RIM Mapping" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:uri [ fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ] ; fhir:name [ fhir:v "FiveWs Pattern Mapping" ] ] ) ; # fhir:kind [ fhir:v "resource"] ; # fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # fhir:type [ fhir:v "Goal"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Goal"^^xsd:anyURI ; fhir:link ] ; # fhir:derivation [ fhir:v "constraint"] ; # fhir:snapshot [ fhir:element ( [ fhir:id [ fhir:v "Goal" ] ; fhir:path [ fhir:v "Goal" ] ; fhir:short [ fhir:v "Describes the intended objective(s) for a patient, group or organization" ] ; fhir:definition [ fhir:v "Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc." ] ; fhir:comment [ fhir:v "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Goal" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:constraint ( [ fhir:key [ fhir:v "dom-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ; fhir:expression [ fhir:v "contained.contained.empty()" ] ; fhir:xpath [ fhir:v "not(parent::f:contained and f:contained)" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "dom-3" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ; fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ; fhir:xpath [ fhir:v "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "dom-4" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ; fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ; fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "dom-5" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ; fhir:expression [ fhir:v "contained.meta.security.empty()" ] ; fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:security))" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ] ; fhir:value [ fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ] ] ) ; fhir:key [ fhir:v "dom-6" ] ; fhir:severity [ fhir:v "warning" ] ; fhir:human [ fhir:v "A resource should have narrative for robust management" ] ; fhir:expression [ fhir:v "text.`div`.exists()" ] ; fhir:xpath [ fhir:v "exists(f:text/h:div)" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Entity. Role, or Act" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "GOL.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".outboundRelationship[typeCode<=OBJ]." ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "FHIRR4_GOALVIEW" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "FHIRR4_GOALVIEW" ] ] ) ] [ fhir:id [ fhir:v "Goal.id" ] ; fhir:path [ fhir:v "Goal.id" ] ; fhir:short [ fhir:v "Logical id of this artifact" ] ; fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ; fhir:comment [ fhir:v "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeId(%GOALGROUPID%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeId(%GOALGROUPID%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta" ] ; fhir:path [ fhir:v "Goal.meta" ] ; fhir:short [ fhir:v "Metadata about the resource" ] ; fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.meta" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Meta"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.id" ] ; fhir:path [ fhir:v "Goal.meta.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.extension" ] ; fhir:path [ fhir:v "Goal.meta.extension" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.versionId" ] ; fhir:path [ fhir:v "Goal.meta.versionId" ] ; fhir:short [ fhir:v "Version specific identifier" ] ; fhir:definition [ fhir:v "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted." ] ; fhir:comment [ fhir:v "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.versionId" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%RESOURCEID%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%RESOURCEID%" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.lastUpdated" ] ; fhir:path [ fhir:v "Goal.meta.lastUpdated" ] ; fhir:short [ fhir:v "When the resource version last changed" ] ; fhir:definition [ fhir:v "When the resource last changed - e.g. when the version changed." ] ; fhir:comment [ fhir:v "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http://hl7.org/fhir/R4/http.html#read) interaction." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.lastUpdated" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "instant"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%WHENUPDATED%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%WHENUPDATED%" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.source" ] ; fhir:path [ fhir:v "Goal.meta.source" ] ; fhir:short [ fhir:v "Identifies where the resource comes from" ] ; fhir:definition [ fhir:v "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc." ] ; fhir:comment [ fhir:v "In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.source" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.profile" ] ; fhir:path [ fhir:v "Goal.meta.profile" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "uri" ] ] ) ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Profiles this resource claims to conform to" ] ; fhir:definition [ fhir:v "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url)." ] ; fhir:comment [ fhir:v "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set." ] ; fhir:min [ fhir:v "2"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Meta.profile" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.profile:USCoreGoal" ] ; fhir:path [ fhir:v "Goal.meta.profile" ] ; fhir:sliceName [ fhir:v "USCoreGoal" ] ; fhir:short [ fhir:v "Profiles this resource claims to conform to" ] ; fhir:definition [ fhir:v "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url)." ] ; fhir:comment [ fhir:v "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.profile" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"^^xsd:anyURI ; fhir:link ] ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.profile:AthenaGoal" ] ; fhir:path [ fhir:v "Goal.meta.profile" ] ; fhir:sliceName [ fhir:v "AthenaGoal" ] ; fhir:short [ fhir:v "Profiles this resource claims to conform to" ] ; fhir:definition [ fhir:v "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url)." ] ; fhir:comment [ fhir:v "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.profile" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-goal-profile"^^xsd:anyURI ; fhir:link ] ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.security" ] ; fhir:path [ fhir:v "Goal.meta.security" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "coding" ] ] ) ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Security Labels applied to this resource" ] ; fhir:definition [ fhir:v "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." ] ; fhir:comment [ fhir:v "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "2" ] ; fhir:base [ fhir:path [ fhir:v "Meta.security" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "SecurityLabels" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Security Labels from the Healthcare Privacy and Security Classification System." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/security-labels"^^xsd:anyURI ; fhir:link ] ] ] [ fhir:id [ fhir:v "Goal.meta.security:SENSITIVECHART" ] ; fhir:path [ fhir:v "Goal.meta.security" ] ; fhir:sliceName [ fhir:v "SENSITIVECHART" ] ; fhir:short [ fhir:v "Security Labels applied to this resource" ] ; fhir:definition [ fhir:v "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." ] ; fhir:comment [ fhir:v "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.security" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "SecurityLabels" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Security Labels from the Healthcare Privacy and Security Classification System." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/security-labels"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "CheckSensitive(%SENSITIVECHART%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "CheckSensitive(%SENSITIVECHART%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR" ] ; fhir:path [ fhir:v "Goal.meta.security" ] ; fhir:sliceName [ fhir:v "CONFABBR" ] ; fhir:short [ fhir:v "Security Labels applied to this resource" ] ; fhir:definition [ fhir:v "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." ] ; fhir:comment [ fhir:v "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.security" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "SecurityLabels" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Security Labels from the Healthcare Privacy and Security Classification System." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/security-labels"^^xsd:anyURI ; fhir:link ] ] ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR.id" ] ; fhir:path [ fhir:v "Goal.meta.security.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR.extension" ] ; fhir:path [ fhir:v "Goal.meta.security.extension" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR.system" ] ; fhir:path [ fhir:v "Goal.meta.security.system" ] ; fhir:short [ fhir:v "Identity of the terminology system" ] ; fhir:definition [ fhir:v "The identification of the code system that defines the meaning of the symbol in the code." ] ; fhir:comment [ fhir:v "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." ] ; fhir:requirements [ fhir:v "Need to be unambiguous about the source of the definition of the symbol." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.system" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.3" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystem" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "getSiteCodeSystem(\"ConfidentialDocument\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "getSiteCodeSystem(\"ConfidentialDocument\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR.version" ] ; fhir:path [ fhir:v "Goal.meta.security.version" ] ; fhir:short [ fhir:v "Version of the system - if relevant" ] ; fhir:definition [ fhir:v "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." ] ; fhir:comment [ fhir:v "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.version" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.7" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./codeSystemVersion" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR.code" ] ; fhir:path [ fhir:v "Goal.meta.security.code" ] ; fhir:short [ fhir:v "Symbol in syntax defined by the system" ] ; fhir:definition [ fhir:v "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." ] ; fhir:requirements [ fhir:v "Need to refer to a particular code in the system." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.code" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.1" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "./code" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%CONFABBR%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%CONFABBR%" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR.display" ] ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] ) ; fhir:path [ fhir:v "Goal.meta.security.display" ] ; fhir:short [ fhir:v "Representation defined by the system" ] ; fhir:definition [ fhir:v "A representation of the meaning of the code in the system, following the rules of the system." ] ; fhir:requirements [ fhir:v "Need to be able to carry a human-readable meaning of the code for readers that do not know the system." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.display" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "C*E.2 - but note this is not well followed" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CV.displayName" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR.userSelected" ] ; fhir:path [ fhir:v "Goal.meta.security.userSelected" ] ; fhir:short [ fhir:v "If this coding was chosen directly by the user" ] ; fhir:definition [ fhir:v "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." ] ; fhir:comment [ fhir:v "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." ] ; fhir:requirements [ fhir:v "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Coding.userSelected" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "Sometimes implied by being first" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "CD.codingRationale" ] ] [ fhir:identity [ fhir:v "orim" ] ; fhir:map [ fhir:v "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.tag" ] ; fhir:path [ fhir:v "Goal.meta.tag" ] ; fhir:short [ fhir:v "Tags applied to this resource" ] ; fhir:definition [ fhir:v "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource." ] ; fhir:comment [ fhir:v "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "2" ] ; fhir:base [ fhir:path [ fhir:v "Meta.tag" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "Tags" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/common-tags"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeChangeTagList(%CHANGE%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeChangeTagList(%CHANGE%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.implicitRules" ] ; fhir:path [ fhir:v "Goal.implicitRules" ] ; fhir:short [ fhir:v "A set of rules under which this content was created" ] ; fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ; fhir:comment [ fhir:v "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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.implicitRules" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.language" ] ; fhir:path [ fhir:v "Goal.language" ] ; fhir:short [ fhir:v "Language of the resource content" ] ; fhir:definition [ fhir:v "The base language in which the resource is written." ] ; fhir:comment [ fhir:v "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:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.language" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages"^^xsd:anyURI ; fhir:link ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "Language" ] ] ) ; fhir:strength [ fhir:v "preferred" ] ; fhir:description [ fhir:v "A human language." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages"^^xsd:anyURI ; fhir:link ] ] ] [ fhir:id [ fhir:v "Goal.text" ] ; fhir:path [ fhir:v "Goal.text" ] ; fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ; fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can 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:comment [ fhir:v "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ; fhir:alias ( [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Narrative"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act.text?" ] ] ) ] [ fhir:id [ fhir:v "Goal.contained" ] ; fhir:path [ fhir:v "Goal.contained" ] ; fhir:short [ fhir:v "Contained, inline Resources" ] ; fhir:definition [ fhir:v "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:comment [ fhir:v "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. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ; fhir:alias ( [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.contained" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Resource"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Goal.extension" ] ; fhir:path [ fhir:v "Goal.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Goal.modifierExtension" ] ; fhir:path [ fhir:v "Goal.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored" ] ; fhir:definition [ fhir:v "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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:comment [ fhir:v "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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.modifierExtension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Goal.identifier" ] ; fhir:path [ fhir:v "Goal.identifier" ] ; fhir:short [ fhir:v "External Ids for this goal" ] ; fhir:definition [ fhir:v "Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server." ] ; fhir:comment [ fhir:v "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number." ] ; fhir:requirements [ fhir:v "Allows identification of the goal as it is known by various participating systems and in a way that remains consistent across servers." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Goal.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.identifier" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".id" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeIdentifier(\"U\",getSiteSystem(\"GoalId\"),%GOALGROUPID%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeIdentifier(\"U\",getSiteSystem(\"GoalId\"),%GOALGROUPID%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.lifecycleStatus" ] ; fhir:path [ fhir:v "Goal.lifecycleStatus" ] ; fhir:short [ fhir:v "proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected" ] ; fhir:definition [ fhir:v "The state of the goal throughout its lifecycle." ] ; fhir:comment [ fhir:v "This element is labeled as a modifier because the lifecycleStatus contains codes that mark the resource as not currently valid." ] ; fhir:requirements [ fhir:v "Allows knowing whether goal needs to be further tracked." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.lifecycleStatus" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "GoalLifecycleStatus" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "Codes that reflect the current state of a goal and whether the goal is still being targeted." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/goal-status|4.0.1"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.status" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "GOL-18-goal life cycle status" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".statusCode in-progress = active (classCode = OBJ) cancelled = aborted" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MapCode(%GOALSTATUS%,\"GOALSTATUS\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MapCode(%GOALSTATUS%,\"GOALSTATUS\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.achievementStatus" ] ; fhir:path [ fhir:v "Goal.achievementStatus" ] ; fhir:short [ fhir:v "in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable" ] ; fhir:definition [ fhir:v "Describes the progression, or lack thereof, towards the goal against the target." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.achievementStatus" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "GoalAchievementStatus" ] ] ) ; fhir:strength [ fhir:v "preferred" ] ; fhir:description [ fhir:v "Indicates the progression, or lack thereof, towards the goal against the target." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/goal-achievement"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".statusCode achieved = complete sustaining = active" ] ] ) ] [ fhir:id [ fhir:v "Goal.category" ] ; fhir:path [ fhir:v "Goal.category" ] ; fhir:short [ fhir:v "E.g. Treatment, dietary, behavioral, etc." ] ; fhir:definition [ fhir:v "Indicates a category the goal falls within." ] ; fhir:requirements [ fhir:v "Allows goals to be filtered and sorted." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Goal.category" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "GoalCategory" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes for grouping and sorting goals." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/goal-category"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.class" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeTextConcept(%GOALNAME%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeTextConcept(%GOALNAME%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.priority" ] ; fhir:path [ fhir:v "Goal.priority" ] ; fhir:short [ fhir:v "high-priority | medium-priority | low-priority" ] ; fhir:definition [ fhir:v "Identifies the mutually agreed level of importance associated with reaching/sustaining the goal." ] ; fhir:comment [ fhir:v "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)\r\rThe 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:requirements [ fhir:v "Used for sorting and presenting goals." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.priority" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "GoalPriority" ] ] ) ; fhir:strength [ fhir:v "preferred" ] ; fhir:description [ fhir:v "The level of importance associated with a goal." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/goal-priority"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.grade" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".priorityCode" ] ] ) ] [ fhir:id [ fhir:v "Goal.description" ] ; fhir:path [ fhir:v "Goal.description" ] ; fhir:short [ fhir:v "Code or text describing goal" ] ; fhir:definition [ fhir:v "Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\"." ] ; fhir:comment [ fhir:v "If no code is available, use CodeableConcept.text." ] ; fhir:requirements [ fhir:v "Without a description of what's trying to be achieved, element has no purpose." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.description" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "GoalDescription" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes providing the details of a particular goal. This will generally be system or implementation guide-specific. In many systems, only the text element will be used." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/clinical-findings"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.what[x]" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "GOL-3.2-goal ID.text" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".text" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeConcept(%SNOMEDCTCODE%,\"http://snomed.info/sct\",null,%DESCRIPTION%,false,true)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeConcept(%SNOMEDCTCODE%,\"http://snomed.info/sct\",null,%DESCRIPTION%,false,true)" ] ] ) ] [ fhir:id [ fhir:v "Goal.subject" ] ; fhir:path [ fhir:v "Goal.subject" ] ; fhir:short [ fhir:v "Who this goal is intended for" ] ; fhir:definition [ fhir:v "Identifies the patient, group or organization for whom the goal is being established." ] ; fhir:requirements [ fhir:v "Subject is optional to support annonymized reporting." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.subject" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.subject[x]" ] ] [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "PID-3-patient ID list" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".participation[typeCode=PAT].role[classCode=PAT]" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.subject" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeReference(\"SUBJECT\",%PID%,\"Patient\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeReference(\"SUBJECT\",%PID%,\"Patient\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.start[x]" ] ; fhir:path [ fhir:v "Goal.start[x]" ] ; fhir:short [ fhir:v "When goal pursuit begins" ] ; fhir:definition [ fhir:v "The date or event after which the goal should begin being pursued." ] ; fhir:requirements [ fhir:v "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:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.start[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "date"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.planned" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%STARTDATE%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%STARTDATE%" ] ] ) ] [ fhir:id [ fhir:v "Goal.target" ] ; fhir:path [ fhir:v "Goal.target" ] ; fhir:short [ fhir:v "Target outcome for the goal" ] ; fhir:definition [ fhir:v "Indicates what should be done by when." ] ; fhir:comment [ fhir:v "When multiple targets are present for a single goal instance, all targets must be met for the overall goal to be met." ] ; fhir:requirements [ fhir:v "Allows the progress of the goal to be monitored against an observation or due date. Target is 0..* to support Observations with multiple components, such as blood pressure goals with both a systolic and diastolic target." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.target" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ] ] ) ; fhir:condition ( [ fhir:v "gol-1" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "gol-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Goal.target.measure is required if Goal.target.detail is populated" ] ; fhir:expression [ fhir:v "(detail.exists() and measure.exists()) or detail.exists().not()" ] ; fhir:xpath [ fhir:v "(exists(f:*[starts-with(local-name(.), 'detail')]) and exists(f:measure)) or not(exists(f:*[starts-with(local-name(.), 'detail')]))" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Goal"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.target.id" ] ; fhir:path [ fhir:v "Goal.target.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Goal.target.extension" ] ; fhir:path [ fhir:v "Goal.target.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "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:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Goal.target.modifierExtension" ] ; fhir:path [ fhir:v "Goal.target.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ; fhir:definition [ fhir:v "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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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 can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:comment [ fhir:v "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:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Goal.target.measure" ] ; fhir:path [ fhir:v "Goal.target.measure" ] ; fhir:short [ fhir:v "The parameter whose value is being tracked" ] ; fhir:definition [ fhir:v "The parameter whose value is being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.target.measure" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:condition ( [ fhir:v "gol-1" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "GoalTargetMeasure" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/observation-codes"^^xsd:anyURI ; fhir:link ] ] ] [ fhir:id [ fhir:v "Goal.target.detail[x]" ] ; fhir:path [ fhir:v "Goal.target.detail[x]" ] ; fhir:short [ fhir:v "The target value to be achieved" ] ; fhir:definition [ fhir:v "The target value of the focus to be achieved to signify the fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any focus value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any focus value at or above the low value." ] ; fhir:comment [ fhir:v "A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Goal.target.measure defines a coded value." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.target.detail[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Quantity"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Range"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "integer"^^xsd:anyURI ] ] [ fhir:code [ fhir:v "Ratio"^^xsd:anyURI ] ] ) ; fhir:condition ( [ fhir:v "gol-1" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "GoalTargetDetail" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal." ] ] ] [ fhir:id [ fhir:v "Goal.target.due[x]" ] ; fhir:path [ fhir:v "Goal.target.due[x]" ] ; fhir:short [ fhir:v "Reach goal on or before" ] ; fhir:definition [ fhir:v "Indicates either the date or the duration after start by which the goal should be met." ] ; fhir:requirements [ fhir:v "Identifies when the goal should be evaluated." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.target.due[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "date"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.done[x]" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%ENDDATE%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%ENDDATE%" ] ] ) ] [ fhir:id [ fhir:v "Goal.statusDate" ] ; fhir:path [ fhir:v "Goal.statusDate" ] ; fhir:short [ fhir:v "When goal status took effect" ] ; fhir:definition [ fhir:v "Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc." ] ; fhir:comment [ fhir:v "To see the date for past statuses, query history." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.statusDate" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "date"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.recorded" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%WHENSIGNED%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%WHENSIGNED%" ] ] ) ] [ fhir:id [ fhir:v "Goal.statusReason" ] ; fhir:path [ fhir:v "Goal.statusReason" ] ; fhir:short [ fhir:v "Reason for current status" ] ; fhir:definition [ fhir:v "Captures the reason for the current status." ] ; fhir:comment [ fhir:v "This will typically be captured for statuses such as rejected, on-hold or cancelled, but could be present for others." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.statusReason" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%REASONREMOVED%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%REASONREMOVED%" ] ] ) ] [ fhir:id [ fhir:v "Goal.expressedBy" ] ; fhir:path [ fhir:v "Goal.expressedBy" ] ; fhir:short [ fhir:v "Who's responsible for creating Goal?" ] ; fhir:definition [ fhir:v "Indicates whose goal this is - patient goal, practitioner goal, etc." ] ; fhir:comment [ fhir:v "This is the individual responsible for establishing the goal, not necessarily who recorded it. (For that, use the Provenance resource.)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Goal.expressedBy" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.source" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeReference(\"AUTHOR\",%CREATOR%,\"Practitioner\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeReference(\"AUTHOR\",%CREATOR%,\"Practitioner\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.addresses" ] ; fhir:path [ fhir:v "Goal.addresses" ] ; fhir:short [ fhir:v "Issues addressed by this goal" ] ; fhir:definition [ fhir:v "The identified conditions and other health record elements that are intended to be addressed by the goal." ] ; fhir:requirements [ fhir:v "Allows specific goals to explicitly linked to the concerns they're dealing with - makes the goal more understandable." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Goal.addresses" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Condition"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.why[x]" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".outboundRelationship[typeCode=SUBJ].target[classCode=CONC]" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeReferenceList(\"PROBLEM\", %PROBLEMID%,\"Condition\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeReferenceList(\"PROBLEM\", %PROBLEMID%,\"Condition\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.note" ] ; fhir:path [ fhir:v "Goal.note" ] ; fhir:short [ fhir:v "Comments about the goal" ] ; fhir:definition [ fhir:v "Any comments related to the goal." ] ; fhir:comment [ fhir:v "May be used for progress notes, concerns or other related information that doesn't actually describe the goal itself." ] ; fhir:requirements [ fhir:v "There's a need to capture information about the goal that doesn't actually describe the goal." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Goal.note" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Annotation"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "v2" ] ; fhir:map [ fhir:v "GOL-16-goal evaluation + NTE?" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" ] ] [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeAnnotation(%TARGETVALUE%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeAnnotation(%TARGETVALUE%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.outcomeCode" ] ; fhir:path [ fhir:v "Goal.outcomeCode" ] ; fhir:short [ fhir:v "What result was achieved regarding the goal?" ] ; fhir:definition [ fhir:v "Identifies the change (or lack of change) at the point when the status of the goal is assessed." ] ; fhir:comment [ fhir:v "Note that this should not duplicate the goal status." ] ; fhir:requirements [ fhir:v "Outcome tracking is a key aspect of care planning." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Goal.outcomeCode" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "GoalOutcome" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "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:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/clinical-findings"^^xsd:anyURI ; fhir:link ] ] ] [ fhir:id [ fhir:v "Goal.outcomeReference" ] ; fhir:path [ fhir:v "Goal.outcomeReference" ] ; fhir:short [ fhir:v "Observation that resulted from goal" ] ; fhir:definition [ fhir:v "Details of what's changed (or not changed)." ] ; fhir:comment [ fhir:v "The goal outcome is independent of the outcome of the related activities. For example, if the Goal is to achieve a target body weight of 150 lb and a care plan activity is defined to diet, then the care plan’s activity outcome could be calories consumed whereas goal outcome is an observation for the actual body weight measured." ] ; fhir:requirements [ fhir:v "Outcome tracking is a key aspect of care planning." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Goal.outcomeReference" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ] ) ] ; # fhir:differential [ fhir:element ( [ fhir:id [ fhir:v "Goal" ] ; fhir:path [ fhir:v "Goal" ] ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "FHIRR4_GOALVIEW" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "FHIRR4_GOALVIEW" ] ] ) ] [ fhir:id [ fhir:v "Goal.id" ] ; fhir:path [ fhir:v "Goal.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeId(%GOALGROUPID%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeId(%GOALGROUPID%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta" ] ; fhir:path [ fhir:v "Goal.meta" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Meta"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.versionId" ] ; fhir:path [ fhir:v "Goal.meta.versionId" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%RESOURCEID%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%RESOURCEID%" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.lastUpdated" ] ; fhir:path [ fhir:v "Goal.meta.lastUpdated" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "instant"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%WHENUPDATED%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%WHENUPDATED%" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.profile" ] ; fhir:path [ fhir:v "Goal.meta.profile" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "uri" ] ] ) ; fhir:rules [ fhir:v "open" ] ] ; fhir:min [ fhir:v "2"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.profile:USCoreGoal" ] ; fhir:path [ fhir:v "Goal.meta.profile" ] ; fhir:sliceName [ fhir:v "USCoreGoal" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"^^xsd:anyURI ; fhir:link ] ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.profile:AthenaGoal" ] ; fhir:path [ fhir:v "Goal.meta.profile" ] ; fhir:sliceName [ fhir:v "AthenaGoal" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-goal-profile"^^xsd:anyURI ; fhir:link ] ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.security" ] ; fhir:path [ fhir:v "Goal.meta.security" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "coding" ] ] ) ; fhir:rules [ fhir:v "open" ] ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "2" ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.security:SENSITIVECHART" ] ; fhir:path [ fhir:v "Goal.meta.security" ] ; fhir:sliceName [ fhir:v "SENSITIVECHART" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "CheckSensitive(%SENSITIVECHART%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "CheckSensitive(%SENSITIVECHART%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR" ] ; fhir:path [ fhir:v "Goal.meta.security" ] ; fhir:sliceName [ fhir:v "CONFABBR" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR.system" ] ; fhir:path [ fhir:v "Goal.meta.security.system" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "getSiteCodeSystem(\"ConfidentialDocument\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "getSiteCodeSystem(\"ConfidentialDocument\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.security:CONFABBR.code" ] ; fhir:path [ fhir:v "Goal.meta.security.code" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%CONFABBR%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%CONFABBR%" ] ] ) ] [ fhir:id [ fhir:v "Goal.meta.tag" ] ; fhir:path [ fhir:v "Goal.meta.tag" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "2" ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeChangeTagList(%CHANGE%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeChangeTagList(%CHANGE%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.identifier" ] ; fhir:path [ fhir:v "Goal.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeIdentifier(\"U\",getSiteSystem(\"GoalId\"),%GOALGROUPID%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeIdentifier(\"U\",getSiteSystem(\"GoalId\"),%GOALGROUPID%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.lifecycleStatus" ] ; fhir:path [ fhir:v "Goal.lifecycleStatus" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MapCode(%GOALSTATUS%,\"GOALSTATUS\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MapCode(%GOALSTATUS%,\"GOALSTATUS\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.category" ] ; fhir:path [ fhir:v "Goal.category" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeTextConcept(%GOALNAME%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeTextConcept(%GOALNAME%)" ] ] ) ] [ fhir:id [ fhir:v "Goal.description" ] ; fhir:path [ fhir:v "Goal.description" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeConcept(%SNOMEDCTCODE%,\"http://snomed.info/sct\",null,%DESCRIPTION%,false,true)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeConcept(%SNOMEDCTCODE%,\"http://snomed.info/sct\",null,%DESCRIPTION%,false,true)" ] ] ) ] [ fhir:id [ fhir:v "Goal.subject" ] ; fhir:path [ fhir:v "Goal.subject" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeReference(\"SUBJECT\",%PID%,\"Patient\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeReference(\"SUBJECT\",%PID%,\"Patient\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.start[x]" ] ; fhir:path [ fhir:v "Goal.start[x]" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "date"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%STARTDATE%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%STARTDATE%" ] ] ) ] [ fhir:id [ fhir:v "Goal.target" ] ; fhir:path [ fhir:v "Goal.target" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Goal.target.due[x]" ] ; fhir:path [ fhir:v "Goal.target.due[x]" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "date"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%ENDDATE%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%ENDDATE%" ] ] ) ] [ fhir:id [ fhir:v "Goal.statusDate" ] ; fhir:path [ fhir:v "Goal.statusDate" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "date"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%WHENSIGNED%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%WHENSIGNED%" ] ] ) ] [ fhir:id [ fhir:v "Goal.statusReason" ] ; fhir:path [ fhir:v "Goal.statusReason" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "%REASONREMOVED%" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%REASONREMOVED%" ] ] ) ] [ fhir:id [ fhir:v "Goal.expressedBy" ] ; fhir:path [ fhir:v "Goal.expressedBy" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeReference(\"AUTHOR\",%CREATOR%,\"Practitioner\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeReference(\"AUTHOR\",%CREATOR%,\"Practitioner\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.addresses" ] ; fhir:path [ fhir:v "Goal.addresses" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Condition"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeReferenceList(\"PROBLEM\", %PROBLEMID%,\"Condition\")" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeReferenceList(\"PROBLEM\", %PROBLEMID%,\"Condition\")" ] ] ) ] [ fhir:id [ fhir:v "Goal.note" ] ; fhir:path [ fhir:v "Goal.note" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "Annotation"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenaflow" ] ; fhir:map [ fhir:v "MakeAnnotation(%TARGETVALUE%)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeAnnotation(%TARGETVALUE%)" ] ] ) ] ) ] . # # -------------------------------------------------------------------------------------