Package Gnumed :: Package wxpython :: Module gmEMRStructWidgets :: Class cIssueSelectionPhraseWheel
[frames] | no frames]

Class cIssueSelectionPhraseWheel

source code

               wx.TextCtrl --+        
                             |        
gmPhraseWheel.cPhraseWheelBase --+    
                                 |    
        gmPhraseWheel.cPhraseWheel --+
                                     |
                                    cIssueSelectionPhraseWheel

Let the user select a health issue.

The user can select a health issue from the existing issues of a patient. Selection is done with a phrasewheel so the user can type the issue name and matches will be shown. Typing "*" will show the entire list of issues. Inactive issues will be marked as such. If the user types an issue name not in the list of existing issues a new issue can be created from it if the programmer activated that feature.

If keyword <patient_id> is set to None or left out the control will listen to patient change signals and therefore act on gmPerson.gmCurrentPatient() changes.

Instance Methods
 
__init__(self, *args, **kwargs) source code
 
set_patient(self, patient_id=None) source code

Inherited from gmPhraseWheel.cPhraseWheel: GetData, SetData

Inherited from gmPhraseWheel.cPhraseWheelBase: Disable, Enable, SetText, add_callback_on_lose_focus, add_callback_on_modified, add_callback_on_selection, add_callback_on_set_focus, display_as_valid, enable_default_spellchecker, set_context, set_from_instance, set_from_pk, unset_context

Class Variables

Inherited from gmPhraseWheel.cPhraseWheelBase: accepted_chars, data, final_regex, final_regex_error_msg, speller_word_separators, static_tooltip_extra

Method Details

__init__(self, *args, **kwargs)
(Constructor)

source code 
Overrides: gmPhraseWheel.cPhraseWheelBase.__init__