Making EHR Data More available for Research and Public Health (MedMorph)
0.2.0 - STU 1 draft

This page is part of the Making EHR Data MOre available for Research and Public Health (MedMorph) (v0.2.0: STU 1 Draft) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: USPublicHealthMessageHeader

Defining URL:http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader
Version:0.2.0
Name:USPublicHealthMessageHeader
Title:US Public Health MessageHeader
Status:Draft as of 9/1/19
Definition:

This is the MessageHeader Resource profile for the IG.

Publisher:HL7 International - Public Health Work Group
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://hl7.org/fhir/us/medmorph/StructureDefinition/us-ph-messageheader

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from MessageHeader

Summary

Mandatory: 8 elements (2 nested mandatory elements)
Must-Support: 13 elements

Extensions

This structure refers to these extensions:

This structure is derived from MessageHeader

NameFlagsCard.TypeDescription & Constraintsdoco
.. MessageHeader 0..*MessageHeaderUS Public Health MessageHeader
... ext-dataEncrypted S0..1booleanIndicates whether the data in the content bundle is encrypted or not
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-dataEncrypted
... ext-messageProcessingCategory S1..1codeIndicates how messages should be processed
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-messageProcessingCategory
Binding: MessageSignificanceCategory (required): The message processing requirements identified by the message

... event[x] S1..1CodingCode for the event this message represents or link to event definition
Binding: US Public Health Message Types (extensible): Types of messages being sent between systems

.... endpoint S1..1urlActual destination address or id
... sender S1..1Reference(Organization)Real world sender of the message
... source S1..1BackboneElementMessage source application
.... endpoint S1..1urlActual message source address or id
... reason S1..1CodeableConceptCause of event
Binding: US Public Health TriggerDefinition NamedEvent (extensible): The named event that gave rise to the message

... response S0..1BackboneElementIf this is a reply to prior message
.... identifier S1..1idId of original message
.... code S1..1codeok | transient-error | fatal-error
.... details S0..1Reference(OperationOutcome)Specific list of hints/warnings/errors

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MessageHeader 0..*MessageHeaderUS Public Health MessageHeader
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-dataEncrypted S0..1booleanIndicates whether the data in the content bundle is encrypted or not
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-dataEncrypted
... ext-messageProcessingCategory S1..1codeIndicates how messages should be processed
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-messageProcessingCategory
Binding: MessageSignificanceCategory (required): The message processing requirements identified by the message


... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... event[x] SΣ1..1CodingCode for the event this message represents or link to event definition
Binding: US Public Health Message Types (extensible): Types of messages being sent between systems

... destination SΣ1..*BackboneElementMessage destination application(s)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... name Σ0..1stringName of system
.... target Σ0..1Reference(Device)Particular delivery destination within the destination
.... endpoint SΣ1..1urlActual destination address or id
.... receiver Σ0..1Reference(Practitioner | PractitionerRole | Organization)Intended "real-world" recipient for the data
... sender SΣ1..1Reference(Organization)Real world sender of the message
... enterer Σ0..1Reference(Practitioner | PractitionerRole)The source of the data entry
... author Σ0..1Reference(Practitioner | PractitionerRole)The source of the decision
... source SΣ1..1BackboneElementMessage source application
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... name Σ0..1stringName of system
.... software Σ0..1stringName of software running the system
.... version Σ0..1stringVersion of software running
.... contact Σ0..1ContactPointHuman contact for problems
.... endpoint SΣ1..1urlActual message source address or id
... responsible Σ0..1Reference(Practitioner | PractitionerRole | Organization)Final responsibility for event
... reason SΣ1..1CodeableConceptCause of event
Binding: US Public Health TriggerDefinition NamedEvent (extensible): The named event that gave rise to the message

... response SΣ0..1BackboneElementIf this is a reply to prior message
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... identifier SΣ1..1idId of original message
.... code SΣ1..1codeok | transient-error | fatal-error
Binding: ResponseType (required): The kind of response to a message.

.... details SΣ0..1Reference(OperationOutcome)Specific list of hints/warnings/errors
... focus Σ0..*Reference(Resource)The actual content of the message
... definition Σ0..1canonical(MessageDefinition)Link to the definition for this message

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. MessageHeader 0..*MessageHeaderUS Public Health MessageHeader
... ext-dataEncrypted 0..1booleanIndicates whether the data in the content bundle is encrypted or not
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-dataEncrypted
... ext-messageProcessingCategory 1..1codeIndicates how messages should be processed
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-messageProcessingCategory
Binding: MessageSignificanceCategory (required): The message processing requirements identified by the message


... event[x] Σ1..1CodingCode for the event this message represents or link to event definition
Binding: US Public Health Message Types (extensible): Types of messages being sent between systems

.... endpoint Σ1..1urlActual destination address or id
... sender Σ1..1Reference(Organization)Real world sender of the message
... source Σ1..1BackboneElementMessage source application
.... endpoint Σ1..1urlActual message source address or id
... reason Σ1..1CodeableConceptCause of event
Binding: US Public Health TriggerDefinition NamedEvent (extensible): The named event that gave rise to the message

