臺灣長期照顧實作指引(TW LTC IG)
1.0.0 - STU 1.0.0

臺灣長期照顧實作指引(TW LTC IG), published by 經濟部產業發展署. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Lorex/TWLongTermCare_IG_Build/ and changes regularly. See the Directory of published versions

Resource Profile: 運動處方-運動目標

Official URL: http://ltc-ig.fhir.tw/StructureDefinition/PASportGoal Version: 1.0.0
Active as of 2026-03-01 Computable Name: PASportGoal

此 Profile 說明本 IG 如何進一步定義 FHIR 的 Goal Resource,以呈現運動處方中涉及之運動目標內容。

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal 0..* Goal Describes the intended objective(s) for a patient, group or organization
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier S 1..* Identifier External Ids for this goal
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
... category SΣ 1..* CodeableConcept E.g. Treatment, dietary, behavioral, etc.
Binding: GoalCategory (example): Codes for grouping and sorting goals.
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://ltc-ig.fhir.tw/CodeSystem/TempCodeCS-Sport
..... code SΣ 1..1 code Symbol in syntax defined by the system
Required Pattern: PhysicalActivity
... description SΣ 1..1 CodeableConcept Code or text describing goal
Binding: SNOMEDCTClinicalFindings (example): 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.
.... text SΣ 1..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(長期照顧-住民基本資料) Who this goal is intended for
... Slices for target SC 1..* BackboneElement Target outcome for the goal
Slice: Unordered, Open by value:measure.coding.code, value:measure.coding.system
Constraints: gol-1
.... target:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... target:step SC 1..1 BackboneElement Target outcome for the goal
Constraints: gol-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... measure SΣC 1..1 CodeableConcept The parameter whose value is being tracked
Binding: LOINCCodes (example): Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.
...... coding SΣ 1..1 Coding Code defined by a terminology system
....... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
....... code SΣ 1..1 code Symbol in syntax defined by the system
Required Pattern: 41950-7
....... display SΣ 0..1 string Representation defined by the system
Required Pattern: Number of steps in 24 hour Measured
..... Slices for detail[x] SΣC 1..1 Quantity The target value to be achieved
Slice: Unordered, Closed by type:$this
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
...... detail[x]:detailQuantity SΣC 1..1 Quantity The target value to be achieved
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
....... unit SΣ 1..1 string Unit representation
Required Pattern: steps per day
....... system SΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
....... code SΣ 1..1 code Coded form of the unit
Required Pattern: /d

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Goal.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Goal.lifecycleStatus Base required GoalLifecycleStatus 📍4.0.1 FHIR Std.
Goal.category Base example Goal category 📍4.0.1 FHIR Std.
Goal.description Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
Goal.target:step.measure Base example LOINC Codes 📍4.0.1 FHIR Std.
Goal.target:step.detail[x] Base example Not State Unknown
Goal.target:step.detail[x]:detailQuantity Base example Not State Unknown
Goal.target:step.detail[x]:detailQuantity.​comparator Base required QuantityComparator 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Goal If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Goal 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 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()
dom-4 error Goal If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Goal If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Goal A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
gol-1 error Goal.target, Goal.target:step Goal.target.measure is required if Goal.target.detail is populated (detail.exists() and measure.exists()) or detail.exists().not()

