## Profile Comparison between http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-goal vs http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-goal

Left: | QICore Goal (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-goal)
Right: | QICore Goal (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-goal)

### Messages

Error | StructureDefinition.version | Values for version differ: '8.0.0-ballot' vs '7.0.2'
Warning | Goal.expressedBy | Elements differ in definition for mustSupport: 'true' vs 'false'
Error | Goal.expressedBy | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal |
copyright |  |
date | 2018-08-22 |
description | Profile of Goal for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | QICoreGoal |
publisher | HL7 International / Clinical Quality Information |
purpose |  |
status | active |
title | QICore Goal |
type | Goal |
url | http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-goal |
version | 8.0.0-ballot | 7.0.2 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Goal |  | 0..* | USCoreGoalProfile | Describes the intended objective(s) for a patient, group or organization |  | 0..* | USCoreGoalProfile | Describes the intended objective(s) for a patient, group or organization |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
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 |  | 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 |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier |  | 0..* | Identifier | External Ids for this goal |  | 0..* | Identifier | External Ids for this goal |
lifecycleStatus | ?!S Σ | 1..1 | code | proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected Binding: ?? (required) | ?!S Σ | 1..1 | code | proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected Binding: ?? (required) |
achievementStatus | Σ | 0..1 | CodeableConcept | in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable Binding: ?? (preferred): Indicates the progression, or lack thereof, towards the goal against the target. | Σ | 0..1 | CodeableConcept | in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable Binding: ?? (preferred): Indicates the progression, or lack thereof, towards the goal against the target. |
category | Σ | 0..* | CodeableConcept | E.g. Treatment, dietary, behavioral, etc. Binding: ?? (example): Codes for grouping and sorting goals. | Σ | 0..* | CodeableConcept | E.g. Treatment, dietary, behavioral, etc. Binding: ?? (example): Codes for grouping and sorting goals. |
priority | Σ | 0..1 | CodeableConcept | high-priority | medium-priority | low-priority Binding: ?? (preferred): The level of importance associated with a goal. | Σ | 0..1 | CodeableConcept | high-priority | medium-priority | low-priority Binding: ?? (preferred): The level of importance associated with a goal. |
description | S Σ | 1..1 | CodeableConcept | Code or text describing goal Binding: ?? (preferred): Value set to describe the Goal
Additional Bindings | Purpose
?? | Preferred
| S Σ | 1..1 | CodeableConcept | Code or text describing goal Binding: ?? (extensible): Value set to describe the Goal |
subject | S Σ | 1..1 | Reference(QICore Patient) | (QI) Who this goal is intended for | S Σ | 1..1 | Reference(QICore Patient) | (QI) Who this goal is intended for |
start[x] | S Σ | 0..1 | date S, CodeableConcept | (QI) When goal pursuit begins Binding: ?? (preferred): Codes describing events that can trigger the initiation of a goal. | S Σ | 0..1 | date S, CodeableConcept | (QI) When goal pursuit begins Binding: ?? (preferred): Codes describing events that can trigger the initiation of a goal. |
target | S C | 0..* | BackboneElement | (QI) Target outcome for the goal | S C | 0..* | BackboneElement | (QI) Target outcome for the goal |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
measure | Σ C | 0..1 | CodeableConcept | The parameter whose value is being tracked Binding: ?? (example): Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level. | Σ C | 0..1 | CodeableConcept | The parameter whose value is being tracked Binding: ?? (example): Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level. |
detail[x] | Σ C | 0..1 | Quantity, Range, CodeableConcept, string, boolean, integer, Ratio | 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. | Σ C | 0..1 | Quantity, Range, CodeableConcept, string, boolean, integer, Ratio | 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. |
due[x] | S Σ | 0..1 | date S, Duration | Reach goal on or before | S Σ | 0..1 | date S, Duration | Reach goal on or before |
statusDate | Σ | 0..1 | date | When goal status took effect | Σ | 0..1 | date | When goal status took effect |
statusReason |  | 0..1 | string | Reason for current status |  | 0..1 | string | Reason for current status |
expressedBy | S Σ | 0..1 | Reference(US Core Practitioner Profile S | US Core Patient Profile | PractitionerRole | US Core RelatedPerson Profile) | Who's responsible for creating Goal? | Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson) | Who's responsible for creating Goal? | Elements differ in definition for mustSupport: 'true' vs 'false' Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson]]) vs Reference([CanonicalType[http://hl7.org/fhir/StructureDefinition/Patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Practitioner], CanonicalType[http://hl7.org/fhir/StructureDefinition/PractitionerRole], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])
addresses |  | 0..* | Reference(Condition | Observation | MedicationStatement | NutritionOrder | ServiceRequest | RiskAssessment) | Issues addressed by this goal |  | 0..* | Reference(Condition | Observation | MedicationStatement | NutritionOrder | ServiceRequest | RiskAssessment) | Issues addressed by this goal |
note |  | 0..* | Annotation | Comments about the goal |  | 0..* | Annotation | Comments about the goal |
outcomeCode |  | 0..* | CodeableConcept | What result was achieved regarding the goal? Binding: ?? (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". |  | 0..* | CodeableConcept | What result was achieved regarding the goal? Binding: ?? (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 |  | 0..* | Reference(Observation) | Observation that resulted from goal |
Documentation for this format