Variable: RELA
constRELA:object
The drug-graph RELA relationship names, grounded on the NLM RxNorm Technical Documentation
(Appendix 1). Each is directional and read subject ⟶RELA⟶ object after normalization (see the
module doc). RxNorm ships both members of an inverse pair as separate rows, so the graph
traverses the authored predicate for the direction it wants - it never synthesizes an inverse.
Type Declaration
CONSISTS_OF
readonlyCONSISTS_OF:"consists_of"="consists_of"
consists_of - subject (an SCD/SBD) consists of object (its SCDC/SBDC component(s)).
CONSTITUTES
readonlyCONSTITUTES:"constitutes"="constitutes"
constitutes - subject (a component) constitutes object (the drug). Inverse of consists_of.
CONTAINED_IN
readonlyCONTAINED_IN:"contained_in"="contained_in"
contained_in - subject (a drug) is contained in object (a pack). Inverse of contains.
CONTAINS
readonlyCONTAINS:"contains"="contains"
contains - subject (a pack) contains object (a member drug).
DOSE_FORM_GROUP_OF
readonlyDOSE_FORM_GROUP_OF:"doseformgroup_of"="doseformgroup_of"
doseformgroup_of - inverse of has_doseformgroup.
DOSE_FORM_OF
readonlyDOSE_FORM_OF:"dose_form_of"="dose_form_of"
dose_form_of - subject (a DF) is the dose form of object (a drug).
HAS_DOSE_FORM
readonlyHAS_DOSE_FORM:"has_dose_form"="has_dose_form"
has_dose_form - subject (a drug) has dose form object (a DF).
HAS_DOSE_FORM_GROUP
readonlyHAS_DOSE_FORM_GROUP:"has_doseformgroup"="has_doseformgroup"
has_doseformgroup - subject has dose-form group object (a DFG).
HAS_INGREDIENT
readonlyHAS_INGREDIENT:"has_ingredient"="has_ingredient"
has_ingredient: subject has ingredient object. Authored from the clinical side
(SCDC/SCDF/SCDG) to an IN and from the branded side (SBD/SBDC/SBDF/SBDG) to a
BN; RxNorm authors no SCD ⟶ IN row.
HAS_PRECISE_INGREDIENT
readonlyHAS_PRECISE_INGREDIENT:"has_precise_ingredient"="has_precise_ingredient"
has_precise_ingredient - subject has precise ingredient object (a PIN).
HAS_QUANTIFIED_FORM
readonlyHAS_QUANTIFIED_FORM:"has_quantified_form"="has_quantified_form"
has_quantified_form - subject has quantified form object.
HAS_TRADENAME
readonlyHAS_TRADENAME:"has_tradename"="has_tradename"
has_tradename - subject (a generic concept) has tradename object (a branded concept).
INGREDIENT_OF
readonlyINGREDIENT_OF:"ingredient_of"="ingredient_of"
ingredient_of: subject is an ingredient of object. The authored inverse, so an IN reaches
clinical components and dose forms and a BN reaches branded concepts (the SBD included).
Neither reaches an SCD.
INVERSE_ISA
readonlyINVERSE_ISA:"inverse_isa"="inverse_isa"
inverse_isa - subject is a parent of object. Inverse of isa.
ISA
readonlyISA:"isa"="isa"
isa - subject is a object (hierarchical, e.g. SCD isa SCDG).
PRECISE_INGREDIENT_OF
readonlyPRECISE_INGREDIENT_OF:"precise_ingredient_of"="precise_ingredient_of"
precise_ingredient_of - inverse of has_precise_ingredient.
QUANTIFIED_FORM_OF
readonlyQUANTIFIED_FORM_OF:"quantified_form_of"="quantified_form_of"
quantified_form_of - inverse of has_quantified_form.
TRADENAME_OF
readonlyTRADENAME_OF:"tradename_of"="tradename_of"
tradename_of - subject (a branded concept) is a tradename of object (its generic).
Example
import { RELA } from "@cosyte/terminology";
RELA.HAS_INGREDIENT; // => "has_ingredient"