This structure is derived from Goal

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal 0..* Goal Describes the intended objective(s) for a patient, group or organization
... identifier S 1..* Identifier External Ids for this goal
.... system S 1..1 uri The namespace for the identifier value
.... value 1..1 string The value that is unique
... lifecycleStatus S 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
... category S 1..* CodeableConcept E.g. Treatment, dietary, behavioral, etc.
.... coding S 1..1 Coding Code defined by a terminology system
..... system S 1..1 uri Identity of the terminology system
Required Pattern: http://ltc-ig.fhir.tw/CodeSystem/TempCodeCS-Sport
..... code S 1..1 code Symbol in syntax defined by the system
Required Pattern: PhysicalActivity
.... text S 1..1 string Plain text representation of the concept
... subject S 1..1 Reference(長期照顧-住民基本資料) Who this goal is intended for
... Slices for target S 1..* BackboneElement Target outcome for the goal
Slice: Unordered, Open by value:measure.coding.code, value:measure.coding.system
.... target:step S 1..1 BackboneElement Target outcome for the goal
..... measure S 1..1 CodeableConcept The parameter whose value is being tracked
...... coding S 1..1 Coding Code defined by a terminology system
....... system S 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
....... code S 1..1 code Symbol in syntax defined by the system
Required Pattern: 41950-7
....... display S 0..1 string Representation defined by the system
Required Pattern: Number of steps in 24 hour Measured
..... Slices for detail[x] S 1..1 Quantity The target value to be achieved
Slice: Unordered, Open by type:$this
...... detail[x]:detailQuantity S 1..1 Quantity The target value to be achieved
....... value S 1..1 decimal Numerical value (with implicit precision)
....... unit S 1..1 string Unit representation
Required Pattern: steps per day
....... system S 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
....... code S 1..1 code Coded form of the unit
Required Pattern: /d

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal 0..* Goal Describes the intended objective(s) for a patient, group or organization
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier S 1..* Identifier External Ids for this goal
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... lifecycleStatus ?!SΣ 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Binding: GoalLifecycleStatus (required): Codes that reflect the current state of a goal and whether the goal is still being targeted.
... achievementStatus Σ 0..1 CodeableConcept in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
Binding: GoalAchievementStatus (preferred): Indicates the progression, or lack thereof, towards the goal against the target.
... category SΣ 1..* CodeableConcept E.g. Treatment, dietary, behavioral, etc.
Binding: GoalCategory (example): Codes for grouping and sorting goals.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://ltc-ig.fhir.tw/CodeSystem/TempCodeCS-Sport
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 1..1 code Symbol in syntax defined by the system
Required Pattern: PhysicalActivity
..... display Σ 0..1 string Representation defined by the system
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... priority Σ 0..1 CodeableConcept high-priority | medium-priority | low-priority
Binding: GoalPriority (preferred): The level of importance associated with a goal.
... description SΣ 1..1 CodeableConcept Code or text describing goal
Binding: SNOMEDCTClinicalFindings (example): 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.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 1..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(長期照顧-住民基本資料) Who this goal is intended for
... start[x] Σ 0..1 When goal pursuit begins
Binding: GoalStartEvent (example): Codes describing events that can trigger the initiation of a goal.
.... startDate date
.... startCodeableConcept CodeableConcept
... Slices for target SC 1..* BackboneElement Target outcome for the goal
Slice: Unordered, Open by value:measure.coding.code, value:measure.coding.system
Constraints: gol-1
.... target:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... measure ΣC 0..1 CodeableConcept The parameter whose value is being tracked
Binding: LOINCCodes (example): Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.
..... detail[x] ΣC 0..1 The target value to be achieved
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
...... detailQuantity Quantity
...... detailRange Range
...... detailCodeableConcept CodeableConcept
...... detailString string
...... detailBoolean boolean
...... detailInteger integer
...... detailRatio Ratio
..... due[x] Σ 0..1 Reach goal on or before
...... dueDate date
...... dueDuration Duration
.... target:step SC 1..1 BackboneElement Target outcome for the goal
Constraints: gol-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... measure SΣC 1..1 CodeableConcept The parameter whose value is being tracked
Binding: LOINCCodes (example): Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ 1..1 Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
....... version Σ 0..1 string Version of the system - if relevant
....... code SΣ 1..1 code Symbol in syntax defined by the system
Required Pattern: 41950-7
....... display SΣ 0..1 string Representation defined by the system
Required Pattern: Number of steps in 24 hour Measured
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... Slices for detail[x] SΣC 1..1 Quantity The target value to be achieved
Slice: Unordered, Closed by type:$this
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
...... detail[x]:detailQuantity SΣC 1..1 Quantity The target value to be achieved
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
....... unit SΣ 1..1 string Unit representation
Required Pattern: steps per day
....... system SΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
....... code SΣ 1..1 code Coded form of the unit
Required Pattern: /d
..... due[x] Σ 0..1 Reach goal on or before
...... dueDate date
...... dueDuration Duration
... statusDate Σ 0..1 date When goal status took effect
... statusReason 0..1 string Reason for current status
... expressedBy Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Who's responsible for creating Goal?
... addresses 0..* Reference(Condition | Observation | MedicationStatement | NutritionOrder | ServiceRequest | RiskAssessment) Issues addressed by this goal
... note 0..* Annotation Comments about the goal
... outcomeCode 0..* CodeableConcept What result was achieved regarding the goal?
Binding: SNOMEDCTClinicalFindings (example): 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".
... outcomeReference 0..* Reference(Observation) Observation that resulted from goal

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Goal.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Goal.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Goal.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Goal.lifecycleStatus Base required GoalLifecycleStatus 📍4.0.1 FHIR Std.
Goal.achievementStatus Base preferred Goal achievement status 📍4.0.1 FHIR Std.
Goal.category Base example Goal category 📍4.0.1 FHIR Std.
Goal.priority Base preferred Goal priority 📍4.0.1 FHIR Std.
Goal.description Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
Goal.start[x] Base example Goal start event 📍4.0.1 FHIR Std.
Goal.target.measure Base example LOINC Codes 📍4.0.1 FHIR Std.
Goal.target.detail[x] Base example Not State Unknown
Goal.target:step.measure Base example LOINC Codes 📍4.0.1 FHIR Std.
Goal.target:step.detail[x] Base example Not State Unknown
Goal.target:step.detail[x]:detailQuantity Base example Not State Unknown
Goal.target:step.detail[x]:detailQuantity.​comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Goal.outcomeCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Goal If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Goal 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 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()
dom-4 error Goal If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Goal If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Goal A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
gol-1 error Goal.target, Goal.target:step Goal.target.measure is required if Goal.target.detail is populated (detail.exists() and measure.exists()) or detail.exists().not()

