This query is used to count stop reasons (stop_reason) across all condition occurrence records.
SELECT
COUNT(stop_reason) AS stop_reason_count,
stop_reason
FROM @cdm.condition_occurrence
GROUP BY stop_reason;
None
| Field | Description | | --- | --- | | stop_reason_count | The number of the condition occurrences with a specific stop reason. | | stop_reason | Reason for condition stop |
| Field | Description | | --- | --- | | stop_reason_count | 20100 | | stop_reason | resolved |
https://github.com/OHDSI/CommonDataModel/wiki/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.