<?xml version="1.0" encoding="utf-8"?>
<savedquery>
  <IsCustomizable>1</IsCustomizable>
  <CanBeDeleted>0</CanBeDeleted>
  <isquickfindquery>0</isquickfindquery>
  <isprivate>0</isprivate>
  <isdefault>0</isdefault>
  <returnedtypecode>10005</returnedtypecode>
  <savedqueryid>{ba908284-5c51-43f4-9e3a-252eb658c2c9}</savedqueryid>
  <layoutxml>
    <grid name="resultset" object="10005" jump="bah_name" select="1" icon="1" preview="1">
      <row name="result" id="bah_casenoteid">
        <cell name="createdon" width="125" />
        <cell name="createdby" width="150" />
        <cell name="bah_name" width="300" />
        <cell name="hrc_casenotetemplateid" width="125" />
        <cell name="bah_casenotetype_code" width="125" />
        <cell name="hrc_interactionid" width="125" />
        <cell name="bah_requestid" width="125" />
        <cell name="bah_veteranid" width="125" />
        <cell name="bah_casenotes_memo" width="300" disableSorting="1" />
      </row>
    </grid>
  </layoutxml>
  <querytype>0</querytype>
  <fetchxml>
    <fetch version="1.0" mapping="logical">
      <entity name="bah_casenote">
        <attribute name="bah_name" />
        <attribute name="createdon" />
        <order attribute="createdon" descending="true" />
        <filter type="and">
          <condition attribute="statecode" operator="eq" value="1" />
        </filter>
        <attribute name="bah_veteranid" />
        <attribute name="bah_requestid" />
        <attribute name="hrc_interactionid" />
        <attribute name="createdby" />
        <attribute name="bah_casenotes_memo" />
        <attribute name="bah_casenotetype_code" />
        <attribute name="hrc_casenotetemplateid" />
        <attribute name="bah_casenoteid" />
      </entity>
    </fetch>
  </fetchxml>
  <IntroducedVersion>1.0</IntroducedVersion>
  <LocalizedNames>
    <LocalizedName description="Inactive Case Notes" languagecode="1033" />
  </LocalizedNames>
</savedquery>