Revision [440]

Last edited on 2011-03-23 16:01:29 by SethKrieger
Additions:
======CHIP Patients List======
We have a state-funded Children’s Health Insurance Program (CHIP) that is offered via a number of commercial insurers. Like all states, the public money is quickly drying up, so insurers are using third parties to scour their records to find those patients for whom “erroneous” payments were made. Aetna is using a company called Aftermath to do this with CHIP patients, but it has been a disaster as the company is making what appears to be serious false assumptions.

We need to identify those CHIP clients under any insurer so that we can check benefits before every visit.
The only way to identify these clients is to have a query that identifies patients younger than 19 who have insurance policies in which they are also the subscriber. The list should include only patients who have received services in the last 120 days.
SELECT DISTINCT
a.lastname,a.firstname,a.id
FROM
patients a
JOIN rv_policies b ON a.ptnum = b.ptnum
JOIN journal c ON a.ptnum = c.ptnum
WHERE
AgeInYears(a.dob,today()) < 19
AND reltoinsd = '01'
AND c.trantype = 'S'
AND c.trandate BETWEEN (TODAY() - 120) AND TODAY()
ORDER BY a.lastname,a.firstname,a.id
Deletions:
======Query Title ======
comments here appear in italics
paste your tested query here


Revision [439]

The oldest known version of this page was created on 2011-03-23 15:57:14 by SethKrieger [Cloned from NewQuery]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki