Exemplo n.º 1
0
	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()
Exemplo n.º 2
0
    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)
Exemplo n.º 3
0
    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()
Exemplo n.º 4
0
	def __init__(self, *args, **kwds):

		from Gnumed.wxpython.gmMeasurementWidgets import cMeasurementTypePhraseWheel
		from Gnumed.wxpython.gmMeasurementWidgets import cUnitPhraseWheel
		from Gnumed.wxpython.gmMeasurementWidgets import cTestResultIndicatorPhraseWheel
		from Gnumed.wxpython.gmEMRStructWidgets import cEpisodeSelectionPhraseWheel
		from Gnumed.wxpython.gmDateTimeInput import cFuzzyTimestampInput
		from Gnumed.wxpython.gmStaffWidgets import cProviderPhraseWheel

		# begin wxGlade: wxgMeasurementEditAreaPnl.__init__
		kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL
		wx.Panel.__init__(self, *args, **kwds)
		self._PRW_test = cMeasurementTypePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._BTN_test_info = wx.Button(self, wx.ID_ANY, _("Info"), style=wx.BU_EXACTFIT)
		self._TCTRL_loinc = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY | wx.NO_BORDER)
		self._TCTRL_previous_value = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY | wx.NO_BORDER)
		self._TCTRL_result = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_units = cUnitPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_abnormality_indicator = cTestResultIndicatorPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._DPRW_evaluated = cFuzzyTimestampInput(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_note_test_org = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_intended_reviewer = cProviderPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_problem = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._BTN_manage_episodes = wx.Button(self, wx.ID_ANY, _("&Manage"), style=wx.BU_EXACTFIT)
		self._TCTRL_narrative = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._CHBOX_review = wx.CheckBox(self, wx.ID_ANY, _("&Sign"))
		self._CHBOX_abnormal = wx.CheckBox(self, wx.ID_ANY, _("&Abnormal"))
		self._CHBOX_relevant = wx.CheckBox(self, wx.ID_ANY, _("&Relevant"))
		self._TCTRL_review_comment = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_normal_min = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_normal_max = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_normal_range = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_target_min = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_target_max = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_target_range = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_norm_ref_group = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)

		self.__set_properties()
		self.__do_layout()

		self.Bind(wx.EVT_BUTTON, self._on_test_info_button_pressed, self._BTN_test_info)
		self.Bind(wx.EVT_BUTTON, self._on_manage_episodes_button_pressed, self._BTN_manage_episodes)
		self.Bind(wx.EVT_CHECKBOX, self._on_review_box_checked, self._CHBOX_review)
    def __init__(self, *args, **kwds):
        # begin wxGlade: wxgPersonSocialNetworkManagerPnl.__init__
        kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL
        wx.Panel.__init__(self, *args, **kwds)
        self._TCTRL_person = cPersonSearchCtrl(self,
                                               wx.ID_ANY,
                                               "",
                                               style=wx.NO_BORDER)
        self._BTN_activate_contact = wx.Button(self,
                                               wx.ID_ANY,
                                               _("Activate"),
                                               style=wx.BU_EXACTFIT)
        self._BTN_remove_contact = wx.Button(self,
                                             wx.ID_REMOVE,
                                             "",
                                             style=wx.BU_EXACTFIT)
        self._TCTRL_er_contact = wx.TextCtrl(self,
                                             wx.ID_ANY,
                                             "",
                                             style=wx.TE_MULTILINE
                                             | wx.TE_WORDWRAP | wx.NO_BORDER)
        self._PRW_provider = cProviderPhraseWheel(self,
                                                  wx.ID_ANY,
                                                  "",
                                                  style=wx.NO_BORDER)
        self._BTN_save = wx.Button(self, wx.ID_SAVE, "")
        self._BTN_reload = wx.Button(self, wx.ID_REVERT_TO_SAVED, "")
        self._PNL_external_care = cExternalCareMgrPnl(self,
                                                      wx.ID_ANY,
                                                      style=wx.NO_BORDER
                                                      | wx.TAB_TRAVERSAL)

        self.__set_properties()
        self.__do_layout()

        self.Bind(wx.EVT_BUTTON, self._on_button_activate_contact_pressed,
                  self._BTN_activate_contact)
        self.Bind(wx.EVT_BUTTON, self._on_remove_contact_button_pressed,
                  self._BTN_remove_contact)
        self.Bind(wx.EVT_BUTTON, self._on_save_button_pressed, self._BTN_save)
        self.Bind(wx.EVT_BUTTON, self._on_reload_button_pressed,
                  self._BTN_reload)
