goodFilter1000_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="intoleranceQuery"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><startDate>2006-01-01</startDate><endDate>2006-12-31</endDate><recordIdentifiers><identity>100</identity></recordIdentifiers><xpathQuery><xpath>TestXpath</xpath><parameter name="parameter1"><value>TestValue1</value></parameter><parameter name="parameter2"><value>TestValue2</value></parameter></xpathQuery></entryPointFilter><entryPointFilter queryName="IC-statusHistory"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><recordIdentifiers><identity>200</identity></recordIdentifiers><xpathQuery><xpath>intoleranceConditions[status='Status']</xpath></xpathQuery></entryPointFilter><correlationFilter queryName="combinedQuery"><xpathQuery><xpath>TestCorrelationXpath</xpath><parameter name="parameter3"><value>TestValue3</value></parameter></xpathQuery></correlationFilter></filter:filter>
simpleTiuFilter_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority></assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>test_sourceid_517</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>ClinicalDocumentEvent</domainEntryPoint></entryPointFilter></filter:filter>
simpleAllergyAssessmentFilter_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119744ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>AllergyAssessment</domainEntryPoint></entryPointFilter></filter:filter>
simpleIntoleranceConditionFilter_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>IntoleranceCondition</domainEntryPoint></entryPointFilter></filter:filter>
simpleIntoleranceConditionFilter_2=<?xml version="1.0" encoding="UTF-8"?><filter:filter vhimVersion="Vhim_4_02" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><filterId>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>IntoleranceCondition</domainEntryPoint></entryPointFilter></filter:filter>
simpleIntoleranceConditionFilter_3=<?xml version="1.0" encoding="UTF-8"?><filter:filter vhimVersion="Vhim_5_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><filterId>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>IntoleranceCondition</domainEntryPoint></entryPointFilter></filter:filter>
simpleIntoleranceConditionFilterBadVhimVersion=<?xml version="1.0" encoding="UTF-8"?><filter:filter vhimVersion="Vhim_X_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><filterId>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>IntoleranceCondition</domainEntryPoint></entryPointFilter></filter:filter>
simpleIntoleranceConditionRecordIdentifier=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><recordIdentifiers><identity>String</identity><namespaceId>VHA</namespaceId><universalId>String</universalId><universalIdType>String</universalIdType></recordIdentifiers></entryPointFilter></filter:filter>
simpleAllergyAssessmentRecordIdentifier=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>AllergyAssessment</domainEntryPoint><recordIdentifiers><identity>String</identity><namespaceId>VHA</namespaceId><universalId>String</universalId><universalIdType>String</universalIdType></recordIdentifiers></entryPointFilter></filter:filter>
simpleOutpatientMedicationPromiseRecordIdentifier=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint><recordIdentifiers><identity>String</identity><namespaceId>VHA</namespaceId><universalId>String</universalId><universalIdType>String</universalIdType></recordIdentifiers></entryPointFilter></filter:filter>
simpleVitalSignRecordIdentifier=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>VitalSignObservationEvent</domainEntryPoint><recordIdentifiers><identity>String</identity><namespaceId>VHA</namespaceId><universalId>String</universalId><universalIdType>String</universalIdType></recordIdentifiers><recordIdentifiers><identity>String</identity><namespaceId>VHA</namespaceId><universalId>String</universalId><universalIdType>String</universalIdType></recordIdentifiers></entryPointFilter></filter:filter>
simpleLabTestPromiseRecordIdentifier=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>LabTestPromise</domainEntryPoint><recordIdentifiers><identity>String</identity><namespaceId>VHA</namespaceId><universalId>String</universalId><universalIdType>String</universalIdType></recordIdentifiers></entryPointFilter></filter:filter>
simpleNamedQueryFilter_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="IntoleranceConditionRecordIds"><domainEntryPoint>IntoleranceCondition</domainEntryPoint></entryPointFilter></filter:filter>
simpleOutpatientPromiseFilter_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint></entryPointFilter></filter:filter>
simpleVitalSignFilter_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>VitalSignObservationEvent</domainEntryPoint></entryPointFilter></filter:filter>
simpleLabFilter_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>1011119844ICN</identity></resolvedIdentifiers></patients><entryPointFilter queryName="genericQuery"><domainEntryPoint>LabTestPromise</domainEntryPoint></entryPointFilter></filter:filter>
simpleIC-OPPFilter_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="generic-IC"><domainEntryPoint>IntoleranceCondition</domainEntryPoint></entryPointFilter><entryPointFilter queryName="generic-OPP"><domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint></entryPointFilter></filter:filter>
simpleEntryFilters_bad_version=<?xml version="1.0" encoding="UTF-8"?><filter:filter vhimVersion="Vhim_X_00" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><filterId>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="IC-allergyType"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[allergyType/code='Food']</xpath></xpathQuery></entryPointFilter><entryPointFilter queryName="IC-authorComments"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[reaction/author/comment='Test comment1']</xpath></xpathQuery></entryPointFilter></filter:filter>
simpleEntryFilters_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="IC-allergyType"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[allergyType/code='Food']</xpath></xpathQuery></entryPointFilter><entryPointFilter queryName="IC-authorComments"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[reaction/author/comment='Test comment1']</xpath></xpathQuery></entryPointFilter></filter:filter>
simpleEntryMergeFilters_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="IC-allergyType"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[allergyType/code='Food']</xpath></xpathQuery></entryPointFilter><entryPointFilter queryName="IC-allergyType-dup"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[allergyType/code='Food DVuid']</xpath></xpathQuery></entryPointFilter></filter:filter>
simpleDomainMergeFilters_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="IC-allergyType"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[allergyType/code='Food']</xpath></xpathQuery></entryPointFilter><entryPointFilter queryName="Pharm-patientType"><domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint><xpathQuery><xpath>outpatientMedicationPromises[pharmacyPatientType]</xpath></xpathQuery></entryPointFilter></filter:filter>
badVersionFilter1000_1=<?xml version="1.0" encoding="UTF-8"?><filter:filter vhimVersion="VHIM_BAD" xmlns:filter="Filter" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><filterId>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="intoleranceQuery"><domainEntryPoint>TestEntryPoint</domainEntryPoint><startDate>2006-01-01</startDate><endDate>2006-12-31</endDate><recordIdentifiers><identity>100</identity></recordIdentifiers><recordIdentifiers><identity>200</identity></recordIdentifiers><xpathQuery><xpath>TestXpath</xpath><parameter name="parameter1"><value>TestValue1</value></parameter><parameter name="parameter2"><value>TestValue2</value></parameter></xpathQuery></entryPointFilter><entryPointFilter queryName="IC-statusHistory"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[status='Status']</xpath></xpathQuery></entryPointFilter><correlationFilter queryName="combinedQuery"><xpathQuery><xpath>TestCorrelationXpath</xpath><parameter name="parameter3"><value>TestValue3</value></parameter></xpathQuery></correlationFilter></filter:filter>
badFilter1000_1=<?xml version="1.0" encoding="UTF-8"?> <filter xmlns="filters1000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" vhimVersion="Text"> <filterId>Filter100</filterId> <startDate>1967-08-13T01:30:45</startDate> <endDate>1967-08-13T01:30:45</endDate> <record>100</record> <record>200</record> <xpathQuery> <qualifiedXpath xpathType="Domain"> <xpath>String</xpath> <entryPoint>String</entryPoint> </qualifiedXpath> </xpathQuery> <entryPoint>String</entryPoint> </filter>
badReferencedFilter1000_1=<?xml version="1.0" encoding="UTF-8"?> <filter xmlns="filters1000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" vhimVersion="Text"> <subject> <vpid>Subject 1</vpid> </subject> <xpathQuery xpathType="VDM"> <referencedXpath> <filterId>Filter100</filterId> <parameter name="description"> <value>Hives</value> </parameter> <parameter name="author"> <value>Author 1</value> </parameter> </referencedXpath> </xpathQuery> <entryPoint>IntoleranceCondition</entryPoint> </filter>
verySimpleCorrelationFilter=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="IC-authorComments"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[reaction/author/comment='Test comment1']</xpath></xpathQuery></entryPointFilter><correlationFilter queryName="combinedQuery"><xpathQuery><xpath>intoleranceConditions[reaction/author/comment='Test comment1']</xpath></xpathQuery></correlationFilter></filter:filter>
authorCorrelationFilter=<?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>Filter100</filterId>	<patients>		<resolvedIdentifiers>			<assigningAuthority>AA1</assigningAuthority>			<assigningFacility>DNS   -605</assigningFacility>			<identity>testId-1</identity>		</resolvedIdentifiers>	</patients>	<entryPointFilter queryName="IC-allergyType">		<domainEntryPoint>IntoleranceCondition</domainEntryPoint>		<xpathQuery>			<xpath>intoleranceConditions[allergyType/code='Drug']</xpath>		</xpathQuery>	</entryPointFilter>	<entryPointFilter queryName="Pharm-canceled">		<domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint>		<xpathQuery>			<xpath>outpatientMedicationPromises[cancel]</xpath>		</xpathQuery>	</entryPointFilter>	<correlationFilter queryName="combinedAllergyQuery">		<xpathQuery>			<xpath>intoleranceConditions[author/practitioner/identifier/identity=../outpatientMedicationPromises/originalDispense/currentProvider/identifier/identity]</xpath>		</xpathQuery>	</correlationFilter>	<correlationFilter queryName="combinedMedsQuery">		<xpathQuery>			<xpath>outpatientMedicationPromises[originalDispense/currentProvider/identifier/identity=../intoleranceConditions/author/practitioner/identifier/identity]</xpath>		</xpathQuery>	</correlationFilter></filter:filter>
authorCorrelation2Filter=<?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" xsi:schemaLocation="Filter C:\data\hdr\cdsn\main\modules\redrock-core\src\main\java\gov\va\med\cds\filter\schema\Filter400C5.xsd"><filterId>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="IC-agentCode"><domainEntryPoint>intoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[agent/code='Food']</xpath></xpathQuery></entryPointFilter><entryPointFilter queryName="Vital-eventType"><domainEntryPoint>vitalSignObservationEvent</domainEntryPoint><xpathQuery><xpath>vitalSignObservationEvent[@observationEventType='vitalType']</xpath></xpathQuery></entryPointFilter><correlationFilter queryName="combinedAllergyAndVitalQuery"><xpathQuery><xpath>intoleranceConditions[author/practitioner/identifier/identity=../vitalSignObservationEvents/author/practitioner/identifier/identity]|vitalSignObservationEvents[author/practitioner/identifier/identity=../intoleranceConditions/author/practitioner/identifier/identity]</xpath></xpathQuery></correlationFilter></filter:filter>
numberOfRecordsFilter=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="IC-allergyType"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[allergyType/code='Food']</xpath></xpathQuery></entryPointFilter><correlationFilter queryName="combinedAllergyAndVitalQuery"><xpathQuery><xpath>intoleranceConditions[position() &lt; 6]</xpath></xpathQuery></correlationFilter></filter:filter>
fullAggregationFilter=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="IC-allergyType"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[allergyType/code='Food']</xpath></xpathQuery></entryPointFilter><entryPointFilter queryName="Vital-eventType"><domainEntryPoint>VitalSignObservationEvent</domainEntryPoint><xpathQuery><xpath>vitalSignObservationEvents[observedCharacteristic/displayText='vitalType']</xpath></xpathQuery></entryPointFilter><correlationFilter queryName="combinedAllergyQuery"><xpathQuery><xpath>intoleranceConditions[author/practitioner/identifier/identity=../vitalSignObservationEvents/author/practitioner/identifier/identity]</xpath></xpathQuery></correlationFilter><correlationFilter queryName="combinedVitalQuery"><xpathQuery><xpath>vitalSignObservationEvents[author/practitioner/identifier/identity=../intoleranceConditions/author/practitioner/identifier/identity]</xpath></xpathQuery></correlationFilter><aggregationFilter queryName="limitAllergyCount"><xpathQuery><xpath>intoleranceConditions[position()&lt;3]</xpath></xpathQuery></aggregationFilter><aggregationFilter queryName="limitVitalCount"><xpathQuery><xpath>vitalSignObservationEvents[position()&lt;3]</xpath></xpathQuery></aggregationFilter></filter:filter>
referencedParameterizedXpathFilter=<?xml version="1.0" encoding="UTF-8"?> <!-- Test parameterized Xpath filter for untranslated xpath: ReactionObservationEvent[@description = 'Hives' and author../@vpid='Author 1'] --> <filter xmlns="filters1000" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" vhimVersion="Text"> <subject> <vpid>Subject 1</vpid> </subject> <xpathQuery xpathType="VDM"> <referencedXpath> <filterId>Filter100</filterId> <parameter name="description"> <value>Hives</value> </parameter> <parameter name="author"> <value>Author 1</value> </parameter> </referencedXpath> </xpathQuery> <entryPoint>IntoleranceCondition</entryPoint> </filter>
#
goodFilterUnresolvedSubject=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>VA0</assigningFacility><identity>101111MYTEST1</identity></resolvedIdentifiers></patients><entryPointFilter queryName="intoleranceQuery"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><startDate>2006-01-01</startDate><endDate>2006-12-31</endDate><recordIdentifiers><identity>100</identity></recordIdentifiers><recordIdentifiers><identity>200</identity></recordIdentifiers><xpathQuery><xpath>TestXpath</xpath><parameter name="parameter1"><value>TestValue1</value></parameter><parameter name="parameter2"><value>TestValue2</value></parameter></xpathQuery></entryPointFilter><entryPointFilter queryName="IC-statusHistory"><domainEntryPoint>IntoleranceCondition</domainEntryPoint><xpathQuery><xpath>intoleranceConditions[status='Status']</xpath></xpathQuery></entryPointFilter><correlationFilter queryName="combinedQuery"><xpathQuery><xpath>TestCorrelationXpath</xpath><parameter name="parameter3"><value>TestValue3</value></parameter></xpathQuery></correlationFilter></filter:filter>
goodFilterUnresolvedMult=<?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>Filter100</filterId><patients><NationalId>TestNationalId</NationalId><excludeIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -992</assigningFacility><identity>7204809</identity></excludeIdentifiers><excludeIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -613</assigningFacility><identity>20077</identity></excludeIdentifiers></patients><entryPointFilter queryName="intoleranceQuery"><domainEntryPoint>IntoleranceCondition</domainEntryPoint></entryPointFilter></filter:filter>
badFilterMissingFacId=<?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>Filter100</filterId> <subject> <unResolvedPatientId> <entityIdentifier>1011119764</entityIdentifier> <assigningFacUniversalId></assigningFacUniversalId> </unResolvedPatientId> </subject> <entryPointFilter queryName="intoleranceQuery"> <domainEntryPoint>IntoleranceCondition</domainEntryPoint> <startDate>2006-01-01T12:34:56</startDate> <endDate>2006-12-31T23:59:59</endDate> <record>100</record> <record>200</record> <xpathQuery> <xpath>TestXpath</xpath> <parameter name="parameter1"> <value>TestValue1</value> </parameter> <parameter name="parameter2"> <value>TestValue2</value> </parameter> </xpathQuery> </entryPointFilter> <entryPointFilter queryName="IC-statusHistory"> <domainEntryPoint>IntoleranceCondition</domainEntryPoint> <xpathQuery> <xpath>intoleranceConditions[status='Status']</xpath> </xpathQuery> </entryPointFilter> <correlationFilter queryName="combinedQuery"> <xpathQuery> <xpath>TestCorrelationXpath</xpath> <parameter name="parameter3"> <value>TestValue3</value> </parameter> </xpathQuery> </correlationFilter> </filter:filter>
badFilterPatientNotFound=<?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>Filter100</filterId> <subject> <unResolvedPatientId> <entityIdentifier>10111NOTFOUND</entityIdentifier> <assigningFacUniversalId>VA0</assigningFacUniversalId> </unResolvedPatientId> </subject> <entryPointFilter queryName="intoleranceQuery"> <domainEntryPoint>IntoleranceCondition</domainEntryPoint> <startDate>2006-01-01T12:34:56</startDate> <endDate>2006-12-31T23:59:59</endDate> <record>100</record> <record>200</record> <xpathQuery> <xpath>TestXpath</xpath> <parameter name="parameter1"> <value>TestValue1</value> </parameter> <parameter name="parameter2"> <value>TestValue2</value> </parameter> </xpathQuery> </entryPointFilter> <entryPointFilter queryName="IC-statusHistory"> <domainEntryPoint>IntoleranceCondition</domainEntryPoint> <xpathQuery> <xpath>intoleranceConditions[status='Status']</xpath> </xpathQuery> </entryPointFilter> <correlationFilter queryName="combinedQuery"> <xpathQuery> <xpath>TestCorrelationXpath</xpath> <parameter name="parameter3"> <value>TestValue3</value> </parameter> </xpathQuery> </correlationFilter> </filter:filter>
#
RDIFilter_1=<?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>Filter100</filterId><patients><resolvedIdentifiers><assigningAuthority>AA1</assigningAuthority><assigningFacility>DNS   -605</assigningFacility><identity>testId-1</identity></resolvedIdentifiers></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'))])]</xpath></xpathQuery></entryPointFilter><entryPointFilter queryName="OMP-Standardized"><domainEntryPoint>OutpatientMedicationPromise</domainEntryPoint><xpathQuery><xpath>outpatientMedicationPromises[pharmacyRequest/orderedMedication/medicationCode[(code!='') and (codingSystem = '99VHA_ERT' or contains(.,'99VA'))]]</xpath></xpathQuery></entryPointFilter></filter:filter>