... response Σ0..1BackboneElementIf this is a reply to prior message
.... identifier Σ1..1idId of original message
.... code Σ1..1codeok | transient-error | fatal-error
Binding: ResponseType (required): The kind of response to a message.

.... details Σ0..1Reference(OperationOutcome)Specific list of hints/warnings/errors

doco Documentation for this format

This structure is derived from MessageHeader

Summary

Mandatory: 8 elements (2 nested mandatory elements)
Must-Support: 13 elements

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from MessageHeader

NameFlagsCard.TypeDescription & Constraintsdoco
.. MessageHeader 0..*MessageHeaderUS Public Health MessageHeader
... ext-dataEncrypted S0..1booleanIndicates whether the data in the content bundle is encrypted or not
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-dataEncrypted
... ext-messageProcessingCategory S1..1codeIndicates how messages should be processed
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-messageProcessingCategory
Binding: MessageSignificanceCategory (required): The message processing requirements identified by the message

... event[x] S1..1CodingCode for the event this message represents or link to event definition
Binding: US Public Health Message Types (extensible): Types of messages being sent between systems

.... endpoint S1..1urlActual destination address or id
... sender S1..1Reference(Organization)Real world sender of the message
... source S1..1BackboneElementMessage source application
.... endpoint S1..1urlActual message source address or id
... reason S1..1CodeableConceptCause of event
Binding: US Public Health TriggerDefinition NamedEvent (extensible): The named event that gave rise to the message

... response S0..1BackboneElementIf this is a reply to prior message
.... identifier S1..1idId of original message
.... code S1..1codeok | transient-error | fatal-error
.... details S0..1Reference(OperationOutcome)Specific list of hints/warnings/errors

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MessageHeader 0..*MessageHeaderUS Public Health MessageHeader
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... ext-dataEncrypted S0..1booleanIndicates whether the data in the content bundle is encrypted or not
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-dataEncrypted
... ext-messageProcessingCategory S1..1codeIndicates how messages should be processed
URL: http://hl7.org/fhir/us/medmorph/StructureDefinition/ext-messageProcessingCategory
Binding: MessageSignificanceCategory (required): The message processing requirements identified by the message


... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... event[x] SΣ1..1CodingCode for the event this message represents or link to event definition
Binding: US Public Health Message Types (extensible): Types of messages being sent between systems

... destination SΣ1..*BackboneElementMessage destination application(s)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... name Σ0..1stringName of system
.... target Σ0..1Reference(Device)Particular delivery destination within the destination
.... endpoint SΣ1..1urlActual destination address or id
.... receiver Σ0..1Reference(Practitioner | PractitionerRole | Organization)Intended "real-world" recipient for the data
... sender SΣ1..1Reference(Organization)Real world sender of the message
... enterer Σ0..1Reference(Practitioner | PractitionerRole)The source of the data entry
... author Σ0..1Reference(Practitioner | PractitionerRole)The source of the decision
... source SΣ1..1BackboneElementMessage source application
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... name Σ0..1stringName of system
.... software Σ0..1stringName of software running the system
.... version Σ0..1stringVersion of software running
.... contact Σ0..1ContactPointHuman contact for problems
.... endpoint SΣ1..1urlActual message source address or id
... responsible Σ0..1Reference(Practitioner | PractitionerRole | Organization)Final responsibility for event
... reason SΣ1..1CodeableConceptCause of event
Binding: US Public Health TriggerDefinition NamedEvent (extensible): The named event that gave rise to the message

... response SΣ0..1BackboneElementIf this is a reply to prior message
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... identifier SΣ1..1idId of original message
.... code SΣ1..1codeok | transient-error | fatal-error
Binding: ResponseType (required): The kind of response to a message.

.... details SΣ0..1Reference(OperationOutcome)Specific list of hints/warnings/errors
... focus Σ0..*Reference(Resource)The actual content of the message
... definition Σ0..1canonical(MessageDefinition)Link to the definition for this message

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
MessageHeader.languagepreferredCommonLanguages
Max Binding: AllLanguages
MessageHeader.event[x]extensibleUSPublicHealthMessageTypes
MessageHeader.reasonextensibleUSPublicHealthTriggerDefinitionNamedEvent
MessageHeader.response.coderequiredResponseType

Constraints

IdPathDetailsRequirements
dom-2MessageHeaderIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3MessageHeaderIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4MessageHeaderIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5MessageHeaderIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6MessageHeaderA resource should have narrative for robust management
: text.`div`.exists()
ele-1MessageHeader.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.extension:dataEncryptedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.extension:dataEncryptedMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.extension:messageProcessingCategoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.extension:messageProcessingCategoryMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.event[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.destinationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.destination.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.destination.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.destination.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.destination.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.destination.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.destination.targetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.destination.endpointAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.destination.receiverAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.senderAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.entererAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.authorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.sourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.source.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.source.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.source.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.source.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.source.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.source.softwareAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.source.versionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.source.contactAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.source.endpointAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.responsibleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.reasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.responseAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.response.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.response.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.response.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1MessageHeader.response.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1MessageHeader.response.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.response.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.response.detailsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.focusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1MessageHeader.definitionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())