Medical Condition/Problem Report
- Hersheydmd
- Posts: 703
- Joined: Sun May 03, 2009 9:12 pm
Medical Condition/Problem Report
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
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429
- Hersheydmd
- Posts: 703
- Joined: Sun May 03, 2009 9:12 pm
Re: Medical Condition/Problem Report
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]
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
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429
- jordansparks
- Site Admin
- Posts: 5755
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Medical Condition/Problem Report
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
http://www.opendental.com
- Hersheydmd
- Posts: 703
- Joined: Sun May 03, 2009 9:12 pm
Re: Medical Condition/Problem Report
That will work too.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.
Robert M Hersh DMD, FAGD
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429
Univ. of Penn 1982
Brooklyn, NY 11234
https://www.facebook.com/pages/Robert-M ... 1471599429