Class: Message

Description of: Message

Class steward is Control/Query/MasterFiles
The Message class is the parent class of all HL7 Version 3 messages.

OpenIssue: May need a type code to serve a purpose above and beyond the interaction_id, since the subtypes may not be fully enumerated.

Attribute definitions for: Message

creation_dttm :: TS

The date/time that the sending system created the message. If the time zone is specified, it will be used throughout the message as the default time zone.

|MSH^7^00007^Date/Time of Message|

event_time :: TS

The event time attribute allows a significant time for the message to be visible in the outer message envelope.

id :: II

Unique identifier of message.

|MSA^2^00010^Message Control ID| |MSH^10^00010^Message Control ID|

interaction_id :: OID

The interaction identifier is a reference to the unique information interchange derived from the V3 MDF for speciying a message.

OpenIssue: This may be better modeled as an association to the class Interaction (in the meta-model). It is possible that this may supply the type code for the message, or we may need an additional attribute to carry the type code.

|MSH^9^00009^Message Type|

processing_cd :: CV

This attribute defines whether the message is part of a production, training, or debugging system. In HL7 Version 2.x, the values for this id were drawn from HL7 table 0103.

|MSH^11^00011^Processing ID|

profile_id :: OID

The message profile identifier allows a given implementation to explicitly state how it varries from the standard message definition

reply_to_com :: TEL

This attribute allows a URL to define the address to which the message reply should be directed.

sending_app_id :: SET<II>

Unique identifier of the sending application of message.

|MSH^3^00003^Sending Application|

sequence_nbr :: INT

This attribute is provided for implementing the sequence number protocol. This field is incremented by one for each subsequent value assignment.

|MSH^13^00013^Sequence Number|

version_id :: ST

This attribute is matched by the receiving system to its own versioin to be sure the message will be interpreted correctly.

|MSH^12^00012^Version ID|

Association definitions for: Message

has_sender (1,1) :: Stakeholder :: sends (1,n)

This relationship allows the originating organization for an HL7 V3 message to be identified

has_recipient (1,n) :: Stakeholder :: shall_receive (0,n)

is_contained_by (1,1) :: Batch :: contains (1,n)

can_include (1,n) :: Attention_line :: can_accompany (1,1)

This relationship allows parameters for a technology specific transport to be represented in the V3 message. outer wrapper.

has (1,n) :: Acknowledgement :: acknowledges (1,1)

This connection shows the relationship of the acknowledgement to a specific HL7 V3 message