This query is used to count the day of birth across all person records. All possible combinations for month and day of birth are summarized. Not all databases maintain day of birth. This query is only available from CDM V4 and above.
SELECT
month_of_birth,
day_of_birth,
count(*)::integer AS num_persons
FROM @cdm.person
GROUP BY month_of_birth, day_of_birth
ORDER BY month_of_birth, day_of_birth
;
None
| Field | Description | | --- | --- | | month_of_birth | Month of the year | | day_of_birth | Day of the month | | num_persons | Number of records |
| Field | Value | | --- | --- | | month_of_birth | 5 | | day_of_birth | 23 | | num_persons | 2921 |
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.