<?xml version="1.0" encoding="UTF-8"?>
<staticModel isAbstract="false" isSerializable="true"
    name="REPC_RM000004GB01" 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="000004"
        name="REPC_RM000004GB01" realm="GB" root="DEFN" section="HM"
        subSection="RE" version="01"/>
    <header>
        <renderingInformation
            application="NHS R-MIM Designer 2.99.KJ.00"
            renderingTime="2013-07-03T12:37:22" schemaVersion="1"/>
        <legalese copyrightOwner="NHS Connecting for Health"/>
    </header>
    <graphicRepresentation presentation="HL7">
        <graphElement name="Main">
            <position x="0.0" y="0.0"/>
            <size height="7.065" width="12.03"/>
        </graphElement>
    </graphicRepresentation>
    <derivationSupplier staticModelDerivationId="1">
        <targetStaticModel artifact="RIM" realm="UV" root="DEFN" version="1"/>
    </derivationSupplier>
    <ownedEntryPoint className="CP-ISAccessToServiceNotification"
        id="REPC_RM000004GB01" isAbstract="false" name="CP-ISAccessToServiceNotification">
        <annotations>
            <description>
                <text>
                    <p>Access to service information returned</p>
                    <p>back to the Local Authority's that originally</p>
                    <p>submitted the child protection information</p>
                </text>
            </description>
            <otherAnnotation type="html">
                <text/>
            </otherAnnotation>
        </annotations>
        <graphicRepresentation>
            <graphElement containerDiagramName="Main"
                isHeightAutoSize="false" isWidthAutoSize="false"
                nodeOrientation="Down" shapeId="REPC_RM000004GB01">
                <position x="4.194" y="0.028"/>
                <size height="0.719" width="2.368"/>
                <anchorage connectToShapeId="Sheet.49">
                    <position x="5.378" y="0.747"/>
                    <graphEdge>
                        <anchor>
                            <position x="5.378" y="1.147"/>
                        </anchor>
                    </graphEdge>
                </anchorage>
            </graphElement>
        </graphicRepresentation>
    </ownedEntryPoint>
    <ownedClass>
        <class isAbstract="false" name="PrimaryInformationRecipient">
            <derivationSupplier className="Participation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Left" shapeId="Sheet.1"
                    shapeTemplate="Participation" textWrappingWidth="66.0">
                    <position x="1.606" y="1.37"/>
                    <size height="0.436" width="2.514"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <constraint name="contentId">
                    <text>
                        <p>NPFIT-100036#Role</p>
                    </text>
                    <graphicRepresentation>
                        <graphElement containerDiagramName="Main"
                            isHeightAutoSize="true"
                            isWidthAutoSize="true" shapeId="Sheet.116">
                            <position x="2.674" y="2.135"/>
                            <size height="0.328" width="1.136"/>
                            <anchorage connectToShapeId="Sheet.1">
                                <position x="3.242" y="2.299"/>
                                <graphEdge>
                                    <anchor>
                                    <position x="2.926" y="1.806"/>
                                    </anchor>
                                </graphEdge>
                            </anchorage>
                        </graphElement>
                    </graphicRepresentation>
                </constraint>
                <otherAnnotation type="html">
                    <text>
                        <b>This class details the primary recipient of the access to service information. </b>
                        <br/>
                    </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="PRCP"
                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 primary information recipient participation.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>

                            <p>                         The XML attribute <b>classCode</b> is fixed to "<font color="#ff0000">
                                    <b>PRCP</b>
                                </font>".</p>
                            <p>
                                <u>
                                    <b>Schema Constraint  </b>
                                </u>
                            </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="PRCP"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="PertinentInformation">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Right" shapeId="Sheet.7"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="6.679" y="1.363"/>
                    <size height="0.303" width="2.424"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class links the CP-IS Access to service notification class to the pertinent total returned records.<br/>
                        </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. <br/>
                                </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="typeCode"
                    className="ActRelationship" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="PERT"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="TotalReturnedRecords">
            <derivationSupplier className="Observation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.13" shapeTemplate="Act">
                    <position x="9.103" y="1.153"/>
                    <size height="0.782" width="2.907"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class is the number of access records returned.</b>
                        </p>
                        <p>
                            <b>This is the number of queries that were made against the total number of NHS numbers which resulted in access to the child protection information. </b>
                        </p>
                        <p>
                            <b>Where no records were accessed this will contain the value zero. </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="TRR"
                fixedValue="TRR" 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 a number of records returned observation.<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>TRR</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 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 accessed records contained in the file. If no records for this child have been accessed then the value of zero (0) will be returned.<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="PertinentInformation2">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Down" shapeId="Sheet.17"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="4.654" y="2.135"/>
                    <size height="0.565" width="1.519"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class links the </b>
                            <b>
                                <b>CP-IS Access to service notification </b>class to the pertinent CP-IS record access information.</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="QueryByParameter">
            <derivationSupplier className="QueryByParameter" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.23" shapeTemplate="OtherClass">
                    <position x="4.24" y="5.572"/>
                    <size height="0.493" width="2.36"/>
                </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.27"
                    shapeTemplate="Participation" textWrappingWidth="66.0">
                    <position x="2.071" y="4.269"/>
                    <size height="0.436" width="1.949"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <constraint name="contentId">
                    <text>
                        <p>NPFIT-100037#Role</p>
                    </text>
                    <graphicRepresentation>
                        <graphElement containerDiagramName="Main"
                            isHeightAutoSize="true"
                            isWidthAutoSize="true" shapeId="Sheet.120">
                            <position x="2.442" y="5.347"/>
                            <size height="0.328" width="1.136"/>
                            <anchorage connectToShapeId="Sheet.27">
                                <position x="3.01" y="5.511"/>
                                <graphEdge>
                                    <anchor>
                                    <position x="3.108" y="4.706"/>
                                    </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 the query to 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>
                            <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>
                        </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="Reference">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Right" shapeId="Sheet.33"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="6.86" y="3.068"/>
                    <size height="0.303" width="2.227"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class links the CP-IS Record control act class to a reference for the local authority file reference number.  <br/>
                        </b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="REFR"
                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 reference.<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>REFR</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="REFR"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="LAUploadFile">
            <derivationSupplier className="Observation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.39" shapeTemplate="Act">
                    <position x="9.087" y="2.865"/>
                    <size height="0.87" width="2.933"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class represents the file that the child protection record information was carried in when uploaded on to CP-IS.</b>
                    </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="LAUFI"
                fixedValue="LAUFI" 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 as a local authority upload file identifier.<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>LAUFI</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">LA Upload File Id</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> uses an identifying sequence number to identify the local authority upload file. <br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                            </p>                   The XML element <b>value</b> shall carry the sequence number as follows:<br/>
                            <ul>

                                <li>The XML attribute <b>root</b> shall contain the OID "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.18.46</b>
                                    </font>"                                                         </li>
                                <li>The XML attribute <b>extension</b> shall contain the identifying sequence number.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="value"
                    className="Observation" staticModelDerivationId="1"/>
                <type name="II" typeSpecialisation="II.NHS.extension.mandatory"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="PertinentInformation3">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Down" shapeId="Sheet.43"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="4.661" y="3.547"/>
                    <size height="0.573" width="1.519"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class links the CP-IS record access class to the pertinent CP-IS query. </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="CP-ISAccessToServiceNotification">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.49" shapeTemplate="Act">
                    <position x="4.12" y="1.147"/>
                    <size height="0.988" width="2.559"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>A message to return information relating to who has accessed the child protection data to the system which uploaded the data. This information is returned using the original   query structure.<br/>
                        </b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="INFRM"
                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 inform.<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>INFRM</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="INFRM"/>
            </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 inform event.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance
                                    </b>
                                </u>
                                <br/>
                            </p>

                            <p>The XML attribute 
                                <b>moodCode </b>
								is fixed to "<font color="#ff0000">
                                    <b>EVN</b>
                                </font>".</p>
                            <p>
                                <u>
                                    <b>Schema Constraint  </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>
The attribute 
                          
                                    <b>moodCode </b>

                                    is prohibited in the schema and therefore does not appear in the "on the wire" instance.                                </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="moodCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="id" sortKey="3">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Model Attribute Description</b>
                                </u>
                            </p>
                            <div contenteditable="false" style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; height: 144px; width: 698px">
                                <div>
                                    <p>The HL7 attribute<b>
                                     id</b>
                                     uses an identifier to identify each unique instance of the access to the service notification.</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: 36px; width: 698px">
                                    <div>
                                    <ul>
                                    <li>The XML attribute
                                    <b> root </b>
                                    shall contain the DCE UUID of the original query.</li>
                                    </ul>
                                    </div>
                                    </div>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="id" className="Act" staticModelDerivationId="1"/>
                <type name="II" typeSpecialisation="II.NPfIT.uuid.mandatory"/>
            </attribute>
            <attribute conformance="R" defaultValue="05" fixedValue="05"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="code" sortKey="4">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <u>
                                <b>Model Attribute Description                                 </b>
                            </u>
                            <br/>
                            <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 access to service notification message.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>
                            <p>
                                <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>05</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<b> displayName </b>shall carry the fixed value of "<font color="#ff0000">
                                    <b>CP-IS Access to Service Notification</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="Act" 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>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Model Attribute Description</b>
                                </u>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The HL7 attribute                                  <b>effectiveTime </b>                                 is used to define the time when the access to service information message was created.<br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The XML attribute value of the XML element                                 <b> effectiveTime                                  </b>shall be populated with the time the  access to service information message was created using a time stamp in the format yyyymmddhhmmss[+|-ZZzz] where:</p>
                            <ul style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <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>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="effectiveTime"
                    className="Act" staticModelDerivationId="1"/>
                <type name="TS"/>
            </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.53" shapeTemplate="Act">
                    <position x="4.02" y="4.12"/>
                    <size height="1.01" width="2.8"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">This class is the control act for the original query payload.</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 style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Model Attribute Description
                                    </b>
                                </u>
                                <br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The HL7 attribute 
                                <b>classCode </b>
                                describes this class as a control act.<br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Implementation in XML Instance
                                    </b>
                                </u>
                                <br/>
                            </p>
                            <p
                                    style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The XML attribute
                                <b> classCode </b>
								is fixed to "<font color="#ff0000">
                                    <b>CACT</b>
                                </font>".</p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Schema Constraint  </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>
                                    <span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; display: inline ! important; float: none">The attribute
                                    </span>
                                    <b style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px"> classCode </b>
                                    <span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; display: inline ! important; float: none">
                                    is prohibited in the schema and therefore does not appear in the "on the wire" instance.</span>
                                </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 style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Model Attribute Description
                                    </b>
                                </u>
                                <br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The HL7 attribute 
                                <b>moodCode</b>
                                 describes this class as a control act event.<br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Implementation in XML Instance
                                    </b>
                                </u>
                                <br/>
                            </p>
                            <p
                                    style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The XML attribute 
                                <b>moodCode </b>
								is fixed to "<font color="#ff0000">
                                    <b>EVN</b>
                                </font>".</p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Schema Constraint  </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>
                                    <span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; display: inline ! important; float: none">The attribute 
                                    </span>
                                    <b style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">moodCode </b>
                                    <span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; display: inline ! important; float: none">
                                    is prohibited in the schema and therefore does not appear in the "on the wire" instance.</span>
                                </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>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Model Attribute Description</b>
                                </u>
                            </p>
                            <div contenteditable="false" style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; height: 144px; width: 698px">
                                <div>
                                    <p>The HL7 attribute <b>                                     id </b>                                     uses an identifier of the original CP-IS NHS 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: 36px; width: 698px">
                                    <div>
                                    <ul>
                                    <li>The XML attribute                                      <b>root</b>                                      shall contain the DCE UUID of the original query.</li>
                                    </ul>
                                    </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 NHS Query 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                                     <b> displayName </b> 										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.                                     <br/>
                                </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>
                            <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>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="effectiveTime"
                    className="ControlAct" staticModelDerivationId="1"/>
                <type name="TS"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="CP-ISRecordAccess">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.57" shapeTemplate="Act">
                    <position x="3.98" y="2.699"/>
                    <size height="0.848" width="2.88"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">This class is the CP-IS record access.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" fixedValue="INFRM"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="classCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Model Attribute Description
                                    </b>
                                </u>
                                <br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The HL7 attribute
                                <b> classCode </b>
                                describes this class as an inform.<br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Implementation in XML Instance
                                    </b>
                                </u>
                                <br/>
                            </p>
                            <p
                                    style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The XML attribute
                                <b> classCode </b>
								is fixed to "<font color="#ff0000">
                                    <b>INFRM</b>
                                </font>".</p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Schema Constraint  </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>
                                    <span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; display: inline ! important; float: none">The attribute 
                                    </span>
                                    <b style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">classCode </b>
                                    <span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; display: inline ! important; float: none">
                                    is prohibited in the schema and therefore does not appear in the "on the wire" instance.</span>
                                </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="classCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="INFRM"/>
            </attribute>
            <attribute conformance="R" fixedValue="EVN"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="moodCode" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Model Attribute Description
                                    </b>
                                </u>
                                <br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The HL7 attribute 
                                <b>moodCode </b>
                                describes this class as an inform event.<br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Implementation in XML Instance
                                    </b>
                                </u>
                                <br/>
                            </p>
                            <p
                                    style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The XML attribute 
                                <b>moodCode </b>
								is fixed to "<font color="#ff0000">
                                    <b>EVN</b>
                                </font>".</p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Schema Constraint  </b>
                                </u>
                                <br/>
                            </p>
                            <ul>
                                <li>
                                    <span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; display: inline ! important; float: none">The attribute
                                    </span>
                                    <b style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px"> moodCode </b>
                                    <span style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; display: inline ! important; float: none">
                                    is prohibited in the schema and therefore does not appear in the "on the wire" instance.</span>
                                </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="moodCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
            <attribute conformance="R" defaultValue="CRA"
                fixedValue="CRA" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="code" sortKey="4">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Model Attribute Description
                                    </b>
                                </u>
                                <br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">The HL7 attribute 
                                <b>code</b>
								 uses a code from the
                                <b> CP-ISObservationType </b>
                                vocabulary to describe this as a CP-IS record access<br/>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>
                            <p style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">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 style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">

                                <li>The XML attribute
                                    <b> code </b>
									shall contain a fixed value of "<font color="#ff0000">
                                    <b>CRA</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>CP-IS Record Access</b>
                                    </font>"</li>
                            </ul>
                            <p>
                                <u>
                                    <b>Schema Constraint </b>
                                </u>
                            </p>
                            <ul style="color: #000000; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px">
                                <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="Act" staticModelDerivationId="1"/>
                <type name="CV" typeSpecialisation="CV.NPfIT.Codedplain"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="CP-ISObservationType"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="Person.id">
            <derivationSupplier className="ParameterItem" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.61" shapeTemplate="OtherClass">
                    <position x="4.24" y="6.415"/>
                    <size height="0.695" width="2.36"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>This class is used to hold a query parameter of the child's NHS Number.</b>
                        </p>
                        <p>
                            <b>In this message it represents the NHS number of the child whose record access information is being returned to the local authority which uploaded the child protection information. </b>
                            <br/>
                        </p>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R" isMandatory="true"
                maximumMultiplicity="2" 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. A local identifier                            may also be included.                    </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>Where   the a local identifier is used then a second occurrence of the XML element <b>value</b> is populated as follows:                                                                                        </p>
                            <ul>

                                <li>The XML attribute <b>root</b> shall contain the OID "<font color="#ff0000">
                                    <b>2.16.840.1.113883.2.1.3.2.4.18.24</b>
                                    </font>"                                                                                                    </li>
                                <li>The XML attribute <b>extension</b> shall contain the local patient identifier                                                                                                    </li>
                                <li>The XML attribute <b>assigningAuthorityName</b> shall contain the assigning organisation in the format of ODSCode:ODSName, for example:                                                                                </li>
                            </ul>
                            <b>assigningAuthorityName</b>="V145:LONDON BOROUGH OF ISLINGTON"<br/>
                            <br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="value"
                    className="ParameterItem" staticModelDerivationId="1"/>
                <type name="SET" typeSpecialisation="II.NPfIT.oid.mandatoryAndEnumerated.assignedAuthority.optional">
                    <supplierBindingArgumentDatatype name="II"/>
                </type>
            </attribute>
            <attribute conformance="R" defaultValue="Person.id"
                fixedValue="Person.id" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="semanticsText" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <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.id</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.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="semanticsText"
                    className="ParameterItem" staticModelDerivationId="1"/>
                <type name="ST"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="true" name="RecipientChoice">
            <derivationSupplier className="Role" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    nodeOrientation="Portrait" shapeId="Sheet.65" shapeTemplate="Choice">
                    <position x="-0.1" y="1.035"/>
                    <size height="1.0" width="1.707"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>The choice of recipients.</b>
                        <br/>
                    </text>
                </otherAnnotation>
            </annotations>
            <specializationChild childClassName="Template1">
                <graphicRepresentation>
                    <graphElement containerDiagramName="Main" shapeId="Sheet.67">
                        <position x="0.025" y="1.284"/>
                        <size height="0.598" 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="false" isWidthAutoSize="false"
                    shapeId="Sheet.67" shapeTemplate="Role">
                    <position x="0.025" y="1.284"/>
                    <size height="0.598" 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="AuthorChoice">
            <derivationSupplier className="Role" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="true"
                    nodeOrientation="Portrait" shapeId="Sheet.77" shapeTemplate="Choice">
                    <position x="0.41" y="3.947"/>
                    <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="Template2">
                <graphicRepresentation>
                    <graphElement containerDiagramName="Main" shapeId="Sheet.79">
                        <position x="0.535" y="4.197"/>
                        <size height="0.56" 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="false" isWidthAutoSize="true"
                    shapeId="Sheet.79" shapeTemplate="Role">
                    <position x="0.535" y="4.197"/>
                    <size height="0.56" 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>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.49"
                containerDiagramName="Main" shapeId="Sheet.1">
                <position x="4.12" y="1.588"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.49">
                        <position x="4.12" y="1.588"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="primaryInformationRecipient" participantClassName="PrimaryInformationRecipient">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundParticipation"
                    className="CP-ISAccessToServiceNotification" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISAccessToServiceNotification">
                <derivationSupplier associationEndName="act"
                    className="PrimaryInformationRecipient" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.65"
                containerDiagramName="Main" shapeId="Sheet.1">
                <position x="1.606" y="1.588"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.65">
                        <position x="1.606" y="1.588"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="participant" participantClassName="RecipientChoice">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the choice of recipients.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="role"
                    className="PrimaryInformationRecipient" staticModelDerivationId="1"/>
                <participantClassSpecialization className="Template1" traversalName="participantTemplate1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PrimaryInformationRecipient">
                <derivationSupplier associationEndName="participation"
                    className="RecipientChoice" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.49"
                containerDiagramName="Main" shapeId="Sheet.7">
                <position x="6.679" y="1.514"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.49">
                        <position x="6.679" y="1.514"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentInformation" participantClassName="PertinentInformation">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISAccessToServiceNotification" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISAccessToServiceNotification">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.13"
                containerDiagramName="Main" shapeId="Sheet.7">
                <position x="9.103" y="1.514"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.13">
                        <position x="9.103" y="1.514"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentTotalReturnedRecords" participantClassName="TotalReturnedRecords">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the total of returned records.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="PertinentInformation" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="TotalReturnedRecords" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.49"
                containerDiagramName="Main" shapeId="Sheet.17">
                <position x="5.414" y="2.135"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.49">
                        <position x="5.414" y="2.135"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="false"
                maximumMultiplicity="*" minimumMultiplicity="0"
                name="pertinentInformation1" participantClassName="PertinentInformation2">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISAccessToServiceNotification" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISAccessToServiceNotification">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation2" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.57"
                containerDiagramName="Main" shapeId="Sheet.17">
                <position x="5.414" y="2.7"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.57">
                        <position x="5.414" y="2.7"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="false"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentCP-ISRecordAccess" participantClassName="CP-ISRecordAccess">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the CP-IS record access information.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="PertinentInformation2" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation2">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="CP-ISRecordAccess" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.53"
                containerDiagramName="Main" shapeId="Sheet.27">
                <position x="4.02" y="4.487"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.53">
                        <position x="4.02" y="4.487"/>
                    </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.77"
                containerDiagramName="Main" shapeId="Sheet.27">
                <position x="2.071" y="4.487"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.77">
                        <position x="2.071" y="4.487"/>
                    </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="Template2" traversalName="participantTemplate2"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Author">
                <derivationSupplier associationEndName="participation"
                    className="AuthorChoice" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.57"
                containerDiagramName="Main" shapeId="Sheet.33">
                <position x="6.86" y="3.219"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.57">
                        <position x="6.86" y="3.219"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="reference" participantClassName="Reference">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISRecordAccess" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISRecordAccess">
                <derivationSupplier associationEndName="source"
                    className="Reference" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.39"
                containerDiagramName="Main" shapeId="Sheet.33">
                <position x="9.087" y="3.219"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.39">
                        <position x="9.087" y="3.219"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="referredToLAUploadFile" participantClassName="LAUploadFile">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the local authority file.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="Reference" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Reference">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="LAUploadFile" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.57"
                containerDiagramName="Main" shapeId="Sheet.43">
                <position x="5.42" y="3.547"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.57">
                        <position x="5.42" y="3.547"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="*" minimumMultiplicity="1"
                name="pertinentInformation2" participantClassName="PertinentInformation3">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="CP-ISRecordAccess" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="CP-ISRecordAccess">
                <derivationSupplier associationEndName="source"
                    className="PertinentInformation3" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.53"
                containerDiagramName="Main" shapeId="Sheet.43">
                <position x="5.42" y="4.12"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.53">
                        <position x="5.42" y="4.12"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="pertinentCP-ISNHSQuery" participantClassName="CP-ISNHSQuery">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the CP-IS query.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="PertinentInformation3" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="PertinentInformation3">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="CP-ISNHSQuery" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.53"
                containerDiagramName="Main" shapeId="Sheet.89">
                <position x="5.42" y="5.13"/>
                <graphEdge>
                    <waypoint x="5.42" y="5.572"/>
                    <anchor connectToShapeId="Sheet.23">
                        <position x="5.42" y="5.572"/>
                    </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.23"
                containerDiagramName="Main" shapeId="Sheet.99">
                <position x="5.42" y="6.065"/>
                <graphEdge>
                    <waypoint x="5.42" y="6.415"/>
                    <anchor connectToShapeId="Sheet.61">
                        <position x="5.42" y="6.415"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="person.id" participantClassName="Person.id">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the Person id class<br/>
                        </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>
</staticModel>
