Adding Preventions to Oscar

in

The list of Preventions are contained in two XML files.
/var/lib/tomcat5.5/webapps/oscar/WEB-INF/classes/oscar/oscarPrevention/PreventionItems.xml
<item desc="Pneu-C=pneumococcal 7-valent conjugate" name="Pneu-C" link="http://www.phac-aspc.gc.ca/naci-ccni/is-si/recimmsche-icy_e.html#PneuC" > layout="injection" atc="J07AL" minAge="0" maxAge="19" showIfMinRecordNum="1"/>
and
 
/var/lib/tomcat5.5/webapps/oscar/WEB-INF/classes/oscar/oscarPrevention/PreventionConfigSets.xml
 
Ask your support person to add whatever Preventions that you want ;-)
 

Explanation of fields:
desc="Abbrev=long name of prevention"  <-- this will display if you hover over the Prevention field
name="Abbrev"   <-- this should match the abbreviated name in the desc field.
link="http://www.phac-aspc.gc.ca/publicat/cig-gci/p03-01-eng.php"  <- the existing data points to pages that no longer exist.  just enter "" (2 quotes) if not relevant.
layout="layout of data entry?"  <- must be 'injection or PAPMAM
atc="XXXXXXX"  <- this is the ATC drug code
minAge="0"   <- minimum age. enter 0 as a default
maxAge="19"  <- maximum age.  optional field
sex="F"  <- sex of patient.  optional field
showIfMinRecordNum="1"

Once the files are updated, you just have to restart tomcat to see them in the Preventions list. ( /etc/init.d/tomcat5.5 restart  or /etc/init.d/tomcat6 restart )