class myDrug:
    def __init__(self, name, type, url):
        self.name = name
        self.type = type
        self.url = url

drug01 = myDrug('metformin', 'diabetes', 'https://nzf.org.nz/nzf_3715')
drug02 = myDrug('gliclazide', 'diabetes', 'https://nzf.org.nz/nzf_3703')
drug03 = myDrug('glipizide', 'diabetes', 'https://nzf.org.nz/nzf_3708')
drug04 = myDrug('vildagliptin', 'diabetes', 'https://nzf.org.nz/nzf_3746')
drug05 = myDrug('cetirizine', 'antihistamine', 'https://nzf.org.nz/nzf_1840')
drug06 = myDrug('paracetamol', 'analgesic','https://nzf.org.nz/nzf_2439')
drug07 = myDrug('celecoxib', 'analgesic', 'https://nzf.org.nz/nzf_5498')
drug08 = myDrug('diclofenac', 'anti-inflamamtory', 'https://nzf.org.nz/nzf_5506')
drug09 = myDrug('ibuprofen','anti-inflammatory', 'https://nzf.org.nz/nzf_5524')
drug10 = myDrug('meloxicam', 'anti-inflammatory','https://nzf.org.nz/nzf_5476')
drug11 = myDrug('naproxen', 'anti-inflammatory', 'https://nzf.org.nz/nzf_5545')
drug12 = myDrug('tenoxicam', 'anti-inflammtory', 'https://nzf.org.nz/nzf_5555')
drug13 = myDrug('aspirin', 'analgesic', 'https://nzf.org.nz/nzf_1529')
drug14 = myDrug('nefopam', 'analgesic', 'https://nzf.org.nz/nzf_2446')
drug15 = myDrug('methadone', 'analgesic','https://nzf.org.nz/nzf_2870')
drug16 = myDrug('fentanyl', 'analgesic', 'https://nzf.org.nz/nzf_2495')
drug17 = myDrug('morphine', 'analgesic', 'https://nzf.org.nz/nzf_2515')
drug18 = myDrug('oxycodone', 'analgesic', 'https://nzf.org.nz/nzf_2526')
drug19 = myDrug('tramadol', 'analgesic', 'https://nzf.org.nz/nzf_2544')
drug20 = myDrug('pethidine', 'analgesic', 'https://nzf.org.nz/nzf_2538')
drug21 = myDrug('dihydrocodeine', 'analgesic', 'https://nzf.org.nz/nzf_2489')
drug22 = myDrug('buprenorphine', 'analgesic', 'https://nzf.org.nz/nzf_2472')





drugs_list = [drug01,drug02,drug03,drug04,drug05,drug06,drug07,drug08,drug09,drug10,drug11,drug12,drug13,drug14,drug15,drug16,\
    drug17,drug18,drug19]