<?xml version="1.0" encoding="UTF-8"?>
<staticModel isAbstract="false" isSerializable="true"
    name="REPC_RM000003GB01" packageKind="root"
    representationKind="flat" xmlns="urn:hl7-org:v3/mif"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3/mif C:\PROGRA~1\HL7\System\schemas\mifStaticModelFlat.xsd">
    <packageLocation artifact="RM-deprecated" domain="PC" id="000003"
        name="REPC_RM000003GB01" realm="GB" root="DEFN" section="HM"
        subSection="RE" version="01"/>
    <header>
        <renderingInformation
            application="NHS R-MIM Designer 2.99.KJ.08"
            renderingTime="2013-11-27T10:28:02" schemaVersion="1"/>
        <legalese copyrightOwner="NHS Connecting for Health"/>
    </header>
    <graphicRepresentation presentation="HL7">
        <graphElement name="Main">
            <position x="0.0" y="0.0"/>
            <size height="8.87889" width="15.81"/>
        </graphElement>
    </graphicRepresentation>
    <derivationSupplier staticModelDerivationId="1">
        <targetStaticModel artifact="RIM" realm="UV" root="DEFN" version="1"/>
    </derivationSupplier>
    <ownedEntryPoint className="FileResponse" id="REPC_RM000003GB01"
        isAbstract="false" name="CP-ISLocalAuthorityAcknowledgementResponse">
        <annotations>
            <description>
                <text>
                    <p>Acknowledgement response sent to the local authority childrens</p>
                    <p>social care system that sent the original child protection information.</p>
                </text>
            </description>
            <otherAnnotation type="html">
                <text/>
            </otherAnnotation>
        </annotations>
        <graphicRepresentation>
            <graphElement containerDiagramName="Main"
                isHeightAutoSize="false" isWidthAutoSize="false"
                nodeOrientation="Down" shapeId="REPC_RM000003GB01">
                <position x="4.48029" y="0.02778"/>
                <size height="0.58611" width="3.44607"/>
                <anchorage connectToShapeId="Sheet.55">
                    <position x="6.20332" y="0.61389"/>
                    <graphEdge>
                        <anchor>
                            <position x="6.20332" y="1.12194"/>
                        </anchor>
                    </graphEdge>
                </anchorage>
            </graphElement>
        </graphicRepresentation>
    </ownedEntryPoint>
    <ownedClass>
        <class isAbstract="false" name="CommunicationFunctionRcv">
            <derivationSupplier className="CommunicationFunction" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="true"
                    shapeId="Sheet.1" shapeTemplate="OtherClass">
                    <position x="9.42818" y="0.88389"/>
                    <size height="0.75" width="3.30838"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class is the receive function class used to link the recipients details to the batch.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" defaultValue="RCV"
                fixedValue="RCV" isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="typeCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <p>
                                    <u>
                                    <b>Model Attribute Description</b>
                                    </u>
                                </p>
                                <p>The HL7 attribute <b>typeCode</b> uses a code from the <b>communicationFunctionType</b> vocabulary to describe this class as a receive function.                    </p>
                                <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                </p>

                                <p>The XML attribute <b>typeCode</b> is fixed to "<font color="#ff0000">
                                    <b>RCV</b>
                                    </font>".                   </p>
                                <p>
                                    <u>
                                    <b>Schema Constraint   </b>
                                    </u>
                                    <br/>
                                </p>
                                <ul>
                                    <li>The attribute <b>typeCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.                   </li>
                                </ul>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="typeCode"
                    className="CommunicationFunction" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CommunicationFunctionType"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="Organisation">
            <derivationSupplier className="Organization" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="true"
                    shapeId="Sheet.5" shapeTemplate="Entity">
                    <position x="14.10208" y="0.79389"/>
                    <size height="0.91445" width="1.69792"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class details the organisation which sent the CP-IS upload.<br/>
                        </b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="ORG"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="classCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>classCode</b> describes this class as an organisation.                   </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>
                            <p>The XML attribute <b>classCode</b> is fixed to "<b>
                                    <font color="#ff0000">ORG</font>
                                </b>". </p>
                            <p>
                                <u>
                                    <b>Schema Constraint    </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>                   The attribute <b>classCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="classCode"
                    className="Organization" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="ORG"/>
            </attribute>
            <attribute conformance="R" fixedValue="INSTANCE"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="determinerCode" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description  </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>determinerCode</b> describes this class as an instance of an organisation.                   </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance  </b>
                                </u>
                                <br/>
                            </p>

                            <p>The XML attribute <b>determinerCode</b> is fixed to "<font color="#ff0000">
                                    <b>INSTANCE</b>
                                </font>".</p>
                            <p>
                                <u>
                                    <b>Schema Constraint    </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>                   The attribute <b>determinerCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="determinerCode"
                    className="Organization" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="INSTANCE"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="id" sortKey="3">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <div contenteditable="false" style="height: 100%; width: 100%">
                                    <p>
                                    <u>
                                    <b>Model Attribute Description   </b>
                                    </u>
                                    <br/>
                                    </p>
                                    <p>The HL7 attribute<b> id</b> uses an ODS code as  an  identifier that uniquely identifies the sending organisation. The  ODS code should                                        identify the organisation at either the site  level  or organisation level. Where possible the organisation should be   identified                         at the site level. ODS codes were formerly known  as  NACS codes.                                         </p>
                                    <p>
                                    <u>
                                    <b>Implementation in XML Instance   </b>
                                    </u>
                                    <br/>
                                    </p>
                                    <p>When ODS site code is used then the XML element <b>id </b>is populated in the following way:                                         </p>
                                    <ul>

                                    <li>The XML attribute <b>root</b> shall contain an OID with the value "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.19.2</b>
                                    </font>"                                               </li>
                                    <li>The XML attribute <b>extension</b> shall contain the ODS site code.                                               </li>
                                    </ul>
                                    <p>When ODS organisation code is used then the XML element <b>id </b>is populated in the following way:<br/>
                                    </p>
                                    <ul>

                                    <li>The XML attribute <b>root</b> shall contain an OID with the value "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.19.1</b>
                                    </font>"                                               </li>
                                    <li>The XML attribute <b>extension</b> shall contain the ODS organisation code.                                               </li>
                                    </ul>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="id"
                    className="Organization" staticModelDerivationId="1"/>
                <type name="II" typeSpecialisation="II.NPfIT.OrganizationSDS.Organisation.oid:II.NPfIT.OrganizationSDS.Site.oid"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="name" sortKey="6">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <p>
                                    <u>
                                    <b>Model Attribute Description </b>
                                    </u>
                                    <br/>
                                </p>
                                <p>The HL7 attribute <b>name</b> uses the description of the organisation associated with the ODS code.                   </p>
                                <p>
                                    <u>
                                    <b>Implementation in XML Instance  </b>
                                    </u>
                                    <br/>
                                </p>
                                <div>The XML element <b>name</b> will carry the description associated with the ODS code carried in the XML attribute <b>extension</b>  of the XML element <b>id</b>.                   </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="name"
                    className="Organization" staticModelDerivationId="1"/>
                <type name="ON" typeSpecialisation="ON.NHS.OrganizationNameType1"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="2" minimumMultiplicity="1"
                name="telecom" sortKey="10">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>telecom</b> provides a contact telephone number for the organisation.                                                                        </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance   </b>
                                </u>
                                <br/>
                            </p>
                            <p>This XML element <b>telecom</b> should be populated as below: <br/>
                            </p>
                            <p>The XML attribute <b>value</b> of the XML element <b>telecom</b> should contain the telephone number.<br/>
                            </p>
                            <ul>
                                <li>For a telephone number the actual telephone number would be prefixed with <b>tel:</b>
                                </li>
                            </ul>
                            <p>The XML attribute <b>use</b> of the XML element <b>telecom</b> must be used to give further information about the type of contact details contained in the XML attribute <b>value</b>. Only the <b>use</b>  values listed below are recommended for the contact details:                                                                     </p>
                            <table align="center" border="1" width="90%">
                                <tbody>
                                    <tr>
                                    <th>Code</th>
                                    <th>Definition</th>
                                    </tr>
                                    <tr>
                                    <td>
                                    <b>EC</b>
                                    </td>
                                    <td>Emergency Contact - A contact used by clinicians in Out of Office hours (this is mandatory).<br/>
                                    </td>
                                    </tr>
                                    <tr>
                                    <td>
                                    <b>WP</b>
                                    <br/>
                                    </td>
                                    <td>Work place - A contact during business hours (this is optional, but if it is available it should be included).</td>
                                    </tr>
                                </tbody>
                            </table>
                            <br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="telecom"
                    className="Organization" staticModelDerivationId="1"/>
                <type name="SET" typeSpecialisation="TEL.NHS.value.mandatory">
                    <supplierBindingArgumentDatatype name="TEL"/>
                </type>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="AcknowledgementRecord">
            <derivationSupplier className="Acknowledgement" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.9" shapeTemplate="OtherClass">
                    <position x="0.025" y="1.39694"/>
                    <size height="0.75" width="3.275"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class links to any validation reported at the record level.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" defaultValue="CPISAR"
                fixedValue="CPISAR" isMandatory="true"
                isStructural="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="typeCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description</b>
                                </u>
                            </p>
                            <p>The HL7 attribute <b>typeCode</b> uses a code from the <b>CP-ISAcknowledgementType</b> vocabulary to describe this class as a CP-IS record level acknowledgement.                    </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>

                            <p>The XML attribute <b>typeCode</b> is fixed to "<font color="#ff0000">
                                    <b>CPISAR</b>
                                </font>".                   </p>
                            <p>
                                <u>
                                    <b>Schema Constraint  </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute <b>typeCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.                   </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="typeCode"
                    className="Acknowledgement" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISAcknowledgementType"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="AcknowledgementRecordDetail">
            <derivationSupplier className="AcknowledgementDetail" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.13" shapeTemplate="OtherClass">
                    <position x="0.01" y="0.06194"/>
                    <size height="0.75" width="3.31"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class carries reported record level validation.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="code" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <p>
                                    <u>
                                    <b>Model Attribute Description</b>
                                    </u>
                                </p>
                                <p>The HL7 attribute <b>code</b> uses a code from the <b>CP-ISUploadRecordResponse</b> vocabulary to indicate the response to the request to upload the child protection information record on to CP-IS.</p>

                                <p>When this code contains the value <font color="#ff0000">
                                    <b>CPR07</b>
                                    </font> the error will be further detailed using a qualifying code <b>CP-ISUploadRecordResponseDetail</b> vocabulary<b>.<br/>
                                    </b>
                                    <br/>
                                </p>
                                <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                </p>
                                <p>The <b>CE</b> data type shall be used to carry this information  in the XML element <b>code</b> as follows:                                                                                                                                                                        </p>
                                <ul>
                                    <li>The XML attribute <b>code</b> should a value from the <b>CP-ISUploadRecordResponse</b> vocabulary<b>
                                    <br/>
                                    </b>
                                    </li>

                                    <li>The XML attribute <b>codeSystem</b> shall contain a fixed value of  "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.17.473</b>
                                    </font>"                                                                                                                                                                                         </li>
                                    <li>The XML attribute <b>displayName</b> shall contain the description associated with the code.                               </li>
                                </ul>
                                <p>When this code contains the value <b>CPR07</b> the xml element <b>qualifier</b> of the xml element <b>translation</b> will contain a second qualifying code as follows<br/>
                                </p>
                                <ul>
                                    <li>The XML attribute <b>code</b> shall a value from the <b>CP-ISUploadRecordResponseDetail</b> vocabulary<b>
                                    <br/>
                                    </b>
                                    </li>

                                    <li>The XML attribute <b>codeSystem</b> shall contain a fixed value of  "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.17.482</b>
                                    </font>"                                                                                                                                                                                            </li>
                                    <li>The XML attribute <b>displayName</b> shall contain the description associated with the code.                               </li>
                                </ul>
                                <ul/>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="code"
                    className="AcknowledgementDetail" staticModelDerivationId="1"/>
                <type name="CE"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISUploadRecordResponse"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="location" sortKey="4">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <p>
                                    <u>
                                    <b>Model Attribute Description  </b>
                                    </u>
                                    <br/>
                                </p>
                                <p>The HL7 attribute <b>location</b> is used to carry the xpath to the invalid or incorrect part of the record included within the message.<br/>
                                </p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                                <br/>
                                <br/>    The XML element<b> location</b>                       should be populated using the <b>ST</b> data type as follows: <br/>
                                <ul>
                                    <li>The XML element <b>location </b>shall contain the xpath.</li>
                                </ul>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="location"
                    className="AcknowledgementDetail" staticModelDerivationId="1"/>
                <type name="ST" typeSpecialisation="ST.NHS.StringType5"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="FailedReturnedCP-ISRecords">
            <derivationSupplier className="AttentionLine" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.17" shapeTemplate="OtherClass">
                    <position x="9.425" y="2.95889"/>
                    <size height="0.75" width="3.3"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class contains the number of invalid records which have been rejected and therefore are returned to the sender.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" defaultValue="FRCR"
                fixedValue="FRCR" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="keyWordText" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <u>
                                <b>Model Attribute Description</b>
                            </u>
                            <p>The HL7 attribute <b>keyWordText </b>is  used to hold a literal text string identifying the value contained in this class.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>

                            <p>The XML element <b>keyWordText </b>shall contain a fixed value of "<font color="#ff0000">
                                    <b>FRCR</b>
                                </font>". </p>
                            <p>
                                <u>
                                    <b>Schema Constraint    </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>                      The attribute <b>keyWordText</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="keyWordText"
                    className="AttentionLine" staticModelDerivationId="1"/>
                <type name="ST"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="value" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <p>
                                    <u>
                                    <b>Model Attribute Description </b>
                                    </u>
                                    <br/>
                                </p>
                                <p>The HL7 attribute <b>value</b> is used to carry the number of invalid records that failed upload on CP-IS.<br/>
                                </p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                                <br/>
                                <br/>       The XML element<b> value </b>should be populated as follows: <br/>
                                <ul>
                                    <li>The XML attribute <b>value</b> shall contain a integer  to indicate the total number of failed records.                      </li>
                                </ul>
                                <p>
                                    <b>When a file requested to be uploaded is rejected due to file level errors and the number of records cannot be determined, this will contain the value -1.</b>
                                </p>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="value"
                    className="AttentionLine" staticModelDerivationId="1"/>
                <type name="INT"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="PertinentInformation">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Right" shapeId="Sheet.21"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="7.4" y="8.03774"/>
                    <size height="0.43611" width="2.97807"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <constraint name="contentId">
                    <text>
                        <p>NPFIT-100017#Act</p>
                    </text>
                    <graphicRepresentation>
                        <graphElement containerDiagramName="Main"
                            isHeightAutoSize="true"
                            isWidthAutoSize="true" shapeId="Sheet.198">
                            <position x="8.76361" y="7.11611"/>
                            <size height="0.32778" width="1.13639"/>
                            <anchorage connectToShapeId="Sheet.21">
                                <position x="9.3318" y="7.28"/>
                                <graphEdge>
                                    <anchor>
                                    <position x="8.82872" y="8.03774"/>
                                    </anchor>
                                </graphEdge>
                            </anchorage>
                        </graphElement>
                    </graphicRepresentation>
                </constraint>
                <otherAnnotation type="html">
                    <text>
                        <b>This class links the CP-IS Record class to the pertinent child protection plan type. <br/>
                        </b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="contentId" sortKey="0">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <div contenteditable="false" style="height: 100%; width: 100%">
                                    <div contenteditable="false" style="height: 100%; width: 100%">
                                    <div contenteditable="false" style="height: 100%; width: 100%">
                                    <div>
                                    <div
                                    contenteditable="false" style="height: 100%; width: 100%">
                                    <div>
                                    <p>
                                    <u>
                                    <b>Model Attribute Description</b>
                                    </u>
                                    <br/>
                                    </p>
                                    <p>The HL7 (NHS localisation) attribute <b>contentId</b>,  when valued in an  instance, provides a unique forward pointing  identifier for the template which  constrains the classes                                        and attributes which follow, for  NHS use.                                                                                                        </p>
                                    <p>The attribute is intended simply as a structural navigational aid and should  not be relied upon as an indicator of semantic                                        meaning. The <b>contentId </b>is  populated at runtime with a value from the allowed list contained in the  model.<br/>
                                    </p>
                                    <p>
                                    <br/>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                    </p>The <b>Identifier  External</b> data type flavour is used to carry this information in the XML  element <b>contentId</b> as follows:                                                                                                        <ul>

                                    <li>The XML attribute <b>root</b> is fixed to the OID "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.18.16</b>
                                    </font>"                                                                                                                 </li>
                                    <li>The XML attribute <b>extension</b> shall contain one of the allowed template  artefact identifiers.                                                                                                                                           </li>
                                    </ul>
                                    </div>
                                    </div>
                                    </div>
                                    </div>
                                    </div>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="contentId"
                    className="ActRelationship" staticModelDerivationId="1"/>
                <type name="II"/>
            </attribute>
            <attribute conformance="R" fixedValue="PERT"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="typeCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>The HL7 attribute <b>typeCode</b> uses a code to describe this class as pertinent information.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>

                            <p>The XML attribute <b>typeCode</b> is fixed to "<font color="#ff0000">
                                    <b>PERT</b>
                                </font>".</p>
                            <p>
                                <u>
                                    <b>Schema Constraint    </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute <b>typeCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance. <br/>
                                </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="typeCode"
                    className="ActRelationship" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="PERT"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="ValidCP-ISRecord">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.27" shapeTemplate="Act">
                    <position x="4.92173" y="7.04972"/>
                    <size height="0.72917" width="2.47827"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class represents the valid CP-IS records.</b>
                        </p>
                        <p>
                            <b>The complete valid record is not returned only the subject's details. The presence of a valid record structure for the subject and a upload success code indicates that the record has been successfully uploaded on CP-IS.</b>
                        </p>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="INFO"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="classCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>classCode</b> describes this class as information.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>

                            <p>The XML attribute <b>classCode</b> is fixed to "<font color="#ff0000">
                                    <b>INFO</b>
                                </font>". </p>
                            <p>
                                <u>
                                    <b>Schema Constraint    </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute <b>classCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="classCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="INFO"/>
            </attribute>
            <attribute conformance="R" fixedValue="EVN"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="moodCode" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>moodCode</b> describes this class as an information event.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>

                            <p>The XML attribute <b>moodCode</b> is fixed to "<font color="#ff0000">
                                    <b>EVN</b>
                                </font>". </p>
                            <p>
                                <u>
                                    <b>Schema Constraint    </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute <b>moodCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="moodCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
            <attribute conformance="R" defaultValue="VR" fixedValue="VR"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="code" sortKey="4">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <div contenteditable="false" style="height: 100%; width: 100%">
                                    <p>
                                    <u>
                                    <b>Model Attribute Description </b>
                                    </u>
                                    <br/>
                                    </p>
                                    <p>The HL7 attribute <b>code</b> uses a code from the <b>CP-ISRecordType</b> vocabulary to describe this control act as a CPIS valid record.<br/>
                                    </p>
                                    <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                    </p>
                                    <p>The <b>Coded </b>
                                    <b>Plain</b> flavour of the<b>
                                    <b> Coded Value </b>
                                    </b>(CV) data type shall be used to carry this information  in the XML element <b>code</b>   as follows:                                                                                                                                                                </p>
                                    <ul>

                                    <li>The XML attribute <b>code</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>VR</b>
                                    </font>"                                                                                                                                                                                   </li>

                                    <li>The XML attribute <b>codeSystem</b> shall contain a fixed value of  "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.17.471</b>
                                    </font>"                                                                                                                                                                                   </li>

                                    <li>The XML attribute <b>displayName</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>Valid CP-IS Record</b>
                                    </font>".                                                                                              </li>
                                    </ul>
                                    <p>
                                    <u>
                                    <b>Schema Constraint </b>
                                    </u>
                                    </p>
                                    <ul>
                                    <li>The attribute <b>code</b>   is prohibited in the schema and therefore does not appear in the "on   the wire" instance.                                                                                       </li>
                                    <li>The attribute <b>codeSystem</b>   is prohibited in the schema and therefore does not appear in the "on   the wire" instance.                                                                                       </li>
                                    <li>The attribute <b>displayName</b>   is prohibited in the schema and therefore does not appear in the "on   the wire" instance.                                                </li>
                                    </ul>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="code" className="Act" staticModelDerivationId="1"/>
                <type name="CV" typeSpecialisation="CV.NPfIT.Codedplain"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISRecordType"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="InvalidCP-ISRecord">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.31" shapeTemplate="Act">
                    <position x="4.92173" y="7.90389"/>
                    <size height="0.71" width="2.47827"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class represents the invalid CP-IS records.</b>
                        </p>
                        <b>The complete invalid record is returned with the error(s) indicated with an xpath and error codes.  </b>
                        <p/>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="INFO"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="classCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>classCode</b> describes this class as information.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>

                            <p>The XML attribute <b>classCode</b> is fixed to "<font color="#ff0000">
                                    <b>INFO</b>
                                </font>".                                                             </p>
                            <p>
                                <u>
                                    <b>Schema Constraint    </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute <b>classCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="classCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="INFO"/>
            </attribute>
            <attribute conformance="R" fixedValue="EVN"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="moodCode" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>moodCode</b> describes this class as an information event.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>

                            <p>The XML attribute <b>moodCode</b> is fixed to "<font color="#ff0000">
                                    <b>EVN</b>
                                </font>".</p>
                            <p>
                                <u>
                                    <b>Schema Constraint    </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute <b>moodCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="moodCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
            <attribute conformance="R" defaultValue="IR" fixedValue="IR"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="code" sortKey="4">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <div contenteditable="false" style="height: 100%; width: 100%">
                                    <p>
                                    <u>
                                    <b>Model Attribute Description </b>
                                    </u>
                                    <br/>
                                    </p>
                                    <p>The HL7 attribute <b>code</b> uses a code from the <b>CP-ISRecordType</b> vocabulary to describe this control act as a CPIS invalid record.<br/>
                                    </p>
                                    <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                    </p>
                                    <p>The <b>Coded </b>
                                    <b>Plain</b> flavour of the<b>
                                    <b> Coded Value </b>
                                    </b>(CV) data type shall be used to carry this information  in the XML element <b>code</b>  as follows:                                                                                                                                                              </p>
                                    <ul>

                                    <li>The XML attribute <b>code</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>IR</b>
                                    </font>"                                                                                                                                                                                </li>

                                    <li>The XML attribute <b>codeSystem</b> shall contain a fixed value of  "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.17.471</b>
                                    </font>"                                                                                                                                                                                </li>

                                    <li>The XML attribute <b>displayName</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>Invalid CP-IS Record</b>
                                    </font>".                                                                                              </li>
                                    </ul>
                                    <p>
                                    <u>
                                    <b>Schema Constraint </b>
                                    </u>
                                    </p>
                                    <ul>
                                    <li>The attribute <b>code</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.                                                                                      </li>
                                    <li>The attribute <b>codeSystem</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.                                                                                      </li>
                                    <li>The attribute <b>displayName</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.                                                </li>
                                    </ul>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="code" className="Act" staticModelDerivationId="1"/>
                <type name="CV" typeSpecialisation="CV.NPfIT.Codedplain"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISRecordType"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="Subject2">
            <derivationSupplier className="Participation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Left" shapeId="Sheet.35"
                    shapeTemplate="Participation" textWrappingWidth="66.0">
                    <position x="2.66114" y="7.58891"/>
                    <size height="0.43611" width="2.13559"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <constraint name="contentId">
                    <text>
                        <p>NPFIT-100035#Role</p>
                    </text>
                    <graphicRepresentation>
                        <graphElement containerDiagramName="Main"
                            isHeightAutoSize="true"
                            isWidthAutoSize="true" shapeId="Sheet.202">
                            <position x="3.0" y="6.26"/>
                            <size height="0.32778" width="1.13639"/>
                            <anchorage connectToShapeId="Sheet.35">
                                <position x="3.5682" y="6.42389"/>
                                <graphEdge>
                                    <anchor>
                                    <position x="3.78797" y="7.58892"/>
                                    </anchor>
                                </graphEdge>
                            </anchorage>
                        </graphElement>
                    </graphicRepresentation>
                </constraint>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>A class which is a participation of record subject. </b>
                        </p>
                        <b>The subject is the child who is the subject of the child protection information.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="contentId" sortKey="0">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <div contenteditable="false" style="height: 100%; width: 100%">
                                    <div contenteditable="false" style="height: 100%; width: 100%">
                                    <div contenteditable="false" style="height: 100%; width: 100%">
                                    <div>
                                    <div
                                    contenteditable="false" style="height: 100%; width: 100%">
                                    <div>
                                    <p>
                                    <u>
                                    <b>Model Attribute Description</b>
                                    </u>
                                    <br/>
                                    </p>
                                    <p>The HL7 (NHS localisation) attribute <b>contentId</b>,   when valued in an  instance, provides a unique forward pointing   identifier for the template which  constrains the classes                                         and attributes which follow, for  NHS use.                                                                                                          </p>
                                    <p>The  attribute is intended simply as a structural navigational aid and  should  not be relied upon as an indicator of semantic                                         meaning. The <b>contentId </b>is  populated at runtime with a value from the allowed list contained in the  model.<br/>
                                    </p>
                                    <p>
                                    <br/>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                    </p>The <b>Identifier  External</b> data type flavour is used to carry this information in the XML  element <b>contentId</b> as follows:                                                                                                        <ul>

                                    <li>The XML attribute <b>root</b> is fixed to the OID "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.18.16</b>
                                    </font>"                                                                                                                 </li>
                                    <li>The XML attribute <b>extension</b>  shall contain one of the allowed template  artefact identifiers.                                                                                                                                             </li>
                                    </ul>
                                    </div>
                                    </div>
                                    </div>
                                    </div>
                                    </div>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="contentId"
                    className="Participation" staticModelDerivationId="1"/>
                <type name="II"/>
            </attribute>
            <attribute conformance="R" fixedValue="SBJ"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="typeCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description</b>
                                </u>
                            </p>
                            <p>The HL7 attribute <b>typeCode</b> uses a code to describe this class as a subject participation.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>

                            <p>                         The XML attribute <b>typeCode</b> is fixed to "<font color="#ff0000">
                                    <b>SBJ</b>
                                </font>".                   </p>
                            <p>
                                <u>
                                    <b>Schema constraint </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>                   The attribute <b>typeCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance. </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="typeCode"
                    className="Participation" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="SBJ"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="AcknowledgementFile">
            <derivationSupplier className="Acknowledgement" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.41" shapeTemplate="OtherClass">
                    <position x="0.015" y="2.72194"/>
                    <size height="0.75" width="3.35"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class links to any validation reported at the file level.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" defaultValue="CPISAF"
                fixedValue="CPISAF" isMandatory="true"
                isStructural="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="typeCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description</b>
                                </u>
                            </p>
                            <p>The HL7 attribute <b>typeCode</b> uses a code from the <b>CP-ISAcknowledgementType</b> vocabulary to describe this class as a CP-IS file level acknowledgement.                    </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>

                            <p>The XML attribute <b>typeCode</b> is fixed to "<font color="#ff0000">
                                    <b>CPISAF</b>
                                </font>".                   </p>
                            <p>
                                <u>
                                    <b>Schema Constraint </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute <b>typeCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.                   </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="typeCode"
                    className="Acknowledgement" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISAcknowledgementType"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="AcknowledgementFileDetail">
            <derivationSupplier className="AcknowledgementDetail" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.45" shapeTemplate="OtherClass">
                    <position x="0.015" y="4.04694"/>
                    <size height="0.75" width="3.35"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class carries reported file level validation.</b>
                        </p>
                        <p>
                            <b>Important Note:  Although multiple file level errors are supported by this message CP-IS will only ever return one file level error. </b>
                            <br/>
                        </p>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="code" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <p>
                                    <u>
                                    <b>Model Attribute Description</b>
                                    </u>
                                </p>
                                <p>The HL7 attribute <b>typeCode</b> uses a code from the <b>CP-ISUploadFileResponse</b> vocabulary to indicate the response to the request to upload the child protection information file on to CP-IS. <br/>
                                </p>
                                <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                </p>
                                <p>The <b>Coded Plain</b> flavour of the<b>
                                    <b> Coded Value </b>
                                    </b>(CV) data type shall be used to carry this information  in the XML element <b>code</b> as follows:                                                                                                                    </p>
                                <ul>
                                    <li>The XML attribute <b>code</b> shall a value from the <b>CP-ISUploadFileResponse</b> vocabulary<b>
                                    <br/>
                                    </b>
                                    </li>

                                    <li>The XML attribute <b>codeSystem</b> shall contain a fixed value of  "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.17.474</b>
                                    </font>"                                                                                                                                   </li>
                                    <li>The XML attribute <b>displayName</b> shall contain the description associated with the code.</li>
                                </ul>
                                <p>
                                    <u>
                                    <b>Schema Constraint </b>
                                    </u>
                                    <br/>
                                </p>
                                <ul>
                                    <li>The attribute <b>codeSystem</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.                                               </li>
                                </ul>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="code"
                    className="AcknowledgementDetail" staticModelDerivationId="1"/>
                <type name="CV" typeSpecialisation="CV.NPfIT.Codedplain"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISUploadFileResponse"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="true" name="CP-ISRecord">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    nodeOrientation="Portrait" shapeId="Sheet.49" shapeTemplate="Choice">
                    <position x="4.79673" y="6.79972"/>
                    <size height="2.04417" width="2.80327"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>A choice of valid or invalid child protection record information which was requested to be uploaded on to CP-IS.</b>
                        </p>
                        <p>
                            <b>The valid record indicates that the record with this NHS number has been successfully uploaded.</b>
                        </p>
                        <p>
                            <b>The invalid record is returned with the errors indicated with xpaths and error codes.  </b>
                            <br/>
                        </p>
                    </text>
                </otherAnnotation>
            </annotations>
            <specializationChild childClassName="ValidCP-ISRecord">
                <graphicRepresentation>
                    <graphElement containerDiagramName="Main" shapeId="Sheet.27">
                        <position x="4.92173" y="7.04972"/>
                        <size height="0.72917" width="2.47827"/>
                    </graphElement>
                </graphicRepresentation>
                <annotations>
                    <otherAnnotation type="html">
                        <text>The valid CP-IS record.</text>
                    </otherAnnotation>
                </annotations>
            </specializationChild>
            <specializationChild childClassName="InvalidCP-ISRecord">
                <graphicRepresentation>
                    <graphElement containerDiagramName="Main" shapeId="Sheet.31">
                        <position x="4.92173" y="7.90389"/>
                        <size height="0.71" width="2.47827"/>
                    </graphElement>
                </graphicRepresentation>
                <annotations>
                    <otherAnnotation type="html">
                        <text>The invalid CP-IS record.</text>
                    </otherAnnotation>
                </annotations>
            </specializationChild>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="Record">
            <derivationSupplier className="Message" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.51" shapeTemplate="OtherClass">
                    <position x="4.81737" y="4.12888"/>
                    <size height="0.61001" width="2.56526"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>The Record class is a dummy class used to connect the file class to the record. <br/>
                        </b>
                    </text>
                </otherAnnotation>
            </annotations>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="FileResponse">
            <derivationSupplier className="Batch" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.55" shapeTemplate="OtherClass">
                    <position x="4.78102" y="1.12194"/>
                    <size height="1.3" width="2.68744"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class is the response to the requested upload to CP-IS.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="id" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description  </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>id</b> uses an incrementing sequence number to identify the local authority upload file that was originally sent to CP-IS.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                            </p>                   The XML element <b>id</b> shall carry the sequence number as follows:<br/>
                            <ul>

                                <li>The XML attribute <b>root</b> shall contain the OID "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.18.46</b>
                                    </font>"                                                         </li>
                                <li>The XML attribute <b>extension</b> shall contain the identifying sequence number.</li>
                            </ul>
                            <p>
                                <b>When a file requested to be uploaded is rejected due to file level  errors and the identifying sequence number cannot be determined by the CP-IS then:</b>
                            </p>
                            <ul>

                                <li>The XML attribute <b>root</b> shall contain the OID "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.18.46</b>
                                    </font>"                                                         </li>
                                <li>The XML attribute <b>extension</b> shall contain the value -1<br/>
                                </li>
                            </ul>
                            <p/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="id" className="Batch" staticModelDerivationId="1"/>
                <type name="II" typeSpecialisation="II.NHS.extension.mandatory"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="creationTime" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description</b>
                                </u>
                            </p>
                            <p>The HL7 attribute <b>creationTime</b> is used to indicate when the local authority upload response was created.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>
                            <p>                         The XML attribute value of the XML element <b>creationTime </b>shall  be populated with the time the local authority upload response was created  using a  time stamp in the format yyyymmddhhmmss[+|-ZZzz]                      where:                                                                                </p>
                            <ul>
                                <li>yyyy is the year</li>
                                <li>mm is the month</li>
                                <li>dd is the day</li>
                                <li>hh is the hour</li>
                                <li>mm is the minutes</li>
                                <li>ss is the seconds</li>
                                <li>[+|-ZZzz] is the time zone offset in hours and minutes</li>
                            </ul>                   Sections from the right of   this representation may  be left off when the sending system does not   record                   to this level of  accuracy.                      When   hours are present, the time zone offset must  also be present.</text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="creationTime"
                    className="Batch" staticModelDerivationId="1"/>
                <type name="TS"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="transmissionQuantity" sortKey="4">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>transmissionQuantity</b> is used to carry the number of records processed and should match total number of records requested to be uploaded.<br/>
                            </p>
                            <u>
                                <b>Implementation in XML Instance</b>
                            </u>
                            <br/>
                            <br/>       The XML element<b> transmissionQuantity</b>                       should be populated as follows: <br/>
                            <ul>
                                <li>The XML attribute <b>value</b> shall contain an integer to indicate the total number of records.</li>
                            </ul>
                            <p>
                                <b>When a file requested to be uploaded is rejected due to file level  errors and the number of records cannot be determined, this will contain  the value -1.</b>
                            </p>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="transmissionQuantity"
                    className="Batch" staticModelDerivationId="1"/>
                <type name="INT"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="PertinentInformation2">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Down" shapeId="Sheet.59"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="5.48402" y="6.14194"/>
                    <size height="0.65778" width="1.51854"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class links the CP-IS LA Acknowledgement response class to the pertinent CP-IS Record.</b>
                        </p>
                        <p/>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="PERT"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="typeCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>The HL7 attribute <b>typeCode</b> uses a code to describe this class as pertinent information.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>

                            <p>The XML attribute <b>typeCode</b> is fixed to "<font color="#ff0000">
                                    <b>PERT</b>
                                </font>".</p>
                            <p>
                                <u>
                                    <b>Schema Constraint  </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>                   The attribute <b>typeCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="typeCode"
                    className="ActRelationship" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="PERT"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="CP-ISLAAcknowledgementResponse">
            <derivationSupplier className="ControlAct" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.65" shapeTemplate="Act">
                    <position x="4.87614" y="5.35278"/>
                    <size height="0.78917" width="2.6"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class represents the CP-IS local authority response message.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="CACT"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="classCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>classCode</b> describes this class as a control act.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>

                            <p>The XML attribute <b>classCode</b> is fixed to "<font color="#ff0000">
                                    <b>CACT</b>
                                </font>".</p>
                            <p>
                                <u>
                                    <b>Schema Constraint </b>
                                </u>
                            </p>
                            <ul>
                                <li>The attribute <b>classCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="classCode"
                    className="ControlAct" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CACT"/>
            </attribute>
            <attribute conformance="R" fixedValue="EVN"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="moodCode" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>moodCode</b> uses a code to describe this class as a control act event.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>

                            <p>  The XML attribute <b>moodCode</b> is fixed to "<font color="#ff0000">
                                    <b>EVN</b>
                                </font>".</p>
                            <p>
                                <u>
                                    <b>Schema Constraint  </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute <b>
                                    <b>mood</b>Code</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.                       <br/>
                                </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="moodCode"
                    className="ControlAct" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
            <attribute conformance="R" defaultValue="02" fixedValue="02"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="code" sortKey="4">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <div contenteditable="false" style="height: 100%; width: 100%">
                                    <p>
                                    <u>
                                    <b>Model Attribute Description </b>
                                    </u>
                                    <br/>
                                    </p>
                                    <p>The HL7 attribute <b>code</b> uses a code from the <b>CP-ISMessageType</b> vocabulary to describe this control act as a CPIS message.<br/>
                                    </p>
                                    <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                    </p>
                                    <p>The <b>Coded </b>
                                    <b>Plain</b> flavour of the<b>
                                    <b> Coded Value </b>
                                    </b>(CV) data type shall be used to carry this information  in the XML element <b>code</b> as follows:                                                                                                                                                            </p>
                                    <ul>

                                    <li>The XML attribute <b>code</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>02</b>
                                    </font>"                                                                                                                                                                             </li>

                                    <li>The XML attribute <b>codeSystem</b> shall contain a fixed value of  "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.17.470</b>
                                    </font>"                                                                                                                                                                             </li>

                                    <li>The XML attribute <b>displayName</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>CP-IS Local Authority Acknowledgement Response</b>
                                    </font>".                                                                                              </li>
                                    </ul>
                                    <p>
                                    <u>
                                    <b>Schema Constraint </b>
                                    </u>
                                    </p>
                                    <ul>
                                    <li>The attribute <b>code</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.                                                                                     </li>
                                    <li>The attribute <b>codeSystem</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.                                                                                     </li>
                                    <li>The attribute <b>displayName</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.                                                </li>
                                    </ul>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="code"
                    className="ControlAct" staticModelDerivationId="1"/>
                <type name="CV" typeSpecialisation="CV.NPfIT.Codedplain"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISMessageType"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="true" name="ChildProtectionInformationChoice">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="true"
                    nodeOrientation="Portrait" shapeId="Sheet.69" shapeTemplate="Choice">
                    <position x="10.37807" y="7.74389"/>
                    <size height="1.125" width="2.62193"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>A choice of child protection information.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <specializationChild childClassName="Template2">
                <graphicRepresentation>
                    <graphElement containerDiagramName="Main" shapeId="Sheet.71">
                        <position x="10.50307" y="7.99389"/>
                        <size height="0.75" width="2.29693"/>
                    </graphElement>
                </graphicRepresentation>
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
            </specializationChild>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="true" name="Template2">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.71" shapeTemplate="Act">
                    <position x="10.50307" y="7.99389"/>
                    <size height="0.75" width="2.29693"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text/>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" isMandatory="true"
                isStructural="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="classCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="classCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="ACT"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                isStructural="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="moodCode" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="moodCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="true" name="SubjectChoice">
            <derivationSupplier className="Role" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="true"
                    nodeOrientation="Portrait" shapeId="Sheet.75" shapeTemplate="Choice">
                    <position x="1.0" y="7.22389"/>
                    <size height="1.055" width="1.66114"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>A choice of subjects.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <specializationChild childClassName="Template1">
                <graphicRepresentation>
                    <graphElement containerDiagramName="Main" shapeId="Sheet.77">
                        <position x="1.125" y="7.47389"/>
                        <size height="0.705" width="1.41114"/>
                    </graphElement>
                </graphicRepresentation>
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
            </specializationChild>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="true" name="Template1">
            <derivationSupplier className="Role" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="true"
                    shapeId="Sheet.77" shapeTemplate="Role">
                    <position x="1.125" y="7.47389"/>
                    <size height="0.705" width="1.41114"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text/>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" isMandatory="true"
                isStructural="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="classCode" sortKey="0">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="classCode"
                    className="Role" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="RoleClass"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="SuccessfulReturnedCP-ISRecords">
            <derivationSupplier className="AttentionLine" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.87" shapeTemplate="OtherClass">
                    <position x="9.425" y="1.88389"/>
                    <size height="0.75" width="3.3"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>The successful returned records.  </b>
                        </p>
                        <p>
                            <b>Note: the whole record is not returned, only the part of the record which identifies the subject of the record. </b>
                            <br/>
                        </p>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" defaultValue="SCR"
                fixedValue="SCR" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="keyWordText" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <u>
                                <b>Model Attribute Description</b>
                            </u>
                            <p>The HL7 attribute <b>keyWordText </b>is  used to hold a literal text string identifying the value contained in this class.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>

                            <p>The XML element <b>keyWordText </b>shall contain a fixed value of "<font color="#ff0000">
                                    <b>SCR</b>
                                </font>". </p>
                            <p>
                                <u>
                                    <b>Schema Constraint    </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>                      The attribute <b>keyWordText</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="keyWordText"
                    className="AttentionLine" staticModelDerivationId="1"/>
                <type name="ST"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="value" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <p>
                                    <u>
                                    <b>Model Attribute Description </b>
                                    </u>
                                    <br/>
                                </p>
                                <p>The HL7 attribute <b>value</b> is used to carry the number of  records that were successfully uploaded on to CP-IS<br/>
                                </p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                                <br/>
                                <br/>       The XML element<b> value </b>should be populated as follows: <br/>
                                <ul>
                                    <li>The XML attribute <b>value</b> shall contain an integer  to indicate the total number of successful records.                      </li>
                                </ul>
                                <p>
                                    <b>When a file requested to be uploaded is rejected due to file level errors, this will contain the value 0.</b>
                                    <br/>
                                </p>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="value"
                    className="AttentionLine" staticModelDerivationId="1"/>
                <type name="INT"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.55"
                containerDiagramName="Main" shapeId="Sheet.91">
                <position x="7.46846" y="1.44694"/>
                <graphEdge>
                    <waypoint x="8.44832" y="1.44694"/>
                    <waypoint x="8.44832" y="1.44639"/>
                    <anchor connectToShapeId="Sheet.1">
                        <position x="9.42818" y="1.44639"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="communicationFunctionRcv" participantClassName="CommunicationFunctionRcv">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the communication function receive.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-Batch-communicationFunction-CommunicationFunction-batch"
                    className="CommunicationFunction" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="FileResponse">
                <derivationSupplier associationEndName="source"
                    className="Batch" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.1"
                containerDiagramName="Main" shapeId="Sheet.101">
                <position x="12.73656" y="1.25889"/>
                <graphEdge>
                    <waypoint x="13.41932" y="1.25889"/>
                    <waypoint x="13.41932" y="1.25111"/>
                    <anchor connectToShapeId="Sheet.5">
                        <position x="14.10208" y="1.25111"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="organisation" participantClassName="Organisation">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the receiving organisation.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-CommunicationFunction-organization-Organization-communicationFunction"
                    className="ORG" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CommunicationFunctionRcv">
                <derivationSupplier associationEndName="source"
                    className="CommunicationFunction" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.55"
                containerDiagramName="Main" shapeId="Sheet.111">
                <position x="4.78102" y="1.77193"/>
                <graphEdge>
                    <waypoint x="4.04051" y="1.77193"/>
                    <waypoint x="4.04051" y="1.77194"/>
                    <anchor connectToShapeId="Sheet.9">
                        <position x="3.3" y="1.77194"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="false"
                maximumMultiplicity="1" minimumMultiplicity="0"
                name="acknowledgementRecord" participantClassName="AcknowledgementRecord">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the acknowledgement record<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-Transmission-conveyedAcknowledgement-Acknowledgement-conveyingTransmission"
                    className="Acknowledgement" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="FileResponse">
                <derivationSupplier associationEndName="source"
                    className="Batch" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.13"
                containerDiagramName="Main" shapeId="Sheet.121">
                <position x="1.66501" y="0.81193"/>
                <graphEdge>
                    <waypoint x="1.66501" y="1.10444"/>
                    <waypoint x="1.66251" y="1.10444"/>
                    <anchor connectToShapeId="Sheet.9">
                        <position x="1.66251" y="1.39694"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="*" minimumMultiplicity="1"
                name="acknowledgementRecordDetail" participantClassName="AcknowledgementRecordDetail">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the acknowledgement record detail.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="source-AcknowledgementDetail-acknowledgement-Acknowledgement-acknowledgementDetail"
                    className="AcknowledgementDetail" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="AcknowledgementRecord">
                <derivationSupplier associationEndName="target"
                    className="Acknowledgement" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.55"
                containerDiagramName="Main" shapeId="Sheet.131">
                <position x="6.12474" y="2.42194"/>
                <graphEdge>
                    <waypoint x="6.12474" y="3.33389"/>
                    <anchor connectToShapeId="Sheet.17">
                        <position x="9.425" y="3.33389"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="failedReturnedCP-ISRecords" participantClassName="FailedReturnedCP-ISRecords">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the failed returned CP-IS records.</text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-Batch-attentionLine-AttentionLine-batch"
                    className="AttentionLine" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="FileResponse">
                <derivationSupplier associationEndName="source"
                    className="Batch" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.31"
                containerDiagramName="Main" shapeId="Sheet.21">
                <position x="7.4" y="8.2558"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.31">
                        <position x="7.4" y="8.2558"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="3" minimumMultiplicity="1"
                name="pertinentInformation" participantClassName="PertinentInformation">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="InvalidCP-ISRecord" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="InvalidCP-ISRecord">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.69"
                containerDiagramName="Main" shapeId="Sheet.21">
                <position x="10.37807" y="8.2558"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.69">
                        <position x="10.37807" y="8.2558"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentChildProtectionInformationChoice" participantClassName="ChildProtectionInformationChoice">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the choice of child protection information.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="PertinentInformation" staticModelDerivationId="1"/>
                <participantClassSpecialization className="Template2" traversalName="pertinentTemplate2"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="ChildProtectionInformationChoice" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.49"
                containerDiagramName="Main" shapeId="Sheet.35">
                <position x="4.79673" y="7.80697"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.49">
                        <position x="4.79673" y="7.80697"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="2" minimumMultiplicity="1"
                name="subject" participantClassName="Subject2">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundParticipation"
                    className="CP-ISRecord" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISRecord">
                <derivationSupplier associationEndName="act"
                    className="Subject2" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.75"
                containerDiagramName="Main" shapeId="Sheet.35">
                <position x="2.66114" y="7.80697"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.75">
                        <position x="2.66114" y="7.80697"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="participant" participantClassName="SubjectChoice">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the choice of subject.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="role"
                    className="Subject2" staticModelDerivationId="1"/>
                <participantClassSpecialization className="Template1" traversalName="participantTemplate1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Subject2">
                <derivationSupplier associationEndName="participation"
                    className="SubjectChoice" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.55"
                containerDiagramName="Main" shapeId="Sheet.141">
                <position x="4.78102" y="2.42194"/>
                <graphEdge>
                    <waypoint x="4.07301" y="2.42194"/>
                    <waypoint x="4.07301" y="3.09694"/>
                    <anchor connectToShapeId="Sheet.41">
                        <position x="3.365" y="3.09694"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="acknowledgementFile" participantClassName="AcknowledgementFile">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the acknowledgement file.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-Transmission-conveyedAcknowledgement-Acknowledgement-conveyingTransmission"
                    className="Acknowledgement" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="FileResponse">
                <derivationSupplier associationEndName="source"
                    className="Batch" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.45"
                containerDiagramName="Main" shapeId="Sheet.151">
                <position x="1.69" y="4.04694"/>
                <graphEdge>
                    <waypoint x="1.69" y="3.47194"/>
                    <anchor connectToShapeId="Sheet.41">
                        <position x="1.69" y="3.47194"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="*" minimumMultiplicity="1"
                name="acknowledgementFileDetail" participantClassName="AcknowledgementFileDetail">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the acknowledgement file detail.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="source-AcknowledgementDetail-acknowledgement-Acknowledgement-acknowledgementDetail"
                    className="AcknowledgementDetail" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="AcknowledgementFile">
                <derivationSupplier associationEndName="target"
                    className="Acknowledgement" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.49"
                containerDiagramName="Main" shapeId="Sheet.59">
                <position x="6.24329" y="6.79972"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.49">
                        <position x="6.24329" y="6.79972"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentCP-ISRecord" participantClassName="CP-ISRecord">
                <annotations>
                    <otherAnnotation type="html">
                        <text>Link to CP-IS Record<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="PertinentInformation2" staticModelDerivationId="1"/>
                <participantClassSpecialization
                    className="ValidCP-ISRecord" traversalName="pertinentValidCP-ISRecord"/>
                <participantClassSpecialization
                    className="InvalidCP-ISRecord" traversalName="pertinentInvalidCP-ISRecord"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation2">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="CP-ISRecord" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.51"
                containerDiagramName="Main" shapeId="Sheet.161">
                <position x="5.45869" y="4.73889"/>
                <graphEdge>
                    <waypoint x="5.45869" y="5.04584"/>
                    <waypoint x="6.69614" y="5.04584"/>
                    <anchor connectToShapeId="Sheet.65">
                        <position x="6.69614" y="5.35278"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="cP-ISLAAcknowledgementResponse" participantClassName="CP-ISLAAcknowledgementResponse">
                <annotations>
                    <otherAnnotation type="html">
                        <text>Link to the CP-IS LA Acknowledgement Response<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-Message-controlAct-ControlAct-message"
                    className="CACT" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Record">
                <derivationSupplier associationEndName="source"
                    className="Message" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.55"
                containerDiagramName="Main" shapeId="Sheet.171">
                <position x="5.45288" y="2.42194"/>
                <graphEdge>
                    <waypoint x="5.45288" y="3.27541"/>
                    <waypoint x="5.45868" y="3.27541"/>
                    <anchor connectToShapeId="Sheet.51">
                        <position x="5.45868" y="4.12888"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection isMandatory="false"
                maximumMultiplicity="*" minimumMultiplicity="0"
                name="message" participantClassName="Record">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the record.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-Batch-message-Message-batch"
                    className="Message" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="FileResponse">
                <derivationSupplier associationEndName="source"
                    className="Batch" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.55"
                containerDiagramName="Main" shapeId="Sheet.181">
                <position x="7.46846" y="2.09694"/>
                <graphEdge>
                    <waypoint x="8.44673" y="2.09694"/>
                    <waypoint x="8.44673" y="2.07139"/>
                    <anchor connectToShapeId="Sheet.87">
                        <position x="9.425" y="2.07139"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="successfulReturnedCP-ISRecords" participantClassName="SuccessfulReturnedCP-ISRecords">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the successful CP-IS records.</text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-Batch-attentionLine-AttentionLine-batch"
                    className="AttentionLine" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="FileResponse">
                <derivationSupplier associationEndName="source"
                    className="Batch" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.65"
                containerDiagramName="Main" shapeId="Sheet.59">
                <position x="6.24329" y="6.14194"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.65">
                        <position x="6.24329" y="6.14194"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentInformation1" participantClassName="PertinentInformation2">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISLAAcknowledgementResponse" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISLAAcknowledgementResponse">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation2" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
</staticModel>