Exemplo n.º 6
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgMeasurementEditAreaPnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
		wx.Panel.__init__(self, *args, **kwds)
		self.SetSize((640, 525))
		from Gnumed.wxpython.gmMeasurementWidgets import cMeasurementTypePhraseWheel
		self._PRW_test = cMeasurementTypePhraseWheel(self, wx.ID_ANY, "")
		self._BTN_test_info = wx.Button(self, wx.ID_ANY, _("Info"), style=wx.BU_EXACTFIT)
		self._TCTRL_loinc = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY)
		self._TCTRL_previous_value = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY)
		self._TCTRL_result = wx.TextCtrl(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmMeasurementWidgets import cUnitPhaseWheel
		self._PRW_units = cUnitPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmMeasurementWidgets import cTestResultIndicatorPhraseWheel
		self._PRW_abnormality_indicator = cTestResultIndicatorPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmDateTimeInput import cFuzzyTimestampInput
		self._DPRW_evaluated = cFuzzyTimestampInput(self, wx.ID_ANY, "")
		self._TCTRL_note_test_org = wx.TextCtrl(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmStaffWidgets import cProviderPhraseWheel
		self._PRW_intended_reviewer = cProviderPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmEMRStructWidgets import cEpisodeSelectionPhraseWheel
		self._PRW_problem = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "")
		self._BTN_manage_episodes = wx.Button(self, wx.ID_ANY, _("&Manage"), style=wx.BU_EXACTFIT)
		self._TCTRL_narrative = wx.TextCtrl(self, wx.ID_ANY, "")
		self._CHBOX_review = wx.CheckBox(self, wx.ID_ANY, _("&Sign"))
		self._CHBOX_abnormal = wx.CheckBox(self, wx.ID_ANY, _("&Abnormal"))
		self._CHBOX_relevant = wx.CheckBox(self, wx.ID_ANY, _("&Relevant"))
		self._TCTRL_review_comment = wx.TextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_normal_min = wx.TextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_normal_max = wx.TextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_normal_range = wx.TextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_target_min = wx.TextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_target_max = wx.TextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_target_range = wx.TextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_norm_ref_group = wx.TextCtrl(self, wx.ID_ANY, "")

		self.__set_properties()
		self.__do_layout()

		self.Bind(wx.EVT_BUTTON, self._on_test_info_button_pressed, self._BTN_test_info)
		self.Bind(wx.EVT_BUTTON, self._on_manage_episodes_button_pressed, self._BTN_manage_episodes)
		self.Bind(wx.EVT_CHECKBOX, self._on_review_box_checked, self._CHBOX_review)
Exemplo n.º 7
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgPersonSocialNetworkManagerPnl.__init__
		kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL
		wx.Panel.__init__(self, *args, **kwds)
		self._TCTRL_person = cPersonSearchCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._BTN_activate_contact = wx.Button(self, wx.ID_ANY, _("Activate"), style=wx.BU_EXACTFIT)
		self._BTN_remove_contact = wx.Button(self, wx.ID_REMOVE, "", style=wx.BU_EXACTFIT)
		self._TCTRL_er_contact = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP | wx.NO_BORDER)
		self._PRW_provider = cProviderPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._BTN_save = wx.Button(self, wx.ID_SAVE, "")
		self._BTN_reload = wx.Button(self, wx.ID_REVERT_TO_SAVED, "")
		self._PNL_external_care = cExternalCareMgrPnl(self, wx.ID_ANY, style=wx.NO_BORDER | wx.TAB_TRAVERSAL)

		self.__set_properties()
		self.__do_layout()

		self.Bind(wx.EVT_BUTTON, self._on_button_activate_contact_pressed, self._BTN_activate_contact)
		self.Bind(wx.EVT_BUTTON, self._on_remove_contact_button_pressed, self._BTN_remove_contact)
		self.Bind(wx.EVT_BUTTON, self._on_save_button_pressed, self._BTN_save)
		self.Bind(wx.EVT_BUTTON, self._on_reload_button_pressed, self._BTN_reload)
Exemplo n.º 8
0
    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)
Exemplo n.º 9
0
	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)
Exemplo n.º 10
0
    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()