<?xml version="1.0" encoding="UTF-8"?>
<filter:filter vhimVersion="Vhim_4_00" xmlns:filter="Filter"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<filterId>RDI_IC_RX_SINGLE_PATIENT_FILTER</filterId>
	<clientName>testClientName</clientName>
	<clientRequestInitiationTime>2011-06-22T02:57:59-0600</clientRequestInitiationTime>
	<patients>
		<NationalId>1011186582</NationalId>
		<excludeIdentifiers>
			<assigningAuthority>USVHA</assigningAuthority>
			<assigningFacility>993</assigningFacility>
			<!--<identity>7184651<identity> this is optional -->
		</excludeIdentifiers>
	</patients>
	<entryPointFilter queryName="IC-Standardized">
		<domainEntryPoint>IntoleranceCondition</domainEntryPoint>
		<xpathQuery>
			<xpath>intoleranceConditions[((gmrAllergyAgent[(code!='') and
				(codingSystem = '99VHA_ERT' or contains(.,'99VA'))]) or
				(drugClass/code[(code!='') and (codingSystem = '99VHA_ERT' or
				contains(.,'99VA'))]) or (drugIngredient/code[(code!='') and
				(codingSystem = '99VHA_ERT' or contains(.,'99VA'))])) and (status =
				'F')]</xpath>
		</xpathQuery>
	</entryPointFilter>
	<entryPointFilter queryName="OMP-Standardized">
		<domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint>
		<startDate>2005-11-01</startDate>
		<xpathQuery>
			<xpath>outpatientMedicationPromises[pharmacyRequest/orderedMedication/medicationCode[(code!='')
				and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))]]</xpath>
		</xpathQuery>
	</entryPointFilter>
</filter:filter>
