1
2
3
4
5
6
7
8
9 __author__ = "R.Terry, S.J.Tan, K.Hilbert"
10 __license__ = 'GPL v2 or later (details at http://www.gnu.org)'
11
12 from Gnumed.wxpython import gmPlugin_Patient, gmVaccWidgets
13
14
16 """Plugin to encapsulate the immunisation window."""
17
18 __icons = {
19 """icon_syringe""": 'x\xdam\xd0\xb1\n\x80 \x10\x06\xe0\xbd\xa7\xf8\xa1\xc1\xa6\x9f$\xe8\x01\x1a\
20 \x1a[Z\\#\x9a\x8a\xea\xfd\xa7N3\xf4\xb0C\x90\xff\xf3\x0e\xd4\xe6\xb8m5\x1b\
21 \xdbCV\x07k\xaae6\xc4\x8a\xe1X\xd6=$H\x9a\xaes\x0b\xc1I\xa8G\xa9\xb6\x8d\x87\
22 \xa9H\xa0@\xafe\xa7\xa8Bi\xa2\xdfs$\x19,G:\x175\xa1\x98W\x85\xc1\x9c\x1e\xcf\
23 Mc4\x85\x9f%\xfc\xae\x93!\xd5K_\xd4\x86\xf8\xa1?\x88\x12\xf9\x00 =F\x87'
24 }
25
27 return 'Immunisations Window'
28
30 return ('view', '&Immunisation')
31
33 if anIconID is None:
34 return self.__icons[_("""icon_syringe""")]
35 else:
36 if anIconID in self.__icons:
37 return self.__icons[anIconID]
38 else:
39 return self.__icons[_("""icon_syringe""")]
40
43
44
45
46 if __name__ == "__main__":
47 print "there isn't really any unit test for this"
48
49
50
51
52
53