This query lists all available genders (male, female, unknown, ambiguous, other) across all person records.
SELECT
person.gender_concept_id,
concept.concept_name AS gender_name,
COUNT(person.person_id)::integer AS num_persons
FROM @cdm.person
JOIN @vocab.concept ON person.gender_concept_id = concept.concept_id
GROUP BY person.gender_concept_id, concept.concept_name
;
None
| Field | Description | | --- | --- | | gender_concept_id | Gender concept ID as defined in CDM vocabulary | | gender_name | Gender name as defined in CDM vocabulary | | num_persons | Count of patients with specific gender ID |
| Field | Value | | --- | --- | | gender_concept_id | 8507 | | gender_name | Male | | num_persons | 1607473 |
https://github.com/OHDSI/CommonDataModel/wiki/PERSON
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.