<?xml version="1.0" encoding="UTF-8"?>
<!--
	This example message is provided for illustrative purposes only. It has had no clinical validation. Whilst every effort has been taken to ensure that the examples are consistent with the
	message specification contained within the MiM, where there are conflicts with the written message specification or schema, the specification or schema shall be considered to take
	precedence
-->
<?xml-stylesheet type="text/xsl" href="../../xsl/CDA.xsl"?>
<ClinicalDocument xsi:schemaLocation="urn:hl7-org:v3 ../../schemas/POCD_MT000001UK04.xsd" moodCode="EVN" classCode="DOCCLIN" xmlns:npfitlc="NPFIT:HL7:Localisation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3">
	<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040" />
	<npfitlc:messageType root="2.16.840.1.113883.2.1.3.2.4.18.17" extension="POCD_MT130001UK05" />
	<id root="7D5B4DC0-AE1A-11DB-95FB-B18E1E0994CD" />
	<code code="285091000000108" codeSystem="2.16.840.1.113883.2.1.3.2.4.15" />
	<title>Nullification Document</title>
	<effectiveTime value="20070102123459" />
	<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25" displayName="normal" />
	<setId root="7D5B4DC0-AE1A-11DB-95FC-B18E1E0994CD" />
	<versionNumber value="2" />
	<recordTarget typeCode="RCT" contextControlCode="OP">
		<npfitlc:contentId root="2.16.840.1.113883.2.1.3.2.4.18.16" extension="COCD_TP145020UK03#PatientRole" />
		<patientRole classCode="PAT">
			<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145020UK03#PatientRole" />
			<id root="2.16.840.1.113883.2.1.4.1" extension="9900002558" />
		</patientRole>
	</recordTarget>
	<author contextControlCode="OP" typeCode="AUT">
		<npfitlc:contentId root="2.16.840.1.113883.2.1.3.2.4.18.16" extension="COCD_TP145001UK03#AssignedAuthorSDS" />
		<functionCode codeSystem="2.16.840.1.113883.2.1.3.2.4.17.178" code="OA" displayName="Originating Author" />
		<time value="200701021234" />
		<assignedAuthor classCode="ASSIGNED">
			<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145001UK03#AssignedAuthorSDS" />
			<id root="1.2.826.0.1285.0.2.0.65" extension="673836492727" />
			<id root="1.2.826.0.1285.0.2.0.67" extension="984181387037" />
			<code code="R0050" codeSystem="2.16.840.1.113883.2.1.3.2.4.17.196" displayName="Consultant" />
			<assignedPerson determinerCode="INSTANCE" classCode="PSN">
				<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145001UK03#assignedPerson" />
				<name>
					<prefix>Dr</prefix>
					<given>Steve</given>
					<family>Fulham</family>
				</name>
			</assignedPerson>
			<representedOrganization determinerCode="INSTANCE" classCode="ORG">
				<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145001UK03#representedOrganization" />
				<id root="2.16.840.1.113883.2.1.3.2.4.19.2" extension="RR109" />
				<name>Solihull Hospital</name>
			</representedOrganization>
		</assignedAuthor>
	</author>
	<custodian typeCode="CST">
		<npfitlc:contentId root="2.16.840.1.113883.2.1.3.2.4.18.16" extension="COCD_TP145018UK03#AssignedCustodian" />
		<assignedCustodian classCode="ASSIGNED">
			<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145018UK03#AssignedCustodian" />
			<representedCustodianOrganization classCode="ORG" determinerCode="INSTANCE">
				<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145018UK03#representedCustodianOrganization" />
				<id root="2.16.840.1.113883.2.1.3.2.4.19.1" extension=" RR109" />
				<name>Solihull Hospital</name>
			</representedCustodianOrganization>
		</assignedCustodian>
	</custodian>
	<informationRecipient typeCode="PRCP">
		<npfitlc:contentId root="2.16.840.1.113883.2.1.3.2.4.18.16" extension="COCD_TP145017UK03#IntendedRecipient" />
		<intendedRecipient classCode="ASSIGNED">
			<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145017UK03#IntendedRecipient" />
			<receivedOrganization classCode="ORG" determinerCode="INSTANCE">
				<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145017UK03#representedOrganization" />
				<id root="2.16.840.1.113883.2.1.3.2.4.19.2" extension="YEA" />
				<name>NATIONAL CARE RECORDS SERVICE SPINE</name>
			</receivedOrganization>
		</intendedRecipient>
	</informationRecipient>
	<informationRecipient typeCode="PRCP">
		<npfitlc:contentId root="2.16.840.1.113883.2.1.3.2.4.18.16" extension="COCD_TP145021UK03#AssignedEntitySDS" />
		<intendedRecipient classCode="ASSIGNED">
			<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145021UK03#AssignedEntitySDS" />
			<npfitlc:recipientRoleCode code="GP" codeSystem="2.16.840.1.113883.2.1.3.2.4.17.196" displayName="General Practitioner" />
			<id root="1.2.826.0.1285.0.2.0.65" extension="673836492727" />
			<id root="1.2.826.0.1285.0.2.0.67" extension="984181387037" />
			<informationRecipient determinerCode="INSTANCE" classCode="PSN">
				<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP145021UK03#assignedPerson" />
				<name>
					<prefix>Dr</prefix>
					<given>Jill</given>
					<family>Fulham</family>
				</name>
			</informationRecipient>
		</intendedRecipient>
	</informationRecipient>
	<relatedDocument typeCode="RPLC">
		<parentDocument moodCode="EVN" classCode="DOCCLIN">
			<id root="7D5B4DC0-AE1A-11DB-9601-B18E1E0994CD" />
			<code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="185291000000100" />
			<setId root="7D5B4DC0-AE1A-11DB-95FC-B18E1E0994CD" />
			<versionNumber value="1" />
		</parentDocument>
	</relatedDocument>
	<component typeCode="COMP" contextConductionInd="true">
		<structuredBody moodCode="EVN" classCode="DOCBODY">
			<component typeCode="COMP" contextConductionInd="true">
				<section classCode="DOCSECT" moodCode="EVN">
					<id root="D9303D40-EF24-11DB-A1C1-F5CA408FF127" />
					<!--Here are the coded entries-->
					<entry typeCode="COMP" contextConductionInd="true">
						<npfitlc:contentId root="2.16.840.1.113883.2.1.3.2.4.18.16" extension="COCD_TP146049UK05#Reason" />
						<observation classCode="OBS" moodCode="EVN">
							<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP146049UK05#Reason" />
							<id root="7D5B4DC0-AE1A-11DB-9600-B18E1E0994CD" />
							<code codeSystem="2.16.840.1.113883.2.1.3.2.4.17.176" code="02" displayName="Sent to wrong patient record">
								<originalText>
									<reference value="#a1" />
								</originalText>
							</code>
							<effectiveTime value="200701021234" />
						</observation>
					</entry>
					<component typeCode="COMP" contextConductionInd="true">
						<npfitlc:contentId root="2.16.840.1.113883.2.1.3.2.4.18.16" extension="COCD_TP146061UK01#Section1" />
						<section classCode="DOCSECT" moodCode="EVN">
							<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP146061UK01#Section1" />
							<id root="D9303D40-EF24-11DB-A1C2-F5CA408FF127" />
							<title>Reason for Nullification</title>
							<text>Wrong NHS Number</text>
							<component typeCode="COMP" contextConductionInd="true">
								<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP146061UK01#component1" />
								<section classCode="DOCSECT" moodCode="EVN">
									<templateId root="2.16.840.1.113883.2.1.3.2.4.18.2" extension="COCD_TP146061UK01#section2" />
									<id root="D92DCC40-EF24-11DB-A1BE-F5CA408FF127" />
									<title>Nullification Note</title>
									<text>
										<content ID="a1">Nullified previous Emergency Department Report due to wrong patient NHS number</content>
									</text>
								</section>
							</component>
						</section>
					</component>
				</section>
			</component>
		</structuredBody>
	</component>
</ClinicalDocument>
