RxClass API
getClassMembers
- Information returned
- Drug members of a specified class
- Service domain
- https://rxnav.nlm.nih.gov
- HTTP request
- GETÂ /REST/rxclass/classMembers.xml?classId=value&relaSource=value&rela=value&trans=value&ttys=values
Description
Get the drug members of a class specified by relaSource, classId, and rela. The output can be limited to drugs of certain term types (ttys parameter).
A table of relaSource/rela combinations can be found in the RxClass Overview.
RxClass does not name the relationship between drugs and ATC classes; therefore the rela can be omitted. When it is specified, it filters the results.
The output includes the RXCUI, RxNorm name, term type (TTY), and class-membership attributes of each member. The attributes are:
- SourceId
- Identifier, from the relationship source, that corresponds to the RXCUI
- SourceName
- Concept name from the relationship source
- SourceUrl
- Concept information from the relationship source (not available for all sources)
- Relation
- Either DIRECT or INDIRECT. DIRECT indicates an immediate member of the class. INDIRECT indicates a member of a subclass. INDIRECT members are included unless trans is 1.
Some RXCUIs are class members by virtue of more than one concept from the relationship source. In such a case, the output may either list the RXCUI once per source concept (Example: relaSource=SNOMEDCT, rela=isa_disposition: Multiple SNOMED CT IDs per RXCUI) or list the RXCUI once and include all membership attributes in a single block (Example: Multiple VA IDs per RXCUI).
Parameters
Parameter | Location | Use | Description | Default |
---|---|---|---|---|
format | Path | Optional | Notation for results One of:
| .xml |
classId | Query | Required | Class identifier | |
relaSource | Query | Required | Source asserting relationships between drug members and the class (See getSourcesOfDrugClassRelations for the menu.) | |
rela | Query | Optional | Relationship of the drug class to its members (See getRelas for the menu.) | |
trans | Query | Optional | Extent of results One of:
| 0 |
ttys | Query | Optional | Term type(s) to retrieve (Space-separated list. See getTermTypes for the menu.) | ALL |
All query parameters are case-insensitive.
Note that HTTP requires that query parameters be "URL encoded". For instance, a "space-separated list" will, in practice, usually appear to use either a plus sign (+) or %20 as the separator. For full information on URL encoding, please refer to IETF RFC 3986, "Uniform Resource Identifier".
Output structure
Results are available as either XML or JSON.
The XML result has the root element rxclassdata. It is described in the XML Schema for the RxClass API; the relevant element structure is summarized below. Elements that would be empty might be left out.
The JSON result is an object {...}, analogous to the content of the XML rxclassdata. Fields that might occur multiple times in the XML are expressed as an array. Fields that would be empty might be null or left out. Numbers are expressed as strings.
Both XML and JSON results follow the same outline:
- rxclassdata
- Root element in XML, or anonymous object in JSON
- drugMemberGroup
- drugMember (array)
- minConcept
- Drug that is a class member
- rxcui
- RxNorm identifier
- name
- Drug name
- tty
- Drug term type
- nodeAttr (array)
- Fact about the drug's membership in the class
- attrName
- Attribute name (SourceId, SourceName, Relation, SourceUrl)
- attrValue
- Attribute value
Example: relaSource=DAILYMED, rela=has_PE: Drugs associated by DailyMed with the class Decreased GnRH Secretion (NUI=N0000008638)
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>2049846</rxcui> <name>elagolix</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>5B2546MB5Z</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>ELAGOLIX</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>2472778</rxcui> <name>relugolix</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>P76B05O5V6</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>RELUGOLIX</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=ATC: Sodium (A12CA)
XML: https://rxnav.nlm.nih.gov/REST/rxclass/classMembers?classId=A12CA&relaSource=ATC
JSON: https://rxnav.nlm.nih.gov/REST/rxclass/classMembers.json?classId=A12CA&relaSource=ATC
In this example, the members of the ATC class Sodium (id=A12CA) are returned.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>36721</rxcui> <name>sodium sulfate</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>A12CA02</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>sodium sulfate</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>9863</rxcui> <name>sodium chloride</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>A12CA01</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>sodium chloride</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> </drugMemberGroup> </rxclassdata>
Example: relaSource=ATCPROD: Beta blocking agents (S01ED)
XML: https://rxnav.nlm.nih.gov/REST/rxclass/classMembers?classId=S01ED&relaSource=ATCPROD
JSON: https://rxnav.nlm.nih.gov/REST/rxclass/classMembers.json?classId=S01ED&relaSource=ATCPROD
In this example, ophthalmic solution products in ATC class Beta blocking agents (S01ED) are returned.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>1150832</rxcui> <name>levobunolol hydrochloride 2.5 MG/ML Ophthalmic Solution</name> <tty>SCD</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>1150832</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>levobunolol hydrochloride 2.5 MG/ML Ophthalmic Solution</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>1150834</rxcui> <name>levobunolol hydrochloride 2.5 MG/ML Ophthalmic Solution [Betagan]</name> <tty>SBD</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>1150834</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>levobunolol hydrochloride 2.5 MG/ML Ophthalmic Solution [Betagan]</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=DAILYMED, rela=has_EPC: CD20-directed Cytolytic Antibody (N0000175657)
This example retrieves the RxNorm drugs for the EPC CD20-directed Cytolytic Antibody (id=N0000175657).
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>121191</rxcui> <name>rituximab</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>4F4X42SYQ6</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>RITUXIMAB</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>1876366</rxcui> <name>ocrelizumab</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>A10SJL62JY</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>OCRELIZUMAB</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=DAILYMED, rela=has_chemical_structure: Cannabinoids (D002186)
In this example, the RxNorm drugs that related by "has_Chemical_Structure" to the chemical class Cannabinoids (id=D002186) are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>10402</rxcui> <name>dronabinol</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>7J8897W37S</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>DRONABINOL</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>2045371</rxcui> <name>cannabidiol</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>19GBJ60SN5</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>CANNABIDIOL</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=DAILYMED, rela=has_moa: Fusion Protein Inhibitors (N0000175615)
In this example below, the RxNorm drugs that have a mechanism of action of Fusion Protein Inhibitors (NUI=N0000175615) are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>139896</rxcui> <name>enfuvirtide</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>19OWO1T3ZE</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>ENFUVIRTIDE</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>194279</rxcui> <name>palivizumab</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>DQ448MW7KS</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>PALIVIZUMAB</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=DAILYMED, rela=has_pe: RxNorm drugs that have a Arteriolar Vasodilation physiologic effect
In this example, the RxNorm drugs that have an Arteriolar Vasodilation (NUI:N0000175379) physiologic effect are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>5470</rxcui> <name>hydralazine</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>26NAK24LS8</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>HYDRALAZINE</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>6984</rxcui> <name>minoxidil</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>5965120SH1</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>MINOXIDIL</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> </drugMemberGroup> </rxclassdata>
Example: relaSource=FDASPL, rela=has_EPC: Tetracycline-class Drugs (N0000175882)
This example retrieves the RxNorm drugs for the EPC Tetracycline-class Drug (id=N0000175882).
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>10395</rxcui> <name>tetracycline</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>10395</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>tetracycline</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>INDIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>1545992</rxcui> <name>doxycycline anhydrous</name> <tty>PIN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>1545992</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>doxycycline anhydrous</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=FMTSME, rela=has_tc: Antidote (N0000178294)
In this example, the RxNorm drugs that have therapeutic category Antidote (id=N0000178294) are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>15226</rxcui> <name>fomepizole</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>15226</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>fomepizole</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>197</rxcui> <name>acetylcysteine</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>197</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>acetylcysteine</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=MEDRT, rela=may_treat: Liver cirrhosis (D008103)
XML: https://rxnav.nlm.nih.gov/REST/rxclass/classMembers?classId=D008103&relaSource=MEDRT&rela=may_treat
In this example, the RxNorm drugs that may treat liver cirrhosis (id=D008103) are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>11065</rxcui> <name>ursodiol</name> <tty>PIN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>11065</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>ursodiol</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>INDIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>1652103</rxcui> <name>asunaprevir</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>1652103</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>asunaprevir</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=MEDRT, rela=has_ingredient: Sulfhydryl Compounds (D013438)
In this example below, the RxNorm drugs that are members of the ingredient class Sulfhydryl Compounds (id=D013438) are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>103</rxcui> <name>mercaptopurine</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>103</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>mercaptopurine</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>INDIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>10991</rxcui> <name>unithiol</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>10991</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>unithiol</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>INDIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=MEDRT, rela=has_moa: Sodium Potassium Chloride Symporter Inhibitors (N0000181006)
In this example, the RxNorm drugs that are Sodium Potassium Chloride Symporter Inhibitors (NUI=N0000181006) are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>1808</rxcui> <name>bumetanide</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>1808</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>bumetanide</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>38413</rxcui> <name>torsemide</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>38413</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>torsemide</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=MEDRT, rela=has_PK: Pulmonary Metabolism (N0000000027)
XML: https://rxnav.nlm.nih.gov/REST/rxclass/classMembers?classId=N0000000027&relaSource=MEDRT&rela=has_PK
In this example, the RxNorm drugs that have Pulmonary Metabolism (NUI=N0000000027) pharmacokinetics are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>203212</rxcui> <name>ipratropium bromide</name> <tty>PIN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>203212</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>ipratropium bromide</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> </drugMemberGroup> </rxclassdata>
Example: relaSource=MEDRT, rela=has_PE: Decreased Dopamine Activity (N0000008588)
XML: https://rxnav.nlm.nih.gov/REST/rxclass/classMembers?classId=N0000008588&relaSource=MEDRT&rela=has_PE
In this example, the RxNorm drugs that have a Decreased Dopamine Activity (NUI:N0000008588) physiologic effect are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>10390</rxcui> <name>tetrabenazine</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>10390</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>tetrabenazine</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>10471</rxcui> <name>thiethylperazine</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>10471</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>thiethylperazine</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>INDIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=RXNORM, rela=has_schedule: Schedule III drugs
In this example, the RxNorm branded and generic packs that are considered Schedule III drugs are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>2119388</rxcui> <name>{3 (0.2 ML) (esketamine 140 MG/ML Nasal Spray) } Pack</name> <tty>GPCK</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue/> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue/> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>2119389</rxcui> <name>{3 (0.2 ML) (esketamine 140 MG/ML Nasal Spray [Spravato]) } Pack [Spravato 84 MG Dose Kit]</name> <tty>BPCK</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue/> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue/> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=SNOMEDCT, rela=isa_disposition: Surfactant-containing product (764306007)
In this example, the RxNorm drugs in SNOMED CT class Surfactant-containing product (SNOMED id: 764306007) are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>107784</rxcui> <name>colfosceril</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>770887003</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>Colfosceril-containing product</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceUrl</attrName> <attrValue>http://snomed.info/id/770887003</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>1293254</rxcui> <name>lucinactant</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>418250008</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>Lucinactant-containing product</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceUrl</attrName> <attrValue>http://snomed.info/id/418250008</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=SNOMEDCT, rela=isa_disposition: Multiple SNOMED CT IDs per RXCUI
In this example, multiple SNOMED CT SourceIds are associated with an RXCUI. The result contains a drugMember element for each distinct SourceID association.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> ... <drugMember> <minConcept> <rxcui>10580</rxcui> <name>thyrotropin-releasing hormone</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>412496008</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>Protirelin-containing product</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceUrl</attrName> <attrValue>http://snomed.info/id/412496008</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>10580</rxcui> <name>thyrotropin-releasing hormone</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>73805002</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>Thyrotropin releasing factor-containing product</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceUrl</attrName> <attrValue>http://snomed.info/id/73805002</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=SNOMEDCT, rela=isa_structure: Opium alkaloid-containing product (350304007)
In this example, the RxNorm drugs in SNOMED CT class Opium alkaloid-containing product (SNOMEDid:350304007) are retrieved
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>7894</rxcui> <name>papaveretum</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>354056002</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>Papaveretum-containing product</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceUrl</attrName> <attrValue>http://snomed.info/id/354056002</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>7895</rxcui> <name>papaverine</name> <tty>IN</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>58467001</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>Papaverine-containing product</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceUrl</attrName> <attrValue>http://snomed.info/id/58467001</attrValue> </nodeAttr> </drugMember> </drugMemberGroup> </rxclassdata>
Example: relaSource=SNOMEDCT, rela=isa_therapeutic: Anticonvulsant agent (63094006)
In this example, a clinical dose form (TTY=SCDF) is among the results.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> ... <drugMember> <minConcept> <rxcui>2058899</rxcui> <name>cannabidiol Oral Solution</name> <tty>SCDF</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>771982003</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>Cannabidiol-containing product in oral dose form</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceUrl</attrName> <attrValue>http://snomed.info/id/771982003</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=VA, rela=has_VAClass: Intrapleural Sclerosing Agents (IP100)
XML: https://rxnav.nlm.nih.gov/REST/rxclass/classMembers?classId=IP100&relaSource=VA&rela=has_VAClass
In this example, the RxNorm drug products that are members of the VA class INTRAPLEURAL SCLEROSING AGENTS (VA ID:IP100) are retrieved.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>2003393</rxcui> <name>talc 2000 MG Topical Powder</name> <tty>SCD</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>4037410</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>TALC,STERILE 2GM/VIL</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>2003400</rxcui> <name>talc 3000 MG Topical Powder</name> <tty>SCD</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>4037411</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>TALC,STERILE 3GM/VIL</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: relaSource=VA, rela=has_VAClass_extended: Penicillamine (extended from MS140)
RxNorm drug products which are members of the VA class Penicillamine are:
Penicillamine 125 MG Oral Capsule (RxCUI:198069)
Penicillamine 250 MG Oral Capsule (RxCUI:198070)
Penicillamine 250 MG Oral Tablet (RxCUI:198071)
Using the "has_VAClass_extended" relation will identify RxNorm drug products which are not in the VA data above, but which are related to the products. Examples could be branded drug products or drug products containing the same ingredient(s).
This example retrieves members of the extended class.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> <drugMember> <minConcept> <rxcui>141994</rxcui> <name>penicillamine 50 MG Oral Tablet</name> <tty>SCD</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue/> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue/> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> <drugMember> <minConcept> <rxcui>198069</rxcui> <name>penicillamine 125 MG Oral Capsule</name> <tty>SCD</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue/> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue/> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>DIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>
Example: Multiple VA IDs per RXCUI
XML: https://rxnav.nlm.nih.gov/REST/rxclass/classMembers?relaSource=VA&classId=BL000&rela=has_VAClass
In this example, multiple VA SourceIds are associated with an RXCUI. The result's drugMember element for the RXCUI contains a SourceId, SourceName, and Relation for each of the SourceIds in turn.
An XML result is shown below.
<rxclassdata> <drugMemberGroup> ... <drugMember> <minConcept> <rxcui>1037045</rxcui> <name>dabigatran etexilate 150 MG Oral Capsule</name> <tty>SCD</tty> </minConcept> <nodeAttr> <attrName>SourceId</attrName> <attrValue>4030252</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>DABIGATRAN ETEXILATE 150MG CAP,ORAL</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>INDIRECT</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceId</attrName> <attrValue>4030253</attrValue> </nodeAttr> <nodeAttr> <attrName>SourceName</attrName> <attrValue>DABIGATRAN ETEXILATE 150MG CAP,ORAL,UD</attrValue> </nodeAttr> <nodeAttr> <attrName>Relation</attrName> <attrValue>INDIRECT</attrValue> </nodeAttr> </drugMember> ... </drugMemberGroup> </rxclassdata>