<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Guest Article: Beware of NULLs in healthcare databases</title>
	<atom:link href="http://www.healthcareguy.com/2006/04/05/guest-article-beware-of-nulls-in-healthcare-databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.healthcareguy.com/2006/04/05/guest-article-beware-of-nulls-in-healthcare-databases/</link>
	<description>Shahid&#039;s healthcare IT, EMR, EHR, PHR, medical content, and document managment advisory service. Enjoy.</description>
	<lastBuildDate>Thu, 09 Feb 2012 13:50:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: pete</title>
		<link>http://www.healthcareguy.com/2006/04/05/guest-article-beware-of-nulls-in-healthcare-databases/comment-page-1/#comment-248</link>
		<dc:creator>pete</dc:creator>
		<pubDate>Tue, 25 Apr 2006 20:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.healthcareguy.com/?p=236#comment-248</guid>
		<description>Wow, nice article.  Very well constructed...I&#039;m embarrassed it took me so long to read it ;-)

What I find interesting is that you used &quot;SUM&quot; and &quot;COUNT&quot; in the first pass at all.  Being used to dealing with the lowest common denominator of data integrity in HIT, my first impulse is always to eyeball the raw data first.  Saying

Select SUM(Amount)/COUNT(*) FROM [dbo].[Payment]

Makes a lot of assumptions about the quality of the Payment table which I have learned the hard way aren&#039;t always true.  I always start with

Select Amount FROM [dbo].[Payment]

then eyeball the data returned and count the rows.  Then (baby steps)

Select COUNT(*) FROM [dbo].[Payment]

Still make sense?  Then

Select SUM(Amount) FROM [dbo].[Payment]

Still looking copesthetic?  Great, now I am ready to

Select SUM(Amount)/COUNT(*) FROM [dbo].[Payment]

Sad, but true.  The lowest common denominator of data analysis is often times the best place to start.  Particularly if your dealing years of poorly maintained data on a 20 year old legacy system.</description>
		<content:encoded><![CDATA[<p>Wow, nice article.  Very well constructed&#8230;I&#8217;m embarrassed it took me so long to read it <img src='http://www.healthcareguy.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>What I find interesting is that you used &#8220;SUM&#8221; and &#8220;COUNT&#8221; in the first pass at all.  Being used to dealing with the lowest common denominator of data integrity in HIT, my first impulse is always to eyeball the raw data first.  Saying</p>
<p>Select SUM(Amount)/COUNT(*) FROM [dbo].[Payment]</p>
<p>Makes a lot of assumptions about the quality of the Payment table which I have learned the hard way aren&#8217;t always true.  I always start with</p>
<p>Select Amount FROM [dbo].[Payment]</p>
<p>then eyeball the data returned and count the rows.  Then (baby steps)</p>
<p>Select COUNT(*) FROM [dbo].[Payment]</p>
<p>Still make sense?  Then</p>
<p>Select SUM(Amount) FROM [dbo].[Payment]</p>
<p>Still looking copesthetic?  Great, now I am ready to</p>
<p>Select SUM(Amount)/COUNT(*) FROM [dbo].[Payment]</p>
<p>Sad, but true.  The lowest common denominator of data analysis is often times the best place to start.  Particularly if your dealing years of poorly maintained data on a 20 year old legacy system.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Integrative Stream &#187; Data Modeling</title>
		<link>http://www.healthcareguy.com/2006/04/05/guest-article-beware-of-nulls-in-healthcare-databases/comment-page-1/#comment-247</link>
		<dc:creator>The Integrative Stream &#187; Data Modeling</dc:creator>
		<pubDate>Fri, 07 Apr 2006 21:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.healthcareguy.com/?p=236#comment-247</guid>
		<description>[...] The Healthcare IT Guy » Guest Article: Beware of NULLs in healthcare databases [...]</description>
		<content:encoded><![CDATA[<p>[...] The Healthcare IT Guy » Guest Article: Beware of NULLs in healthcare databases [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

