| Home | Trees | Indices | Help |
|
|---|
|
|
1 #======================================================================
2 # GNUmed patient measurements plugin
3 #
4 # @copyright: author
5 #======================================================================
6 __author__ = "Karsten Hilbert"
7 __license__ = 'GPL v2 or later (details at http://www.gnu.org)'
8
9 import logging
10
11
12 from Gnumed.wxpython import gmPlugin, gmMeasurementWidgets
13 from Gnumed.pycommon import gmI18N
14 from Gnumed.wxpython import gmAccessPermissionWidgets
15
16
17 _log = logging.getLogger('gm.ui')
18 #======================================================================
19 -class gmMeasurementsGridPlugin(gmPlugin.cNotebookPlugin):
20 """Plugin to encapsulate patient measurements."""
21
22 tab_name = _('Measurements')
23 required_minimum_role = 'full clinical access'
24
25 @gmAccessPermissionWidgets.verify_minimum_required_role (
26 required_minimum_role,
27 activity = _('loading plugin <%s>') % tab_name,
28 return_value_on_failure = False,
29 fail_silently = False
30 )
33 #-------------------------------------------------
36
40
42 return ('emr', _('&Measurements'))
43
48 #======================================================================
49 # main
50 #----------------------------------------------------------------------
51 if __name__ == "__main__":
52 print "no test code"
53
54 #======================================================================
55
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Oct 5 03:57:10 2013 | http://epydoc.sourceforge.net |