Package Gnumed :: Package wxpython :: Package gui :: Module gmScanIdxMedDocsPlugin
[frames] | no frames]

Source Code for Module Gnumed.wxpython.gui.gmScanIdxMedDocsPlugin

 1  #===================================================== 
 2  # GNUmed scan and index plugin 
 3  #===================================================== 
 4  __version__ = "$Revision: 1.8 $" 
 5  __author__ = "Sebastian Hilbert <Sebastian.Hilbert@gmx.net>\ 
 6                Karsten Hilbert <Karsten.Hilbert@gmx.net>" 
 7  __license__ = "GPL" 
 8   
 9  from Gnumed.wxpython import gmPlugin, gmDocumentWidgets 
10   
11  #==================================== 
12 -class gmScanIdxMedDocsPlugin(gmPlugin.cNotebookPlugin):
13 """Plugin to encapsulate patient scan index documents window.""" 14 15 tab_name = _('Attach documents') 16
17 - def name(self):
19
20 - def GetWidget(self, parent):
21 self._widget = gmDocumentWidgets.cScanIdxDocsPnl(parent, -1) 22 return self._widget
23
24 - def MenuInfo(self):
25 return ('emr', _('&Attach documents'))
26
27 - def can_receive_focus(self):
28 # need patient 29 if not self._verify_patient_avail(): 30 return None 31 return 1
32 #====================================================================== 33