Most Recent Posts
Ambient Scribes
by Headcase - 02/22/2026 1:21 PM
Missing Photographs
by tcosta - 02/20/2026 12:07 PM
AC Cloud instablility
by OfficeMgr88 - 02/08/2026 11:22 PM
AC Version 12.3
by OfficeMgr88 - 02/08/2026 11:20 PM
NewCrop
by Shrinkrap - 02/06/2026 5:56 PM
ACPM not loading!
by BPeds - 02/05/2026 5:35 PM
ACPM Problems
by BPeds - 02/05/2026 5:33 PM
Does anyone have V12.0?
by JBS - 01/28/2026 4:29 PM
Member Spotlight
DCubed
DCubed
Baltimore
Posts: 679
Joined: February 2011
Newest Members
BPeds, PMG Care, KeepingItAnon, AspiringPro101, michaelliam
4,607 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2005
Posts: 2,367
Likes: 2
Member
OP Offline
Member
Joined: Nov 2005
Posts: 2,367
Likes: 2
I am working on PCMH and trying to run a report for patients without a telephone number seen in the last 3 months.

the problem is that the report will not allow = or <> (blank), it requires 10 digits ( % wildcard will not work).

Any ideas?


Wendell
Pediatrician in Chicago

The patient's expectation is that you have all the answers, sometimes they just don't like the answer you have for them
Joined: Dec 2009
Posts: 1,210
Likes: 8
Member
Offline
Member
Joined: Dec 2009
Posts: 1,210
Likes: 8
Just add a WHERE clause to the query I put in a previous post. Change dates as appropriate.

Code
DECLARE @StartDate DATETIME
DECLARE @EndDate DATETIME

SET @StartDate = '1/1/2017'
SET @EndDate = '4/1/2017'

SELECT Demographics.PatientID, [Last] as LastName, [First] as FirstName, Gender, BirthDate, Phone FROM Demographics INNER JOIN 
(SELECT DISTINCT PatientID FROM Billing WHERE DateOfService BETWEEN @StartDate AND @EndDate) as a on Demographics.PatientID = a.PatientID 
WHERE phone is null or phone = ''
ORDER BY LastName


JamesNT


James Summerlin
My personal site: http://www.dataintegrationsolutions.net
james@dataintegrationsolutions.net

Moderated by  DocGene, JBS, Wendell365 

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Who's Online Now
0 members (), 215 guests, and 35 robots.
Key: Admin, Global Mod, Mod
Top Posters(30 Days)
JBS 2
tcosta 2
BPeds 2
Top Posters
Bert 12,899
JBS 3,002
Wendell365 2,367
Sandeep 2,316
ryanjo 2,084
Leslie 2,002
Wayne 1,889
This board is dedicated to the memory of Michael "Indy" Astleford. February 6, 1961 -- April 16, 2019




SiteLock
Powered by UBB.threads™ PHP Forum Software 7.7.5