<?xml version="1.0" encoding="utf-8"?>
<savedquery>
  <IsCustomizable>1</IsCustomizable>
  <CanBeDeleted>1</CanBeDeleted>
  <isquickfindquery>0</isquickfindquery>
  <isprivate>0</isprivate>
  <isdefault>0</isdefault>
  <returnedtypecode>10020</returnedtypecode>
  <savedqueryid>{f3109662-7439-e611-8120-127b25dcbde7}</savedqueryid>
  <layoutxml>
    <grid name="resultset" object="10020" jump="bah_name" select="1" preview="1" icon="1">
      <row name="result" id="bah_interactionsid">
        <cell name="vhacrm_interactionno_text" width="150" />
        <cell name="statuscode" width="100" />
        <cell name="vhacrm_typeintersectionid" width="100" />
        <cell name="vhacrm_areaintersectionid" width="100" />
        <cell name="vhacrm_resolutionintersectionid" width="100" />
        <cell name="bah_veteranid" width="100" />
        <cell name="bah_facilityid" width="100" />
        <cell name="vhacrm_subareaintersectionid" width="100" />
        <cell name="ownerid" width="100" />
        <cell name="createdon" width="100" />
      </row>
    </grid>
  </layoutxml>
  <querytype>0</querytype>
  <fetchxml>
    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
      <entity name="bah_interactions">
        <attribute name="bah_veteranid" />
        <attribute name="vhacrm_typeintersectionid" />
        <attribute name="vhacrm_subareaintersectionid" />
        <attribute name="statuscode" />
        <attribute name="vhacrm_resolutionintersectionid" />
        <attribute name="vhacrm_interactionno_text" />
        <attribute name="bah_facilityid" />
        <attribute name="createdon" />
        <attribute name="vhacrm_areaintersectionid" />
        <order attribute="vhacrm_areaintersectionid" descending="false" />
        <filter type="and">
          <condition attribute="vhacrm_typeintersectionid" operator="eq" uiname="W2VA" uitype="vhacrm_typeintersection" value="{A9D6111A-CAD0-E511-9414-0050568DC724}" />
          <filter type="or">
            <filter type="and">
              <condition attribute="vhacrm_subareaintersectionid" operator="eq" uiname="Need Appointment" uitype="vhacrm_subareaintersection" value="{ACA3C5A7-B431-E611-8120-127B25DCBDE7}" />
              <filter type="or">
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="No Action" uitype="vhacrm_resolutionintersection" value="{6CE9BB35-B531-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="DNC-Request" uitype="vhacrm_resolutionintersection" value="{CB6181EA-7FD7-E511-9417-0050568DC724}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="DNC-Deceased" uitype="vhacrm_resolutionintersection" value="{CD6181EA-7FD7-E511-9417-0050568DC724}" />
              </filter>
            </filter>
            <filter type="and">
              <condition attribute="vhacrm_subareaintersectionid" operator="eq" uiname="No Appointment Needed" uitype="vhacrm_subareaintersection" value="{4E5C6EB6-B431-E611-8120-127B25DCBDE7}" />
              <filter type="or">
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Transfer/Facility" uitype="vhacrm_resolutionintersection" value="{E387CDD9-B431-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Provided TN" uitype="vhacrm_resolutionintersection" value="{AE0ACDFF-B431-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Decline TN/Xfer" uitype="vhacrm_resolutionintersection" value="{833DC30A-B531-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="DNC-Request" uitype="vhacrm_resolutionintersection" value="{CB6181EA-7FD7-E511-9417-0050568DC724}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="DNC-Deceased" uitype="vhacrm_resolutionintersection" value="{CD6181EA-7FD7-E511-9417-0050568DC724}" />
              </filter>
            </filter>
            <filter type="and">
              <condition attribute="vhacrm_subareaintersectionid" operator="eq" uiname="Appointment Already Scheduled" uitype="vhacrm_subareaintersection" value="{8BB5C5BF-B431-E611-8120-127B25DCBDE7}" />
              <filter type="or">
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Transfer/Facility" uitype="vhacrm_resolutionintersection" value="{E387CDD9-B431-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Provided TN" uitype="vhacrm_resolutionintersection" value="{AE0ACDFF-B431-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Decline TN/Xfer" uitype="vhacrm_resolutionintersection" value="{833DC30A-B531-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="DNC-Request" uitype="vhacrm_resolutionintersection" value="{CB6181EA-7FD7-E511-9417-0050568DC724}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="DNC-Deceased" uitype="vhacrm_resolutionintersection" value="{CD6181EA-7FD7-E511-9417-0050568DC724}" />
              </filter>
            </filter>
            <filter type="and">
              <condition attribute="vhacrm_subareaintersectionid" operator="eq" uiname="N/A" uitype="vhacrm_subareaintersection" value="{500C96C7-B431-E611-8120-127B25DCBDE7}" />
              <filter type="or">
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Transfer/Facility" uitype="vhacrm_resolutionintersection" value="{E387CDD9-B431-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Transferred Other" uitype="vhacrm_resolutionintersection" value="{EE7B71E8-B431-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Transferred Help Desk" uitype="vhacrm_resolutionintersection" value="{4189E7F4-B431-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Provided TN" uitype="vhacrm_resolutionintersection" value="{AE0ACDFF-B431-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Decline TN/Xfer" uitype="vhacrm_resolutionintersection" value="{833DC30A-B531-E611-8120-127B25DCBDE7}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="Sent Email" uitype="vhacrm_resolutionintersection" value="{C96181EA-7FD7-E511-9417-0050568DC724}" />
                <condition attribute="vhacrm_resolutionintersectionid" operator="eq" uiname="No Action" uitype="vhacrm_resolutionintersection" value="{6CE9BB35-B531-E611-8120-127B25DCBDE7}" />
              </filter>
            </filter>
          </filter>
        </filter>
        <attribute name="ownerid" />
        <attribute name="bah_interactionsid" />
      </entity>
    </fetch>
  </fetchxml>
  <IntroducedVersion>1.1.0.6</IntroducedVersion>
  <LocalizedNames>
    <LocalizedName description="W2VA Interactions with Invalid Sub-Area and Resolution" languagecode="1033" />
  </LocalizedNames>
  <Descriptions>
    <Description description="A view that shows W2VA Interactions which have been resolved with an invalid Sub-Area and Resolution " languagecode="1033" />
  </Descriptions>
</savedquery>