This wiki has undergone a migration to Confluence found Here

Difference between revisions of "Batch Based Interaction"

From HL7Wiki
Jump to navigation Jump to search
(new page)
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
'''Glossary definition:''' A package of information communicated from one application to another.
 +
 +
== Details ==
 +
 
An [[Interaction]] which consists of:
 
An [[Interaction]] which consists of:
#a [[Batch Wrapper]]  
+
#a [[Batch Wrapper]], and
#one or more [[Message Based Interaction]]s:
+
#one or more [[Batch Based Interaction]]s or [[Message Based Interaction]]s.
##a [[Transmission Wrapper]]
+
 
##a [[Trigger Event Control Act Wrapper]] (conditional)
+
A Batch Based Interaction (as a whole) has no [[Receiver Responsibilities]], only [[Message Based Interaction]]s contained within the [[Batch Wrapper]] have [[Receiver Responsibilities]].
##[[Domain Content]] (optional)
+
 
 +
== FAQ ==
 +
 
 +
*The creation of the XML-schema requires some manual editing, see [[Batch Wrapper Schema]]
 +
 
 +
* What would an example instance look like?
 +
<MCCI_IN200100>
 +
        <id/>
 +
        <creationTime/>
 +
        <responseModeCode/>
 +
        ...
 +
        <POLB_IN111000>
 +
                ...
 +
        </POLB_IN111000>
 +
        <POLB_IN111007>
 +
                ...
 +
        </POLB_IN111007>
 +
        <MCCI_IN200100>
 +
                ...
 +
        </MCCI_IN200100>
 +
        ...
 +
</MCCI_IN200100>
 +
 
 +
Note: the children of e.g. POLB_IN111000 are just as if you were sending that
 +
interaction by itself
 +
 
 +
=== Schema Validation ===
 +
* Should the schema for the batch interaction (MCCI_IN200100) report validation errors for the interactions contained within it?
 +
 
 +
#The contents of a batch interaction can be any combination of any message-based-interaction or batch-based-interaction. As such the creation of a schema for a batch interaction which validates all possible content is problematic.
 +
#A Batch wrapper is currently viewed as something one solely uses to group interactions ''for transmission purposes''. The expected behaviour is that a receiver strips off the batch wrapper, and processes the individual interactions within the batch as if they had been received as separate message instances.
 +
 
 +
Both things lead to a batch interaction schema that does NOT validate its contents.
 +
 
 +
[[Category:INM Glossary]]

Latest revision as of 04:29, 23 June 2010

Glossary definition: A package of information communicated from one application to another.

Details

An Interaction which consists of:

  1. a Batch Wrapper, and
  2. one or more Batch Based Interactions or Message Based Interactions.

A Batch Based Interaction (as a whole) has no Receiver Responsibilities, only Message Based Interactions contained within the Batch Wrapper have Receiver Responsibilities.

FAQ

  • What would an example instance look like?
<MCCI_IN200100>
       <id/>
       <creationTime/>
       <responseModeCode/>
       ...
       <POLB_IN111000>
               ...
       </POLB_IN111000>
       <POLB_IN111007>
               ...
       </POLB_IN111007>
       <MCCI_IN200100>
               ...
       </MCCI_IN200100>
       ...
</MCCI_IN200100>

Note: the children of e.g. POLB_IN111000 are just as if you were sending that interaction by itself

Schema Validation

  • Should the schema for the batch interaction (MCCI_IN200100) report validation errors for the interactions contained within it?
  1. The contents of a batch interaction can be any combination of any message-based-interaction or batch-based-interaction. As such the creation of a schema for a batch interaction which validates all possible content is problematic.
  2. A Batch wrapper is currently viewed as something one solely uses to group interactions for transmission purposes. The expected behaviour is that a receiver strips off the batch wrapper, and processes the individual interactions within the batch as if they had been received as separate message instances.

Both things lead to a batch interaction schema that does NOT validate its contents.