v2+ Details
0.3.2 - Working Draft to present the concept ideas (FO)
v2+ Details - Local Development build (v0.3.2). See the Directory of published versions
Official URL: http://v2.hl7.org/fhir/StructureDefinition/v2MessageStructureDefinition | Version: 1st draft | |||
Draft as of 2023-10-23 | Computable Name: v2+ Message Structure Definition |
Message Structure Definition
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Base
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Base | Base for all types and resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | Σ | 1..1 | code | code name of this message structure, eg. ADT_A01 Binding: hl7VS-messageStructure (required): Message Structure Code |
![]() ![]() ![]() | Σ | 0..1 | string | human readable display name |
![]() ![]() ![]() | 0..1 | Narrative | textual description of this message structure | |
![]() ![]() ![]() | 1..1 | code | Binding: http://terminology.hl7.org/ValueSet/v2plus-vs-message-type (required) | |
![]() ![]() ![]() | 0..1 | code | Binding: steward (required): Steward for this Message Structure | |
![]() ![]() ![]() | 0..* | code | Binding: event (extensible): What are the associated triggering events? | |
![]() ![]() ![]() | 1..* | BackboneElement | detailed structure This repeating element order: The order of segmentEntry elements defines the structure of the HL7 V2 message. Order SHALL be preserved by all implementations. | |
![]() ![]() ![]() ![]() | 1..1 | integer | ||
![]() ![]() ![]() ![]() | 1..* | choice of segment group, segment, or choice Slice: Unordered, Open by value:system | ||
![]() ![]() ![]() ![]() ![]() | 1..1 | group of segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | group of segments | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | BackboneElement | Nested Structure | |
![]() ![]() ![]() ![]() ![]() | 1..* | individual segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | code for individual segment | |
![]() ![]() ![]() ![]() ![]() | 1..* | choice of segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | integer | number to identify this individual group | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | groupname | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | BackboneElement | Nested Structure | |
![]() ![]() ![]() ![]() | 0..1 | code | This value indicates wheether this segment has to be implemented. The default value is empty, i.e. optional. Binding: v2plus-implement (required) | |
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | string | ||
![]() |
Path | Conformance | ValueSet |
v2MessageStructureDefinition.code | required | Hl7VSMessageStructure |
v2MessageStructureDefinition.messageType | required | http://terminology.hl7.org/ValueSet/v2plus-vs-message-type |
v2MessageStructureDefinition.steward | required | steward |
v2MessageStructureDefinition.triggerEvents | extensible | event |
v2MessageStructureDefinition.structure.implement | required | v2plus-implement |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Base | Base for all types and resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | Σ | 1..1 | code | code name of this message structure, eg. ADT_A01 Binding: hl7VS-messageStructure (required): Message Structure Code |
![]() ![]() ![]() | Σ | 0..1 | string | human readable display name |
![]() ![]() ![]() | 0..1 | Narrative | textual description of this message structure | |
![]() ![]() ![]() | 1..1 | code | Binding: http://terminology.hl7.org/ValueSet/v2plus-vs-message-type (required) | |
![]() ![]() ![]() | 0..1 | code | Binding: steward (required): Steward for this Message Structure | |
![]() ![]() ![]() | 0..* | code | Binding: event (extensible): What are the associated triggering events? | |
![]() ![]() ![]() | 1..* | BackboneElement | detailed structure This repeating element order: The order of segmentEntry elements defines the structure of the HL7 V2 message. Order SHALL be preserved by all implementations. | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | integer | ||
![]() ![]() ![]() ![]() | 1..1 | group of segments Slice: Unordered, Open by value:system | ||
![]() ![]() ![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | groupname | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | BackboneElement | Nested Structure | |
![]() ![]() ![]() ![]() ![]() | 1..* | individual segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | code for individual segment | |
![]() ![]() ![]() ![]() ![]() | 1..* | choice of segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | integer | number to identify this individual group | |
![]() ![]() ![]() ![]() | 0..1 | code | This value indicates wheether this segment has to be implemented. The default value is empty, i.e. optional. Binding: v2plus-implement (required) | |
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | string | ||
![]() |
Path | Conformance | ValueSet |
v2MessageStructureDefinition.code | required | Hl7VSMessageStructure |
v2MessageStructureDefinition.messageType | required | http://terminology.hl7.org/ValueSet/v2plus-vs-message-type |
v2MessageStructureDefinition.steward | required | steward |
v2MessageStructureDefinition.triggerEvents | extensible | event |
v2MessageStructureDefinition.structure.implement | required | v2plus-implement |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Base | Base for all types and resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | Σ | 1..1 | code | code name of this message structure, eg. ADT_A01 Binding: hl7VS-messageStructure (required): Message Structure Code |
![]() ![]() ![]() | Σ | 0..1 | string | human readable display name |
![]() ![]() ![]() | 0..1 | Narrative | textual description of this message structure | |
![]() ![]() ![]() | 1..1 | code | Binding: http://terminology.hl7.org/ValueSet/v2plus-vs-message-type (required) | |
![]() ![]() ![]() | 0..1 | code | Binding: steward (required): Steward for this Message Structure | |
![]() ![]() ![]() | 0..* | code | Binding: event (extensible): What are the associated triggering events? | |
![]() ![]() ![]() | 1..* | BackboneElement | detailed structure This repeating element order: The order of segmentEntry elements defines the structure of the HL7 V2 message. Order SHALL be preserved by all implementations. | |
![]() ![]() ![]() ![]() | 0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | integer | ||
![]() ![]() ![]() ![]() | 1..1 | group of segments Slice: Unordered, Open by value:system | ||
![]() ![]() ![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | groupname | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | BackboneElement | Nested Structure | |
![]() ![]() ![]() ![]() ![]() | 1..* | individual segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | code for individual segment | |
![]() ![]() ![]() ![]() ![]() | 1..* | choice of segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | integer | number to identify this individual group | |
![]() ![]() ![]() ![]() | 0..1 | code | This value indicates wheether this segment has to be implemented. The default value is empty, i.e. optional. Binding: v2plus-implement (required) | |
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | string | ||
![]() |
Path | Conformance | ValueSet |
v2MessageStructureDefinition.code | required | Hl7VSMessageStructure |
v2MessageStructureDefinition.messageType | required | http://terminology.hl7.org/ValueSet/v2plus-vs-message-type |
v2MessageStructureDefinition.steward | required | steward |
v2MessageStructureDefinition.triggerEvents | extensible | event |
v2MessageStructureDefinition.structure.implement | required | v2plus-implement |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Differential View
This structure is derived from Base
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Base | Base for all types and resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | Σ | 1..1 | code | code name of this message structure, eg. ADT_A01 Binding: hl7VS-messageStructure (required): Message Structure Code |
![]() ![]() ![]() | Σ | 0..1 | string | human readable display name |
![]() ![]() ![]() | 0..1 | Narrative | textual description of this message structure | |
![]() ![]() ![]() | 1..1 | code | Binding: http://terminology.hl7.org/ValueSet/v2plus-vs-message-type (required) | |
![]() ![]() ![]() | 0..1 | code | Binding: steward (required): Steward for this Message Structure | |
![]() ![]() ![]() | 0..* | code | Binding: event (extensible): What are the associated triggering events? | |
![]() ![]() ![]() | 1..* | BackboneElement | detailed structure This repeating element order: The order of segmentEntry elements defines the structure of the HL7 V2 message. Order SHALL be preserved by all implementations. | |
![]() ![]() ![]() ![]() | 1..1 | integer | ||
![]() ![]() ![]() ![]() | 1..* | choice of segment group, segment, or choice Slice: Unordered, Open by value:system | ||
![]() ![]() ![]() ![]() ![]() | 1..1 | group of segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | group of segments | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | BackboneElement | Nested Structure | |
![]() ![]() ![]() ![]() ![]() | 1..* | individual segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | code for individual segment | |
![]() ![]() ![]() ![]() ![]() | 1..* | choice of segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | integer | number to identify this individual group | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | groupname | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | BackboneElement | Nested Structure | |
![]() ![]() ![]() ![]() | 0..1 | code | This value indicates wheether this segment has to be implemented. The default value is empty, i.e. optional. Binding: v2plus-implement (required) | |
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | string | ||
![]() |
Path | Conformance | ValueSet |
v2MessageStructureDefinition.code | required | Hl7VSMessageStructure |
v2MessageStructureDefinition.messageType | required | http://terminology.hl7.org/ValueSet/v2plus-vs-message-type |
v2MessageStructureDefinition.steward | required | steward |
v2MessageStructureDefinition.triggerEvents | extensible | event |
v2MessageStructureDefinition.structure.implement | required | v2plus-implement |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Base | Base for all types and resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | Σ | 1..1 | code | code name of this message structure, eg. ADT_A01 Binding: hl7VS-messageStructure (required): Message Structure Code |
![]() ![]() ![]() | Σ | 0..1 | string | human readable display name |
![]() ![]() ![]() | 0..1 | Narrative | textual description of this message structure | |
![]() ![]() ![]() | 1..1 | code | Binding: http://terminology.hl7.org/ValueSet/v2plus-vs-message-type (required) | |
![]() ![]() ![]() | 0..1 | code | Binding: steward (required): Steward for this Message Structure | |
![]() ![]() ![]() | 0..* | code | Binding: event (extensible): What are the associated triggering events? | |
![]() ![]() ![]() | 1..* | BackboneElement | detailed structure This repeating element order: The order of segmentEntry elements defines the structure of the HL7 V2 message. Order SHALL be preserved by all implementations. | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | integer | ||
![]() ![]() ![]() ![]() | 1..1 | group of segments Slice: Unordered, Open by value:system | ||
![]() ![]() ![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | groupname | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | BackboneElement | Nested Structure | |
![]() ![]() ![]() ![]() ![]() | 1..* | individual segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | code for individual segment | |
![]() ![]() ![]() ![]() ![]() | 1..* | choice of segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | integer | number to identify this individual group | |
![]() ![]() ![]() ![]() | 0..1 | code | This value indicates wheether this segment has to be implemented. The default value is empty, i.e. optional. Binding: v2plus-implement (required) | |
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | string | ||
![]() |
Path | Conformance | ValueSet |
v2MessageStructureDefinition.code | required | Hl7VSMessageStructure |
v2MessageStructureDefinition.messageType | required | http://terminology.hl7.org/ValueSet/v2plus-vs-message-type |
v2MessageStructureDefinition.steward | required | steward |
v2MessageStructureDefinition.triggerEvents | extensible | event |
v2MessageStructureDefinition.structure.implement | required | v2plus-implement |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() | 0..* | Base | Base for all types and resources Instances of this logical model are not marked to be the target of a Reference | |
![]() ![]() ![]() | Σ | 1..1 | code | code name of this message structure, eg. ADT_A01 Binding: hl7VS-messageStructure (required): Message Structure Code |
![]() ![]() ![]() | Σ | 0..1 | string | human readable display name |
![]() ![]() ![]() | 0..1 | Narrative | textual description of this message structure | |
![]() ![]() ![]() | 1..1 | code | Binding: http://terminology.hl7.org/ValueSet/v2plus-vs-message-type (required) | |
![]() ![]() ![]() | 0..1 | code | Binding: steward (required): Steward for this Message Structure | |
![]() ![]() ![]() | 0..* | code | Binding: event (extensible): What are the associated triggering events? | |
![]() ![]() ![]() | 1..* | BackboneElement | detailed structure This repeating element order: The order of segmentEntry elements defines the structure of the HL7 V2 message. Order SHALL be preserved by all implementations. | |
![]() ![]() ![]() ![]() | 0..1 | id | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() | 1..1 | integer | ||
![]() ![]() ![]() ![]() | 1..1 | group of segments Slice: Unordered, Open by value:system | ||
![]() ![]() ![]() ![]() ![]() | Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | groupname | |
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | BackboneElement | Nested Structure | |
![]() ![]() ![]() ![]() ![]() | 1..* | individual segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | string | code for individual segment | |
![]() ![]() ![]() ![]() ![]() | 1..* | choice of segments | ||
![]() ![]() ![]() ![]() ![]() ![]() | 1..1 | integer | number to identify this individual group | |
![]() ![]() ![]() ![]() | 0..1 | code | This value indicates wheether this segment has to be implemented. The default value is empty, i.e. optional. Binding: v2plus-implement (required) | |
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | integer | ||
![]() ![]() ![]() ![]() | 0..1 | string | ||
![]() |
Path | Conformance | ValueSet |
v2MessageStructureDefinition.code | required | Hl7VSMessageStructure |
v2MessageStructureDefinition.messageType | required | http://terminology.hl7.org/ValueSet/v2plus-vs-message-type |
v2MessageStructureDefinition.steward | required | steward |
v2MessageStructureDefinition.triggerEvents | extensible | event |
v2MessageStructureDefinition.structure.implement | required | v2plus-implement |
Id | Grade | Path(s) | Details | Requirements |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |