<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Returns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Returns/m-p/1316411#M408665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to find the number of time a patients returns from ICU to a particular department and back.&amp;nbsp; Here are the fields that I am working with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAT_Encounter_CSN&lt;/P&gt;&lt;P&gt;Event ID&lt;/P&gt;&lt;P&gt;FromTime&lt;/P&gt;&lt;P&gt;ToTime&lt;/P&gt;&lt;P&gt;firstDepartment&lt;/P&gt;&lt;P&gt;NextDepartment&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;My approach I created flags from ICU to Depart A and Department A back to ICU, this would be a single return.&amp;nbsp;&amp;nbsp; I have a solution for returns, my issue is that if a patient has more than one return that happens in a month, and if the next return ends in the next month, both of the returns are counted in the same month.&amp;nbsp; Thanks for the assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2017 07:44:45 GMT</pubDate>
    <dc:creator>detmawin</dc:creator>
    <dc:date>2017-07-17T07:44:45Z</dc:date>
    <item>
      <title>Returns</title>
      <link>https://community.qlik.com/t5/QlikView/Returns/m-p/1316411#M408665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to find the number of time a patients returns from ICU to a particular department and back.&amp;nbsp; Here are the fields that I am working with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAT_Encounter_CSN&lt;/P&gt;&lt;P&gt;Event ID&lt;/P&gt;&lt;P&gt;FromTime&lt;/P&gt;&lt;P&gt;ToTime&lt;/P&gt;&lt;P&gt;firstDepartment&lt;/P&gt;&lt;P&gt;NextDepartment&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;My approach I created flags from ICU to Depart A and Department A back to ICU, this would be a single return.&amp;nbsp;&amp;nbsp; I have a solution for returns, my issue is that if a patient has more than one return that happens in a month, and if the next return ends in the next month, both of the returns are counted in the same month.&amp;nbsp; Thanks for the assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 07:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Returns/m-p/1316411#M408665</guid>
      <dc:creator>detmawin</dc:creator>
      <dc:date>2017-07-17T07:44:45Z</dc:date>
    </item>
  </channel>
</rss>

