This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "Batch Transmission Pattern"

From HL7Wiki
Jump to navigation Jump to search
(update with open issues)
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Image:Batch Transmission Pattern.JPG|thumb|right|250px|Batch Transmission Pattern]]
 +
 
The Transmission Sender (an HL7 Application) sends
 
The Transmission Sender (an HL7 Application) sends
 
the initial [[Batch Transmission]]. The Transmission Receiver (another
 
the initial [[Batch Transmission]]. The Transmission Receiver (another
HL7 Application) performs an accept-level validation, and sends an
+
HL7 Application) performs an accept-level validation, and  
accept-level acknowledgement Batch transmission if the Sender had
+
#(if the batch could not be validated) sends an accept-level acknowledgement error, or
requested such an acknowledgement.
+
#removes the [[Batch Transmission Wrapper]] from the interaction and processes the interactions contained within the batch as if these interactions were received as a series of individual interactions.
 
 
The timing and delivery method of the [[Response Transmission]] depends on settings as provided by the Sender with the
 
initial Transmission.
 
 
 
== Notes ==
 
 
 
If one creates a more detailed scenario there are some open issues:
 
*The Batch Sender collects zero or more interactions and groups them by means of a Batch wrapper, and sends the Batch (MCCI_IN200100) to the Batch Receiver.
 
*If the sender so desires the receiver should sent a Batch Accept Acknowledgement (MCCI_IN200102, previously known as ''Message Adapter Batch Acknowledgement''). This interaction contains zero or more Message Adapter Acknowledgements (MCCI_IN000002).
 
**The batch-level acknowledgement status will be reported in the Acknowledgement class associated with the Batch class. It can be used to convey information related to syntax issues or checksum issues at the batch level. Accept-level acknowledgements for rejected interactions should be contained in the response batch. Those interactions that are ''accepted'' at accept-level aren't explicitly acknowledged in the Batch Accept Ack. A batch containing zero negative acknowledgment interactions may be sent to indicate that all the HL7 interactions contained in the batch being acknowledged are implicitly acknowledged at the accept/commit level.
 
**The only circumstance where a batch as a whole will be rejected is if the application is concerned that the batch as a whole is corrupt; e.g. when counts (transmissionQuantity or batchTotalNumber) don't match. Receiver applications must ascertain that the batch is not corrupt prior to executing any of the requests within the batch.
 
**'''Open issue: the use of Batch accept acks is site specific. Introduce a Batch. acceptAckCode?'''
 
  
Application level responses to interactions contained within a batch are sent as individual message-interactions, unless there is a site agreement that all application responses related to message-interactions in a batch are contained within a single response batch (MCCI_IN200101). A receiving system shall never respond to a batch with more than one application-level response batch.
+
*The Batch Sender collects zero or more interactions and groups them by means of a Batch wrapper, and sends the Batch (MCCI_IN200100) to the Batch Receiver. The Accept Acknowledgements (MCCI_IN000002) is only used if the batch interaction has validation issue.
*'''Open issue: the use a single response Batch is site specific (may depend on Batch Type). Introduce a new attribute in the Batch class?'''
 

Latest revision as of 22:27, 28 July 2006

Batch Transmission Pattern

The Transmission Sender (an HL7 Application) sends the initial Batch Transmission. The Transmission Receiver (another HL7 Application) performs an accept-level validation, and

  1. (if the batch could not be validated) sends an accept-level acknowledgement error, or
  2. removes the Batch Transmission Wrapper from the interaction and processes the interactions contained within the batch as if these interactions were received as a series of individual interactions.
  • The Batch Sender collects zero or more interactions and groups them by means of a Batch wrapper, and sends the Batch (MCCI_IN200100) to the Batch Receiver. The Accept Acknowledgements (MCCI_IN000002) is only used if the batch interaction has validation issue.