Description Usage Arguments Value Examples
Search for the official name and code of BNF sections, chemicals and presentations.
1 2 |
name |
Drug name. |
chemical_section_or_presentation_code |
An ID unique to BNF sections, chemicals or presentations. |
BNF_section |
The BNF section. |
exact_name_or_code |
Search by an exact name/code(ID). |
Returns official names and codes(ID) of BNF sections, chemicals and presentations.
1 2 3 4 5 6 7 | All BNF sections, chemicals and presentations matching a name (case-insensitive) = drug_details(name= "lipid")
All chemicals and presentations matching a code = drug_details(chemical_section_or_presentation_code= "0212000AA")
All BNF sections matching a code = drug_details(BNF_section= "2.4")
All BNF sections, chemicals and presentations exactly matching a name or code = drug_details(exact_name_or_code= "212000AA")
Or a variation of the above (with at least 1 name, chemical_section_or_presentation_code, BNF_section, or exact_name_or_code).
N.B For now the use of multiple terms in one category requires "&q=", e.g drug_details(name="lipid&q=drug")
Read the [wiki](https://github.com/fergustaylor/openprescribingR/wiki) for more help.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.