## Profile Comparison between http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader vs http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader

Left: | US Public Health MessageHeader (http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader)
Right: | US Public Health MessageHeader (http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.2.0' vs '1.0.0'
Warning | MessageHeader | Elements differ in definition: 'Sets expectations for supported capabilities for MessageHeader resource in MedMorph.' vs 'Sets expectations for supported capabilities for MessageHeader resource for public health.'
Warning | MessageHeader.extension | Elements differ in definition for mustSupport: 'false' vs 'true'
Information | MessageHeader.extension | Element minimum cardinalities differ: '0' vs '1'
Warning | MessageHeader.event[x] | Elements differ in short: 'Code for the event this message represents or link to event definition' vs 'Types of messages being sent between systems'
Warning | MessageHeader.event[x] | Elements differ in description: 'Types of messages being sent between systems' vs 'US Public Health Message Types ValueSet'
Warning | MessageHeader.event[x] | Elements differ in description: 'Types of messages being sent between systems' vs 'US Public Health Message Types ValueSet'
Warning | MessageHeader.reason | Elements differ in short: 'Cause of event' vs 'The named event that gave rise to the message'
Warning | MessageHeader.reason | Elements differ in description: 'The named event that gave rise to the message' vs 'US Public Health TriggerDefinition NamedEvents'
Warning | MessageHeader.reason | Elements differ in description: 'The named event that gave rise to the message' vs 'US Public Health TriggerDefinition NamedEvents'
Warning | MessageHeader.definition | Elements differ in definition for mustSupport: 'false' vs 'true'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/MessageHeader |
copyright |  |
date | 2019-09-01 |
description | This is the MessageHeader Resource profile for the IG. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#US |
kind | resource |
name | USPublicHealthMessageHeader |
publisher | HL7 International - Public Health Work Group |
purpose |  |
status | draft |
title | US Public Health MessageHeader |
type | MessageHeader |
url | http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader |
version | 0.2.0 | 1.0.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 | US Public Health MessageHeader |  | 0..* | MessageHeader | US Public Health MessageHeader | Elements differ in definition: 'Sets expectations for supported capabilities for MessageHeader resource in MedMorph.' vs 'Sets expectations for supported capabilities for MessageHeader resource for public health.'
id | Σ | 0..1 | string | 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 |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url | S | 1..* | Extension | Extension Slice: Unordered, Open by value:url | Elements differ in definition for mustSupport: 'false' vs 'true' Element minimum cardinalities differ: '0' vs '1'
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
event[x] | S Σ | 1..1 | Coding | Code for the event this message represents or link to event definition Binding: ?? (extensible): Types of messages being sent between systems | S Σ | 1..1 | Coding | Types of messages being sent between systems Binding: ?? (extensible): US Public Health Message Types ValueSet | Elements differ in short: 'Code for the event this message represents or link to event definition' vs 'Types of messages being sent between systems' Elements differ in description: 'Types of messages being sent between systems' vs 'US Public Health Message Types ValueSet' Elements differ in description: 'Types of messages being sent between systems' vs 'US Public Health Message Types ValueSet'
destination | S Σ | 1..* | BackboneElement | Message destination application(s) | S Σ | 1..* | 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 | S Σ | 1..1 | url | Actual destination address or id | S Σ | 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 | S Σ | 1..1 | Reference(Organization) | Real world sender of the message | S Σ | 1..1 | Reference(US Public Health 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 | S Σ | 1..1 | BackboneElement | Message source application | S Σ | 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 | S Σ | 1..1 | url | Actual message source address or id | S Σ | 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 | S Σ | 1..1 | CodeableConcept | Cause of event Binding: ?? (extensible): The named event that gave rise to the message | S Σ | 1..1 | CodeableConcept | The named event that gave rise to the message Binding: ?? (extensible): US Public Health TriggerDefinition NamedEvents | Elements differ in short: 'Cause of event' vs 'The named event that gave rise to the message' Elements differ in description: 'The named event that gave rise to the message' vs 'US Public Health TriggerDefinition NamedEvents' Elements differ in description: 'The named event that gave rise to the message' vs 'US Public Health TriggerDefinition NamedEvents'
response | S Σ | 0..1 | BackboneElement | If this is a reply to prior message | S Σ | 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 | S Σ | 1..1 | id | Id of original message | S Σ | 1..1 | id | Id of original message |
code | S Σ | 1..1 | code | ok | transient-error | fatal-error Binding: ?? (required): The kind of response to a message. | S Σ | 1..1 | code | ok | transient-error | fatal-error Binding: ?? (required): The kind of response to a message. |
details | S Σ | 0..1 | Reference(OperationOutcome) | Specific list of hints/warnings/errors | S Σ | 0..1 | Reference(OperationOutcome) | Specific list of hints/warnings/errors |
focus | Σ | 0..* | Reference(Resource) | The actual content of the message | Σ | 0..* | Reference(Resource) | The actual content of the message |
definition | Σ | 0..1 | canonical(MessageDefinition) | Link to the definition for this message | S Σ | 0..1 | canonical(US Public Health MessageDefinition) | Link to the definition for this message | Elements differ in definition for mustSupport: 'false' vs 'true'
Documentation for this format