appnPolling Message Transmission Topic
ANSI
ANSI/HL7 V3 IM, R1-2004
HL7 Version 3 Standard: Infrastructure Management: Transmission Infrastructure
10/20/2004

Content Last Edited: 2011-06-22T11:39:34


This topic addresses those aspects about the communications environment that are related to polling. Polling is used in those environments were messages are held on a queue on a remote system until they are released by means of a poll request. This topic includes a specification of the interrelationships in the flow of messages and the communication of significant application level exceptions or error conditions.

The Polling Message Transmission topic in the HL7 Version 3 messaging standard addresses:

  1. The definition of transmission oriented wrappers (static models). These wrappers shall be used in all message interactions; they identify (amongst other things) the HL7 message interaction itself as well as the sending and receiving entities.
  2. The enforcement of a generic mode of message handling that is called for by the relationship between interactions and generic communication roles.

The Control Query Technical Committee invites implementers with additional requirements to submit content proposals for future releases of the standard.

Go To Top

 Storyboards (Sorted by Title)
 Storyboards (Sorted by Display Order)
 
pointer Send Poll Req for a Msg/Accept Ack (MCCI_ST100001UV01
pointer Send Poll Req for a Msg/Accept Ack w/ Poll for Nxt (MCCI_ST100002UV01
pointer Send Poll Req for a Msg/Process Poll Error (MCCI_ST100003UV01
Reference

For details on the interpretation of this section, see the storyboard discussion in the Version 3 Guide.

Introduction

The reader is referred to the introduction of this domain for a detailed discussion regarding use cases and to the state-based storyboards.

Note: The examples can be combined into more complex scenarios as needed by a domain.

Purpose

Send HL7 Poll Request for one message. If message received send accept acknowledgement and message polling session will complete.

Diagram
Activity Diagram
Interaction List
Send Poll Request Schema View MCCI_IN100001UV01
Send Poll Message Payload Schema View MCCI_IN100002UV01
Send Poll Message Accept Acknowledgement Schema View MCCI_IN100003UV01
Narrative Example

In this scenario, the HL7 Message Queue Manager Role manages a remote message queue. This service is not always available. When it is available, the HL7 Message Queue Poller Role may send a poll request message. When there is one or messages in the remote message queue the HL7 Message Queue Manager prepares and sends an HL7 composite message payload to the HL7 Message Queue Poller Role. The Message Queue Poller receives the message and responds with an accept acknowledgement message and the sequence is complete. Note the restriction on this message queue is that it must not contain any messages that require an immediate application level response.

Purpose

Send HL7 Poll Request for one message. If message received send accept acknowledgement with poll request for next message.

Diagram
Activity Diagram
Interaction List
Send Poll Request Schema View MCCI_IN100001UV01
Send Poll Message Payload Schema View MCCI_IN100002UV01
Accept Ack Poll for Next Message in Queue Schema View MCCI_IN100004UV01
Send Poll Message Payload Schema View MCCI_IN100002UV01
Accept Ack Poll for Next Message in Queue Schema View MCCI_IN100004UV01
Send Poll Message Payload Schema View MCCI_IN100002UV01
Send Poll Message Accept Acknowledgement Schema View MCCI_IN100003UV01
Narrative Example

In this scenario, the HL7 Message Queue Manager Role manages a remote message queue. This service is not always available. When it is available, the HL7 Message Queue Poller Role may send a poll request message. When there are one or messages in the remote message queue the HL7 Message Queue Manager prepares and sends an HL7 composite message payload to the HL7 Message Queue Poller Role. The Message Queue Poller receives the message and responds with an accept acknowledgement message that additionally requests that the next message in the queue be sent. If there is one or messages in the remote message queue the HL7 Message Queue Manager prepares and sends an HL7 composite message payload to the HL7 Message Queue Poller Role. This sequence may continue as long as there are messages queued or until the HL7 Message Queue Poller Role responds to a received message with a simple accept acknowledgement message. Any other error in processing a poll message request will also complete the session for retrieving queued messages. Note the restriction on this message queue is that it must not contain any messages that require an immediate application level response.

Purpose

Send HL7 Poll Request for one message. If a message cannot be returned from the queue, send an accept acknowledgement indicating the reason for ending the message polling session.

Diagram
Activity Diagram
Interaction List
Send Poll Request Schema View MCCI_IN100001UV01
Exception Acknowledgement in Response to Poll Req Schema View MCCI_IN100005UV01
Narrative Example

In this scenario, the HL7 Message Queue Manager Role manages a remote message queue. This service is not always available. When it is available, the HL7 Message Queue Poller Role may send a poll request message. When there are no messages in the remote message queue or if there is another condition which prevents the HL7 Message Queue Manager Role from returning a message from the message queue, the HL7 Message Queue Manager Role prepares and sends an HL7 acknowledgement message indicates the reason why an application message from the message queue is not being returned. Receiving such a response, the HL7 Message Queue Poller Role will discontinue the message polling session. The HL7 Message Queue Poller Role will discontinue a message polling session if the communications link to the remote HL7 Message Queue Manager Role is not available.

Go To Top

 Application Roles (Sorted by Artifact Code)
 Application Roles (Sorted by Display Order)
 
pointer Message Queue Poller (MCCI_AR100001UV01
pointer Message Queue Manager (MCCI_AR100002UV01
Reference

For details on the interpretation of this section, see the discussion of application roles and their relationships in the Version 3 Guide.

Introduction

The justification for HL7 Communication Roles for Version 3 message control comes from a need to formalize the expectations of HL7 Application Roles for messaging communication services. Application Roles specify the expected message handling behavior for a set of interactions. The HL7 Message Development Framework has led to the creation of numerous Application Roles by the technical committees that are developing HL7 Version 3 messaging interactions. Communication Roles are intended to specify a core set of messaging communication services that can support the messaging communication requirements of HL7 Application Roles.

Note: These application roles are not used in their own right except for the inplementable interactions in this domain. Accept-level acknowledgements fall into this category. Domain interactions will define, and reference, two domain application roles.

Description View Interactions

Sends HL7 poll request control message to an HL7 message queue manager. Can handle poll message errors returned by remote queue manager. Only able to handle notification HL7 message payloads or message payloads that do not require a deferred application level response.

Note: This is not a real trigger event. Common messages, as defined in the Shared Messages Introduction [COMT_DO000000] , are not used in their own right but as a reusable payload in various domains. When used in this fashion, the message is transmitted as the result of a domain interaction, and between two domain application roles.

Description View Interactions

Responds to HL7 poll request control message with next HL7 message in queue or a message queue poll error message. Requires an accept-level acknowledgement on all HL7 message payloads sent. May accept an embedded poll for next message in an accept-level message acknowledgement. Does not allow the send of an HL7 message payload that requires a deferred application level response.

Go To Top

 Trigger Events (Sorted by Title)
 Trigger Events (Sorted by Display Order)
 
pointer Send Poll Message 1 Request (MCCI_TE100001UV01
pointer Send Poll Message From Poll Request (MCCI_TE100002UV01
pointer Send Poll Message Accept/Poll Next (MCCI_TE100005UV01
pointer Send Poll Message Accept Acknowledgement (MCCI_TE100003UV01
pointer Send Poll Message Error (MCCI_TE100004UV01
Reference

For details on the interpretation of this section, see the discussion of trigger events in the Version 3 Guide.

Introduction

Communication level message control in HL7 Version 3 is defined by the handling of the events and state transitions identified in the Version 3 HL7 Message Control state diagram. Refer to domain interactions for domain trigger events.

Description View Interactions
Type:  State-transition based
State Transition:  Message (MCCI_RM100100UV01)

The processing of a poll operation to retrieve a message from a remotely managed message queue has started.

Note: This trigger event is for communication infrastructure purposes only. Domain interactions will define the Transmission Wrapper, domain trigger events, application roles, and domain payload.

Description View Interactions
Type:  State-transition based
State Transition:  Message (MCCI_RM100300UV01)

An HL7 Composite Message Payload send operation has been started as a result of a poll request to a remotely managed message queue.

Note: This trigger event is for communication infrastructure purposes only. Domain interactions will define the Transmission Wrapper, domain trigger events, application roles, and domain payload.

Description View Interactions
Type:  State-transition based
State Transition:  Message (MCCI_RM100200UV01)

An HL7 Composite Message Payload has been accepted for guaranteed delivery as a result of a poll request to a remotely managed message queue. Simultaneously, a poll operation for the next message in the queue was started.

Note: This trigger event is for communication infrastructure for accept-level acknowledgements which are implementable as a receiver responsibility.

Description View Interactions
Type:  State-transition based
State Transition:  Message (MCCI_RM100200UV01)

An HL7 Composite Message Payload has been accepted for guaranteed delivery as a result of a poll request to a remotely managed message queue.

Note: This trigger event is for communication infrastructure for accept-level acknowledgements which are implementable as a receiver responsibility.

Description View Interactions
Type:  State-transition based
State Transition:  Message (MCCI_RM000200UV01)

The processing of a poll operation to retrieve a message from a remotely managed message queue has resulted in an error condition noted by the manager of the queue.

Note: This trigger event is for communication infrastructure for accept-level acknowledgements which are implementable as a receiver responsibility.

Go To Top

 Refined Message Information Models (Sorted by Title)
 Refined Message Information Models (Sorted by Display Order)
 
pointer Send Poll Request (MCCI_RM100100UV01
pointer Send Polling Accept Acknowledgement (MCCI_RM100200UV01
pointer Send Polling Response W/ Message (MCCI_RM100300UV01
Reference

For details on the interpretation of this section, see the description of RMIMs in the Version 3 Guide.

Diagram
T-MCCI_RM100100UV.png
Parent:  Transmission Infrastructure (MCCI_DM000000UV)
Description

Send poll request for next message in remote message queue.

Note: This will not be implemented in its own right. Domain interactions will reference the appropriate Transmission Wrapper.

Contained Hierarchical Message Descriptions
Send Poll Request MCCI_HD100100UV01
Diagram
T-MCCI_RM100200UV.png
Parent:  Transmission Infrastructure (MCCI_DM000000UV)
Description

Give communication level accept acknowledgement of reception of a message while simultaneously issuing a poll request for the next message in the remote message queue.

Note: This message type is implementable as a receiver responsibility.

Contained Hierarchical Message Descriptions
Accept Ack-Poll Next MCCI_HD100200UV01
Diagram
T-MCCI_RM100300UV.png
Parent:  Transmission Infrastructure (MCCI_DM000000UV)
Description

Send of next message in queue in response to poll request.

Note: This will not be implemented in its own right. Domain interactions will reference the appropriate Transmission Wrapper.

Contained Hierarchical Message Descriptions
Poll Response with Message MCCI_HD100300UV01

Go To Top

 Hierarchical Message Descriptions (Sorted by Title)
 Hierarchical Message Descriptions (Sorted by Display Order)
 
pointer Send Poll Request (MCCI_HD100100UV01
pointer Send Accept Ack/Poll Next Msg (MCCI_HD100200UV01
pointer Send Poll Response w/ Message (MCCI_HD100300UV01
Reference

For details on the interpretation of this section, see the description of HMDs in the Version 3 Guide.

Description

Send poll request for next message in remote message queue.

Note: This will not be implemented in its own right. Domain interactions will reference the appropriate Transmission Wrapper.

Common Message Element Types Used
R_NotificationParty COCT_MT040203UV01
Base Hierarchical Message Description Goto RMIM Table View Excel View
Message Type List
Send Poll Request MCCI_MT100100UV01
Description

Give communication level accept acknowledgement of reception of a message while simultaneously issuing a poll request for the next message in the remote message queue.

Note: This message type is implementable as a receiver responsibility.

Common Message Element Types Used
R_NotificationParty COCT_MT040203UV01
Base Hierarchical Message Description Goto RMIM Table View Excel View
Message Type List
Send Accept Ack/Poll Next Message MCCI_MT100200UV01
Description

Send of next message in queue in response to poll request.

Note: This will not be implemented in its own right. Domain interactions will reference the appropriate Transmission Wrapper.

Common Message Element Types Used
R_NotificationParty COCT_MT040203UV01
Base Hierarchical Message Description Goto RMIM Table View Excel View
Message Type List
Send Poll Response with Message MCCI_MT100300UV01

Go To Top

 Interactions (Sorted by Title)
 Interactions (Sorted by Display Order)
 
pointer Accept Ack Poll for Next Message in Queue (MCCI_IN100004UV01
pointer Exception Acknowledgement in Response to Poll Req (MCCI_IN100005UV01
pointer Send Poll Message Payload (MCCI_IN100002UV01
pointer Send Poll Request (MCCI_IN100001UV01
pointer Send Poll Message Accept Acknowledgement (MCCI_IN100003UV01
Reference

For details on the interpretation of this section, see the definition of Interactions in the Version 3 Guide.

Description Schema View

Communication level acknowledgement that polled message received and immediately making a poll request for the next message in the queue. Note: This interaction is invoked, where appropriate, as a receiver responsibility.

Trigger Event Send Poll Message Accept Acknowledgement MCCI_TE100003UV01
Receiver Responsibilities
Reason Trigger Event Interaction
If message waiting in queue to send. MCCI_IN100002UV01
Sending and Receiving Roles
Sender Message Queue Poller MCCI_AR100001UV01
Receiver Message Queue Manager MCCI_AR100002UV01
Description Schema View

Communication level acknowledgement indicating exception as to why message payload not returned by poll request that has been received. Note: This interaction is invoked, where appropriate, as a receiver responsibility.

Trigger Event Send Poll Message Error MCCI_TE100004UV01
Sending and Receiving Roles
Sender Message Queue Manager MCCI_AR100002UV01
Receiver Message Queue Poller MCCI_AR100001UV01
Description Schema View

Sends next message in HL7 message queue. Note: This interaction is for communication illustration purposes only. Refer to domain defined interactions which will indicate the appropriate transmission wrapper.

Trigger Event Send Poll Message From Poll Request MCCI_TE100002UV01
Receiver Responsibilities
Reason Trigger Event Interaction
If acknowledging message received and no more polling is required. MCCI_IN100003UV01
If acknowledging message received and an additional poll request for next queued message is wanted. MCCI_IN100004UV01
Sending and Receiving Roles
Sender Message Queue Manager MCCI_AR100002UV01
Receiver Message Queue Poller MCCI_AR100001UV01
Description Schema View

Sends HL7 poll request control message to an HL7 message queue manager. Note: This interaction is for communication illustration purposes only. Refer to domain defined interactions which will indicate the appropriate transmission wrapper.

Trigger Event Send Poll Message 1 Request MCCI_TE100001UV01
Receiver Responsibilities
Reason Trigger Event Interaction
If message waiting in queue to send. MCCI_IN100002UV01
If message cannot be returned from the queue MCCI_IN100005UV01
Sending and Receiving Roles
Sender Message Queue Poller MCCI_AR100001UV01
Receiver Message Queue Manager MCCI_AR100002UV01
Description Schema View

Communication level acknowledgement that polled message received. Note: This interaction is invoked, where appropriate, as a receiver responsibility.

Trigger Event Send Message Accept Acknowledgement MCCI_TE000002UV01
Sending and Receiving Roles
Sender Message Queue Poller MCCI_AR100001UV01
Receiver Message Queue Manager MCCI_AR100002UV01

Return to top of page