<?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 Re: Visit Type within 6 Months in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/Visit-Type-within-6-Months/m-p/1636109#M454</link>
    <description>&lt;P&gt;That is a very common thing to do and the answer is to use the PREVIOUS command inside your LOAD script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check out this blog post I created about something very similar that had to do with READMISSIONS to read and see the logic and code behind it:&amp;nbsp;&lt;A href="http://qlikdork.com/2016/07/visualizing-readmissions/" target="_blank"&gt;http://qlikdork.com/2016/07/visualizing-readmissions/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The Qlik Help for the PREVIOUS function is pretty thorough if you need to check it out more:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/September2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Previous.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/September2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Previous.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 13:30:20 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2019-10-16T13:30:20Z</dc:date>
    <item>
      <title>Visit Type within 6 Months</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Visit-Type-within-6-Months/m-p/1607793#M453</link>
      <description>&lt;P&gt;I am trying to get the first patient with a new patient visit type within 6 month of the physician or follow up visit.&amp;nbsp; &amp;nbsp;If a patient has a new patient visit and has no other activities (physician or&amp;nbsp; follow up visit types) within 6 months then a new patient visit type is needed.&lt;/P&gt;&lt;P&gt;If the patient has only a new patient visit, I can take the first value.&amp;nbsp; But if a patient has a new patient visit, then a physician or follow up visit past six months, I am not sure how to grab this date.&amp;nbsp; I attached a spreadsheet of sample data.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 14:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Visit-Type-within-6-Months/m-p/1607793#M453</guid>
      <dc:creator>detmawin</dc:creator>
      <dc:date>2025-07-22T14:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Visit Type within 6 Months</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Visit-Type-within-6-Months/m-p/1636109#M454</link>
      <description>&lt;P&gt;That is a very common thing to do and the answer is to use the PREVIOUS command inside your LOAD script.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check out this blog post I created about something very similar that had to do with READMISSIONS to read and see the logic and code behind it:&amp;nbsp;&lt;A href="http://qlikdork.com/2016/07/visualizing-readmissions/" target="_blank"&gt;http://qlikdork.com/2016/07/visualizing-readmissions/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The Qlik Help for the PREVIOUS function is pretty thorough if you need to check it out more:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/September2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Previous.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/September2019/Subsystems/Hub/Content/Sense_Hub/Scripting/InterRecordFunctions/Previous.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 13:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Visit-Type-within-6-Months/m-p/1636109#M454</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2019-10-16T13:30:20Z</dc:date>
    </item>
  </channel>
</rss>

