Count average length of observation period in months.
SELECT
FLOOR(AVG((observation_period_end_date - observation_period_start_date)/30)) AS num_months
FROM @cdm.observation_period;
None
| Field | Description | | --- | --- | | num_months | Average length of observation, in month |
| Field | Value | | --- | --- | | num_months | 30 |
https://github.com/OHDSI/CommonDataModel/wiki/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.