HL7 v2+ Specification
0.0.0 - draft

HL7 v2+ Specification, published by HL7 International. This guide is not an authorized publication; it is the continuous build for version 0.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2ig/ and changes regularly. See the Directory of published versions

Logical Model: HL7 v2 MSG Data Type

Official URL: http://hl7.org/v2/StructureDefinition/MSG Version: 0.0.0
Standards status: Informative Computable Name: MSG

Note: Replaces the CM data type used in 2.16.9.9 MSH-9 as of v 2.5.

Usage:

  • This Logical Model Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from V2ComplexDataType

NameFlagsCard.TypeDescription & Constraintsdoco
.. MSG 0..* V2ComplexDataType message type
Instances of this logical model are not marked to be the target of a Reference
... 1 1..1 code Message Code
Binding: hl7VS-messageType (required)
... 2 1..1 code Trigger Event
Binding: hl7VS-eventTypeCode (required)
... 3 1..1 code Message Structure
Binding: hl7VS-messageStructure (required)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MSG.1requiredHl7VSMessageType
http://terminology.hl7.org/ValueSet/v2-0076
MSG.2requiredHl7VSEventTypeCode
http://terminology.hl7.org/ValueSet/v2-0003
MSG.3requiredHl7VSMessageStructure
http://terminology.hl7.org/ValueSet/v2-0354
NameFlagsCard.TypeDescription & Constraintsdoco
.. MSG 0..* V2ComplexDataType message type
Instances of this logical model are not marked to be the target of a Reference
... 1 1..1 code Message Code
Binding: hl7VS-messageType (required)
... 2 1..1 code Trigger Event
Binding: hl7VS-eventTypeCode (required)
... 3 1..1 code Message Structure
Binding: hl7VS-messageStructure (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MSG.1requiredHl7VSMessageType
http://terminology.hl7.org/ValueSet/v2-0076
MSG.2requiredHl7VSEventTypeCode
http://terminology.hl7.org/ValueSet/v2-0003
MSG.3requiredHl7VSMessageStructure
http://terminology.hl7.org/ValueSet/v2-0354
NameFlagsCard.TypeDescription & Constraintsdoco
.. MSG 0..* V2ComplexDataType message type
Instances of this logical model are not marked to be the target of a Reference
... 1 1..1 code Message Code
Binding: hl7VS-messageType (required)
... 2 1..1 code Trigger Event
Binding: hl7VS-eventTypeCode (required)
... 3 1..1 code Message Structure
Binding: hl7VS-messageStructure (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MSG.1requiredHl7VSMessageType
http://terminology.hl7.org/ValueSet/v2-0076
MSG.2requiredHl7VSEventTypeCode
http://terminology.hl7.org/ValueSet/v2-0003
MSG.3requiredHl7VSMessageStructure
http://terminology.hl7.org/ValueSet/v2-0354

This structure is derived from V2ComplexDataType

Summary

Mandatory: 0 element(3 nested mandatory elements)

Differential View

This structure is derived from V2ComplexDataType

NameFlagsCard.TypeDescription & Constraintsdoco
.. MSG 0..* V2ComplexDataType message type
Instances of this logical model are not marked to be the target of a Reference
... 1 1..1 code Message Code
Binding: hl7VS-messageType (required)
... 2 1..1 code Trigger Event
Binding: hl7VS-eventTypeCode (required)
... 3 1..1 code Message Structure
Binding: hl7VS-messageStructure (required)

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
MSG.1requiredHl7VSMessageType
http://terminology.hl7.org/ValueSet/v2-0076
MSG.2requiredHl7VSEventTypeCode
http://terminology.hl7.org/ValueSet/v2-0003
MSG.3requiredHl7VSMessageStructure
http://terminology.hl7.org/ValueSet/v2-0354

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MSG 0..* V2ComplexDataType message type
Instances of this logical model are not marked to be the target of a Reference
... 1 1..1 code Message Code
Binding: hl7VS-messageType (required)
... 2 1..1 code Trigger Event
Binding: hl7VS-eventTypeCode (required)
... 3 1..1 code Message Structure
Binding: hl7VS-messageStructure (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MSG.1requiredHl7VSMessageType
http://terminology.hl7.org/ValueSet/v2-0076
MSG.2requiredHl7VSEventTypeCode
http://terminology.hl7.org/ValueSet/v2-0003
MSG.3requiredHl7VSMessageStructure
http://terminology.hl7.org/ValueSet/v2-0354

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. MSG 0..* V2ComplexDataType message type
Instances of this logical model are not marked to be the target of a Reference
... 1 1..1 code Message Code
Binding: hl7VS-messageType (required)
... 2 1..1 code Trigger Event
Binding: hl7VS-eventTypeCode (required)
... 3 1..1 code Message Structure
Binding: hl7VS-messageStructure (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
MSG.1requiredHl7VSMessageType
http://terminology.hl7.org/ValueSet/v2-0076
MSG.2requiredHl7VSEventTypeCode
http://terminology.hl7.org/ValueSet/v2-0003
MSG.3requiredHl7VSMessageStructure
http://terminology.hl7.org/ValueSet/v2-0354

This structure is derived from V2ComplexDataType

Summary

Mandatory: 0 element(3 nested mandatory elements)

 

Other representations of profile: CSV, Excel