#### TMS Infrastructure
Domain Message Specification

### TMS Implementation

Application Roles | Responsible for sending | Responsible for receiving
--- | --- | ---
Request/Notification Message Receiver (MCCI_AR010000UK01) | Application Acknowledgement |
Request/Notification Message Sender (MCCI_AR020000UK01) |  | Application Acknowledgement
Query Fulfiller (QUQI_AR010000UK01) | Query Act Failed |
Query Placer (QUQI_AR020000UK01) |  | Query Act Failed

#### Trigger Events

Send Application Acknowledgement (MCCI_TE010000UK01) The sending of an application acknowledgement occurs in response to the receipt of an HL7 version 3 composite message payload.
Query Failed (QUQI_TE010000UK01) The sending of a query failed response occurs in response to the receipt of a failed query from a query placer.

#### Interactions

Application Acknowledgement (MCCI_IN010000UK13) View Interaction Schema An application acknowledgement on receipt of a request or notification. Note: This interaction is invoked, where appropriate, as a receiver responsibility. Important Note:- This interaction may also be invoked by any TMS node in response to a messaging error detected prior to a business sub-system accepting the HL7 payload. Systems should be capable of accepting this response to any business interaction. The Interaction diagrams included in this specification define the business layer interactions and will NOT depict Application Acknowledgements generated due to this transport layer error use case. Sender: Request/Notification Message Receiver (MCCI_AR010000UK01) Receiver: Request/Notification Message Sender (MCCI_AR020000UK01) Message: Wire Format: Application Acknowledgement (MCCI_MT020101UK12) Conformance Format: Application Acknowledgement (MCCI_MT020101UK12) Trigger Event: Send Application Acknowledgement (MCCI_TE010000UK01) Transmission Wrapper: Application Acknowledgement (MCCI_MT020101UK12) Control Act Wrapper: Control Act (MCAI_MT040101UK03)
Query Act Failed (QUQI_IN010000UK14) View Interaction Schema A Query Act Failed interaction contains status information on an identified query that has failed and does not contain any query results. Sender: Query Fulfiller (QUQI_AR010000UK01) Receiver: Query Placer (QUQI_AR020000UK01) Message: Wire Format: Query Acknowledgement Response (QUQI_MT030101UK03) Conformance Format: Query Acknowledgement Response (QUQI_MT030101UK03) Trigger Event: Query Failed (QUQI_TE010000UK01) Transmission Wrapper: Application Acknowledgement (MCCI_MT020101UK12) Control Act Wrapper: Query Acknowledgement Response (QUQI_MT030101UK03)