def __init__(self, *args, **kwds): from Gnumed.wxpython import gmProviderInboxWidgets from Gnumed.wxpython import gmStaffWidgets from Gnumed.wxpython import gmPatSearchWidgets from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel # begin wxGlade: wxgInboxMessageEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_subject = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_type = gmProviderInboxWidgets.cMessageTypePhraseWheel(self, -1, "", style=wx.NO_BORDER) self._CHBOX_send_to_me = wx.CheckBox(self, -1, _(u"&Myself … or:")) self._PRW_receiver = gmStaffWidgets.cProviderPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._CHBOX_active_patient = wx.CheckBox(self, -1, _(u"&Active … or:")) self._PRW_patient = gmPatSearchWidgets.cPersonSearchCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_message = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE | wx.NO_BORDER) self._PRW_due = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_expiry = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._RBTN_normal = wx.RadioButton(self, -1, _("Normal")) self._RBTN_high = wx.RadioButton(self, -1, _("High")) self._RBTN_low = wx.RadioButton(self, -1, _("Low")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_send_to_me_checked, self._CHBOX_send_to_me) self.Bind(wx.EVT_CHECKBOX, self._on_active_patient_checked, self._CHBOX_active_patient)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmDemographicsWidgets, gmDateTimeInput # begin wxGlade: wxgIdentityEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LBL_info = wx.StaticText(self, -1, "") self._PRW_dob = gmDateTimeInput.cDateInputPhraseWheel( self, -1, "", style=wx.NO_BORDER) self._CHBOX_estimated_dob = wx.CheckBox(self, -1, _(u"≈")) self._TCTRL_tob = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_dod = gmDateTimeInput.cDateInputPhraseWheel( self, -1, "", style=wx.NO_BORDER) self._PRW_gender = gmDemographicsWidgets.cGenderSelectionPhraseWheel( self, -1, "", style=wx.NO_BORDER) self._PRW_ethnicity = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_title = gmDemographicsWidgets.cTitlePhraseWheel( self, -1, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE | wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgSmokingEAPnl.__init__ kwds["style"] = wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._RBTN_unknown_smoking_status = wx.RadioButton(self, wx.ID_ANY, _("&Unknown")) self._RBTN_never_smoked = wx.RadioButton(self, wx.ID_ANY, _("&Never smoked")) self._RBTN_smokes = wx.RadioButton(self, wx.ID_ANY, _("&Smokes or smoked")) self._TCTRL_comment = cTextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._DPRW_quit_when = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._DPRW_last_confirmed = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgHospitalStayEditAreaPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) from Gnumed.wxpython.gmHospitalStayWidgets import cHospitalWardPhraseWheel self._PRW_hospital = cHospitalWardPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmEMRStructWidgets import cEpisodeSelectionPhraseWheel self._PRW_episode = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel self._PRW_admission = cDateInputPhraseWheel(self, wx.ID_ANY, "") self._PRW_discharge = cDateInputPhraseWheel(self, wx.ID_ANY, "") self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "") self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgSubstanceAbuseEAPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._RBTN_tobacco = wx.RadioButton(self, wx.ID_ANY, _("&Nicotine")) self._RBTN_c2 = wx.RadioButton(self, wx.ID_ANY, _("&Alcohol")) self._RBTN_other_substance = wx.RadioButton(self, wx.ID_ANY, _("&Other:")) from Gnumed.wxpython.gmSubstanceMgmtWidgets import cSubstancePhraseWheel self._PRW_substance = cSubstancePhraseWheel(self, wx.ID_ANY, "") self._RBTN_nonharmful_use = wx.RadioButton(self, wx.ID_ANY, _("&Non-harmful use"), style=wx.RB_GROUP) self._RBTN_harmful_use = wx.RadioButton(self, wx.ID_ANY, _("&Harmful use")) self._RBTN_presently_addicted = wx.RadioButton(self, wx.ID_ANY, _("Presently &addicted")) self._RBTN_previously_addicted = wx.RadioButton(self, wx.ID_ANY, _("Previously &addicted")) from Gnumed.wxpython.gmTextCtrl import cTextCtrl self._TCTRL_comment = cTextCtrl(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel self._DPRW_quit_when = cDateInputPhraseWheel(self, wx.ID_ANY, "") self._LBL_confirm_date = wx.StaticText(self, wx.ID_ANY, _("?")) self._CHBOX_confirm = wx.CheckBox(self, wx.ID_ANY, _("&Reconfirm as of today")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_RADIOBUTTON, self._on_substance_rbutton_selected, self._RBTN_tobacco) self.Bind(wx.EVT_RADIOBUTTON, self._on_substance_rbutton_selected, self._RBTN_c2) self.Bind(wx.EVT_RADIOBUTTON, self._on_substance_rbutton_selected, self._RBTN_other_substance)
def __init__(self, *args, **kwds): # begin wxGlade: wxgNewPatientEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._PRW_lastname = cLastnamePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_firstnames = cFirstnamePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_dob = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._CHBOX_estimated_dob = wx.CheckBox(self, wx.ID_ANY, _("Estimated")) self._TCTRL_tob = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._LBL_person_exists = wx.StaticText(self, wx.ID_ANY, "") self._PRW_gender = cGenderSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_nickname = cNicknamePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_title = cTitlePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_address_searcher = cAddressPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_zip = cZipcodePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_street = cStreetPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_number = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_unit = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_urb = cUrbPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_region = cStateSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_country = cCountryPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_type = cAddressTypePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_channel_type = cCommChannelTypePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_phone = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_primary_provider = cProviderPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_external_id_type = cExternalIDTypePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_external_id_value = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._LBL_id_exists = wx.StaticText(self, wx.ID_ANY, "") self._PRW_occupation = cOccupationPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmEncounterWidgets import cEncounterPhraseWheel from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel from Gnumed.wxpython.gmBillingWidgets import cBillablePhraseWheel # begin wxGlade: wxgBillItemEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._PRW_billable = cBillablePhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_encounter = cEncounterPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_date = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_count = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_amount = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._LBL_currency = wx.StaticText(self, -1, _("EUR")) self._TCTRL_factor = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): #from Gnumed.wxpython.gmFamilyHistoryWidgets import cFamilyHistoryRelationType from Gnumed.wxpython.gmEMRStructWidgets import cEpisodeSelectionPhraseWheel from Gnumed.wxpython.gmDateTimeInput import cIntervalPhraseWheel from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel from Gnumed.wxpython.gmGuiHelpers import cThreeValuedLogicPhraseWheel from Gnumed.wxpython.gmPhraseWheel import cPhraseWheel from Gnumed.wxpython.gmFamilyHistoryWidgets import cRelationshipTypePhraseWheel from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel # begin wxGlade: wxgFamilyHistoryEAPnl.__init__ kwds["style"] = wx.NO_BORDER|wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._PRW_relationship = cRelationshipTypePhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_condition = cPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_codes = cGenericCodesPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_age_of_onset = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_died_of_this = cThreeValuedLogicPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_age_of_death = cIntervalPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_episode = cEpisodeSelectionPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_name = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_dob = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmDemographicsWidgets, gmDateTimeInput # begin wxGlade: wxgIdentityEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LBL_info = wx.StaticText(self, -1, "") self._PRW_dob = gmDateTimeInput.cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._CHBOX_estimated_dob = wx.CheckBox(self, -1, _(u"≈")) self._TCTRL_tob = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_dod = gmDateTimeInput.cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_gender = gmDemographicsWidgets.cGenderSelectionPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_ethnicity = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_title = gmDemographicsWidgets.cTitlePhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE | wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgEdcCalculatorDlg.__init__ kwds["style"] = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.THICK_FRAME wx.Dialog.__init__(self, *args, **kwds) self._PRW_lmp = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._CHBOX_first_pregnancy = wx.CheckBox(self, wx.ID_ANY, _("&First pregnancy")) self._PRW_edc = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP) self._CALCTRL = wx.calendar.CalendarCtrl(self, wx.ID_ANY, style=wx.calendar.CAL_SHOW_SURROUNDING_WEEKS) self._TCTRL_algo = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP | wx.NO_BORDER) self._BTN_save = wx.Button(self, wx.ID_SAVE, "", style=wx.BU_EXACTFIT) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "", style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_first_pregnancy_toggled, self._CHBOX_first_pregnancy) self.Bind(wx.calendar.EVT_CALENDAR, self._on_lmp_picked_in_calendar, self._CALCTRL) self.Bind(wx.EVT_BUTTON, self._on_save_button_pressed, self._BTN_save)
def __init__(self, *args, **kwds): # begin wxGlade: wxgNewPatientEAPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) from Gnumed.wxpython.gmDemographicsWidgets import cLastnamePhraseWheel self._PRW_lastname = cLastnamePhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDemographicsWidgets import cFirstnamePhraseWheel self._PRW_firstnames = cFirstnamePhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel self._PRW_dob = cDateInputPhraseWheel(self, wx.ID_ANY, "") self._CHBOX_estimated_dob = wx.CheckBox(self, wx.ID_ANY, _("Estimated")) self._TCTRL_tob = wx.TextCtrl(self, wx.ID_ANY, "") self._LBL_person_exists = wx.StaticText(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDemographicsWidgets import cGenderSelectionPhraseWheel self._PRW_gender = cGenderSelectionPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDemographicsWidgets import cNicknamePhraseWheel self._PRW_nickname = cNicknamePhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDemographicsWidgets import cTitlePhraseWheel self._PRW_title = cTitlePhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmAddressWidgets import cAddressPhraseWheel self._PRW_address_searcher = cAddressPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmAddressWidgets import cZipcodePhraseWheel self._PRW_zip = cZipcodePhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmAddressWidgets import cStreetPhraseWheel self._PRW_street = cStreetPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmTextCtrl import cTextCtrl self._TCTRL_number = cTextCtrl(self, wx.ID_ANY, "") self._TCTRL_unit = wx.TextCtrl(self, wx.ID_ANY, "") from Gnumed.wxpython.gmAddressWidgets import cUrbPhraseWheel self._PRW_urb = cUrbPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmAddressWidgets import cStateSelectionPhraseWheel self._PRW_region = cStateSelectionPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmAddressWidgets import cCountryPhraseWheel self._PRW_country = cCountryPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmAddressWidgets import cAddressTypePhraseWheel self._PRW_type = cAddressTypePhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmContactWidgets import cCommChannelTypePhraseWheel self._PRW_channel_type = cCommChannelTypePhraseWheel( self, wx.ID_ANY, "") self._TCTRL_phone = wx.TextCtrl(self, wx.ID_ANY, "") from Gnumed.wxpython.gmStaffWidgets import cProviderPhraseWheel self._PRW_primary_provider = cProviderPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDemographicsWidgets import cExternalIDTypePhraseWheel self._PRW_external_id_type = cExternalIDTypePhraseWheel( self, wx.ID_ANY, "") self._TCTRL_external_id_value = cTextCtrl(self, wx.ID_ANY, "") self._LBL_id_exists = wx.StaticText(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDemographicsWidgets import cOccupationPhraseWheel self._PRW_occupation = cOccupationPhraseWheel(self, wx.ID_ANY, "") self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "") self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgIdentityEAPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LBL_info = wx.StaticText(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel self._PRW_dob = cDateInputPhraseWheel(self, wx.ID_ANY, "") self._CHBOX_estimated_dob = wx.CheckBox(self, wx.ID_ANY, _(u"\u2248")) self._TCTRL_tob = wx.TextCtrl(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel self._PRW_dod = cDateInputPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDemographicsWidgets import cGenderSelectionPhraseWheel self._PRW_gender = cGenderSelectionPhraseWheel(self, wx.ID_ANY, "") self._PRW_ethnicity = wx.TextCtrl(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDemographicsWidgets import cTitlePhraseWheel self._PRW_title = cTitlePhraseWheel(self, wx.ID_ANY, "") self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgEdcCalculatorDlg.__init__ kwds[ "style"] = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.THICK_FRAME wx.Dialog.__init__(self, *args, **kwds) self._PRW_lmp = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._CHBOX_first_pregnancy = wx.CheckBox(self, wx.ID_ANY, _("&First pregnancy")) self._PRW_edc = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP) self._CALCTRL = wx.calendar.CalendarCtrl( self, wx.ID_ANY, style=wx.calendar.CAL_SHOW_SURROUNDING_WEEKS) self._TCTRL_algo = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP | wx.NO_BORDER) self._BTN_save = wx.Button(self, wx.ID_SAVE, "", style=wx.BU_EXACTFIT) self._BTN_cancel = wx.Button(self, wx.ID_CANCEL, "", style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_first_pregnancy_toggled, self._CHBOX_first_pregnancy) self.Bind(wx.calendar.EVT_CALENDAR, self._on_lmp_picked_in_calendar, self._CALCTRL) self.Bind(wx.EVT_BUTTON, self._on_save_button_pressed, self._BTN_save)
def __init__(self, *args, **kwds): # begin wxGlade: wxgCurrentMedicationEAPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LBL_allergies = wx.StaticText(self, wx.ID_ANY, "") self._PRW_drug = cSubstanceIntakeObjectPhraseWheel(self, wx.ID_ANY, "") self._LBL_drug_details = wx.StaticText(self, wx.ID_ANY, "") self._BTN_heart = wx.Button(self, wx.ID_ANY, _(u"\u2665"), style=wx.BU_EXACTFIT) self._BTN_kidneys = wx.Button(self, wx.ID_ANY, _("Kidneys"), style=wx.BU_EXACTFIT) self._BTN_manage_products = wx.Button(self, wx.ID_ANY, _("Drugs"), style=wx.BU_EXACTFIT) self._BTN_manage_component = wx.Button(self, wx.ID_ANY, _("Components"), style=wx.BU_EXACTFIT) self._BTN_manage_doses = wx.Button(self, wx.ID_ANY, _("Doses"), style=wx.BU_EXACTFIT) self._BTN_manage_substance = wx.Button(self, wx.ID_ANY, _("Substances"), style=wx.BU_EXACTFIT) self._CHBOX_start_unknown = wx.CheckBox(self, wx.ID_ANY, _("&Unknown - or Date:")) self._DP_started = cDateInputPhraseWheel(self, wx.ID_ANY, "") self._PRW_start_certainty = cPhraseWheel(self, wx.ID_ANY, "") self._CHBOX_approved = wx.CheckBox(self, wx.ID_ANY, _("Approved of")) self._PRW_episode = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "") self._PRW_schedule = cSubstanceSchedulePhraseWheel(self, wx.ID_ANY, "") self._PRW_duration = cIntervalPhraseWheel(self, wx.ID_ANY, "") self._CHBOX_long_term = wx.CheckBox(self, wx.ID_ANY, _("Long-term")) self._PRW_aim = cSubstanceAimPhraseWheel(self, wx.ID_ANY, "") self._PRW_notes = cPhraseWheel(self, wx.ID_ANY, "") self._DP_discontinued = cDateInputPhraseWheel(self, wx.ID_ANY, "") self._BTN_discontinued_as_planned = wx.Button(self, wx.ID_ANY, _("Per plan"), style=wx.BU_EXACTFIT) self._LBL_reason = wx.StaticText(self, wx.ID_ANY, _("... Reason")) self._PRW_discontinue_reason = cPhraseWheel(self, wx.ID_ANY, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_heart_button_pressed, self._BTN_heart) self.Bind(wx.EVT_BUTTON, self._on_kidneys_button_pressed, self._BTN_kidneys) self.Bind(wx.EVT_BUTTON, self._on_manage_drug_products_button_pressed, self._BTN_manage_products) self.Bind(wx.EVT_BUTTON, self._on_manage_components_button_pressed, self._BTN_manage_component) self.Bind(wx.EVT_BUTTON, self._on_manage_doses_button_pressed, self._BTN_manage_doses) self.Bind(wx.EVT_BUTTON, self._on_manage_substances_button_pressed, self._BTN_manage_substance) self.Bind(wx.EVT_CHECKBOX, self._on_start_unknown_checked, self._CHBOX_start_unknown) self.Bind(wx.EVT_CHECKBOX, self._on_chbox_long_term_checked, self._CHBOX_long_term) self.Bind(wx.EVT_BUTTON, self._on_discontinued_as_planned_button_pressed, self._BTN_discontinued_as_planned)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmProviderInboxWidgets from Gnumed.wxpython import gmStaffWidgets from Gnumed.wxpython import gmPatSearchWidgets from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel # begin wxGlade: wxgInboxMessageEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_subject = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_type = gmProviderInboxWidgets.cMessageTypePhraseWheel( self, -1, "", style=wx.NO_BORDER) self._CHBOX_send_to_me = wx.CheckBox(self, -1, _(u"&Myself … or:")) self._PRW_receiver = gmStaffWidgets.cProviderPhraseWheel( self, -1, "", style=wx.NO_BORDER) self._CHBOX_active_patient = wx.CheckBox(self, -1, _(u"&Active … or:")) self._PRW_patient = gmPatSearchWidgets.cPersonSearchCtrl( self, -1, "", style=wx.NO_BORDER) self._TCTRL_message = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE | wx.NO_BORDER) self._PRW_due = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_expiry = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._RBTN_normal = wx.RadioButton(self, -1, _("Normal")) self._RBTN_high = wx.RadioButton(self, -1, _("High")) self._RBTN_low = wx.RadioButton(self, -1, _("Low")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_send_to_me_checked, self._CHBOX_send_to_me) self.Bind(wx.EVT_CHECKBOX, self._on_active_patient_checked, self._CHBOX_active_patient)
def __init__(self, *args, **kwds): # begin wxGlade: wxgCurrentMedicationEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LBL_allergies = wx.StaticText(self, wx.ID_ANY, "") self._PRW_drug = cBrandOrSubstancePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_drug_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY | wx.NO_BORDER) self._BTN_heart = wx.Button(self, wx.ID_ANY, _(u"\u2665"), style=wx.BU_EXACTFIT) self._BTN_kidneys = wx.Button(self, wx.ID_ANY, _("Kidneys"), style=wx.BU_EXACTFIT) self._BTN_database_brand = wx.Button(self, wx.ID_ANY, _("Brands"), style=wx.BU_EXACTFIT) self._BTN_database_substance = wx.Button(self, wx.ID_ANY, _("Substances"), style=wx.BU_EXACTFIT) self._LBL_preparation = wx.StaticText(self, wx.ID_ANY, _("Preparation")) self._PRW_preparation = cSubstancePreparationPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._CHBOX_start_unknown = wx.CheckBox(self, wx.ID_ANY, _("&Unknown or date:")) self._DP_started = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_start_certainty = cPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._CHBOX_approved = wx.CheckBox(self, wx.ID_ANY, _("Approved of")) self._PRW_episode = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_schedule = cSubstanceSchedulePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_duration = cIntervalPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._CHBOX_long_term = wx.CheckBox(self, wx.ID_ANY, _("Long-term")) self._PRW_aim = cSubstanceAimPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_notes = cPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._DP_discontinued = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._BTN_discontinued_as_planned = wx.Button(self, wx.ID_ANY, _("Per plan"), style=wx.BU_EXACTFIT) self._LBL_reason = wx.StaticText(self, wx.ID_ANY, _("... Reason")) self._PRW_discontinue_reason = cPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_heart_button_pressed, self._BTN_heart) self.Bind(wx.EVT_BUTTON, self._on_kidneys_button_pressed, self._BTN_kidneys) self.Bind(wx.EVT_BUTTON, self._on_manage_brands_button_pressed, self._BTN_database_brand) self.Bind(wx.EVT_BUTTON, self._on_manage_substances_button_pressed, self._BTN_database_substance) self.Bind(wx.EVT_CHECKBOX, self._on_start_unknown_checked, self._CHBOX_start_unknown) self.Bind(wx.EVT_CHECKBOX, self._on_chbox_long_term_checked, self._CHBOX_long_term) self.Bind(wx.EVT_BUTTON, self._on_discontinued_as_planned_button_pressed, self._BTN_discontinued_as_planned)
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel from Gnumed.wxpython.gmAddressWidgets import cAddressPhraseWheel # begin wxGlade: wxgBillEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_invoice_id = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY | wx.NO_BORDER) self._PRW_close_date = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_address = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY | wx.NO_BORDER) self._BTN_select_address = wx.Button(self, wx.ID_ANY, _("&Select"), style=wx.BU_EXACTFIT) self._TCTRL_value = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY | wx.NO_BORDER) self._CHBOX_vat_applies = wx.CheckBox(self, wx.ID_ANY, _("&VAT applies"), style=wx.CHK_3STATE) self._TCTRL_value_with_vat = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY | wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_select_address_button_pressed, self._BTN_select_address) self.Bind(wx.EVT_CHECKBOX, self._on_vat_applies_box_checked, self._CHBOX_vat_applies)
def __init__(self, *args, **kwds): # begin wxGlade: wxgBillEAPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_invoice_id = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY) from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel self._PRW_close_date = cDateInputPhraseWheel(self, wx.ID_ANY, "") self._TCTRL_address = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY) self._BTN_select_address = wx.Button(self, wx.ID_ANY, _("&Select"), style=wx.BU_EXACTFIT) self._TCTRL_value = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY) self._CHBOX_vat_applies = wx.CheckBox(self, wx.ID_ANY, _("&VAT applies")) self._TCTRL_value_with_vat = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY) self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_select_address_button_pressed, self._BTN_select_address) self.Bind(wx.EVT_CHECKBOX, self._on_vat_applies_box_checked, self._CHBOX_vat_applies)
def __init__(self, *args, **kwds): # begin wxGlade: wxgVaccinationEAPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._PRW_date_given = cDateInputPhraseWheel(self, wx.ID_ANY, "") self._CHBOX_anamnestic = wx.CheckBox(self, wx.ID_ANY, _("Anamnestic")) self._PRW_vaccine = cVaccinePhraseWheel(self, wx.ID_ANY, "") self._BTN_add_vaccine = wx.Button(self, wx.ID_ANY, _(" + "), style=wx.BU_EXACTFIT) self._TCTRL_indications = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY) self._PRW_batch = cBatchNoPhraseWheel(self, wx.ID_ANY, "") self._PRW_episode = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "") self._PRW_site = cPhraseWheel(self, wx.ID_ANY, "") self._PRW_provider = cProviderPhraseWheel(self, wx.ID_ANY, "") self._PRW_reaction = cPhraseWheel(self, wx.ID_ANY, "") self._BTN_report = wx.Button(self, wx.ID_ANY, _("ADR"), style=wx.BU_EXACTFIT) self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_add_vaccine_button_pressed, self._BTN_add_vaccine) self.Bind(wx.EVT_BUTTON, self._on_report_button_pressed, self._BTN_report)
def __init__(self, *args, **kwds): # begin wxGlade: wxgNewPatientEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._PRW_lastname = cLastnamePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_firstnames = cFirstnamePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_dob = cDateInputPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._CHBOX_estimated_dob = wx.CheckBox(self, wx.ID_ANY, _("Estimated")) self._TCTRL_tob = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._LBL_person_exists = wx.StaticText(self, wx.ID_ANY, "") self._PRW_gender = cGenderSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_nickname = cNicknamePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_title = cTitlePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_address_searcher = cAddressPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_zip = cZipcodePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_street = cStreetPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_number = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_unit = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_urb = cUrbPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_region = cStateSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_country = cCountryPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_type = cAddressTypePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_channel_type = cCommChannelTypePhraseWheel( self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_phone = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_primary_provider = cProviderPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_external_id_type = cExternalIDTypePhraseWheel( self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_external_id_value = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._LBL_id_exists = wx.StaticText(self, wx.ID_ANY, "") self._PRW_occupation = cOccupationPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout()