<?xml version="1.0" encoding="UTF-8"?>
<staticModel isAbstract="false" isSerializable="true"
    name="COCT_TP146104GB01" 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="TP" domain="CT" id="146104"
        name="COCT_TP146104GB01" realm="GB" root="DEFN" section="HM"
        subSection="CO" version="01"/>
    <header>
        <renderingInformation
            application="NHS R-MIM Designer 2.99.KJ.08"
            renderingTime="2013-03-20T09:30:39" schemaVersion="1"/>
        <legalese copyrightOwner="NHS Connecting for Health"/>
    </header>
    <graphicRepresentation presentation="HL7">
        <graphElement name="Main">
            <position x="0.0" y="0.0"/>
            <size height="2.97221" width="10.02"/>
        </graphElement>
    </graphicRepresentation>
    <derivationSupplier staticModelDerivationId="1">
        <targetStaticModel artifact="RIM" realm="UV" root="DEFN" version="1"/>
    </derivationSupplier>
    <ownedEntryPoint className="UCPInformation" id="COCT_TP146104GB01"
        isAbstract="false" name="UnbornChildPlanInformation">
        <annotations>
            <description>
                <text>
                    <p>Information regarding an unborn child plan.</p>
                </text>
            </description>
            <otherAnnotation type="html">
                <text/>
            </otherAnnotation>
        </annotations>
        <graphicRepresentation>
            <graphElement containerDiagramName="Main"
                isHeightAutoSize="false" isWidthAutoSize="false"
                nodeOrientation="Down" shapeId="COCT_TP146104GB01">
                <position x="0.74512" y="0.02778"/>
                <size height="0.45278" width="2.22976"/>
                <anchorage connectToShapeId="Sheet.1">
                    <position x="1.86" y="0.48056"/>
                    <graphEdge>
                        <anchor>
                            <position x="1.86" y="0.98056"/>
                        </anchor>
                    </graphEdge>
                </anchorage>
            </graphElement>
        </graphicRepresentation>
    </ownedEntryPoint>
    <ownedClass>
        <class isAbstract="false" name="UCPInformation">
            <derivationSupplier className="Act" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="false" isWidthAutoSize="false"
                    shapeId="Sheet.1" shapeTemplate="Act">
                    <position x="0.01" y="0.98056"/>
                    <size height="1.97721" width="3.4"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <p>
                            <b>A class which carries unborn child protection plan information.</b>
                        </p>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R"
                defaultValue="COCT_TP146104GB01#UCPInformation"
                fixedValue="COCT_TP146104GB01#UCPInformation"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="templateId" sortKey="0">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <u>
                                <b>Model Attribute Description</b>
                            </u>
                            <br/>
                            <p>The HL7 attribute <b>templateId</b>   provides a unique identifier for the template and the class name  within  that template. This is used to identify how the                                CDA                          standard has been constrained  for NHS use.<br/>
                                <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>templateId</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.2</b>
                                    </font>"                                                                                                                   </li>

                                <li>The XML attribute <b>extension</b> is fixed to <font color="#000000">"<b>
                                    <font color="#ff0000">COCT_TP146104GB01#UCPInformation</font>
                                    </b>
                                    <font color="#000000">"</font>
                                    </font>
                                </li>
                            </ul>
                            <p>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </p>
                            <ul>
                                <li>The attribute <b>root</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.                                                                                            </li>
                                <li>The attribute <b>extension</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="templateId"
                    className="Act" staticModelDerivationId="1"/>
                <type name="II"/>
            </attribute>
            <attribute conformance="R" fixedValue="PCPR"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="classCode" sortKey="1">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>classCode</b> describes this class as a patient care provision.                         </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>PCPR</b>
                                </font>".                            </p>
                            <p>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </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="PCPR"/>
            </attribute>
            <attribute conformance="R" fixedValue="EVN"
                isMandatory="true" isStructural="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="moodCode" sortKey="2">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <p>
                                <u>
                                    <b>Model Attribute Description </b>
                                </u>
                                <br/>
                            </p>
                            <p>The HL7 attribute <b>moodCode</b> describes this class as a patient care provision event.                         </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>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </p>
                            <ul>
                                <li>The attribute <b>moodCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="moodCode"
                    className="Act" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="EVN"/>
            </attribute>
            <attribute conformance="R" defaultValue="UCPI"
                fixedValue="UCPI" 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-ISObservationType</b> vocabulary to describe this as unborn child protection plan information.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>
                            <p>The <b>Coded Plain </b>flavour of the<b>
                                    <b> Coded Value </b>
                                </b>(CV) data type shall be used to carry this information  in the XML element <b>code</b> as follows:                                                                                                                    </p>
                            <ul>

                                <li>The XML attribute <b>code</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>UCPI</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>Unborn Child Plan Information Upload</b>
                                    </font>"                                                                     </li>
                            </ul>
                            <p>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </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. <br/>
                                </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="Component4">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Right" shapeId="Sheet.5"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="3.41" y="1.04919"/>
                    <size height="0.43611" width="3.3"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class is a component class, it links the child protection plan information to it's start date.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R"
                defaultValue="COCT_TP146104GB01#component"
                fixedValue="COCT_TP146104GB01#component"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="templateId" sortKey="0">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <u>
                                <b>Model Attribute Description</b>
                            </u>
                            <br/>
                            <p>The HL7 attribute <b>templateId</b>   provides a unique identifier for the template and the class name  within  that template. This is used to identify how the                                CDA                          standard has been constrained  for NHS use.<br/>
                                <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>templateId</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.2</b>
                                    </font>"                                                                                                                   </li>

                                <li>The XML attribute <b>extension</b> is fixed to <font color="#000000">"<b>
                                    <font color="#ff0000">COCT_TP146104GB01#component</font>
                                    </b>
                                    <font color="#000000">"</font>
                                    </font>
                                </li>
                            </ul>
                            <p>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </p>
                            <ul>
                                <li>The attribute <b>root</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.                                                                                            </li>
                                <li>The attribute <b>extension</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="templateId"
                    className="ActRelationship" staticModelDerivationId="1"/>
                <type name="II"/>
            </attribute>
            <attribute conformance="R" fixedValue="COMP"
                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  component.<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>COMP</b>
                                </font>".                    </p>
                            <p>
                                <b>
                                    <u>Schema Constraint   </u>
                                </b>
                                <br/>
                            </p>
                            <ul>
                                <li>                   The attribute <b>typeCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance. </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="typeCode"
                    className="ActRelationship" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="COMP"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="UCPStartDate">
            <derivationSupplier className="Observation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.11" shapeTemplate="Act">
                    <position x="6.71" y="0.91389"/>
                    <size height="0.91445" width="3.3"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>A class which carries information about when the unborn child protection plan started</b>
                        <b>.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R"
                defaultValue="COCT_TP146104GB01#uCPStartDate"
                fixedValue="COCT_TP146104GB01#uCPStartDate"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="templateId" sortKey="0">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <u>
                                <b>Model Attribute Description</b>
                            </u>
                            <br/>
                            <p>The HL7 attribute <b>templateId</b>   provides a unique identifier for the template and the class name  within  that template. This is used to identify how the                                CDA                          standard has been constrained  for NHS use.<br/>
                                <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>templateId</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.2</b>
                                    </font>"                                                                                                                   </li>

                                <li>The XML attribute <b>extension</b> is fixed to <font color="#000000">"<b>
                                    <font color="#ff0000">COCT_TP146104GB01#uCPStartDate</font>
                                    </b>
                                    <font color="#000000">"</font>
                                    </font>
                                </li>
                            </ul>
                            <p>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </p>
                            <ul>
                                <li>The attribute <b>root</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.                                                                                            </li>
                                <li>The attribute <b>extension</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="templateId"
                    className="Observation" staticModelDerivationId="1"/>
                <type name="II"/>
            </attribute>
            <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 an observation.                         </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>
                            <p>The XML attribute <b>classCode</b> is fixed to "<b>
                                    <font color="#ff0000">OBS</font>
                                </b>".                            </p>
                            <p>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </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.                         </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>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </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="UCPSD"
                fixedValue="UCPSD" 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-ISObservationType</b> vocabulary to describe this as unborn child protection plan start date information.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>
                            <p>The <b>Coded Plain </b>flavour of the<b>
                                    <b> Coded Value </b>
                                </b>(CV) data type shall be used to carry this information  in the XML element <b>code</b> as follows:                                                                                                                    </p>
                            <ul>

                                <li>The XML attribute <b>code</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>UCPSD</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>Unborn Child Plan Start Date</b>
                                    </font>"                                                                     </li>
                            </ul>
                            <p>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </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. <br/>
                                </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="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>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <div contenteditable="false" style="height: 100%; width: 100%">
                                    <p>
                                    <u>
                                    <b>Model Attribute Description   </b>
                                    </u>
                                    <br/>
                                    </p>
                                    <p>The HL7 attribute <b>value</b> defines the date and time the unborn child protection plan started.</p>
                                    <p>
                                    <u>
                                    <b>Implementation in XML Instance </b>
                                    </u>
                                    </p>
                                    <p>The <b>TS.NHS.DateType1</b> data type flavour is used to carry this information in the XML attribute <b>value</b> of the XML element <b>value </b>and     shall be populated with a  time stamp in the format yyyymmddhhmm    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 minute</li>
                                    </ul>
                                    <p>
                                    <b>The     CP-IS system only stores the date portion of the timestamp i.e.     yyyymmdd. Therefore on receipt of the CP-IS Child Protection Information     dates, the CP-IS system truncates the timestamp down to the date </b>
                                    <b>
                                    <b>e.g. "20140601".</b>
                                    </b>
                                    </p>
                                    <b>In     response to a CP-IS NHS Query, the CP-IS system sends the Child     Protection Information dates within a CP-IS NHS Query Response message     as a timestamp with the hours and minutes padded out with '0000' e.g.     "201406010000".</b>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="value"
                    className="Observation" staticModelDerivationId="1"/>
                <type name="TS" typeSpecialisation="TS.NHS.DateType1"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="Component">
            <derivationSupplier className="ActRelationship" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    nodeOrientation="Right" shapeId="Sheet.15"
                    shapeTemplate="ActRelationship" textWrappingWidth="66.0">
                    <position x="3.41" y="2.21041"/>
                    <size height="0.43611" width="3.29"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>This class is a component class, it links the child protection plan information to it's end date.</b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R"
                defaultValue="COCT_TP146104GB01#component1"
                fixedValue="COCT_TP146104GB01#component1"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="templateId" sortKey="0">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <u>
                                <b>Model Attribute Description</b>
                            </u>
                            <br/>
                            <p>The HL7 attribute <b>templateId</b>   provides a unique identifier for the template and the class name  within  that template. This is used to identify how the                                CDA                          standard has been constrained  for NHS use.<br/>
                                <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>templateId</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.2</b>
                                    </font>"                                                                                                                   </li>

                                <li>The XML attribute <b>extension</b> is fixed to <font color="#000000">"<b>
                                    <font color="#ff0000">COCT_TP146104GB01#component1</font>
                                    </b>
                                    <font color="#000000">"</font>
                                    </font>
                                </li>
                            </ul>
                            <p>
                                <b>
                                    <u>Schema Constraint  </u>
                                </b>
                            </p>
                            <ul>
                                <li>The attribute <b>root</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.                                                                                            </li>
                                <li>The attribute <b>extension</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="templateId"
                    className="ActRelationship" staticModelDerivationId="1"/>
                <type name="II"/>
            </attribute>
            <attribute conformance="R" fixedValue="COMP"
                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  component.<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>COMP</b>
                                </font>".                    </p>
                            <p>
                                <b>
                                    <u>Schema Constraint   </u>
                                </b>
                                <br/>
                            </p>
                            <ul>
                                <li>                   The attribute <b>typeCode</b> is prohibited in the schema and therefore does not appear in the "on the wire" instance. </li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="typeCode"
                    className="ActRelationship" staticModelDerivationId="1"/>
                <type name="CS"/>
                <supplierDomainSpecification codingStrength="CNE" domainName="COMP"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedClass>
        <class isAbstract="false" name="UCPEndDate">
            <derivationSupplier className="Observation" staticModelDerivationId="1"/>
            <graphicRepresentation presentation="HL7">
                <graphElement containerDiagramName="Main"
                    isHeightAutoSize="true" isWidthAutoSize="false"
                    shapeId="Sheet.21" shapeTemplate="Act">
                    <position x="6.7" y="2.04777"/>
                    <size height="0.91445" width="3.3"/>
                </graphElement>
            </graphicRepresentation>
            <annotations>
                <otherAnnotation type="html">
                    <text>
                        <b>A class which carries information unborn child protection plan end date.<br/>
                        </b>
                    </text>
                </otherAnnotation>
            </annotations>
            <attribute conformance="R"
                defaultValue="COCT_TP146104GB01#uCPEndDate"
                fixedValue="COCT_TP146104GB01#uCPEndDate"
                isMandatory="true" maximumMultiplicity="1"
                minimumMultiplicity="1" name="templateId" sortKey="0">
                <annotations>
                    <otherAnnotation type="html">
                        <text>
                            <u>
                                <b>Model Attribute Description</b>
                            </u>
                            <br/>
                            <p>The HL7 attribute <b>templateId</b>   provides a unique identifier for the template and the class name  within  that template. This is used to identify how the                                CDA                          standard has been constrained  for NHS use.<br/>
                                <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>templateId</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.2</b>
                                    </font>"                                                                                                                   </li>

                                <li>The XML attribute <b>extension</b> is fixed to <font color="#000000">"<b>
                                    <font color="#ff0000">COCT_TP146104GB01#uCPEndDate</font>
                                    </b>
                                    <font color="#000000">"</font>
                                    </font>
                                </li>
                            </ul>
                            <p>
                                <b>
                                    <u>Schema Constraint   </u>
                                </b>
                                <br/>
                            </p>
                            <ul>
                                <li>The attribute <b>root</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.                                                                                            </li>
                                <li>The attribute <b>extension</b>  is prohibited in the schema and therefore does not appear in the "on  the wire" instance.</li>
                            </ul>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="templateId"
                    className="Observation" staticModelDerivationId="1"/>
                <type name="II"/>
            </attribute>
            <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 an observation.                         </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance </b>
                                </u>
                                <br/>
                            </p>
                            <p>The XML attribute <b>classCode</b> is fixed to "<b>
                                    <font color="#ff0000">OBS</font>
                                </b>".                            </p>
                            <p>
                                <b>
                                    <u>Schema Constraint   </u>
                                </b>
                                <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.                         </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>
                                <b>
                                    <u>Schema Constraint   </u>
                                </b>
                                <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="UCPED"
                fixedValue="UCPED" 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-ISObservationType</b> vocabulary to describe this as unborn child protection plan end date information.<br/>
                            </p>
                            <p>
                                <u>
                                    <b>Implementation in XML Instance</b>
                                </u>
                            </p>
                            <p>The <b>Coded Plain </b>flavour of the<b>
                                    <b> Coded Value </b>
                                </b>(CV) data type shall be used to carry this information  in the XML element <b>code</b> as follows:</p>
                            <ul>

                                <li>The XML attribute <b>code</b> shall contain a fixed value of "<font color="#ff0000">
                                    <b>UCPED</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>Unborn Child Plan End Date</b>
                                    </font>"</li>
                            </ul>
                            <b>
                                <u>Schema Constraint  </u>
                            </b>
                            <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="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>
                            <div contenteditable="false" style="height: 100%; width: 100%">
                                <div contenteditable="false" style="height: 100%; width: 100%">
                                    <p>
                                    <u>
                                    <b>Model Attribute Description   </b>
                                    </u>
                                    <br/>
                                    </p>
                                    <p>The HL7 attribute <b>value</b> defines the date and time the unborn child protection plan ends.</p>
                                    <p>
                                    <u>
                                    <b>Implementation in XML Instance </b>
                                    </u>
                                    </p>
                                    <p>The <b>TS.NHS.DateType1</b> data type flavour is used to carry this information in the XML attribute <b>value</b> of the XML element <b>value </b>and     shall be populated with a  time stamp in the format yyyymmddhhmm    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 minute</li>
                                    </ul>
                                    <p>
                                    <b>The     CP-IS system only stores the date portion of the timestamp i.e.     yyyymmdd. Therefore on receipt of the CP-IS Child Protection Information     dates, the CP-IS system truncates the timestamp down to the date </b>
                                    <b>
                                    <b>e.g. "20140601".</b>
                                    </b>
                                    </p>
                                    <b>In     response to a CP-IS NHS Query, the CP-IS system sends the Child     Protection Information dates within a CP-IS NHS Query Response message     as a timestamp with the hours and minutes padded out with '0000' e.g.     "201406010000".</b>
                                </div>
                            </div>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier attributeName="value"
                    className="Observation" staticModelDerivationId="1"/>
                <type name="TS" typeSpecialisation="TS.NHS.DateType1"/>
            </attribute>
        </class>
    </ownedClass>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.1"
                containerDiagramName="Main" shapeId="Sheet.15">
                <position x="3.41" y="2.42847"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.1">
                        <position x="3.41" y="2.42847"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="component1" participantClassName="Component">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="UCPInformation" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="UCPInformation">
                <derivationSupplier associationEndName="source"
                    className="Component" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.1"
                containerDiagramName="Main" shapeId="Sheet.5">
                <position x="3.41" y="1.26725"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.1">
                        <position x="3.41" y="1.26725"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="component" participantClassName="Component4">
                <annotations>
                    <otherAnnotation type="html">
                        <text/>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier
                    associationEndName="outboundRelationship"
                    className="UCPInformation" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="UCPInformation">
                <derivationSupplier associationEndName="source"
                    className="Component4" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.11"
                containerDiagramName="Main" shapeId="Sheet.5">
                <position x="6.71" y="1.26725"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.11">
                        <position x="6.71" y="1.26725"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="uCPStartDate" participantClassName="UCPStartDate">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the unborn child plan start date.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="Component4" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Component4">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="UCPStartDate" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
    <ownedAssociation>
        <graphicRepresentation>
            <graphElement connectToShapeId="Sheet.21"
                containerDiagramName="Main" shapeId="Sheet.15">
                <position x="6.7" y="2.42847"/>
                <graphEdge>
                    <anchor connectToShapeId="Sheet.21">
                        <position x="6.7" y="2.42847"/>
                    </anchor>
                </graphEdge>
            </graphElement>
        </graphicRepresentation>
        <connections>
            <traversableConnection conformance="R" isMandatory="true"
                maximumMultiplicity="1" minimumMultiplicity="1"
                name="uCPEndDate" participantClassName="UCPEndDate">
                <annotations>
                    <otherAnnotation type="html">
                        <text>A link to the unborn child plan end date.<br/>
                        </text>
                    </otherAnnotation>
                </annotations>
                <derivationSupplier associationEndName="target"
                    className="Component" staticModelDerivationId="1"/>
            </traversableConnection>
            <nonTraversableConnection participantClassName="Component">
                <derivationSupplier
                    associationEndName="inboundRelationship"
                    className="UCPEndDate" staticModelDerivationId="1"/>
            </nonTraversableConnection>
        </connections>
    </ownedAssociation>
</staticModel>
