Medical Condition/Problem Report

For users or potential users.
Post Reply
User avatar
Hersheydmd
Posts: 700
Joined: Sun May 03, 2009 9:12 pm

Medical Condition/Problem Report

Post by Hersheydmd » Tue Sep 13, 2011 6:32 pm

Does anyone have a way to get a report from OD of all patients with a listed medical condition? eg. high blood pressure?
Robert M Hersh DMD, FAGD
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429

User avatar
Hersheydmd
Posts: 700
Joined: Sun May 03, 2009 9:12 pm

Re: Medical Condition/Problem Report

Post by Hersheydmd » Fri Sep 16, 2011 10:55 am

It's amazing how much necessity is the mother of invention.

Since I didn't get any help, I figured it out myself.
I did a query to find out what num High Blood Pressure is in my database:

SELECT * From Diseasedef

I found out it is #24.
So then I did a query:
SELECT PatNum, DiseaseDefNum, datetstamp From Disease Where DiseaseDefNum = 24

returned a list of all patients with high blood pressure [and the date it was entered - as long as you haven't updated OD since then].
[Note: I just found out that the datetstamp is of no consequence, as it gets updated whenever you upgrade to a newer version. Too bad, because it would have been nice to know when each medical condition was entered in OD]
Robert M Hersh DMD, FAGD
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429

User avatar
jordansparks
Site Admin
Posts: 5746
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: Medical Condition/Problem Report

Post by jordansparks » Sun Sep 18, 2011 4:56 am

Newer versions of that table have DateStart and DateStop. Are those the dates you were asking for? I don't think it's quite as important when it was entered.
Jordan Sparks, DMD
http://www.opendental.com

User avatar
Hersheydmd
Posts: 700
Joined: Sun May 03, 2009 9:12 pm

Re: Medical Condition/Problem Report

Post by Hersheydmd » Sun Sep 18, 2011 5:09 am

jordansparks wrote:Newer versions of that table have DateStart and DateStop. Are those the dates you were asking for? I don't think it's quite as important when it was entered.
That will work too.
Robert M Hersh DMD, FAGD
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429

Post Reply