This structure is derived from Goal

Summary

Mandatory: 20 elements
Must-Support: 23 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 2 is sliced based on the values of Goal.target
  • The element 1 is sliced based on the value of Goal.target.detail[x]

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal 0..* Goal Describes the intended objective(s) for a patient, group or organization
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier S 1..* Identifier External Ids for this goal
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
... category SΣ 1..* CodeableConcept E.g. Treatment, dietary, behavioral, etc.
Binding: GoalCategory (example): Codes for grouping and sorting goals.
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://ltc-ig.fhir.tw/CodeSystem/TempCodeCS-Sport
..... code SΣ 1..1 code Symbol in syntax defined by the system
Required Pattern: PhysicalActivity
... description SΣ 1..1 CodeableConcept Code or text describing goal
Binding: SNOMEDCTClinicalFindings (example): 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.
.... text SΣ 1..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(長期照顧-住民基本資料) Who this goal is intended for
... Slices for target SC 1..* BackboneElement Target outcome for the goal
Slice: Unordered, Open by value:measure.coding.code, value:measure.coding.system
Constraints: gol-1
.... target:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... target:step SC 1..1 BackboneElement Target outcome for the goal
Constraints: gol-1
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... measure SΣC 1..1 CodeableConcept The parameter whose value is being tracked
Binding: LOINCCodes (example): Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.
...... coding SΣ 1..1 Coding Code defined by a terminology system
....... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
....... code SΣ 1..1 code Symbol in syntax defined by the system
Required Pattern: 41950-7
....... display SΣ 0..1 string Representation defined by the system
Required Pattern: Number of steps in 24 hour Measured
..... Slices for detail[x] SΣC 1..1 Quantity The target value to be achieved
Slice: Unordered, Closed by type:$this
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
...... detail[x]:detailQuantity SΣC 1..1 Quantity The target value to be achieved
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
....... unit SΣ 1..1 string Unit representation
Required Pattern: steps per day
....... system SΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
....... code SΣ 1..1 code Coded form of the unit
Required Pattern: /d

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Goal.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Goal.lifecycleStatus Base required GoalLifecycleStatus 📍4.0.1 FHIR Std.
Goal.category Base example Goal category 📍4.0.1 FHIR Std.
Goal.description Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
Goal.target:step.measure Base example LOINC Codes 📍4.0.1 FHIR Std.
Goal.target:step.detail[x] Base example Not State Unknown
Goal.target:step.detail[x]:detailQuantity Base example Not State Unknown
Goal.target:step.detail[x]:detailQuantity.​comparator Base required QuantityComparator 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Goal If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Goal 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 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()
dom-4 error Goal If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Goal If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Goal A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
gol-1 error Goal.target, Goal.target:step Goal.target.measure is required if Goal.target.detail is populated (detail.exists() and measure.exists()) or detail.exists().not()

