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

Left: | QICoreTask (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-task)
Right: | QICoreTask (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-task)

### Messages

Error | StructureDefinition.version | Values for version differ: '4.0.0' vs '4.1.0'
Information | StructureDefinition.publisher | Values for publisher differ: 'Health Level Seven, Inc. - CQI WG' vs 'http://www.hl7.org/Special/committees/cqi/index.cfm'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Task |
copyright |  |
date | 2018-08-22T00:00:00+00:00 | 2018-08-22 |
description | Profile of Task 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 | QICoreTask |
publisher | Health Level Seven, Inc. - CQI WG | http://www.hl7.org/Special/committees/cqi/index.cfm | Values Differ
purpose |  |
status | draft |
title |  |
type | Task |
url | http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-task |
version | 4.0.0 | 4.1.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | L Type | L Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Task | I | 0..* | Task | A task to be performed | I | 0..* | Task | A task to be performed |
id | Σ | 0..1 | string | Logical id of this artifact | Σ | 0..1 | string | 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: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language. |
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |
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 | S | 1..* | Identifier | Task Instance Identifier | S | 1..* | Identifier | Task Instance Identifier |
instantiatesCanonical | Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task | Σ | 0..1 | canonical(ActivityDefinition) | Formal definition of task |
instantiatesUri | Σ | 0..1 | uri | Formal definition of task | Σ | 0..1 | uri | Formal definition of task |
basedOn | Σ | 0..* | Reference(Resource) | Request fulfilled by this task | Σ | 0..* | Reference(Resource) | Request fulfilled by this task |
groupIdentifier | Σ | 0..1 | Identifier | Requisition or grouper id | Σ | 0..1 | Identifier | Requisition or grouper id |
partOf | Σ | 0..* | Reference(Task) | Composite task | Σ | 0..* | Reference(Task) | Composite task |
status | ?!S Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. | ?!S Σ | 1..1 | code | draft | requested | received | accepted | + Binding: TaskStatus (required): The current status of the task. |
statusReason | Σ | 0..1 | CodeableConcept | Reason for current status Binding: (unbound) (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. | Σ | 0..1 | CodeableConcept | Reason for current status Binding: (unbound) (example): Codes to identify the reason for current status. These will typically be specific to a particular workflow. |
businessStatus | Σ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding: (unbound) (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc. | Σ | 0..1 | CodeableConcept | E.g. "Specimen collected", "IV prepped" Binding: (unbound) (example): The domain-specific business-contextual sub-state of the task. For example: "Blood drawn", "IV inserted", "Awaiting physician signature", etc. |
intent | S Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. | S Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: TaskIntent (required): Distinguishes whether the task is a proposal, plan or full order. |
priority | S | 1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. | S | 1..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): The task's priority. |
code | S Σ | 1..1 | CodeableConcept | Task Type Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. | S Σ | 1..1 | CodeableConcept | Task Type Binding: TaskCode (example): Codes to identify what the task involves. These will typically be specific to a particular workflow. |
description | Σ | 0..1 | string | Human-readable explanation of task | Σ | 0..1 | string | Human-readable explanation of task |
focus | Σ | 0..1 | Reference(Resource) | What task is acting on | Σ | 0..1 | Reference(Resource) | What task is acting on |
for | Σ | 0..1 | Reference(Resource) | Beneficiary of the Task | Σ | 0..1 | Reference(Resource) | Beneficiary of the Task |
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated |
executionPeriod | Σ | 1..1 | Period | Start and end time of execution | Σ | 1..1 | Period | Start and end time of execution |
authoredOn | I | 0..1 | dateTime | Task Creation Date | I | 0..1 | dateTime | Task Creation Date |
lastModified | Σ I | 0..1 | dateTime | Task Last Modified Date | Σ I | 0..1 | dateTime | Task Last Modified Date |
requester | Σ | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who is asking for task to be done | Σ | 0..1 | Reference(Device | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who is asking for task to be done |
performerType |  | 0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. |  | 0..* | CodeableConcept | Requested performer Binding: ProcedurePerformerRoleCodes (preferred): The type(s) of task performers allowed. |
owner | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Responsible individual | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | CareTeam | HealthcareService | Patient | Device | RelatedPerson) | Responsible individual |
location | Σ | 0..1 | Reference(Location) | Where task occurs | Σ | 0..1 | Reference(Location) | Where task occurs |
reasonCode |  | 0..1 | CodeableConcept | Why task is needed Binding: (unbound) (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. |  | 0..1 | CodeableConcept | Why task is needed Binding: (unbound) (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. |
reasonReference |  | 0..1 | Reference(Resource) | Why task is needed |  | 0..1 | Reference(Resource) | Why task is needed |
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage |
note |  | 0..* | Annotation | Comments made about the task |  | 0..* | Annotation | Comments made about the task |
relevantHistory |  | 0..* | Reference(Provenance) | Key events in history of the Task |  | 0..* | Reference(Provenance) | Key events in history of the Task |
restriction |  | 0..1 | BackboneElement | Constraints on fulfillment tasks |  | 0..1 | BackboneElement | Constraints on fulfillment tasks |
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 |
repetitions |  | 0..1 | positiveInt | How many times to repeat |  | 0..1 | positiveInt | How many times to repeat |
period |  | 0..1 | Period | When fulfillment sought |  | 0..1 | Period | When fulfillment sought |
recipient |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? |  | 0..* | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Group | Organization) | For whom is fulfillment sought? |
input |  | 0..* | BackboneElement | Information used to perform task |  | 0..* | BackboneElement | Information used to perform task |
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 |
type |  | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. |  | 1..1 | CodeableConcept | Label for the input Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Comparison source", "Applicable consent", "Concomitent Medications", etc. |
value[x] |  | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Content to use in performing the task |  | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Content to use in performing the task |
output |  | 0..* | BackboneElement | Information produced as part of task |  | 0..* | BackboneElement | Information produced as part of task |
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 |
type |  | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. |  | 1..1 | CodeableConcept | Label for output Binding: (unbound) (example): Codes to identify types of input parameters. These will typically be specific to a particular workflow. E.g. "Identified issues", "Preliminary results", "Filler order", "Final results", etc. |
value[x] |  | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Result of output |  | 1..1 | base64Binary, boolean, canonical(), code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference(), SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta | Result of output |
Documentation for this format