#### Child Protection
Domain Message Specification

### TMS Implementation

Application Roles | Responsible for sending | Responsible for receiving
--- | --- | ---
CP-IS Upload Requester (REPC_AR000002GB01) | CP-IS Local Authority Upload | CP-IS LA Acknowledgement Response CP-IS Access To Service Notification CP-IS Inactive NHS Number Notification
CP-IS Upload Fulfiller (REPC_AR000003GB01) | CP-IS LA Acknowledgement Response CP-IS Access To Service Notification CP-IS Inactive NHS Number Notification | CP-IS Local Authority Upload
CP-IS NHS Query Placer (QUPC_AR000006GB01) | CP-IS NHS Query | CP-IS NHS Query Response Query Act Failed
CP-IS NHS Query Fulfiller (REPC_AR000007GB01) | CP-IS NHS Query Response Query Act Failed | CP-IS NHS Query
Request/Notification Message Receiver (MCCI_AR010000UK01) | Application Acknowledgement |
Request/Notification Message Sender (MCCI_AR020000UK01) |  | Application Acknowledgement

#### Trigger Events

CP-IS Local Authority Upload (REPC_TE000002GB01) The CP-IS Local Authority Upload trigger event indicates that a CP-IS Local Authority Upload is ready to send from the CP-IS Upload Requester.
CP-IS Local Authority Acknowledgement Response (REPC_TE000003GB01) The CP-IS Local Authority Acknowledgement Response trigger event indicates that an CP-IS Local Authority Acknowledgement Response is ready to send from the CP-IS Upload Fulfiller.
CP-IS NHS Query (QUPC_TE000006GB01) The CP-IS NHS Query trigger event indicates that a Query is triggered.
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.
CP-IS NHS Query Response (REPC_TE000007GB01) The CP-IS NHS Query Response trigger event indicates that a Response is triggered.
CP-IS Access To Service Notification (REPC_TE000004GB01) The CP-IS Access To Service Notification event indicates that an CP-IS Access To Service Notification is ready to send from the CP-IS Upload Fulfiller.
CP-IS Inactive NHS Number Notification (REPC_TE000005GB01) The CP-IS Inactive NHS Number Notification event indicates that an CP-IS Inactive NHS Number Notification is ready to send from the CP-IS Upload Fulfiller.
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.

#### Interactions

#### CPIS Upload interactions

CP-IS Local Authority Upload (urn:GB-en-NHS:iops:interaction:CP-ISLocalAuthorityUpload-v1-0) Communicates a CP-IS Local Authority Upload to a CP-IS Upload Fulfiller. The CP-IS Upload Fulfiller must act upon receipt of upload. Sender: CP-IS Upload Requester (REPC_AR000002GB01) Receiver: CP-IS Upload Fulfiller (REPC_AR000003GB01) Message: Wire Format: CP-IS Local Authority Upload (REPC_MT000002GB01) Conformance Format: CP-IS Local Authority Upload (REPC_MT000002GB01) Trigger Event: CP-IS Local Authority Upload (REPC_TE000002GB01)
CP-IS LA Acknowledgement Response (urn:GB-en-NHS:iops:interaction:CP-ISLAAcknowledgementResponse-v1-0) Communicates a CP-IS Local Authority Acknowledgement Response to a CP-IS CP-IS Upload Placer. Sender: CP-IS Upload Fulfiller (REPC_AR000003GB01) Receiver: CP-IS Upload Requester (REPC_AR000002GB01) Message: Wire Format: CP-IS Local Authority Acknowledgement Response (REPC_MT000003GB01) Conformance Format: CP-IS Local Authority Acknowledgement Response (REPC_MT000003GB01) Trigger Event: CP-IS Local Authority Acknowledgement Response (REPC_TE000003GB01)

#### CPIS Query interactions

CP-IS NHS Query (QUPC_IN000006GB01) View Interaction Schema Communicates a CP-IS NHS Query to a CP-IS NHS Query Fulfiller. The CP-IS NHS Query Fulfiller must act upon the query request. Sender: CP-IS NHS Query Placer (QUPC_AR000006GB01) Receiver: CP-IS NHS Query Fulfiller (REPC_AR000007GB01) Message: Wire Format: CP-IS NHS Query (QUPC_MT000006GB01) Conformance Format: CP-IS NHS Query (QUPC_MT000006GB01) Trigger Event: CP-IS NHS Query (QUPC_TE000006GB01) Transmission Wrapper: Send Message Payload (Version 12.0) (MCCI_MT010101UK12) Control Act Wrapper: Query Control Act (Version 1.0) (QUQI_MT050000UK01)
CP-IS NHS Query Response (REPC_IN000007GB01) View Interaction Schema Communicates a CP-IS NHS Query Response to a CP-IS NHS Query Placer. The CP-IS NHS Query Placer is recommended to act upon query response. Sender: CP-IS NHS Query Fulfiller (REPC_AR000007GB01) Receiver: CP-IS NHS Query Placer (QUPC_AR000006GB01) Message: Wire Format: CP-IS NHS Query Response (REPC_MT000007GB01) Conformance Format: CP-IS NHS Query Response (REPC_MT000007GB01) Trigger Event: CP-IS NHS Query Response (REPC_TE000007GB01) Transmission Wrapper: Send Message Payload (Version 12.0) (MCCI_MT010101UK12) Control Act Wrapper: Query Control Act (Version 1.0) (QUQI_MT030101UK03)
Query Act Failed (QUQI_IN010000UK14) View Interaction Schema Communicates a CP-IS NHS Query Failure to a CP-IS NHS Query Placer. The CP-IS NHS Query Placer is recommended to act upon query response. Sender: CP-IS NHS Query Fulfiller (REPC_AR000007GB01) Receiver: CP-IS NHS Query Placer (QUPC_AR000006GB01) 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 (Version 12.0) (MCCI_MT020101UK12) Control Act Wrapper: Query Control Act (Version 1.0) (QUQI_MT030101UK03)
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: Query Acknowledgement Response (QUQI_MT030101UK03)

#### CPIS Notification interactions

CP-IS Access To Service Notification (urn:GB-en-NHS:iops:interaction:CP-ISAccessToServiceNotification-v1-0) Communicates a CP-IS Access To Service Notification to a CP-IS Upload Requestor. Sender: CP-IS Upload Fulfiller (REPC_AR000003GB01) Receiver: CP-IS Upload Requester (REPC_AR000002GB01) Message: Wire Format: CP-IS Access to Service Notification (REPC_MT000004GB01) Conformance Format: CP-IS Access to Service Notification (REPC_MT000004GB01) Trigger Event: CP-IS Access To Service Notification (REPC_TE000004GB01)
CP-IS Inactive NHS Number Notification (urn:GB-en-NHS:iops:interaction:CP-ISInactiveNHSNumberNotification-v1-0) Communicates a CP-IS Inactive NHS Number Notification to a CP-IS Upload Requestor. Sender: CP-IS Upload Fulfiller (REPC_AR000003GB01) Receiver: CP-IS Upload Requester (REPC_AR000002GB01) Message: Wire Format: CP-IS Inactive NHS Number Notification (REPC_MT000005GB01) Conformance Format: CP-IS Inactive NHS Number Notification (REPC_MT000005GB01) Trigger Event: CP-IS Inactive NHS Number Notification (REPC_TE000005GB01)