Page 1 of 1
New Patient Report List
Posted: Wed Aug 06, 2008 5:17 am
by Toothdr97
Is there any way to create a New Patient List. I am right now counting NP for the month, which is getting old. I have been tracking how many new patients we see per month. Please let me know if this can be done. If not, I will continue counting them by day.
Re: New Patient Report List
Posted: Wed Aug 06, 2008 6:08 am
by parksjdp
Try this query and just change your dates for your month range. Also, I remember there being a new report in a new version that was to have this report IIRC.
SELECT * FROM PATIENT
WHERE DateFirstVisit >= '2008-06-01'
AND DateFirstVisit < '2008-06-30'
Re: New Patient Report List
Posted: Wed Aug 06, 2008 7:14 am
by jordansparks
Just switch to version 5.8 to get that report.
Re: New Patient Report List
Posted: Wed Aug 06, 2008 8:33 am
by Toothdr97
Thanks a bunch. My only complaint is that it doesn't add them for you. Still have to count them, but a lot easier than going day by day.

Re: New Patient Report List
Posted: Wed Aug 06, 2008 12:47 pm
by jordansparks
Really? That's an oversight.
Re: New Patient Report List
Posted: Wed Aug 06, 2008 12:58 pm
by nathansparks
If want a count column also of new patients use this custom query
New Patients in Date Range with Date of last visit and Procedure Count
SET @pos=0, @FromDate='2008-06-01' , @ToDate='2008-06-31';
SELECT @pos:=@pos+1 as 'Count', patient.PatNum, LName, FName, DATE_FORMAT(MAX(ProcDate),'%m/%d/%Y') AS 'LastVisit',
COUNT(procedurelog.ProcNum) AS '# Procs Total'
FROM patient
INNER JOIN procedurelog ON procedurelog.PatNum=patient.PatNum
WHERE procedurelog.ProcStatus=2 AND patient.PatStatus=0
AND DateFirstVisit BETWEEN @FromDate AND @ToDate
GROUP BY procedurelog.PatNum
ORDER BY LName;
Nathan
Re: New Patient Report List
Posted: Wed Aug 06, 2008 2:46 pm
by DavidWolf
The New Patient report in Ver 5.8.2.0 has the patients numbered on the left side of the report.
Re: New Patient Report List
Posted: Thu Aug 07, 2008 6:33 am
by parksjdp
nathansparks wrote:If want a count column also of new patients use this custom query
New Patients in Date Range with Date of last visit and Procedure Count
SET @pos=0, @FromDate='2008-06-01' , @ToDate='2008-06-31';
SELECT @pos:=@pos+1 as 'Count', patient.PatNum, LName, FName, DATE_FORMAT(MAX(ProcDate),'%m/%d/%Y') AS 'LastVisit',
COUNT(procedurelog.ProcNum) AS '# Procs Total'
FROM patient
INNER JOIN procedurelog ON procedurelog.PatNum=patient.PatNum
WHERE procedurelog.ProcStatus=2 AND patient.PatStatus=0
AND DateFirstVisit BETWEEN @FromDate AND @ToDate
GROUP BY procedurelog.PatNum
ORDER BY LName;
Nathan
Thanks for this report.
Cathy, scratch that last query I gave you and use this one.