addresses vulnerabilities reported at http://secunia.com/advisories/22695
[openemr.git] / interface / drugs / drugs.inc.php
blob98f0722d3910d8dae61c815421ccbd8f9fbcb29e
1 <?php
2 // Copyright (C) 2006 Rod Roark <rod@sunsetsystems.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
9 // These were adapted from library/classes/Prescription.class.php:
11 $form_array = array('', xl('suspension'), xl('tablet'), xl('capsule'), xl('solution'), xl('tsp'),
12 xl('ml'), xl('units'), xl('inhalations'), xl('gtts(drops)'));
14 $unit_array = array('', 'mg', 'mg/1cc', 'mg/2cc', 'mg/3cc', 'mg/4cc',
15 'mg/5cc', 'grams', 'mcg');
17 $route_array = array('', xl('Per Oris'), xl('Per Rectum'), xl('To Skin'),
18 xl('To Affected Area'), xl('Sublingual'), xl('OS'), xl('OD'), xl('OU'), xl('SQ'), xl('IM'), xl('IV'),
19 xl('Per Nostril'));
21 $interval_array = array('', 'b.i.d.', 't.i.d.', 'q.i.d.', 'q.3h', 'q.4h',
22 'q.5h', 'q.6h', 'q.8h', 'q.d.');
24 $interval_array_verbose = array('',
25 xl('twice daily'),
26 xl('3 times daily'),
27 xl('4 times daily'),
28 xl('every 3 hours'),
29 xl('every 4 hours'),
30 xl('every 5 hours'),
31 xl('every 6 hours'),
32 xl('every 8 hours'),
33 xl('daily'));
35 $route_array_verbose = array('',
36 xl('by mouth'),
37 xl('rectally'),
38 xl('to skin'),
39 xl('to affected area'),
40 xl('under tongue'),
41 xl('in left eye'),
42 xl('in right eye'),
43 xl('in each eye'),
44 xl('subcutaneously'),
45 xl('intramuscularly'),
46 xl('intravenously'),
47 xl('in nostril'));
49 $substitute_array = array('', xl('Allowed'), xl('Not Allowed'));