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  # $Source: /cvsroot/gnumed/gnumed/gnumed/client/wxpython/gui/gmScanIdxMedDocsPlugin.py,v $ 
 5  __version__ = "$Revision: 1.8 $" 
 6  __author__ = "Sebastian Hilbert <Sebastian.Hilbert@gmx.net>\ 
 7                Karsten Hilbert <Karsten.Hilbert@gmx.net>" 
 8  __license__ = "GPL" 
 9   
10  from Gnumed.wxpython import gmPlugin, gmMedDocWidgets 
11   
12  #==================================== 
13 -class gmScanIdxMedDocsPlugin(gmPlugin.cNotebookPlugin):
14 """Plugin to encapsulate patient scan index documents window.""" 15 16 tab_name = _('Attach documents') 17
18 - def name(self):
20
21 - def GetWidget(self, parent):
22 self._widget = gmMedDocWidgets.cScanIdxDocsPnl(parent, -1) 23 return self._widget
24
25 - def MenuInfo(self):
26 return ('emr', _('&Attach documents'))
27
28 - def can_receive_focus(self):
29 # need patient 30 if not self._verify_patient_avail(): 31 return None 32 return 1
33 #====================================================================== 34 # $Log: gmScanIdxMedDocsPlugin.py,v $ 35 # Revision 1.8 2009/06/29 15:13:25 ncq 36 # - improved placement in menu hierarchy 37 # - add active letters 38 # 39 # Revision 1.7 2008/01/27 21:22:18 ncq 40 # -rename per Jim 41 # 42 # Revision 1.6 2008/01/22 12:26:24 ncq 43 # - better tab names 44 # 45 # Revision 1.5 2007/10/12 07:28:25 ncq 46 # - lots of import related cleanup 47 # 48 # Revision 1.4 2005/11/27 12:46:42 ncq 49 # - cleanup 50 # 51 # 52