( from
["Medication, Order": "List of Single RxNorm Code Concepts for High Risk Drugs for the Elderly"] MedicationOrder1,
["Medication, Order": "List of Single RxNorm Code Concepts for High Risk Drugs for the Elderly"] MedicationOrder2
where MedicationOrder1.authorDatetime during "Measurement Period"
and MedicationOrder2.authorDatetime during "Measurement Period"
and MedicationOrder1.authorDatetime 1 day or more after MedicationOrder2.authorDatetime
and MedicationOrder1.code ~ MedicationOrder2.code
return MedicationOrder1
)
//Acetaminophen / Butalbital
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Butalbital"])
//Acetaminophen / Butalbital / Caffeine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Butalbital / Caffeine"])
//Acetaminophen / Butalbital / Caffeine / Codeine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Butalbital / Caffeine / Codeine"])
//Acetaminophen / Chlorpheniramine / Dextromethorphan
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Chlorpheniramine / Dextromethorphan"])
//Acetaminophen / Chlorpheniramine / Dextromethorphan / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Chlorpheniramine / Dextromethorphan / Phenylephrine"])
//Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine"])
//Acetaminophen / Chlorpheniramine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Chlorpheniramine / Phenylephrine"])
//Acetaminophen / Chlorpheniramine / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Chlorpheniramine / Pseudoephedrine"])
//Acetaminophen / Dexbrompheniramine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Dexbrompheniramine"])
//Acetaminophen / Dextromethorphan / Diphenhydramine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Dextromethorphan / Diphenhydramine / Phenylephrine"])
//Acetaminophen / Dextromethorphan / Doxylamine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Dextromethorphan / Doxylamine"])
//Acetaminophen / Dextromethorphan / Doxylamine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Dextromethorphan / Doxylamine / Phenylephrine"])
//Acetaminophen / Diphenhydramine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Diphenhydramine"])
//Acetaminophen / Diphenhydramine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Diphenhydramine / Phenylephrine"])
//Acetaminophen / Diphenhydramine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Acetaminophen / Diphenhydramine / Phenylephrine"])
//Amitriptyline / Chlordiazepoxide
union "More than 1 Of"(["Medication, Order": "Amitriptyline / Chlordiazepoxide"])
//Amitriptyline / Perphenazine
union "More than 1 Of"(["Medication, Order": "Amitriptyline / Perphenazine"])
//Amitriptyline Hydrochloride
union "More than 1 Of"(["Medication, Order": "Amitriptyline Hydrochloride"])
//Aspirin / Butalbital / Caffeine
union "More than 1 Of"(["Medication, Order": "Aspirin / Butalbital / Caffeine"])
//Amoxapine
union "More than 1 Of"(["Medication, Order": "Amoxapine"])
//Aspirin / Caffeine / Orphenadrine
union "More than 1 Of"(["Medication, Order": "Aspirin / Caffeine / Orphenadrine"])
//Atropine / Hyoscyamine / Phenobarbital / Scopolamine
union "More than 1 Of"(["Medication, Order": "Atropine / Hyoscyamine / Phenobarbital / Scopolamine"])
//Atropine / Diphenoxylate
union "More than 1 Of"(["Medication, Order": "Atropine / Diphenoxylate"])
//Benztropine
union "More than 1 Of"(["Medication, Order": "Benztropine"])
//Brompheniramine
union "More than 1 Of"(["Medication, Order": "Brompheniramine"])
//Brompheniramine / Codeine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Brompheniramine / Codeine / Phenylephrine"])
//Brompheniramine / Codeine / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Brompheniramine / Codeine / Pseudoephedrine"])
//Brompheniramine / Dextromethorphan / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Brompheniramine / Dextromethorphan / Phenylephrine"])
//Brompheniramine / Dextromethorphan / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Brompheniramine / Dextromethorphan / Pseudoephedrine"])
//Brompheniramine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Brompheniramine / Phenylephrine"])
//Brompheniramine / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Brompheniramine / Pseudoephedrine"])
//Butabarbital
union "More than 1 Of"(["Medication, Order": "Butabarbital"])
//Carbinoxamine
union "More than 1 Of"(["Medication, Order": "Carbinoxamine"])
//Carisoprodol
union "More than 1 Of"(["Medication, Order": "Carisoprodol"])
//Chlophedianol / Chlorpheniramine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Chlophedianol / Chlorpheniramine / Phenylephrine"])
//Chlophedianol / Dexchlorpheniramine / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Chlophedianol / Dexchlorpheniramine / Pseudoephedrine"])
//Chlorpheniramine
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine"])
//Chlorpheniramine / Codeine
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine / Codeine"])
//Chlorpheniramine / Dextromethorphan / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine / Dextromethorphan / Phenylephrine"])
//Chlorpheniramine / Dextromethorphan / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine / Dextromethorphan / Pseudoephedrine"])
//Chlorpheniramine / Hydrocodone
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine / Hydrocodone"])
//Chlorpheniramine / Hydrocodone / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine / Hydrocodone / Pseudoephedrine"])
//Chlorpheniramine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine / Phenylephrine"])
//Chlorpheniramine / Phenylephrine / Phenyltoloxamine
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine / Phenylephrine / Phenyltoloxamine"])
//Chlorpheniramine / Phenylephrine / Pyrilamine
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine / Phenylephrine / Pyrilamine"])
//Chlorpheniramine / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Chlorpheniramine / Pseudoephedrine"])
//Chlorpropamide
union "More than 1 Of"(["Medication, Order": "Chlorpropamide"])
//Chlorzoxazone
union "More than 1 Of"(["Medication, Order": "Chlorzoxazone"])
//Clemastine
union "More than 1 Of"(["Medication, Order": "Clemastine"])
//Clomipramine
union "More than 1 Of"(["Medication, Order": "Clomipramine"])
//Conjugated Estrogens
union "More than 1 Of"(["Medication, Order": "Conjugated Estrogens"])
//Conjugated Estrogens / Medroxyprogesterone
union "More than 1 Of"(["Medication, Order": "Conjugated Estrogens / Medroxyprogesterone"])
//Cyclobenzaprine Hydrochloride
union "More than 1 Of"(["Medication, Order": "Cyclobenzaprine Hydrochloride"])
//Cyproheptadine
union "More than 1 Of"(["Medication, Order": "Cyproheptadine"])
//Desiccated Thyroid
union "More than 1 Of"(["Medication, Order": "Desiccated Thyroid"])
//Desipramine
union "More than 1 Of"(["Medication, Order": "Desipramine"])
//Dexbrompheniramine
union "More than 1 Of"(["Medication, Order": "Dexbrompheniramine"])
//Dexbrompheniramine / Dextromethorphan / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Dexbrompheniramine / Dextromethorphan / Phenylephrine"])
//Dexbrompheniramine / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Dexbrompheniramine / Pseudoephedrine"])
//Dexbrompheniramine Maleate / Pseudoephedrine Hydrochloride
union "More than 1 Of"(["Medication, Order": "Dexbrompheniramine Maleate / Pseudoephedrine Hydrochloride"])
//Dexchlorpheniramine / Dextromethorphan / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Dexchlorpheniramine / Dextromethorphan / Pseudoephedrine"])
//Dexchlorpheniramine / Pseudoephedrine
union "More than 1 Of"(["Medication, Order": "Dexchlorpheniramine / Pseudoephedrine"])
//Dextromethorphan / Diphenhydramine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Dextromethorphan / Diphenhydramine / Phenylephrine"])
//Dextromethorphan / Doxylamine
union "More than 1 Of"(["Medication, Order": "Dextromethorphan / Doxylamine"])
//Dicyclomine
union "More than 1 Of"(["Medication, Order": "Dicyclomine"])
//Dienogest / Estradiol Multiphasic
union "More than 1 Of"(["Medication, Order": "Dienogest / Estradiol Multiphasic"])
//Dimenhydrinate
union "More than 1 Of"(["Medication, Order": "Dimenhydrinate"])
//Diphenhydramine / Ibuprofen
union "More than 1 Of"(["Medication, Order": "Diphenhydramine / Ibuprofen"])
//Diphenhydramine / Phenylephrine
union "More than 1 Of"(["Medication, Order": "Diphenhydramine / Phenylephrine"])
//Diphenhydramine Hydrochloride
union "More than 1 Of"(["Medication, Order": "Diphenhydramine Hydrochloride"])
//Dipyridamole
union "More than 1 Of"(["Medication, Order": "Dipyridamole"])
//Disopyramide
union "More than 1 Of"(["Medication, Order": "Disopyramide"])
//Drospirenone / Estradiol
union "More than 1 Of"(["Medication, Order": "Drospirenone / Estradiol"])
//Esterified Estrogens
union "More than 1 Of"(["Medication, Order": "Esterified Estrogens"])
//Esterified Estrogens / Methyltestosterone
union "More than 1 Of"(["Medication, Order": "Esterified Estrogens / Methyltestosterone"])
//Estradiol
union "More than 1 Of"(["Medication, Order": "Estradiol"])
//Estradiol / Norethindrone
union "More than 1 Of"(["Medication, Order": "Estradiol / Norethindrone"])
//Estropipate
union "More than 1 Of"(["Medication, Order": "Estropipate"])
//Glyburide
union "More than 1 Of"(["Medication, Order": "Glyburide"])
//Glyburide / Metformin
union "More than 1 Of"(["Medication, Order": "Glyburide / Metformin"])
//Guanfacine
union "More than 1 Of"(["Medication, Order": "Guanfacine"])
//Hydrochlorothiazide / Methyldopa
union "More than 1 Of"(["Medication, Order": "Hydrochlorothiazide / Methyldopa"])
//Hydroxyzine
union "More than 1 Of"(["Medication, Order": "Hydroxyzine"])
//Hyoscyamine
union "More than 1 Of"(["Medication, Order": "Hyoscyamine"])
//Hyoscyamine / Methenamine / Mblue / Phenyl Salicyl
union "More than 1 Of"(["Medication, Order": "Hyoscyamine / Methenamine / Mblue / Phenyl Salicyl"])
//Hyoscyamine / Methenamine / Mblue / Phenyl Salicyl / Sodium Biphosphate
union "More than 1 Of"(["Medication, Order": "Hyoscyamine / Methenamine / Mblue / Phenyl Salicyl / Sodium Biphosphate"])
//Hyoscyamine / Methenamine / Mblue / Sodium Biphosphate
union "More than 1 Of"(["Medication, Order": "Hyoscyamine / Methenamine / Mblue / Sodium Biphosphate"])
//Imipramine
union "More than 1 Of"(["Medication, Order": "Imipramine"])
//Indomethacin
union "More than 1 Of"(["Medication, Order": "Indomethacin"])
//Isoxsuprine
union "More than 1 Of"(["Medication, Order": "Isoxsuprine"])
//Ketorolac Tromethamine
union "More than 1 Of"(["Medication, Order": "Ketorolac Tromethamine"])
//Meclizine
union "More than 1 Of"(["Medication, Order": "Meclizine"])
//Megestrol
union "More than 1 Of"(["Medication, Order": "Megestrol"])
//Meperidine
union "More than 1 Of"(["Medication, Order": "Meperidine"])
//Meprobamate
union "More than 1 Of"(["Medication, Order": "Meprobamate"])
//Metaxalone
union "More than 1 Of"(["Medication, Order": "Metaxalone"])
//Methocarbamol
union "More than 1 Of"(["Medication, Order": "Methocarbamol"])
//Methyldopa
union "More than 1 Of"(["Medication, Order": "Methyldopa"])
//Nifedipine
union "More than 1 Of"(["Medication, Order": "Nifedipine"])
//Nortriptyline
union "More than 1 Of"(["Medication, Order": "Nortriptyline"])
//Paroxetine
union "More than 1 Of"(["Medication, Order": "Paroxetine"])
//Phenobarbital
union "More than 1 Of"(["Medication, Order": "Phenobarbital"])
//Promethazine Hydrochloride
union "More than 1 Of"(["Medication, Order": "Promethazine Hydrochloride"])
//Protriptyline
union "More than 1 Of"(["Medication, Order": "Protriptyline"])
//Pseudoephedrine / Triprolidine
union "More than 1 Of"(["Medication, Order": "Pseudoephedrine / Triprolidine"])
//Trihexyphenidyl
union "More than 1 Of"(["Medication, Order": "Trihexyphenidyl"])
//Trimipramine
union "More than 1 Of"(["Medication, Order": "Trimipramine"])
//Triprolidine
union "More than 1 Of"(["Medication, Order": "Triprolidine"])