getRelatedByType
1 credit per call
Get related RxNorm concepts filtered by specific term types for one or more RxCUIs. More targeted than getAllRelatedConcepts — use this when you only need specific types (e.g., branded_drug, clinical_drug, ingredient).
Try it
kirha tools run rxnorm_getRelatedByType \
--input '{
"rxcuis": [
"<rxcuis>"
],
"tty": [
"ingredient"
]
}'Uses the key saved by kirha auth login.
rxcuisstring[], required, 1 to 5 itemsFrom findDrugByName or getDrugProducts
ttystring[], required, At least 1 itemOne of ingredient, multi_ingredient, precise_ingredient, brand_name, clinical_drug, branded_drug, clinical_dose_form, branded_dose_form, clinical_drug_component, branded_drug_component, clinical_drug_group, branded_drug_group, clinical_dose_form_precise, branded_dose_form_precise, clinical_drug_group_precise, dose_form, dose_form_group, generic_pack, branded_pack