<?xml version="1.0" encoding="UTF-8"?>
<staticModel isAbstract="false" isSerializable="true"
    name="REPC_RM000007GB01" 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="000007"
        name="REPC_RM000007GB01" realm="GB" root="DEFN" section="HM"
        subSection="RE" version="01"/>
    <header>
        <renderingInformation
            application="NHS R-MIM Designer 2.99.KJ.00"
            renderingTime="2013-06-27T10:54:35" schemaVersion="1"/>
        <legalese copyrightOwner="NHS Connecting for Health"/>
    </header>
    <graphicRepresentation presentation="HL7">
        <graphElement name="Main">
            <position x="0.0" y="0.0"/>
            <size height="9.439" width="20.526"/>
        </graphElement>
    </graphicRepresentation>
    <derivationSupplier staticModelDerivationId="1">
        <targetStaticModel artifact="RIM" realm="UV" root="DEFN" version="1"/>
    </derivationSupplier>
    <ownedEntryPoint className="CP-ISNHSQueryResponse"
        id="REPC_RM000007GB01" isAbstract="false" name="CP-ISNHSQueryResponse">
        <annotations>
            <description>
                <text>
                    <p>CP-IS NHS Query Response message to</p>
                    <p>unscheduled care setting systems.</p>
                </text>
            </description>
            <otherAnnotation type="html">
                <text/>
            </otherAnnotation>
        </annotations>
        <graphicRepresentation>
            <graphElement containerDiagramName="Main"
                isHeightAutoSize="false" isWidthAutoSize="false"
                nodeOrientation="Right" shapeId="REPC_RM000007GB01">
                <position x="0.048" y="1.614"/>
                <size height="0.586" width="2.143"/>
                <anchorage connectToShapeId="Sheet.1">
                    <position x="2.191" y="1.907"/>
                    <graphEdge>
                        <anchor>
                            <position x="3.566" y="1.907"/>
                        </anchor>
                    </graphEdge>
                </anchorage>
            </graphElement>
        </graphicRepresentation>
    </ownedEntryPoint>
    <ownedClass>
        <class isAbstract="false" name="CP-ISNHSQueryResponse">
            <derivationSupplier className="ControlAct" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.1" shapeTemplate="Act">
                    <position x="3.566" y="0.02"/>
                    <size height="4.39" width="3.011"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class represents the query response.</b>
                        </p>
                        <p>
                            <b>The query response returns </b>
                            <b>
                                <b>all child protection records held on CP-IS and  all information on previous queries made for the stated NHS number,  including the concurrent query author details</b>. </b>
                        </p>
                        <p>
                            <b>The query response will always include  details of the query author who made the request, so there will always  be at least one query author listed in a query response. If the  same author has previously viewed the same CP-IS record within a 24 hour  period then only details of the first query will be included in the  response.</b>
                        </p>
                        <p/>
                    </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>
                                <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="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> describes 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>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="ControlAct" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="id" sortKey="3">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div class="XSLTTextContent">
                                <p>
                                    <u>
                                    <b>Model Attribute Description</b>
                                    </u>
                                </p>
                                <p>The HL7 attribute <b> 									id</b> 								uses an identifier to identify each unique instance of the CP-IS NHS query response message to unscheduled care setting systems.<br/>
                                </p>
                                <p>
                                    <u>
                                    <b>Implementation in XML</b>
                                    </u>
                                </p>
                                <p>The  								<b>Identifier Global</b> 								data type flavour is used to carry the identifier in the XML element  								<b>id </b> 								as follows:                         </p>
                                <ul>
                                    <li>The XML attribute  									<b>root 									</b>shall contain the DCE UUID of the original query.                            </li>
                                </ul>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="id"
                    className="ControlAct" staticModelDerivationId="1"/>
                <type name="II" typeSpecialisation="II.NPfIT.uuid.mandatory"/>
            </attribute>
            <attribute conformance="R" defaultValue="04" fixedValue="04"
                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 CP-IS NHS Query Response message.<br/>
                                    </p>
                                    <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                    </p>
                                    <p>The <b>Coded Plain </b>flavour of the <b>Coded Value</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>04</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 NHS Query 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>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="effectiveTime" sortKey="10">
                <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>
                                    </p>
                                    <p>The HL7 attribute <b>effectiveTime</b> is used to define the time of the CP-IS query response.                                                                               </p>
                                    <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                    </p>
                                    <p>                         The XML attribute value of the XML element  <b>effectiveTime </b>shall be populated with the time the query response was made 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>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="effectiveTime"
                    className="ControlAct" staticModelDerivationId="1"/>
                <type name="TS"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="TotalReturnedAccessRecords">
            <derivationSupplier className="Observation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="true"
                    shapeId="Sheet.5" shapeTemplate="Act">
                    <position x="9.355" y="0.01"/>
                    <size height="1.116" width="2.79"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class contains the total of returned access records.</b>
                        </p>
                        <p>
                            <b>This is the total number of queries made on CP-IS for this NHS number which matched. i.e. there was child protection record found.   The details of the queries are returned in the query structure within this message.</b>
                            <br/>
                        </p>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="OBS"
                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 observation.<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>OBS</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="Observation" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="OBS"/>
            </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 observation 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="Observation" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
            <attribute conformance="R" defaultValue="TRAR"
                fixedValue="TRAR" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="code" 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>code</b> uses a code from the <b>CP-ISObservationType</b> vocabulary to describe this class as a total number of returned access records.<br/>
                                </p>
                                <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                </p>
                                <p>The <b>Coded Plain </b>flavour of the<b> Coded Value</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>TRAR</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.469</b>
                                    </font>"                                                                                                                                   </li>

                                    <li>The XML attribute <b>displayName</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>Total Returned Access Records</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>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="code"
                    className="Observation" staticModelDerivationId="1"/>
                <type name="CV" typeSpecialisation="CV.NPfIT.Codedplain"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISObservationType"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="value" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>value</b> is used to carry the number of returned access records for the stated NHS number.<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 the total number of records.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="value"
                    className="Observation" staticModelDerivationId="1"/>
                <type name="INT"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="TotalReturnedChildRecords">
            <derivationSupplier className="Observation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="true"
                    shapeId="Sheet.9" shapeTemplate="Act">
                    <position x="9.36" y="1.528"/>
                    <size height="0.882" width="2.796"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class contains the number of records held on CP-IS </b>
                        <b>
                            <b>for this NHS number which matched</b>. These records will be returned in the CP-IS record structure of the message.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="OBS"
                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 observation.<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>OBS</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="Observation" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="OBS"/>
            </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 observation 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="Observation" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
            <attribute conformance="R" defaultValue="TRCR"
                fixedValue="TRCR" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="code" 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>code</b> uses a code from the <b>CP-ISObservationType</b> vocabulary to describe this class the total of returned records.<br/>
                                </p>
                                <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                </p>
                                <p>The <b>
                                    <b>Coded Plain </b>
                                    </b>flavour of the <b>Coded Value</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>TRCR</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.469</b>
                                    </font>"                                                                                                                                   </li>
                                    <li>The XML attribute <b>displayName</b> shall contain a fixed value of "<b>
                                    <font color="#ff0000">Total Returned Child Records</font>
                                    </b>".                                                                     </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>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="code"
                    className="Observation" staticModelDerivationId="1"/>
                <type name="CV" typeSpecialisation="CV.NPfIT.Codedplain"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISObservationType"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="value" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>value</b> is used to carry the number of returned child protection records for the queried NHS number.<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 the total number of records.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="value"
                    className="Observation" staticModelDerivationId="1"/>
                <type name="INT"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="CP-ISNHSQuery">
            <derivationSupplier className="ControlAct" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.13" shapeTemplate="Act">
                    <position x="12.755" y="3.038"/>
                    <size height="2.029" width="3.352"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class is the control act for each successful query against this NHS number.</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>
                                <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="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> describes 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>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="ControlAct" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </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>
                                    </p>
                                    <div contenteditable="false" style="height: 100%; width: 100%">
                                    <div>
                                    <p>The HL7 attribute<b> id</b> uses an identifier to reference the original CP-IS query.                                                                          </p>
                                    <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>

                                    </p>                         The <b>Identifier Global</b> data type flavour is used to carry the  identifier in the XML element <b>id</b> as follows:                                                                            <div style="height: 100%; width: 100%">
                                    <div>
                                    <ul>
                                    <li>The XML attribute <b>root</b> shall contain the DCE UUID of the original query.                                                                                                                                                   </li>
                                    </ul>
                                    </div>
                                    </div>
                                    </div>
                                    </div>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="id"
                    className="ControlAct" staticModelDerivationId="1"/>
                <type name="II" typeSpecialisation="II.NPfIT.uuid.mandatory"/>
            </attribute>
            <attribute conformance="R" defaultValue="03" fixedValue="03"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="code" sortKey="4">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <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 CP-IS message.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>
                            <p>The <b>
                                    <b>Coded Plain </b>
                                </b>flavour of the <b>Coded Value</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>03</b>
                                    </font>"                                                                                                                                                                                   </li>

                                <li>The XML attribute <b>codeSystem</b> shall contain the OID "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.17.470</b>
                                    </font>"                                                                                                                                         </li>
                                <li>The XML attribute<span class="Apple-converted-space"/>
                                    <b> displayName </b>
                                    <span
                                    class="Apple-converted-space"/>shall contain a fixed value of "<font color="#ff0000">
                                    <b>CP-IS NHS Query</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>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="code"
                    className="ControlAct" staticModelDerivationId="1"/>
                <type name="CV" typeSpecialisation="CV.NPfIT.Codedplain"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISMessageType"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="effectiveTime" sortKey="10">
                <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>effectiveTime</b> is used to define the time the person made the CP-IS query.                                                         </p>
                                <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                </p>
                                <p>                         The XML attribute value of the XML element  <b>effectiveTime </b>shall be populated with the time the query was made 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>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="effectiveTime"
                    className="ControlAct" staticModelDerivationId="1"/>
                <type name="TS"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="QueryByParameter">
            <derivationSupplier className="QueryByParameter" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.17" shapeTemplate="OtherClass">
                    <position x="17.691" y="3.339"/>
                    <size height="0.6" width="2.8"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class is used to link all the parameters used in the query together.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="Author">
            <derivationSupplier className="Participation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Left" shapeId="Sheet.21"
                    shapeTemplate="Participation" textWrappingWidth="66.0">
                    <position x="10.617" y="4.488"/>
                    <size height="0.436" width="2.139"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <constraint name="contentId">
                    <text>
                        <p>NPFIT-100037#Role</p>
                    </text>
                    <graphicRepresentation>
                        <graphElement containerDiagramName="Main"
                            isHeightAutoSize="true"
                            isWidthAutoSize="true" shapeId="Sheet.184">
                            <position x="11.072" y="5.203"/>
                            <size height="0.328" width="1.136"/>
                            <anchorage connectToShapeId="Sheet.21">
                                <position x="11.641" y="5.367"/>
                                <graphEdge>
                                    <anchor>
                                    <position x="11.75" y="4.924"/>
                                    </anchor>
                                </graphEdge>
                            </anchorage>
                        </graphElement>
                    </graphicRepresentation>
                </constraint>
                <otherAnnotation type="html">
                    <text>
                        <div contenteditable="false" style="height: 100%; width: 100%">
                            <p>
                                <b>This participant class is the person who authored (queried) the CP-IS system.</b>
                                <br/>
                            </p>
                        </div>
                    </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 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>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="contentId"
                    className="Participation" staticModelDerivationId="1"/>
                <type name="II"/>
            </attribute>
            <attribute conformance="R" fixedValue="AUT"
                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>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>typeCode</b> describes this class as an author participation. <br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>

                            <p> The XML attribute <b>typeCode</b> is fixed to "<font color="#ff0000">
                                    <b>AUT</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="Participation" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="AUT"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="Person.NHSnumber">
            <derivationSupplier className="ParameterItem" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.27" shapeTemplate="OtherClass">
                    <position x="17.666" y="4.923"/>
                    <size height="0.816" width="2.85"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class is used to hold a query parameter of the NHS number.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="value" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description</b>
                                </u>
                            </p>
                            <p>The HL7 attribute <b>value </b>is used to hold the NHS number of the patient that is a parameter in the query. This parameter is mandatory and the NHS number must be a valid verified nhs number. </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>
                            <p>The XML element <b>value </b>should be populated as below:<br/>
                            </p>
                            <ul>

                                <li>The XML attribute <b>root</b> shall contain the OID "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.4.1</b>
                                    <font color="#000000">"</font>
                                    </font>
                                </li>
                                <li>The XML attribute <b>extension</b> shall contain the 10 digit NHS number.                                                  </li>
                            </ul>
                            <p>
                                <u>
                                    <b>Schema Constraint</b>
                                </u>
                                <br/>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute root is prohibited in the schema and therefore does not appear in the "on the wire" instance. </li>
                            </ul>
                            <p/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="value"
                    className="ParameterItem" staticModelDerivationId="1"/>
                <type name="II" typeSpecialisation="II.NHS.extension.mandatory"/>
            </attribute>
            <attribute conformance="R" defaultValue="Person.NHSnumber"
                fixedValue="Person.NHSnumber" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="semanticsText" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <u>
                                    <b>Model Attribute Description</b>
                                </u>
                                <p>The HL7 attribute <b>semanticsText </b>is  used to hold a literal text string identifying the parameter item.</p>
                                <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                </p>

                                <p>The XML element <b>semanticsText </b>shall contain a fixed value of "<font color="#ff0000">
                                    <b>Person.NHSnumber</b>
                                    </font>".</p>
                                <p>
                                    <u>
                                    <b>Schema Constraint</b>
                                    </u>
                                    <br/>
                                </p>
                                <ul>
                                    <li>The attribute <b>semanticsText</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance. <br/>
                                    </li>
                                </ul>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="semanticsText"
                    className="ParameterItem" staticModelDerivationId="1"/>
                <type name="ST"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="CommunicationFunctionSnd">
            <derivationSupplier className="CommunicationFunction" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="true"
                    shapeId="Sheet.31" shapeTemplate="OtherClass">
                    <position x="7.877" y="6.707"/>
                    <size height="0.75" width="3.309"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class is the send function class used to link the sender's details to the record.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" defaultValue="SND"
                fixedValue="SND" 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>communicationFunctionType</b> vocabulary to describe this class as a send 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>SND</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="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.35" shapeTemplate="Entity">
                    <position x="12.86" y="6.631"/>
                    <size height="0.915" width="1.698"/>
                </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="Record">
            <derivationSupplier className="Message" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.39" shapeTemplate="OtherClass">
                    <position x="3.723" y="6.707"/>
                    <size height="0.75" width="2.19"/>
                </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="Subject">
            <derivationSupplier className="Participation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Left" shapeId="Sheet.43"
                    shapeTemplate="Participation" textWrappingWidth="66.0">
                    <position x="1.671" y="8.567"/>
                    <size height="0.436" width="2.119"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <constraint name="contentId">
                    <text>
                        <p>NPFIT-100035#Role</p>
                    </text>
                    <graphicRepresentation>
                        <graphElement containerDiagramName="Main"
                            isHeightAutoSize="true"
                            isWidthAutoSize="true" shapeId="Sheet.188">
                            <position x="2.103" y="7.763"/>
                            <size height="0.328" width="1.136"/>
                            <anchorage connectToShapeId="Sheet.43">
                                <position x="2.671" y="7.927"/>
                                <graphEdge>
                                    <anchor>
                                    <position x="2.793" y="8.567"/>
                                    </anchor>
                                </graphEdge>
                            </anchorage>
                        </graphElement>
                    </graphicRepresentation>
                </constraint>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>A class which is a participation of subject.</b>
                        </p>
                        <p>
                            <b>The child who is the subject of the CP-IS record. </b>
                            <br/>
                        </p>
                    </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>
                                <b>
                                    <u>Schema Constraint</u>
                                </b>
                                <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="CP-ISRecord">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.49" shapeTemplate="Act">
                    <position x="3.791" y="8.163"/>
                    <size height="1.266" width="2.6"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class represents the child protection record information which was present on CP-IS.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="ACTN"
                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 action.<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>ACTN</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="ACTN"/>
            </attribute>
            <attribute conformance="R" fixedValue="RQO"
                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 action request.<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>RQO</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="RQO"/>
            </attribute>
            <attribute conformance="R" defaultValue="01" fixedValue="01"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="code" 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>code</b> uses a code from the <b>CP-ISMessageType</b> vocabulary to describe this control act as a CP-IS message.<br/>
                                </p>
                                <p>
                                    <u>
                                    <b>Implementation in XML Instance</b>
                                    </u>
                                </p>
                                <p>The <b>
                                    <b>Coded Plain </b>
                                    </b>flavour of the<b> Coded Value</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>01</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 Upload</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>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="code" className="Act" staticModelDerivationId="1"/>
                <type name="CV" typeSpecialisation="CV.NPfIT.Codedplain"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISMessageType"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="PertinentInformation2">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Right" shapeId="Sheet.53"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="6.577" y="0.31"/>
                    <size height="0.303" width="2.779"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class links the CP-IS Query response class to the pertinent total returned access records.</b>
                        </p>
                        <p>
                            <b>This refers is to the total number of access records which equates to the number of successful queries made against this NHS number. </b>
                            <br/>
                        </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>
                                <u>
                                    <b>Model Attribute Description                                      </b>
                                </u>
                                <br/>
                            </p>
                            <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="PertinentInformation5">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Right" shapeId="Sheet.59"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="6.577" y="3.438"/>
                    <size height="0.303" width="6.179"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class links the CP-IS Query response class to the pertinent CP-IS queries.</b>
                        </p>
                        <b>These queries are returned in the response to indicate an audit of who has queried CP-IS using this NHS number. </b>
                    </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>
                                <u>
                                    <b>Model Attribute Description                                      </b>
                                </u>
                                <br/>
                            </p>
                            <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="PertinentInformation6">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Down" shapeId="Sheet.65"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="4.147" y="4.41"/>
                    <size height="0.981" width="1.596"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class links the CP-ISQuery response class to the pertinent CP-IS record control act.<br/>
                            </b>
                        </p>
                        <p>
                            <b>
                                <b>
                                    <b>Child protection records</b>
                                </b> are returned in a query response. Indicates the number of records held on CP-IS for this NHS number. </b>
                        </p>
                        <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>
                                <u>
                                    <b>Model Attribute Description                                      </b>
                                </u>
                                <br/>
                            </p>
                            <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="PertinentInformation4">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Right" shapeId="Sheet.71"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="6.577" y="1.765"/>
                    <size height="0.303" width="2.783"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class links the CP-IS Query response class to the pertinent total number of child records returned.<br/>
                            </b>
                        </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>
                                <u>
                                    <b>Model Attribute Description                                      </b>
                                </u>
                                <br/>
                            </p>
                            <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-ISRecordControlAct">
            <derivationSupplier className="ControlAct" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.77" shapeTemplate="Act">
                    <position x="3.66" y="5.391"/>
                    <size height="0.838" width="2.893"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class represents the child protection record information which is available on CP-IS.</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>
                                <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="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> describes 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>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="ControlAct" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="PertinentInformation">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Right" shapeId="Sheet.81"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="6.391" y="8.545"/>
                    <size height="0.436" width="3.045"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <constraint name="contentId">
                    <text>
                        <p>NPFIT-100018#Act</p>
                    </text>
                    <graphicRepresentation>
                        <graphElement containerDiagramName="Main"
                            isHeightAutoSize="true"
                            isWidthAutoSize="true" shapeId="Sheet.192">
                            <position x="6.765" y="7.682"/>
                            <size height="0.328" width="1.136"/>
                            <anchorage connectToShapeId="Sheet.81">
                                <position x="7.333" y="7.846"/>
                                <graphEdge>
                                    <anchor>
                                    <position x="7.85" y="8.545"/>
                                    </anchor>
                                </graphEdge>
                            </anchorage>
                        </graphElement>
                    </graphicRepresentation>
                </constraint>
                <otherAnnotation type="html">
                    <text>
                        <b>This class links the CP-ISRecord class to the pertinent child protection information. <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>
                                <u>
                                    <b>Model Attribute Description                                      </b>
                                </u>
                                <br/>
                            </p>
                            <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="true" name="AuthorChoice">
            <derivationSupplier className="Role" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="true"
                    nodeOrientation="Portrait" shapeId="Sheet.87" shapeTemplate="Choice">
                    <position x="8.955" y="4.251"/>
                    <size height="1.0" width="1.662"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>A choice of authors.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <specializationChild childClassName="Template1">
                <graphicRepresentation>
                    <graphElement containerDiagramName="Main" shapeId="Sheet.89">
                        <position x="9.08" y="4.501"/>
                        <size height="0.5" width="1.412"/>
                    </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="true" isWidthAutoSize="true"
                    shapeId="Sheet.89" shapeTemplate="Role">
                    <position x="9.08" y="4.501"/>
                    <size height="0.5" width="1.412"/>
                </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="true" name="SubjectChoice">
            <derivationSupplier className="Role" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="true"
                    nodeOrientation="Portrait" shapeId="Sheet.99" shapeTemplate="Choice">
                    <position x="0.01" y="8.263"/>
                    <size height="1.0" width="1.662"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>A choice of subjects.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <specializationChild childClassName="Template2">
                <graphicRepresentation>
                    <graphElement containerDiagramName="Main" shapeId="Sheet.101">
                        <position x="0.135" y="8.513"/>
                        <size height="0.5" width="1.412"/>
                    </graphElement>
                </graphicRepresentation>
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
            </specializationChild>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="true" name="Template2">
            <derivationSupplier className="Role" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="true"
                    shapeId="Sheet.101" shapeTemplate="Role">
                    <position x="0.135" y="8.513"/>
                    <size height="0.5" width="1.412"/>
                </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="true" name="ChildProtectionInformationChoice">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="true"
                    nodeOrientation="Portrait" shapeId="Sheet.111" shapeTemplate="Choice">
                    <position x="9.435" y="8.238"/>
                    <size height="1.125" width="2.636"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>A choice of child protection information.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <specializationChild childClassName="Template3">
                <graphicRepresentation>
                    <graphElement containerDiagramName="Main" shapeId="Sheet.113">
                        <position x="9.56" y="8.488"/>
                        <size height="0.75" width="2.386"/>
                    </graphElement>
                </graphicRepresentation>
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
            </specializationChild>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="true" name="Template3">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.113" shapeTemplate="Act">
                    <position x="9.56" y="8.488"/>
                    <size height="0.75" width="2.386"/>
                </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>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.1"
                containerDiagramName="Main" shapeId="Sheet.59">
                <position x="6.577" y="3.59"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.1">
                        <position x="6.577" y="3.59"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection isMandatory="false"
                maximumMultiplicity="*" minimumMultiplicity="0"
                name="pertinentInformation13" participantClassName="PertinentInformation5">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISNHSQueryResponse" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISNHSQueryResponse">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation5" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.1"
                containerDiagramName="Main" shapeId="Sheet.71">
                <position x="6.577" y="1.917"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.1">
                        <position x="6.577" y="1.917"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentInformation12" participantClassName="PertinentInformation4">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISNHSQueryResponse" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISNHSQueryResponse">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation4" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.1"
                containerDiagramName="Main" shapeId="Sheet.53">
                <position x="6.577" y="0.461"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.1">
                        <position x="6.577" y="0.461"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentInformation11" participantClassName="PertinentInformation2">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISNHSQueryResponse" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISNHSQueryResponse">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation2" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.1"
                containerDiagramName="Main" shapeId="Sheet.65">
                <position x="4.944" y="4.41"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.1">
                        <position x="4.944" y="4.41"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="*" minimumMultiplicity="1"
                name="pertinentInformation14" participantClassName="PertinentInformation6">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISNHSQueryResponse" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISNHSQueryResponse">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation6" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.5"
                containerDiagramName="Main" shapeId="Sheet.53">
                <position x="9.356" y="0.461"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.5">
                        <position x="9.356" y="0.461"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentTotalReturnedAccessRecords" participantClassName="TotalReturnedAccessRecords">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the total returned access records.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="PertinentInformation2" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation2">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="TotalReturnedAccessRecords" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.9"
                containerDiagramName="Main" shapeId="Sheet.71">
                <position x="9.36" y="1.917"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.9">
                        <position x="9.36" y="1.917"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentTotalReturnedChildRecords" participantClassName="TotalReturnedChildRecords">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the total returned child records.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="PertinentInformation4" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation4">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="TotalReturnedChildRecords" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.13"
                containerDiagramName="Main" shapeId="Sheet.21">
                <position x="12.756" y="4.706"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.13">
                        <position x="12.756" y="4.706"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="author" participantClassName="Author">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundParticipation"
                    className="CP-ISNHSQuery" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISNHSQuery">
                <derivationSupplier associationEndName="act"
                    className="Author" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.13"
                containerDiagramName="Main" shapeId="Sheet.59">
                <position x="12.756" y="3.59"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.13">
                        <position x="12.756" y="3.59"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection isMandatory="false"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentCP-ISNHSQuery" participantClassName="CP-ISNHSQuery">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the CP-IS NHS Query.</text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="PertinentInformation5" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation5">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="CP-ISNHSQuery" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.13"
                containerDiagramName="Main" shapeId="Sheet.117">
                <position x="16.107" y="3.647"/>
                <graphEdge>
                    <waypoint x="16.899" y="3.647"/>
                    <waypoint x="16.899" y="3.639"/>
                    <anchor connectToShapeId="Sheet.17">
                        <position x="17.691" y="3.639"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="queryByParameter" participantClassName="QueryByParameter">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the QueryByParameter class.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-ControlAct-queryByParameter-QueryByParameter-controlAct"
                    className="QueryByParameter" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISNHSQuery">
                <derivationSupplier associationEndName="source"
                    className="CACT" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.17"
                containerDiagramName="Main" shapeId="Sheet.127">
                <position x="19.091" y="3.939"/>
                <graphEdge>
                    <waypoint x="19.091" y="4.923"/>
                    <anchor connectToShapeId="Sheet.27">
                        <position x="19.091" y="4.923"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="person.NHSnumber" participantClassName="Person.NHSnumber">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the Person.NHSnumber parameter item.</text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-QueryByParameter-parameterItem-ParameterItem-queryByParameter"
                    className="ParameterItem" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="QueryByParameter">
                <derivationSupplier associationEndName="source"
                    className="QueryByParameter" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.87"
                containerDiagramName="Main" shapeId="Sheet.21">
                <position x="10.617" y="4.706"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.87">
                        <position x="10.617" y="4.706"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="participant" participantClassName="AuthorChoice">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the choice of author.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="role"
                    className="Author" staticModelDerivationId="1"/>
                <participantClassSpecialization className="Template1" traversalName="participantTemplate1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Author">
                <derivationSupplier associationEndName="participation"
                    className="AuthorChoice" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.31"
                containerDiagramName="Main" shapeId="Sheet.137">
                <position x="11.186" y="7.082"/>
                <graphEdge>
                    <waypoint x="12.023" y="7.082"/>
                    <waypoint x="12.023" y="7.089"/>
                    <anchor connectToShapeId="Sheet.35">
                        <position x="12.86" y="7.089"/>
                    </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 sending organisation.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-CommunicationFunction-entity-Entity-communicationFunction"
                    className="ORG" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CommunicationFunctionSnd">
                <derivationSupplier associationEndName="source"
                    className="CommunicationFunction" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.39"
                containerDiagramName="Main" shapeId="Sheet.147">
                <position x="5.913" y="7.082"/>
                <graphEdge>
                    <waypoint x="5.913" y="7.082"/>
                    <anchor connectToShapeId="Sheet.31">
                        <position x="7.877" y="7.082"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="communicationFunctionSnd" participantClassName="CommunicationFunctionSnd">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the communication function send class.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-Message-communicationFunction-CommunicationFunction-message"
                    className="CommunicationFunction" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Record">
                <derivationSupplier associationEndName="source"
                    className="Message" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.39"
                containerDiagramName="Main" shapeId="Sheet.157">
                <position x="4.818" y="7.457"/>
                <graphEdge>
                    <waypoint x="4.818" y="7.81"/>
                    <waypoint x="4.831" y="7.81"/>
                    <anchor connectToShapeId="Sheet.49">
                        <position x="4.831" y="8.163"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="CP-ISRecord" participantClassName="CP-ISRecord">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link the CP-IS Record<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-Message-controlAct-ControlAct-message"
                    className="ACTN" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Record">
                <derivationSupplier associationEndName="source"
                    className="Message" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.77"
                containerDiagramName="Main" shapeId="Sheet.167">
                <position x="4.818" y="6.229"/>
                <graphEdge>
                    <waypoint x="4.818" y="6.468"/>
                    <waypoint x="4.818" y="6.468"/>
                    <anchor connectToShapeId="Sheet.39">
                        <position x="4.818" y="6.707"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="*" minimumMultiplicity="1"
                name="record" participantClassName="Record">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the record class.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="target-ControlAct-message-Message-controlAct"
                    className="Message" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISRecordControlAct">
                <derivationSupplier associationEndName="source"
                    className="CACT" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.49"
                containerDiagramName="Main" shapeId="Sheet.43">
                <position x="3.791" y="8.785"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.49">
                        <position x="3.791" y="8.785"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="2" minimumMultiplicity="1"
                name="subject" participantClassName="Subject">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundParticipation"
                    className="CP-ISRecord" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISRecord">
                <derivationSupplier associationEndName="act"
                    className="Subject" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.99"
                containerDiagramName="Main" shapeId="Sheet.43">
                <position x="1.671" y="8.785"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.99">
                        <position x="1.671" y="8.785"/>
                    </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 subjects.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="role"
                    className="Subject" staticModelDerivationId="1"/>
                <participantClassSpecialization className="Template2" traversalName="participantTemplate2"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Subject">
                <derivationSupplier associationEndName="participation"
                    className="SubjectChoice" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.49"
                containerDiagramName="Main" shapeId="Sheet.81">
                <position x="6.391" y="8.763"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.49">
                        <position x="6.391" y="8.763"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="3" minimumMultiplicity="1"
                name="pertinentInformation15" participantClassName="PertinentInformation">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISRecord" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISRecord">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.77"
                containerDiagramName="Main" shapeId="Sheet.65">
                <position x="4.944" y="5.391"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.77">
                        <position x="4.944" y="5.391"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentCP-ISRecordControlAct" participantClassName="CP-ISRecordControlAct">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the CP-IS record control act.</text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="PertinentInformation6" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation6">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="CP-ISRecordControlAct" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.111"
                containerDiagramName="Main" shapeId="Sheet.81">
                <position x="9.435" y="8.763"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.111">
                        <position x="9.435" y="8.763"/>
                    </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="Template3" traversalName="pertinentTemplate3"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="ChildProtectionInformationChoice" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
</staticModel>
