Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/1.0/StructureDefinition/profile-MessageHeader | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R2_MessageHeader_R5 | ||
This cross-version profile allows DSTU2 MessageHeader content to be represented via FHIR R5 MessageHeader resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MessageHeader(5.0.0) | A resource that describes a message that is exchanged between systems | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
1..1 | instant | DSTU2: Time that the message was sent (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.timestamp Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Practitioner for use in FHIR R5(0.1.0) | PractitionerRole) | DSTU2: The source of the data entry (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.enterer Constraints: ext-1 | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
Σ | 1..1 | Event code or link to EventDefinition Binding Description: (example): One of the message events defined as part of this version of FHIR. | |
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
canonical(EventDefinition) | |||
![]() ![]() |
Σ | 1..1 | BackboneElement | Message source application |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MessageHeader.event[x] | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MessageHeader | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MessageHeader | If 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | MessageHeader | If 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-5 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MessageHeader | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | MessageHeader.implicitRules, MessageHeader.extension, MessageHeader.extension:timestamp, MessageHeader.extension:enterer, MessageHeader.modifierExtension, MessageHeader.event[x], MessageHeader.source, MessageHeader.source.modifierExtension | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | MessageHeader.extension, MessageHeader.extension:timestamp, MessageHeader.extension:enterer, MessageHeader.modifierExtension, MessageHeader.source.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from MessageHeader
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MessageHeader(5.0.0) | A resource that describes a message that is exchanged between systems | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | instant | DSTU2: Time that the message was sent (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.timestamp Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Practitioner for use in FHIR R5(0.1.0) | PractitionerRole) | DSTU2: The source of the data entry (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.enterer Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 1..1 | Event code or link to EventDefinition Binding Description: (example): One of the message events defined as part of this version of FHIR. | |||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() |
canonical(EventDefinition) | |||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Message destination application(s) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Actual destination address or Endpoint resource | |||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of system | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Device) | Particular delivery destination within the destination | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: target additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Intended "real-world" recipient for the data | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: receiver additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Device | Organization) | Real world sender of the message | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Device | Organization) | The source of the decision | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: author additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 1..1 | BackboneElement | Message source application | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Actual source address or Endpoint resource | |||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of software running the system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Version of software running | ||||
![]() ![]() ![]() |
Σ | 0..1 | ContactPoint | Human contact for problems | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | ContactPoint | DSTU2: contact additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.source.contact Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | The actual contact point details | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Final responsibility for event | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: responsible additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Cause of event Binding: ExampleMessageReasonCodes (example): Reason for event occurrence. | ||||
![]() ![]() |
Σ | 0..1 | BackboneElement | If this is a reply to prior message | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Bundle.identifier of original message | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | id | DSTU2: Id of original message additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.response.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | ok | transient-error | fatal-error Binding: ResponseType (required): The kind of response to a message. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(OperationOutcome) | Specific list of hints/warnings/errors | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: details additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | Reference(Resource) | The actual content of the message | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: data additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | canonical(MessageDefinition) | Link to the definition for this message | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MessageHeader.meta.security | Base | extensible |
All Security Labels
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| MessageHeader.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| MessageHeader.text.status | Base | required | NarrativeStatus | 📍5.0.0 | FHIR Std. |
| MessageHeader.event[x] | Base | example | Not State | Unknown | |
| MessageHeader.destination.target.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.destination.receiver.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.author.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.source.contact.system | Base | required |
ContactPointSystem
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.source.contact.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std. |
| MessageHeader.responsible.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.reason | Base | example | Example Message Reason Codes | 📍5.0.0 | FHIR Std. |
| MessageHeader.response.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| MessageHeader.response.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std. |
| MessageHeader.response.code | Base | required | Response Type | 📍5.0.0 | FHIR Std. |
| MessageHeader.response.details.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.focus.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MessageHeader | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MessageHeader | If 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | MessageHeader | If 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-5 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MessageHeader | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | MessageHeader.meta, MessageHeader.meta.extension, MessageHeader.meta.extension:meta, MessageHeader.meta.versionId, MessageHeader.meta.lastUpdated, MessageHeader.meta.source, MessageHeader.meta.profile, MessageHeader.meta.security, MessageHeader.meta.tag, MessageHeader.implicitRules, MessageHeader.language, MessageHeader.text, MessageHeader.text.extension, MessageHeader.text.extension:text, MessageHeader.text.status, MessageHeader.text.div, MessageHeader.extension, MessageHeader.extension:timestamp, MessageHeader.extension:enterer, MessageHeader.modifierExtension, MessageHeader.event[x], MessageHeader.destination, MessageHeader.destination.extension, MessageHeader.destination.modifierExtension, MessageHeader.destination.endpoint[x], MessageHeader.destination.name, MessageHeader.destination.target, MessageHeader.destination.target.extension, MessageHeader.destination.target.extension:target, MessageHeader.destination.target.reference, MessageHeader.destination.target.type, MessageHeader.destination.target.identifier, MessageHeader.destination.target.display, MessageHeader.destination.receiver, MessageHeader.destination.receiver.extension, MessageHeader.destination.receiver.extension:receiver, MessageHeader.destination.receiver.reference, MessageHeader.destination.receiver.type, MessageHeader.destination.receiver.identifier, MessageHeader.destination.receiver.display, MessageHeader.sender, MessageHeader.author, MessageHeader.author.extension, MessageHeader.author.extension:author, MessageHeader.author.reference, MessageHeader.author.type, MessageHeader.author.identifier, MessageHeader.author.display, MessageHeader.source, MessageHeader.source.extension, MessageHeader.source.modifierExtension, MessageHeader.source.endpoint[x], MessageHeader.source.name, MessageHeader.source.software, MessageHeader.source.version, MessageHeader.source.contact, MessageHeader.source.contact.extension, MessageHeader.source.contact.extension:contact, MessageHeader.source.contact.system, MessageHeader.source.contact.value, MessageHeader.source.contact.use, MessageHeader.source.contact.rank, MessageHeader.source.contact.period, MessageHeader.responsible, MessageHeader.responsible.extension, MessageHeader.responsible.extension:responsible, MessageHeader.responsible.reference, MessageHeader.responsible.type, MessageHeader.responsible.identifier, MessageHeader.responsible.display, MessageHeader.reason, MessageHeader.response, MessageHeader.response.extension, MessageHeader.response.modifierExtension, MessageHeader.response.identifier, MessageHeader.response.identifier.extension, MessageHeader.response.identifier.extension:identifier, MessageHeader.response.identifier.use, MessageHeader.response.identifier.type, MessageHeader.response.identifier.system, MessageHeader.response.identifier.value, MessageHeader.response.identifier.period, MessageHeader.response.identifier.assigner, MessageHeader.response.code, MessageHeader.response.details, MessageHeader.response.details.extension, MessageHeader.response.details.extension:details, MessageHeader.response.details.reference, MessageHeader.response.details.type, MessageHeader.response.details.identifier, MessageHeader.response.details.display, MessageHeader.focus, MessageHeader.focus.extension, MessageHeader.focus.extension:data, MessageHeader.focus.reference, MessageHeader.focus.type, MessageHeader.focus.identifier, MessageHeader.focus.display, MessageHeader.definition | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | MessageHeader.meta.extension, MessageHeader.meta.extension:meta, MessageHeader.text.extension, MessageHeader.text.extension:text, MessageHeader.extension, MessageHeader.extension:timestamp, MessageHeader.extension:enterer, MessageHeader.modifierExtension, MessageHeader.destination.extension, MessageHeader.destination.modifierExtension, MessageHeader.destination.target.extension, MessageHeader.destination.target.extension:target, MessageHeader.destination.receiver.extension, MessageHeader.destination.receiver.extension:receiver, MessageHeader.author.extension, MessageHeader.author.extension:author, MessageHeader.source.extension, MessageHeader.source.modifierExtension, MessageHeader.source.contact.extension, MessageHeader.source.contact.extension:contact, MessageHeader.responsible.extension, MessageHeader.responsible.extension:responsible, MessageHeader.response.extension, MessageHeader.response.modifierExtension, MessageHeader.response.identifier.extension, MessageHeader.response.identifier.extension:identifier, MessageHeader.response.details.extension, MessageHeader.response.details.extension:details, MessageHeader.focus.extension, MessageHeader.focus.extension:data | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| txt-1 | error | MessageHeader.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | MessageHeader.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from MessageHeader
Summary
Mandatory: 2 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MessageHeader(5.0.0) | A resource that describes a message that is exchanged between systems | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
1..1 | instant | DSTU2: Time that the message was sent (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.timestamp Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Practitioner for use in FHIR R5(0.1.0) | PractitionerRole) | DSTU2: The source of the data entry (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.enterer Constraints: ext-1 | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
Σ | 1..1 | Event code or link to EventDefinition Binding Description: (example): One of the message events defined as part of this version of FHIR. | |
![]() ![]() ![]() |
Coding | |||
![]() ![]() ![]() |
canonical(EventDefinition) | |||
![]() ![]() |
Σ | 1..1 | BackboneElement | Message source application |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MessageHeader.event[x] | Base | example | Not State | Unknown |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MessageHeader | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MessageHeader | If 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | MessageHeader | If 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-5 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MessageHeader | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | MessageHeader.implicitRules, MessageHeader.extension, MessageHeader.extension:timestamp, MessageHeader.extension:enterer, MessageHeader.modifierExtension, MessageHeader.event[x], MessageHeader.source, MessageHeader.source.modifierExtension | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | MessageHeader.extension, MessageHeader.extension:timestamp, MessageHeader.extension:enterer, MessageHeader.modifierExtension, MessageHeader.source.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from MessageHeader
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MessageHeader(5.0.0) | A resource that describes a message that is exchanged between systems | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | instant | DSTU2: Time that the message was sent (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.timestamp Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Practitioner for use in FHIR R5(0.1.0) | PractitionerRole) | DSTU2: The source of the data entry (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.enterer Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 1..1 | Event code or link to EventDefinition Binding Description: (example): One of the message events defined as part of this version of FHIR. | |||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() ![]() |
canonical(EventDefinition) | |||||||
![]() ![]() |
Σ | 0..* | BackboneElement | Message destination application(s) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Actual destination address or Endpoint resource | |||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of system | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Device) | Particular delivery destination within the destination | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: target additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Intended "real-world" recipient for the data | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: receiver additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Device | Organization) | Real world sender of the message | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Device | Organization) | The source of the decision | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: author additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 1..1 | BackboneElement | Message source application | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Actual source address or Endpoint resource | |||||
![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() |
Reference(Endpoint) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of software running the system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Version of software running | ||||
![]() ![]() ![]() |
Σ | 0..1 | ContactPoint | Human contact for problems | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | ContactPoint | DSTU2: contact additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.source.contact Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | The actual contact point details | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Specify preferred order of use (1 = highest) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when the contact point was/is in use | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Final responsibility for event | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: responsible additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Cause of event Binding: ExampleMessageReasonCodes (example): Reason for event occurrence. | ||||
![]() ![]() |
Σ | 0..1 | BackboneElement | If this is a reply to prior message | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | Bundle.identifier of original message | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | id | DSTU2: Id of original message additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MessageHeader.response.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierTypeCodes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | ok | transient-error | fatal-error Binding: ResponseType (required): The kind of response to a message. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(OperationOutcome) | Specific list of hints/warnings/errors | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: details additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | Reference(Resource) | The actual content of the message | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: data additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") - must be a resource in resources Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | canonical(MessageDefinition) | Link to the definition for this message | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MessageHeader.meta.security | Base | extensible |
All Security Labels
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| MessageHeader.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| MessageHeader.text.status | Base | required | NarrativeStatus | 📍5.0.0 | FHIR Std. |
| MessageHeader.event[x] | Base | example | Not State | Unknown | |
| MessageHeader.destination.target.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.destination.receiver.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.author.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.source.contact.system | Base | required |
ContactPointSystem
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.source.contact.use | Base | required | ContactPointUse | 📍5.0.0 | FHIR Std. |
| MessageHeader.responsible.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.reason | Base | example | Example Message Reason Codes | 📍5.0.0 | FHIR Std. |
| MessageHeader.response.identifier.use | Base | required | IdentifierUse | 📍5.0.0 | FHIR Std. |
| MessageHeader.response.identifier.type | Base | extensible | Identifier Type Codes | 📍5.0.0 | FHIR Std. |
| MessageHeader.response.code | Base | required | Response Type | 📍5.0.0 | FHIR Std. |
| MessageHeader.response.details.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| MessageHeader.focus.type | Base | extensible |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | MessageHeader | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | MessageHeader | If 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | MessageHeader | If 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-5 | error | MessageHeader | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | MessageHeader | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | MessageHeader.meta, MessageHeader.meta.extension, MessageHeader.meta.extension:meta, MessageHeader.meta.versionId, MessageHeader.meta.lastUpdated, MessageHeader.meta.source, MessageHeader.meta.profile, MessageHeader.meta.security, MessageHeader.meta.tag, MessageHeader.implicitRules, MessageHeader.language, MessageHeader.text, MessageHeader.text.extension, MessageHeader.text.extension:text, MessageHeader.text.status, MessageHeader.text.div, MessageHeader.extension, MessageHeader.extension:timestamp, MessageHeader.extension:enterer, MessageHeader.modifierExtension, MessageHeader.event[x], MessageHeader.destination, MessageHeader.destination.extension, MessageHeader.destination.modifierExtension, MessageHeader.destination.endpoint[x], MessageHeader.destination.name, MessageHeader.destination.target, MessageHeader.destination.target.extension, MessageHeader.destination.target.extension:target, MessageHeader.destination.target.reference, MessageHeader.destination.target.type, MessageHeader.destination.target.identifier, MessageHeader.destination.target.display, MessageHeader.destination.receiver, MessageHeader.destination.receiver.extension, MessageHeader.destination.receiver.extension:receiver, MessageHeader.destination.receiver.reference, MessageHeader.destination.receiver.type, MessageHeader.destination.receiver.identifier, MessageHeader.destination.receiver.display, MessageHeader.sender, MessageHeader.author, MessageHeader.author.extension, MessageHeader.author.extension:author, MessageHeader.author.reference, MessageHeader.author.type, MessageHeader.author.identifier, MessageHeader.author.display, MessageHeader.source, MessageHeader.source.extension, MessageHeader.source.modifierExtension, MessageHeader.source.endpoint[x], MessageHeader.source.name, MessageHeader.source.software, MessageHeader.source.version, MessageHeader.source.contact, MessageHeader.source.contact.extension, MessageHeader.source.contact.extension:contact, MessageHeader.source.contact.system, MessageHeader.source.contact.value, MessageHeader.source.contact.use, MessageHeader.source.contact.rank, MessageHeader.source.contact.period, MessageHeader.responsible, MessageHeader.responsible.extension, MessageHeader.responsible.extension:responsible, MessageHeader.responsible.reference, MessageHeader.responsible.type, MessageHeader.responsible.identifier, MessageHeader.responsible.display, MessageHeader.reason, MessageHeader.response, MessageHeader.response.extension, MessageHeader.response.modifierExtension, MessageHeader.response.identifier, MessageHeader.response.identifier.extension, MessageHeader.response.identifier.extension:identifier, MessageHeader.response.identifier.use, MessageHeader.response.identifier.type, MessageHeader.response.identifier.system, MessageHeader.response.identifier.value, MessageHeader.response.identifier.period, MessageHeader.response.identifier.assigner, MessageHeader.response.code, MessageHeader.response.details, MessageHeader.response.details.extension, MessageHeader.response.details.extension:details, MessageHeader.response.details.reference, MessageHeader.response.details.type, MessageHeader.response.details.identifier, MessageHeader.response.details.display, MessageHeader.focus, MessageHeader.focus.extension, MessageHeader.focus.extension:data, MessageHeader.focus.reference, MessageHeader.focus.type, MessageHeader.focus.identifier, MessageHeader.focus.display, MessageHeader.definition | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | MessageHeader.meta.extension, MessageHeader.meta.extension:meta, MessageHeader.text.extension, MessageHeader.text.extension:text, MessageHeader.extension, MessageHeader.extension:timestamp, MessageHeader.extension:enterer, MessageHeader.modifierExtension, MessageHeader.destination.extension, MessageHeader.destination.modifierExtension, MessageHeader.destination.target.extension, MessageHeader.destination.target.extension:target, MessageHeader.destination.receiver.extension, MessageHeader.destination.receiver.extension:receiver, MessageHeader.author.extension, MessageHeader.author.extension:author, MessageHeader.source.extension, MessageHeader.source.modifierExtension, MessageHeader.source.contact.extension, MessageHeader.source.contact.extension:contact, MessageHeader.responsible.extension, MessageHeader.responsible.extension:responsible, MessageHeader.response.extension, MessageHeader.response.modifierExtension, MessageHeader.response.identifier.extension, MessageHeader.response.identifier.extension:identifier, MessageHeader.response.details.extension, MessageHeader.response.details.extension:details, MessageHeader.focus.extension, MessageHeader.focus.extension:data | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| txt-1 | error | MessageHeader.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | MessageHeader.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from MessageHeader
Summary
Mandatory: 2 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron