description: This template represents a patient health goal. A Goal Observation template may have related components that are acts, encounters, observations, procedures, substance administrations, or supplies. A goal identifies a future desired condition or state. Goals are often related to physical or mental health conditions or diseases, but also may be related to a Social Determinant of Health (SDOH) risks or states. For example, to have adequate quality meals and snacks, gain transportation security - able to access health and social needs). SDOH data relate to conditions in which people live, learn, work, and play and their effects on health risks and outcomes. A Goal is established by the patient or provider or both. \n\nA goal may be a patient or provider goal. If the author is set to the recordTarget (patient), this is a patient goal. If the author is set to a provider, this is a provider goal. If both patient and provider are set as authors, this is called a negotiated or shared goal.\n\nA goal usually has a related health concern and/or risk.\n\nA goal may have components consisting of other goals (milestones). These milestones are related to the overall goal through entryRelationships. package_name: hl7.cda.us.ccda derivation: constraint name: GoalObservation type: http://hl7.org/cda/stds/core/StructureDefinition/Observation elements: entryRelationship: index: 17 slicing: rules: open discriminator: - {path: act, type: profile} - {path: observation, type: profile} - {path: typeCode, type: value} min: null slices: refersTo: match: {typeCode: REFR} schema: short: The following entryRelationship represents the relationship between a Goal Observation and another entry (usually a Health Concern Act) (Goal Observation REFERS TO Health Concern Act) already described in the CDA document instance. Rather than clone the whole entry, an Entry Reference may be used in this entryRelationship to reference this entry. array: true index: 18 elements: typeCode: pattern: {type: Code, value: REFR} index: 19 act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 20} required: [act] componentEntry: match: {typeCode: COMP} schema: short: The following entryRelationship represents a planned component of the goal such as Planned Encounter (V2), Planned Procedure (V2), Planned Medication Activity (V2), Planned Supply (V2), Planned Act (V2) or Planned Immunization Activity. Because these entries are already described in the Interventions Section of the CDA document instance, rather than repeating the full content of the entries, the Entry Reference template may be used to reference the entries. array: true index: 21 elements: typeCode: pattern: {type: Code, value: COMP} index: 22 act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 23} required: [act] priorityPreference: match: {typeCode: REFR} schema: short: The following entryRelationship represents the priority that the patient or a provider puts on the goal. index: 24 elements: typeCode: pattern: {type: Code, value: REFR} index: 25 observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 26} required: [observation] goal: match: {typeCode: COMP} schema: short: The following entryRelationship represents the relationship between two Goal Observations where the target is a component of the source (Goal Observation HAS COMPONENT Goal Observation). The component goal (target) is a Milestone. array: true index: 27 elements: typeCode: pattern: {type: Code, value: COMP} index: 28 observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 29} required: [observation] progressTowardGoal: match: {typeCode: REFR} schema: short: entryRelationship array: true index: 30 elements: typeCode: pattern: {type: Code, value: REFR} index: 31 observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', short: act, index: 32} required: [observation] value: index: 14 slicing: rules: open discriminator: - {path: $this, type: type} min: null max: 1 slices: coded: match: {} schema: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/CD', index: 15} min: 0 max: 1 classCode: pattern: {type: Code, value: OBS} index: 4 author: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Author', short: 'If the author is the recordTarget (patient), this is a patient goal. If the author is a provider, this is a provider goal. If both patient and provider are authors, this is a negotiated goal. If no author is present, it is assumed the document or section author(s) is the author of this goal.', index: 16} reference: short: Where it is necessary to reference an external clinical document such a Referral document, Discharge Summary document etc., the External Document Reference template can be used to reference this document. However, if this Care Plan document is replacing or appending another Care Plan document in the same set, that relationship is set in the header, using ClinicalDocument/relatedDocument. index: 33 elements: typeCode: pattern: {type: Code, value: REFR} index: 34 externalDocument: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/ExternalDocument', index: 35} required: [externalDocument] id: {index: 6} code: {short: 'When the Goal is Social Determinant of Health Goal, the observation/code SHOULD contain exactly one [1..1] code, which SHOULD contain exactly one [1..1] @code="8689-2 "History of Social function', index: 7} moodCode: pattern: {type: Code, value: GOL} index: 5 effectiveTime: {short: effectiveTime/low represents when to start working on the goal. effectiveTime/high or effectiveTime/value represents when the goal should be met (i.e. a due date), index: 13} templateId: index: 0 slicing: rules: open discriminator: - {path: root, type: value} - {path: extension, type: value} min: 1 slices: goal-obs: match: {root: 2.16.840.1.113883.10.20.22.4.121, extension: '2022-06-01'} schema: _required: true index: 1 elements: root: pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.121} index: 2 extension: pattern: {type: String, value: '2022-06-01'} index: 3 required: [root, extension] extensions: {} statusCode: index: 10 elements: nullFlavor: {index: 11} code: binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActStatus'} index: 12 required: [code] text: short: SHOULD reference the portion of section narrative text corresponding to this entry index: 8 elements: reference: constraint: value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/GoalObservation', severity: error, expression: value.exists() implies value.startsWith('#')} index: 9 package_version: 4.0.0-ballot class: logical kind: logical url: http://hl7.org/cda/us/ccda/StructureDefinition/GoalObservation base: http://hl7.org/cda/stds/core/StructureDefinition/Observation version: 4.0.0-ballot required: [id, statusCode, templateId]