## Profile Comparison between http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-error vs http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-error

Left: | Specialty Rx Error MessageHeader (http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-error)
Right: | Specialty Rx Error MessageHeader (http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-error)

### 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/MessageHeader |
copyright |  |
date | 2020-07-31T00:00:00-00:00 |
description | This profile constrains a MessageHeader resource for use in a Specialty Rx error bundle. An OperationOutcome resource is the focus. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | SpecialtyRxMessageHeaderError |
publisher | HL7 International - Pharmacy |
purpose |  |
status | active |
title | Specialty Rx Error MessageHeader |
type | MessageHeader |
url | http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-messageheader-error |
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
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
MessageHeader |  | 0..* | MessageHeader | A resource that describes a message that is exchanged between systems |  | 0..* | MessageHeader | A resource that describes a message that is exchanged between systems |
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 |  | 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 |
Slices for event[x] | Σ | 1..1 | Coding | Code for the event this message represents or link to event definition Slice: Unordered, Closed by type:$this Binding: ?? (example): One of the message events defined as part of this version of FHIR. | Σ | 1..1 | Coding | Code for the event this message represents or link to event definition Slice: Unordered, Closed by type:$this Binding: ?? (example): One of the message events defined as part of this version of FHIR. |
destination | Σ | 0..* | BackboneElement | Message destination application(s) | Σ | 0..* | BackboneElement | Message destination application(s) |
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 |
name | Σ | 0..1 | string | Name of system | Σ | 0..1 | string | Name of system |
target | Σ | 0..1 | Reference(Device) | Particular delivery destination within the destination | Σ | 0..1 | Reference(Device) | Particular delivery destination within the destination |
endpoint | Σ | 1..1 | url | Actual destination address or id | Σ | 1..1 | url | Actual destination address or id |
receiver | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Intended "real-world" recipient for the data | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Intended "real-world" recipient for the data |
sender | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Real world sender of the message | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Real world sender of the message |
enterer | Σ | 0..1 | Reference(Practitioner | PractitionerRole) | The source of the data entry | Σ | 0..1 | Reference(Practitioner | PractitionerRole) | The source of the data entry |
author | Σ | 0..1 | Reference(Practitioner | PractitionerRole) | The source of the decision | Σ | 0..1 | Reference(Practitioner | PractitionerRole) | The source of the decision |
source | Σ | 1..1 | BackboneElement | Message source application | Σ | 1..1 | BackboneElement | Message source application |
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 |
name | Σ | 0..1 | string | Name of system | Σ | 0..1 | string | Name of system |
software | Σ | 0..1 | string | Name of software running the system | Σ | 0..1 | string | Name of software running the system |
version | Σ | 0..1 | string | Version of software running | Σ | 0..1 | string | Version of software running |
contact | Σ | 0..1 | ContactPoint | Human contact for problems | Σ | 0..1 | ContactPoint | Human contact for problems |
endpoint | Σ | 1..1 | url | Actual message source address or id | Σ | 1..1 | url | Actual message source address or id |
responsible | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Final responsibility for event | Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Final responsibility for event |
reason | Σ | 0..1 | CodeableConcept | Cause of event Binding: ?? (example): Reason for event occurrence. | Σ | 0..1 | CodeableConcept | Cause of event Binding: ?? (example): Reason for event occurrence. |
response | Σ | 0..1 | BackboneElement | If this is a reply to prior message | Σ | 0..1 | BackboneElement | If this is a reply to prior message |
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 |
identifier | Σ | 1..1 | id | Id of original message | Σ | 1..1 | id | Id of original message |
code | Σ | 1..1 | code | ok | transient-error | fatal-error Binding: ?? (required): The kind of response to a message. | Σ | 1..1 | code | ok | transient-error | fatal-error Binding: ?? (required): The kind of response to a message. |
details | Σ | 0..1 | Reference(OperationOutcome) | Specific list of hints/warnings/errors | Σ | 0..1 | Reference(OperationOutcome) | Specific list of hints/warnings/errors |
focus | S Σ | 1..1 | Reference(OperationOutcome) {b} | The actual content of the message | S Σ | 1..1 | Reference(OperationOutcome) {b} | The actual content of the message |
definition | Σ | 0..1 | canonical(MessageDefinition) | Link to the definition for this message | Σ | 0..1 | canonical(MessageDefinition) | Link to the definition for this message |
Documentation for this format