## Profile Comparison between http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-consent-request vs http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-consent-request

Left: | Specialty Rx Task - Consent Request (http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-consent-request)
Right: | Specialty Rx Task - Consent Request (http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-consent-request)

### Messages

Error | StructureDefinition.version | Values for version differ: '2.0.0' vs '2.1.0'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Task |
copyright |  |
date | 2021-12-20T00:00:00-05:00 |
description | This profile defines use of the Task resource to request that consent or authorization associated with prescribed product be obtained and made available to the requesting system. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | SpecialtyRxTaskConsentRequest |
publisher | HL7 International - Pharmacy |
purpose |  |
status | active |
title | Specialty Rx Task - Consent Request |
type | Task |
url | http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-consent-request |
version | 2.0.0 | 2.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 | C | 0..* | Task | A task to be performed | C | 0..* | Task | A task to be performed |
id | S Σ | 1..1 | id | Logical id of this artifact | S Σ | 1..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 |  | 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 |  | 0..* | Identifier | Task Instance Identifier |  | 0..* | 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 | ?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: ?? (required): The current status of the task. | ?!Σ | 1..1 | code | draft | requested | received | accepted | + Binding: ?? (required): The current status of the task. |
statusReason | Σ | 0..1 | CodeableConcept | Reason for current status Binding: ?? (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: ?? (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: ?? (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: ?? (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: ?? (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: plan | S Σ | 1..1 | code | unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: ?? (required): Distinguishes whether the task is a proposal, plan or full order. Fixed Value: plan |
priority |  | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): The task's priority. |  | 0..1 | code | routine | urgent | asap | stat Binding: ?? (required): The task's priority. |
code | S Σ | 1..1 | CodeableConcept | Task Type Binding: ?? (required): This value set contains task types used in the Specialty Rx Task profiles Required Pattern: {"coding":[{"system":"http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-characteristic","code":"obtain-consent"}]} | S Σ | 1..1 | CodeableConcept | Task Type Binding: ?? (required): This value set contains task types used in the Specialty Rx Task profiles Required Pattern: {"coding":[{"system":"http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-characteristic","code":"obtain-consent"}]} |
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 | S Σ | 1..1 | Reference(US Core Patient Profile) | Related Patient in Data Source | S Σ | 1..1 | Reference(US Core Patient Profile) | Related Patient in Data Source |
encounter | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated | Σ | 0..1 | Reference(Encounter) | Healthcare event during which this task originated |
executionPeriod | Σ | 0..1 | Period | Start and end time of execution | Σ | 0..1 | Period | Start and end time of execution |
authoredOn | S C | 1..1 | dateTime | Task Creation Date | S C | 1..1 | dateTime | Task Creation Date |
lastModified | Σ C | 0..1 | dateTime | Task Last Modified Date | Σ C | 0..1 | dateTime | Task Last Modified Date |
requester | S Σ C | 1..1 | Reference(US Core Organization Profile) | Who is asking for task to be done srx-2: Either requester.reference or requester.identifier SHALL be present | S Σ C | 1..1 | Reference(US Core Organization Profile) | Who is asking for task to be done srx-2: Either requester.reference or requester.identifier SHALL be present |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | S Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). |
Slices for identifier | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known Slice: Unordered, Open by pattern:$this | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known Slice: Unordered, Open by pattern:$this |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
performerType |  | 0..* | CodeableConcept | Requested performer Binding: ?? (preferred): The type(s) of task performers allowed. |  | 0..* | CodeableConcept | Requested performer Binding: ?? (preferred): The type(s) of task performers allowed. |
owner | S Σ C | 1..1 | Reference(Practitioner) | Prescriber srx-3: Either owner.reference or owner.identifier SHALL be present | S Σ C | 1..1 | Reference(Practitioner) | Prescriber srx-3: Either owner.reference or owner.identifier SHALL be present |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | S Σ C | 0..1 | string | Prescriber Reference | S Σ C | 0..1 | string | Prescriber Reference |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). |
identifier | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known Required Pattern: {"system":"http://hl7.org/fhir/sid/us-npi"} | S Σ | 0..1 | Identifier | Logical reference, when literal reference is not known Required Pattern: {"system":"http://hl7.org/fhir/sid/us-npi"} |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 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: ?? (required): Identifies the purpose for this identifier, if known . | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known . |
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | Σ | 0..1 | CodeableConcept | Description of identifier Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | S Σ | 1..1 | string | The value that is unique Example General: 123456 | S Σ | 1..1 | string | The value that is unique Example General: 123456 |
period | Σ | 0..1 | Period | Time period when id is/was valid for use | Σ | 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) | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
location | Σ | 0..1 | Reference(Location) | Where task occurs | Σ | 0..1 | Reference(Location) | Where task occurs |
reasonCode |  | 0..1 | CodeableConcept | Why task is needed Binding: ?? (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. |  | 0..1 | CodeableConcept | Why task is needed Binding: ?? (example): Indicates why the task is needed. E.g. Suspended because patient admitted to hospital. |
reasonReference | S C | 0..1 | Reference(MedicationRequest) | Related Prescription srx-1: If Task.reasonReference is present, either reference or identifier SHOULD be present. If reasonReference.identifier is present, it SHALL be the placer order ID | S C | 0..1 | Reference(MedicationRequest) | Related Prescription srx-1: If Task.reasonReference is present, either reference or identifier SHOULD be present. If reasonReference.identifier is present, it SHALL be the placer order ID |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | S Σ C | 0..1 | string | Prescription Reference | S Σ C | 0..1 | string | Prescription Reference |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). |
identifier | S Σ | 0..1 | Identifier | Placer Order Number Required Pattern: {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]}} | S Σ | 0..1 | Identifier | Placer Order Number Required Pattern: {"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]}} |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 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: ?? (required): Identifies the purpose for this identifier, if known . | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known . |
type | Σ | 0..1 | CodeableConcept | Description of identifier Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | Σ | 0..1 | CodeableConcept | Description of identifier Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
system | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | S Σ | 1..1 | string | The value that is unique Example General: 123456 | S Σ | 1..1 | string | The value that is unique Example General: 123456 |
period | Σ | 0..1 | Period | Time period when id is/was valid for use | Σ | 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) | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) |
display | S Σ | 0..1 | string | Text alternative for the resource | S Σ | 0..1 | string | Text alternative for the resource |
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? |
Slices for input | S | 1..* | BackboneElement | Information used to perform task Slice: Unordered, Open by pattern:type | S | 1..* | BackboneElement | Information used to perform task Slice: Unordered, Open by pattern:type |
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: ?? (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: ?? (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 |
Slices for output | S | 0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by pattern:type | S | 0..* | BackboneElement | Information produced as part of task Slice: Unordered, Open by pattern:type |
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: ?? (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: ?? (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