// drugs_num.sy -- FDA drug labels: generic names starting with 'NUM'
// Entries: 14 | PK values: median of all FDA label records with units
// Source: kai_consciousness DB <- FDA/DailyMed SPL (public domain)
// Generated: 2026-04-12 | Marjorie McCubbins + Aether
// Patent pending: 64/034,536

struct DrugRecord {
    brand_name: String,
    generic_name: String,
    route: String,
    dosage_form: String,
    product_type: String,
    app_number: String,
    spl_id: String,
    half_life: String,
    bioavailability: String,
    protein_binding: String,
    clearance: String,
    volume_distribution: String,
    tmax: String,
    cmax: String,
    pharmacologic_class: String,
    therapeutic_category: String,
    cyp_profile: String,
    interactions: String,
}

fn drug(bn: String, gn: String, rt: String, df: String, pt: String, an: String, si: String, hl: String, ba: String, pb: String, cl: String, vd: String, tm: String, cm: String, pc: String, tc: String, cyp: String, ia: String) -> DrugRecord {
    return DrugRecord { brand_name: bn, generic_name: gn, route: rt, dosage_form: df, product_type: pt, app_number: an, spl_id: si, half_life: hl, bioavailability: ba, protein_binding: pb, clearance: cl, volume_distribution: vd, tmax: tm, cmax: cm, pharmacologic_class: pc, therapeutic_category: tc, cyp_profile: cyp, interactions: ia }
}

fn unknown_drug() -> DrugRecord {
    return drug("", "UNKNOWN", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "")
}

