This query is used to count the number of condition occurrence records (condition_occurrence_id) for all persons. The input to the query is a condition concept identifier.
SELECT
COUNT(*)::integer AS number_condition_occurrences
FROM @cdm.condition_occurrence
WHERE condition_concept_id = $1;
| Parameter | Example | Mandatory | Notes| | --- | --- | --- | --- | | condition_concept_id | 31967 | Yes | Condition concept identifier for 'Nausea' |
| Field | Description | | --- | --- | | number_of_condition_occurrences | The number of the condition occurrences for all persons |
| Field | Description | | --- | --- | | number_of_condition_occurrences | 142100 |
https://github.com/OHDSI/CommonDataModel/wiki/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.