Table 1.
Figure 1 reference* | Table name | Function | Examples |
---|---|---|---|
A | NLP_Allergy_Substitutions | Remove descriptors or replace text, subject to exclusions | ▸ Remove ‘possibly allergic to’, ‘intolerant of’ (no exclusions) ▸ Remove ‘oral’ (exclude if ‘Chloral Hydrate’ or ‘Oral Contraceptive’) |
B | NLP_Like_Substitutions | Replaced entry with RxNorm term if the substring(s) are contained in the entry | ▸ If ‘ASA ’ is contained in the entry, replace with aspirin ▸ If ‘x-ray’ and ‘contrast’ are contained in the entry, replace with ‘Radiographic Contrast Agent’ |
C | Non_Drugs | Maps foods, environmental sensitivities, and insect bites and stings | ▸ Peanuts mapped to the RxNorm term ‘Food Allergy’ ▸ ‘Cat’ mapped to the RxNorm term ‘Environmental Hypersensitivity’ ▸ ‘Yellow Jackets’ mapped to the RxNorm term ‘Insect Bites and Stings’ |
D | Mappings | Replace misspelled allergies and non-standard entries | ▸ ‘AMOLODIPINE’ replaced with ‘Amlodipine’ ▸ ‘c-sporins’ replaced with ‘Cephalosporins’ |
E | NKDA_Abbreviations | Abbreviations and misspellings for ‘no known drug allergies’ mapped | ▸ NKA mapped to NKDA ▸ KNDA mapped to NKDA |
F | Substring_Exclusions | Prevent matching RXNCONSO STR terms as a substring of the allergy (starting with the first character) if the STR term is in the exclusion list | ▸ ‘Morphine makes me sick’ matches to ‘Morphine’ (‘morphine’ is not in the exclusion list) ▸ ‘Influenza Vaccine’ is prevented from matching to the RxNorm disease term ‘Influenza’ because ‘Influenza’ is in the list of excluded matches |
G | Hyphenation_Exclusions | Prevent deletion of text to the right of a hyphen if there is a drug in RxNorm with 3 characters of matching text around the hyphen | ▸ ‘Codeine-rash’ is replaced by ‘Codeine’ (ine-ras is not in the exclusion table) ▸ ‘Darvocet-N 100’ is not replaced (‘cet-N 1’ is in the exclusion table) |
*The letters corresponding to each row are identified in the algorithm flow chart in figure 1.