fn lookup_drug_num(generic: String) -> DrugRecord {
    if generic == "(TO DELIVER) AVOBENZONE 2%, HOMOSALATE 8%, OCTISALATE 4.5%, OCTOCRYLENE 7%" { return drug("Coppertone Sport Sunscreen SPF 30", "(TO DELIVER) AVOBENZONE 2%, HOMOSALATE 8%, OCTISALATE 4.5%, OCTOCRYLENE 7%", "TOPICAL", "", "HUMAN OTC DRUG", "M020", "4746f008-cb0b-e19b-e063-6394a90aadee", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "(TO DELIVER) AVOBENZONE 2%, OCTISALATE 4.5%, OCTOCRYLENE 7%" { return drug("Coppertone Tanning Sunscreen SPF 15", "(TO DELIVER) AVOBENZONE 2%, OCTISALATE 4.5%, OCTOCRYLENE 7%", "TOPICAL", "", "HUMAN OTC DRUG", "M020", "4746d7ef-fc50-6c55-e063-6294a90a6237", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "(TO DELIVER) AVOBENZONE 3%, HOMOSALATE 10%, OCTISALATE 5%, OCTOCRYLENE 5%" { return drug("Coppertone Kids Sunscreen SPF 50", "(TO DELIVER) AVOBENZONE 3%, HOMOSALATE 10%, OCTISALATE 5%, OCTOCRYLENE 5%", "TOPICAL", "", "HUMAN OTC DRUG", "M020", "462a4e2d-94d9-1e68-e063-6394a90a1e60", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "(TO DELIVER) AVOBENZONE 3%, HOMOSALATE 10%,OCTISALATE 5%, OCTOCRYLENE 5%" { return drug("Coppertone Sport Sunscreen SPF 50", "(TO DELIVER) AVOBENZONE 3%, HOMOSALATE 10%,OCTISALATE 5%, OCTOCRYLENE 5%", "TOPICAL", "", "HUMAN OTC DRUG", "M020", "47461ad0-cc7d-e080-e063-6294a90aee7b", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "(TO DELIVER) AVOBENZONE 3%, HOMOSALATE 5%, OCTISALATE 10%, OCTOCRYLENE 5%" { return drug("Coppertone Kids Sunscreen SPF 50", "(TO DELIVER) AVOBENZONE 3%, HOMOSALATE 5%, OCTISALATE 10%, OCTOCRYLENE 5%", "TOPICAL", "", "HUMAN OTC DRUG", "M020", "462a6c34-db5d-8d31-e063-6294a90ae196", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "(TO DELIVER) AVOBENZONE 3%, HOMOSALATE 7%, OCTISALATE 4.5%, OCTOCRYLENE 8%" { return drug("Eucerin Advanced Hydration Sunscreen SPF 30", "(TO DELIVER) AVOBENZONE 3%, HOMOSALATE 7%, OCTISALATE 4.5%, OCTOCRYLENE 8%", "TOPICAL", "", "HUMAN OTC DRUG", "M020", "4746b36d-702e-faba-e063-6294a90a861d", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == ".ALPHA.-TOCOPHEROL ACETATE, DL-, ASCORBIC ACID, CYANOCOBALAMIN, FOLIC ACID, NIACIN, PYRIDOXINE, RIBOFLAVIN, SODIUM FLUORIDE, THIAMINE MONONITRATE, VITAMIN A AND VITAMIN D" { return drug("Multivitamin with Fluoride", ".ALPHA.-TOCOPHEROL ACETATE, DL-, ASCORBIC ACID, CYANOCOBALAMIN, FOLIC ACID, NIACIN, PYRIDOXINE, RIBOFLAVIN, SODIUM FLUORIDE, THIAMINE MONONITRATE, VITAMIN A AND VITAMIN D", "ORAL", "", "HUMAN PRESCRIPTION DRUG", "", "9701ab40-7749-416b-a9cc-852c70ed84ef", "", "", "", "", "", "", "", "Vitamin C [EPC], Vitamin B12 [EPC], Nicotinic Acid [EPC], Vitamin B6 Analog [EPC], Vitamin A [EPC]", "", "", "") }
    if generic == "1168 BURN SPRAY" { return drug("1168", "1168 BURN SPRAY", "TOPICAL", "", "HUMAN OTC DRUG", "M017", "1183a4f5-f876-dfb0-e063-6394a90af35f", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "1169 HYDROGEN PEROXIDE SPRAY" { return drug("Hydrogen Peroxide", "1169 HYDROGEN PEROXIDE SPRAY", "TOPICAL", "", "HUMAN OTC DRUG", "M003", "43f6590a-bb4b-7e5a-e063-6394a90af638", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "20% BENZOCAINE" { return drug("Equate Orasol", "20% BENZOCAINE", "ORAL", "", "HUMAN OTC DRUG", "M022", "48c33201-4ce3-aaf0-e063-6394a90a8b04", "", "", "", "", "", "", "", "Standardized Chemical Allergen [EPC]", "", "", "") }
    if generic == "20% BENZOCAINE AND 3% RESORCINOL CREAM" { return drug("Equate Vagicaine", "20% BENZOCAINE AND 3% RESORCINOL CREAM", "TOPICAL", "", "HUMAN OTC DRUG", "M017", "7c90a8f1-8f30-4d51-8a46-d6503f44509a", "", "", "", "", "", "", "", "", "", "", "") }
    if generic == "5% MINOXIDIL" { return drug("5% MINOXIDIL BEARD GROWTH SERUM", "5% MINOXIDIL", "TOPICAL", "", "HUMAN OTC DRUG", "505G(a)(3)", "2b2c8f76-e6b5-e019-e063-6294a90a58c8", "", "", "", "", "", "", "", "Arteriolar Vasodilator [EPC]", "", "", "") }
    if generic == "5% MINOXIDIL HAIR GROWTH SERUM" { return drug("5% Minoxidil Hair Growth Serum", "5% MINOXIDIL HAIR GROWTH SERUM", "TOPICAL", "", "HUMAN OTC DRUG", "M032", "4c673070-f6cc-6921-e063-6394a90a0905", "", "", "", "", "", "", "", "Central Nervous System Stimulant [EPC], Methylxanthine [EPC], Arteriolar Vasodilator [EPC]", "", "", "") }
    if generic == "50 REMEDY KIT" { return drug("200C Homeopathic Remedy Kit", "50 REMEDY KIT", "ORAL", "", "HUMAN OTC DRUG", "", "47e2c272-bc2e-425f-e063-6394a90af2a0", "", "", "", "", "", "", "", "", "", "", "") }
    return unknown_drug()
}

fn drug_count_num() -> Int {
    return 14
}