<?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: Hospital Census in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166637#M909439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick responses. Very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2016 13:56:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-22T13:56:30Z</dc:date>
    <item>
      <title>Hospital Census</title>
      <link>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166633#M909435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate hospital census and I have three objects (Arrival Date, Discharge Date, MRN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to count every patients that is within &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;a given time frame chosen by the user. I'm guessing that I will need a date selector (calendar) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166633#M909435</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Hospital Census</title>
      <link>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166634#M909436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could create reference dates for each date in the interval of each patient's visit, then use this reference date field to use as dimension to count patients and to make selections in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2940"&gt;Creating Reference Dates for Intervals&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 20:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166634#M909436</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-21T20:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hospital Census</title>
      <link>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166635#M909437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌. One row per patient per day in the hospital, built using the linked approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gather that MRN is the patient ID? Once you have the table built, the expression should be this simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;count(distinct MRN)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The remaining question is how you want to select a time frame. I usually just use Date, Month, and Year fields. Things get more complicated if you want to make it easy for the user to select an arbitrary from and to date, and count all patients that were in the hospital at some point in that range. This is perhaps most typically done with two variables in two calendar objects, and either triggering the selection of dates in range of those variables, or using set analysis in the count expression. I just posted another option over &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-16887"&gt;here&lt;/A&gt;. I'm sure we can help you with whatever approach you decide to take if you can't figure it out from those hints.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 21:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166635#M909437</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2016-06-21T21:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hospital Census</title>
      <link>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166636#M909438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you John. This helps a lot. I will try to work it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 13:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166636#M909438</guid>
      <dc:creator />
      <dc:date>2016-06-22T13:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hospital Census</title>
      <link>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166637#M909439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your quick responses. Very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 13:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hospital-Census/m-p/1166637#M909439</guid>
      <dc:creator />
      <dc:date>2016-06-22T13:56:30Z</dc:date>
    </item>
  </channel>
</rss>

