1
2
3
4
5
6
7 __author__ = "R.Terry <rterry@gnumed.net>, H.Herb <hherb@gnumed.net>, K.Hilbert <Karsten.Hilbert@gmx.net>"
8 __license__ = 'GPL v2 or later (details at http://www.gnu.org)'
9
10
11 from Gnumed.wxpython import gmPlugin_Patient, gmAllergyWidgets
12
13
15 """Plugin to encapsulate the allergies window"""
16
17 __icons = {
18 """icon_letter_A""": 'x\xda\xd3\xc8)0\xe4\nV74S\x00"\x13\x05Cu\xae\xc4`\xf5|\x85d\x05e\x17W\x10\
19 \x04\xf3\xf5@|77\x03 \x00\xf3\x15\x80|\xbf\xfc\xbcT0\'\x02$i\xee\x06\x82PIT@\
20 HPO\x0f\xab`\x04\x86\xa0\x9e\x1e\\)\xaa`\x04\x9a P$\x02\xa6\x14Y0\x1f\xa6\
21 \x14&\xa8\x07\x05h\x82\x11\x11 \xfd\x11H\x82 1\x84[\x11\x82Hn\x85i\x8f\x80\
22 \xba&"\x82\x08\xbf\x13\x16\xd4\x03\x00\xe4\xa2I\x9c'
23 }
24
27
29 return ('view', '&Allergies')
30
32 if anIconID == None:
33 return self.__icons[_("""icon_letter_A""")]
34 else:
35 if anIconID in self.__icons:
36 return self.__icons[anIconID]
37 else:
38 return self.__icons[_("""icon_letter_A""")]
39
42
43
44
45 if __name__ == "__main__":
46 print "no unit test available"
47
48
49
50
51
52