This query is used to count number of patients grouped by month of birth within all person records. All possible values for month of birth are summarized. Not all databases maintain month of birth. This query is only available from CDM V4 and above.
SELECT
month_of_birth AS month_of_year,
count(*)::integer AS num_persons
FROM @cdm.person
GROUP BY month_of_birth
ORDER BY month_of_birth
;
None
| Field | Description | | --- | --- | | month | Month year 1 through 12 | | num_persons | Number of records |
| Field | Value | | --- | --- | | month | 1 | | num_persons | 34462921 |
https://github.com/OHDSI/CommonDataModel/wiki/PERSON
num_persons
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.