Differential View

This structure is derived from Goal

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal 0..* Goal Describes the intended objective(s) for a patient, group or organization
... identifier S 1..* Identifier External Ids for this goal
.... system S 1..1 uri The namespace for the identifier value
.... value 1..1 string The value that is unique
... lifecycleStatus S 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
... category S 1..* CodeableConcept E.g. Treatment, dietary, behavioral, etc.
.... coding S 1..1 Coding Code defined by a terminology system
..... system S 1..1 uri Identity of the terminology system
Required Pattern: http://ltc-ig.fhir.tw/CodeSystem/TempCodeCS-Sport
..... code S 1..1 code Symbol in syntax defined by the system
Required Pattern: PhysicalActivity
.... text S 1..1 string Plain text representation of the concept
... subject S 1..1 Reference(長期照顧-住民基本資料) Who this goal is intended for
... Slices for target S 1..* BackboneElement Target outcome for the goal
Slice: Unordered, Open by value:measure.coding.code, value:measure.coding.system
.... target:step S 1..1 BackboneElement Target outcome for the goal
..... measure S 1..1 CodeableConcept The parameter whose value is being tracked
...... coding S 1..1 Coding Code defined by a terminology system
....... system S 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
....... code S 1..1 code Symbol in syntax defined by the system
Required Pattern: 41950-7
....... display S 0..1 string Representation defined by the system
Required Pattern: Number of steps in 24 hour Measured
..... Slices for detail[x] S 1..1 Quantity The target value to be achieved
Slice: Unordered, Open by type:$this
...... detail[x]:detailQuantity S 1..1 Quantity The target value to be achieved
....... value S 1..1 decimal Numerical value (with implicit precision)
....... unit S 1..1 string Unit representation
Required Pattern: steps per day
....... system S 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
....... code S 1..1 code Coded form of the unit
Required Pattern: /d

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Goal 0..* Goal Describes the intended objective(s) for a patient, group or organization
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier S 1..* Identifier External Ids for this goal
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... lifecycleStatus ?!SΣ 1..1 code proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
Binding: GoalLifecycleStatus (required): Codes that reflect the current state of a goal and whether the goal is still being targeted.
... achievementStatus Σ 0..1 CodeableConcept in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable
Binding: GoalAchievementStatus (preferred): Indicates the progression, or lack thereof, towards the goal against the target.
... category SΣ 1..* CodeableConcept E.g. Treatment, dietary, behavioral, etc.
Binding: GoalCategory (example): Codes for grouping and sorting goals.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://ltc-ig.fhir.tw/CodeSystem/TempCodeCS-Sport
..... version Σ 0..1 string Version of the system - if relevant
..... code SΣ 1..1 code Symbol in syntax defined by the system
Required Pattern: PhysicalActivity
..... display Σ 0..1 string Representation defined by the system
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... priority Σ 0..1 CodeableConcept high-priority | medium-priority | low-priority
Binding: GoalPriority (preferred): The level of importance associated with a goal.
... description SΣ 1..1 CodeableConcept Code or text describing goal
Binding: SNOMEDCTClinicalFindings (example): 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.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
.... text SΣ 1..1 string Plain text representation of the concept
... subject SΣ 1..1 Reference(長期照顧-住民基本資料) Who this goal is intended for
... start[x] Σ 0..1 When goal pursuit begins
Binding: GoalStartEvent (example): Codes describing events that can trigger the initiation of a goal.
.... startDate date
.... startCodeableConcept CodeableConcept
... Slices for target SC 1..* BackboneElement Target outcome for the goal
Slice: Unordered, Open by value:measure.coding.code, value:measure.coding.system
Constraints: gol-1
.... target:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... measure ΣC 0..1 CodeableConcept The parameter whose value is being tracked
Binding: LOINCCodes (example): Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.
..... detail[x] ΣC 0..1 The target value to be achieved
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
...... detailQuantity Quantity
...... detailRange Range
...... detailCodeableConcept CodeableConcept
...... detailString string
...... detailBoolean boolean
...... detailInteger integer
...... detailRatio Ratio
..... due[x] Σ 0..1 Reach goal on or before
...... dueDate date
...... dueDuration Duration
.... target:step SC 1..1 BackboneElement Target outcome for the goal
Constraints: gol-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... measure SΣC 1..1 CodeableConcept The parameter whose value is being tracked
Binding: LOINCCodes (example): Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding SΣ 1..1 Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system SΣ 1..1 uri Identity of the terminology system
Required Pattern: http://loinc.org
....... version Σ 0..1 string Version of the system - if relevant
....... code SΣ 1..1 code Symbol in syntax defined by the system
Required Pattern: 41950-7
....... display SΣ 0..1 string Representation defined by the system
Required Pattern: Number of steps in 24 hour Measured
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... Slices for detail[x] SΣC 1..1 Quantity The target value to be achieved
Slice: Unordered, Closed by type:$this
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
...... detail[x]:detailQuantity SΣC 1..1 Quantity The target value to be achieved
Binding Description: (example): Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... value SΣ 1..1 decimal Numerical value (with implicit precision)
....... comparator ?!Σ 0..1 code < | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.
....... unit SΣ 1..1 string Unit representation
Required Pattern: steps per day
....... system SΣC 1..1 uri System that defines coded unit form
Fixed Value: http://unitsofmeasure.org
....... code SΣ 1..1 code Coded form of the unit
Required Pattern: /d
..... due[x] Σ 0..1 Reach goal on or before
...... dueDate date
...... dueDuration Duration
... statusDate Σ 0..1 date When goal status took effect
... statusReason 0..1 string Reason for current status
... expressedBy Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) Who's responsible for creating Goal?
... addresses 0..* Reference(Condition | Observation | MedicationStatement | NutritionOrder | ServiceRequest | RiskAssessment) Issues addressed by this goal
... note 0..* Annotation Comments about the goal
... outcomeCode 0..* CodeableConcept What result was achieved regarding the goal?
Binding: SNOMEDCTClinicalFindings (example): 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".
... outcomeReference 0..* Reference(Observation) Observation that resulted from goal

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Goal.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Goal.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
Goal.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Goal.lifecycleStatus Base required GoalLifecycleStatus 📍4.0.1 FHIR Std.
Goal.achievementStatus Base preferred Goal achievement status 📍4.0.1 FHIR Std.
Goal.category Base example Goal category 📍4.0.1 FHIR Std.
Goal.priority Base preferred Goal priority 📍4.0.1 FHIR Std.
Goal.description Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
Goal.start[x] Base example Goal start event 📍4.0.1 FHIR Std.
Goal.target.measure Base example LOINC Codes 📍4.0.1 FHIR Std.
Goal.target.detail[x] Base example Not State Unknown
Goal.target:step.measure Base example LOINC Codes 📍4.0.1 FHIR Std.
Goal.target:step.detail[x] Base example Not State Unknown
Goal.target:step.detail[x]:detailQuantity Base example Not State Unknown
Goal.target:step.detail[x]:detailQuantity.​comparator Base required QuantityComparator 📍4.0.1 FHIR Std.
Goal.outcomeCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Goal If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Goal 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 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()
dom-4 error Goal If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Goal If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Goal A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
gol-1 error Goal.target, Goal.target:step Goal.target.measure is required if Goal.target.detail is populated (detail.exists() and measure.exists()) or detail.exists().not()

This structure is derived from Goal

Summary

Mandatory: 20 elements
Must-Support: 23 elements
Fixed: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 2 is sliced based on the values of Goal.target
  • The element 1 is sliced based on the value of Goal.target.detail[x]

 

Other representations of profile: CSV, Excel, Schematron