This is a sample script to use on the above link that comes up when you click on the firefox icon in the prescribing module. It brings up a page on rxlist.com where you can display drug information, patient handouts etc. <pre id="pre">// Search for drug on rxlist.com drugname = find(/Drugname: (.*)/).groups[1]; go("http://www.rxlist.com/"); enter("search for a drug name", drugname); click("Drug Information Search"); </pre>
[quote user="Graham"] This is a sample script to use on the above link that comes up when you click on the firefox icon in the prescribing module. It brings up a page on rxlist.com where you can display drug information, patient handouts etc. <pre id="pre">// Search for drug on rxlist.com drugname = find(/Drugname: (.*)/).groups[1]; go("http://www.rxlist.com/"); enter("search for a drug name", drugname); click("Drug Information Search"); </pre> [/quote] Dont think this still works.
They've changed their website. Try this<blockquote><pre id="pre">// Search for drug on rxlist.com drugname = find(/Drugname: (.*)/).groups[1]; go("http://www.rxlist.com/"); enter("Find a Drug", drugname); click("Search");</pre></blockquote>
Can you send the drug name to this site for me ? http://cpe0013211b4c6d-cm0014e88ee7a4.cpe.net.cable.rogers.com/dpdonline/startup.do Just send drug to the <label for="activeIngredient">Active Ingredient:</label> box ? I seem quite lame at this chicken scripting thus far.
Thanks. How about this ? The idea here is that most people (if readily available) would like to be able to look up drug stuff on many sites. American docs might want to check online with what drugs Blue Cross Covers ... etc. For me: I would want to check for drug information on (1) rxlist (2) Health Canada's website (3) Canadian Medical Association (4) a few of my online subscription websites ... (5) ... etc.
Actually it would be better if I linked to the wiki where people could enter their own scripts. There is a limit to how much a single person can do ...
I still want this. I got the medication box working for my CMA drugs (Lexi Drugs ...) it is great ! Note: there is a description and video on how to ADD chickenscripts to your Synapse / FireFox duo !
I guess if you knew enuff about chicken scripting it might be possible to open up three windows and execute different scripts ...