Last meeting was about gold standard patient and I am looking at sites that would be willing to run a short SQL and share their results (preferably here in the forum (on a general level), (and possibly email the actual counts to me and Patrick).
For this purpose, there is tool called IRIS in OHDSI GitHub.
The results look like this : (this is real data for CCAE dataset in IMEDS)
MEASURE RESULT EXPLANATION
G1 141,805,491 count of patients
G2 20,328,289,601 count of events
D2 90,024,522 count of patients with at least 1 Dx and 1 Rx
D3 112,148,500 count of patients with at least 1 Dx and 1 Proc
D4 5,939,621 count of patients with at least 1 Obs, 1 Dx and 1 Rx
D5 277,975 count of deceased patients
A link to earlier discussion is here
How to participate:
- get the .sql file for your database from here: https://github.com/OHDSI/Iris/tree/master/inst/sql/non-parametized
- replace a string ‘ccae_cdm4.’ with your path to the CDM tables (it may have .dbo. if you use MS SQL)
- run the code
- extract the results from result table (like this: select * from iris_A) (this is at the end of the file)
(in fact, if Martijn or other expert experienced with the lasted way of switching the schemas/databases can give me hints how to rewrite the parametized version of IRIS (it would be great) (code is here)
(Also of note, IRIS can work with both versions of CDM: v4 and v5)