Hormonal Birth Control, Drug Exposure
| dc.contributor.author | Hirabayashi, Kathryn |
| dc.contributor.other | Applied Clinical Research Center, Children's Hospital of Philadelphia |
| dc.date.accessioned | 2026-11-25T18:19:25Z |
| dc.date.created | 2026-11-20 |
| dc.date.updated | 2026-11-20 |
| dc.description | The codeset was generated to identify patients with hormonal contraceptives as an exclusion criterion for a PEDSnet feasibility request on Polyendocrine Metabolic Syndrome. RxNorm SCDF and SCDG codes for levonogestrel, ethinyl estradiol, progesterone, medroxyprogesterone acetate, etonogestrel, norethindrone, drospirenone, desogestrel, norgestimate, ethynodiol, and norgestrel were identified and descendant codes were included. |
| dc.description.abstract | The codeset was generated to identify patients with hormonal contraceptives as an exclusion criterion for a cohort of female patients with Polyendocrine Metabolic Syndrome in a PEDSnet feasibility request. |
| dc.identifier.uri | https://hdl.handle.net/20.500.14642/1779 |
| dc.identifier.uri | https://doi.org/10.24373/pdsp-852 |
| dc.provenance | The codeset was generated to identify patients with hormonal contraceptives as an exclusion criterion for a PEDSnet feasibility request on Polyendocrine Metabolic Syndrome. |
| dc.rights | a CC-BY Attribution 4.0 license. |
| dc.rights.uri | https://creativecommons.org/licenses/by/4.0/ |
| dc.subject | Feasibility Query |
| dc.subject | Exclusion Criteria |
| dc.subject.mesh | Contraceptive Agents, Hormonal |
| dc.subject.mesh | Reproductive Control Agents |
| dc.subject.other | RxNorm |
| dc.subject.other | RxNorm Extension |
| dc.title | Hormonal Birth Control, Drug Exposure |
| dspace.entity.type | ConceptSet |
| local.admin.note | pedsnet_dcc_v63 |
| local.code.github | https://github.com/PEDSnet/allende_pmos_feasibility/blob/main/code/driver_codesets.R#L173-L233 |
| local.code.package | lev <- rxnorm_code_summary(drug_name_str='levonogestrel') eth <- rxnorm_code_summary(drug_name_str='ethinyl estradiol') pro <- rxnorm_code_summary(drug_name_str='progesterone') med <- rxnorm_code_summary(drug_name_str='medroxyprogesterone acetate') eto <- rxnorm_code_summary(drug_name_str='etonogestrel') nor <- rxnorm_code_summary(drug_name_str='norethindrone') dro <- rxnorm_code_summary(drug_name_str='drospirenone') des <- rxnorm_code_summary(drug_name_str='desogestrel') norgestimate <- rxnorm_code_summary(drug_name_str='norgestimate') ethy <- rxnorm_code_summary(drug_name_str='ethynodiol') norgestrel <- rxnorm_code_summary(drug_name_str='norgestrel') rx_hormonal_birth_control <- lev$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'levonogestrel') %>% full_join(eth$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'ethinyl_estradiol')) %>% full_join(pro$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'progesterone')) %>% full_join(med$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'medroxyprogesterone acetate')) %>% full_join(eto$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'etonogestrel')) %>% full_join(nor$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'norethindrone')) %>% full_join(dro$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'drospirenone')) %>% full_join(des$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'desogestrel')) %>% full_join(norgestimate$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'norgestimate')) %>% full_join(ethy$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'ethynodiol')) %>% full_join(norgestrel$drug_concepts %>% distinct(concept_id) %>% mutate(drug_type = 'norgestrel')) %>% distinct(concept_id, drug_type) %>% left_join(vocabulary_tbl('concept'), by=c('concept_id')) remove_ethinyl_estradiol_duplicates <- rx_hormonal_birth_control %>% group_by(concept_id) %>% mutate(n=n()) %>% ungroup() %>% filter(n>1L) %>% filter(drug_type == 'ethinyl_estradiol') %>% distinct(concept_id, drug_type) rx_hormonal_birth_control_dedup <- rx_hormonal_birth_control %>% anti_join(remove_ethinyl_estradiol_duplicates, by=c('concept_id','drug_type')) %>% left_join(remove_ethinyl_estradiol_duplicates %>% distinct(concept_id) %>% mutate(ethinyl_estradiol = 1L), by=c('concept_id')) %>% mutate(ethinyl_estradiol = case_when(ethinyl_estradiol==1L | drug_type=='ethinyl_estradiol' ~ 1L, TRUE ~ 0L)) %>% mutate(drug_cat = 'Hormonal_Birth_Control') write_csv(rx_hormonal_birth_control_dedup %>% select(drug_cat, drug_type, ethinyl_estradiol, concept_id, concept_name, vocabulary_id, concept_code) %>% arrange(drug_cat, drug_type, concept_name) %>% as_data_frame(), 'specs/rx_hormonal_birth_control.csv') output_tbl(rx_hormonal_birth_control_dedup, 'rx_hormonal_birth_control_dedup') rx_hormonal_birth_control_dedup_full <- get_rxnorm_descendants(codeset = results_tbl('rx_hormonal_birth_control_dedup')) write_csv(rx_hormonal_birth_control_dedup_full %>% as_data_frame(), 'specs/rx_hormonal_birth_control_full.csv') output_tbl(rx_hormonal_birth_control_dedup_full, 'rx_hormonal_birth_control_full') |
| local.subject.DataModel | PEDSnet Data Model |
| local.subject.EvalType | No Formal Review |
| local.subject.MedTermChar | Ingredient |
| local.subject.MedTermChar | Semantic Clinical Drug Form |
| local.subject.MedTermChar | Semantic Clinical Drug Group |
| local.subject.MedTermChar | Brand Pack Name |
| relation.isDocumentationOfConceptSet | 676a790b-cf6a-4a68-afc3-95f8cdfccc8c |
| relation.isDocumentationOfConceptSet.latestForDiscovery | 676a790b-cf6a-4a68-afc3-95f8cdfccc8c |
Files
Original bundle
1 - 1 of 1
