This query is used to count the condition occurrence records stratified by observation month.
SELECT
date_part('month',condition_start_date) month_number,
COUNT(*)::integer AS number_of_conditions_in_month
FROM @cdm.condition_occurrence
GROUP BY date_part('month',condition_start_date)
ORDER BY 1;
None
| Field | Description | | --- | --- | | Month_number | Month number | | Number_of_conditions_in_month | The number of the condition occurrences is a specified month. |
| Field | Description | | --- | --- | | Month_number | 3 | | Number_of_conditions_in_month | 20643257 |
https://github.com/OHDSI/CommonDataModel/wiki/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.