예제 #1
0
    def __init__(self, *args, **kwds):

        from Gnumed.wxpython.gmMedicationWidgets import cSubstancePreparationPhraseWheel

        # begin wxGlade: wxgSingleComponentGenericDrugEAPnl.__init__
        kwds["style"] = wx.BORDER_NONE | wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        self._LBL_drug_name = wx.StaticText(self, wx.ID_ANY, "")
        self._PRW_substance = cSubstancePhraseWheel(self,
                                                    wx.ID_ANY,
                                                    "",
                                                    style=wx.BORDER_NONE)
        self._TCTRL_amount = cTextCtrl(self,
                                       wx.ID_ANY,
                                       "",
                                       style=wx.BORDER_NONE)
        self._PRW_unit = cUnitPhraseWheel(self,
                                          wx.ID_ANY,
                                          "",
                                          style=wx.BORDER_NONE)
        self._PRW_dose_unit = cUnitPhraseWheel(self,
                                               wx.ID_ANY,
                                               "",
                                               style=wx.BORDER_NONE)
        self._PRW_preparation = cSubstancePreparationPhraseWheel(
            self, wx.ID_ANY, "", style=wx.BORDER_NONE)

        self.__set_properties()
        self.__do_layout()
예제 #2
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgSubstanceDoseEAPnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
		wx.ScrolledWindow.__init__(self, *args, **kwds)
		self._PRW_substance = cSubstancePhraseWheel(self, wx.ID_ANY, "")
		self._TCTRL_amount = cTextCtrl(self, wx.ID_ANY, "")
		self._PRW_unit = cUnitPhraseWheel(self, wx.ID_ANY, "")
		self._PRW_dose_unit = cUnitPhraseWheel(self, wx.ID_ANY, "")
		self._LBL_info = wx.StaticText(self, wx.ID_ANY, "")

		self.__set_properties()
		self.__do_layout()
예제 #3
0
    def __init__(self, *args, **kwds):
        # begin wxGlade: wxgSubstanceDoseEAPnl.__init__
        kwds["style"] = kwds.get("style",
                                 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        self._PRW_substance = cSubstancePhraseWheel(self, wx.ID_ANY, "")
        self._TCTRL_amount = cTextCtrl(self, wx.ID_ANY, "")
        self._PRW_unit = cUnitPhraseWheel(self, wx.ID_ANY, "")
        self._PRW_dose_unit = cUnitPhraseWheel(self, wx.ID_ANY, "")
        self._LBL_info = wx.StaticText(self, wx.ID_ANY, "")

        self.__set_properties()
        self.__do_layout()
예제 #4
0
    def __init__(self, *args, **kwds):

        from Gnumed.wxpython import gmMeasurementWidgets

        # begin wxGlade: wxgDrugComponentEAPnl.__init__
        kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        self._TCTRL_product_name = wx.TextCtrl(self,
                                               -1,
                                               "",
                                               style=wx.TE_READONLY
                                               | wx.NO_BORDER)
        self._TCTRL_components = wx.TextCtrl(self,
                                             -1,
                                             "",
                                             style=wx.TE_READONLY
                                             | wx.NO_BORDER)
        self._TCTRL_codes = wx.TextCtrl(self,
                                        -1,
                                        "",
                                        style=wx.TE_READONLY | wx.NO_BORDER)
        self._PRW_substance = gmSubstanceMgmtWidgets.cSubstancePhraseWheel(
            self, -1, "", style=wx.NO_BORDER)
        self._TCTRL_amount = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER)
        self._PRW_unit = gmMeasurementWidgets.cUnitPhraseWheel(
            self, -1, "", style=wx.NO_BORDER)

        self.__set_properties()
        self.__do_layout()
예제 #5
0
    def __init__(self, *args, **kwds):
        # begin wxGlade: wxgDrugComponentEAPnl.__init__
        kwds["style"] = kwds.get("style",
                                 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        self._TCTRL_product_name = wx.TextCtrl(self,
                                               wx.ID_ANY,
                                               "",
                                               style=wx.TE_READONLY)
        self._TCTRL_components = wx.TextCtrl(self,
                                             wx.ID_ANY,
                                             "",
                                             style=wx.TE_MULTILINE
                                             | wx.TE_READONLY)
        self._TCTRL_codes = wx.TextCtrl(self,
                                        wx.ID_ANY,
                                        "",
                                        style=wx.TE_READONLY)
        from Gnumed.wxpython.gmSubstanceMgmtWidgets import cSubstancePhraseWheel
        self._PRW_substance = cSubstancePhraseWheel(self, wx.ID_ANY, "")
        self._TCTRL_amount = wx.TextCtrl(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmMeasurementWidgets import cUnitPhraseWheel
        self._PRW_unit = cUnitPhraseWheel(self, wx.ID_ANY, "")

        self.__set_properties()
        self.__do_layout()
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgSingleComponentGenericDrugEAPnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
		wx.ScrolledWindow.__init__(self, *args, **kwds)
		self._LBL_drug_name = wx.StaticText(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmSubstanceMgmtWidgets import cSubstancePhraseWheel
		self._PRW_substance = cSubstancePhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmTextCtrl import cTextCtrl
		self._TCTRL_amount = cTextCtrl(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmMeasurementWidgets import cUnitPhraseWheel
		self._PRW_unit = cUnitPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmMeasurementWidgets import cUnitPhraseWheel
		self._PRW_dose_unit = cUnitPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmMedicationWidgets import cSubstancePreparationPhraseWheel
		self._PRW_preparation = cSubstancePreparationPhraseWheel(self, wx.ID_ANY, "")

		self.__set_properties()
		self.__do_layout()
예제 #7
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgConsumableSubstanceEAPnl.__init__
		kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL
		wx.ScrolledWindow.__init__(self, *args, **kwds)
		self._TCTRL_substance = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._TCTRL_amount = cTextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._PRW_unit = cUnitPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)
		self._HL_atc_list = wx.HyperlinkCtrl(self, wx.ID_ANY, _("ATC Code"), _("http://www.whocc.no/atc_ddd_index/"), style=wx.HL_ALIGN_CENTRE | wx.HL_CONTEXTMENU | wx.HL_DEFAULT_STYLE)
		self._PRW_atc = cATCPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER)

		self.__set_properties()
		self.__do_layout()
예제 #8
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgDrugComponentEAPnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
		wx.ScrolledWindow.__init__(self, *args, **kwds)
		self._TCTRL_product_name = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY)
		self._TCTRL_components = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY)
		self._TCTRL_codes = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_READONLY)
		from Gnumed.wxpython.gmSubstanceMgmtWidgets import cSubstancePhraseWheel
		self._PRW_substance = cSubstancePhraseWheel(self, wx.ID_ANY, "")
		self._TCTRL_amount = wx.TextCtrl(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmMeasurementWidgets import cUnitPhraseWheel
		self._PRW_unit = cUnitPhraseWheel(self, wx.ID_ANY, "")

		self.__set_properties()
		self.__do_layout()
예제 #9
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)
예제 #10
0
    def __init__(self, *args, **kwds):

        from Gnumed.wxpython import gmPhraseWheel
        from Gnumed.wxpython import gmMeasurementWidgets

        # begin wxGlade: wxgMeasurementTypeEAPnl.__init__
        kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        self._PRW_name = gmPhraseWheel.cPhraseWheel(self,
                                                    wx.ID_ANY,
                                                    "",
                                                    style=wx.NO_BORDER)
        self._PRW_abbrev = gmPhraseWheel.cPhraseWheel(self,
                                                      wx.ID_ANY,
                                                      "",
                                                      style=wx.NO_BORDER)
        self._PRW_reference_unit = gmMeasurementWidgets.cUnitPhraseWheel(
            self, wx.ID_ANY, "", style=wx.NO_BORDER)
        self._PRW_loinc = gmPhraseWheel.cPhraseWheel(self,
                                                     wx.ID_ANY,
                                                     "",
                                                     style=wx.NO_BORDER)
        self._TCTRL_loinc_info = wx.TextCtrl(self,
                                             wx.ID_ANY,
                                             "",
                                             style=wx.TE_READONLY
                                             | wx.NO_BORDER)
        self._TCTRL_comment_type = wx.TextCtrl(self,
                                               wx.ID_ANY,
                                               "",
                                               style=wx.NO_BORDER)
        self._PRW_test_org = gmMeasurementWidgets.cMeasurementOrgPhraseWheel(
            self, wx.ID_ANY, "", style=wx.NO_BORDER)
        self._PRW_meta_type = gmMeasurementWidgets.cMetaTestTypePRW(
            self, wx.ID_ANY, "", style=wx.NO_BORDER)

        self.__set_properties()
        self.__do_layout()
예제 #11
0
    def __init__(self, *args, **kwds):
        # begin wxGlade: wxgMeasurementTypeEAPnl.__init__
        kwds["style"] = kwds.get("style",
                                 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        from Gnumed.wxpython.gmPhraseWheel import cPhraseWheel
        self._PRW_name = cPhraseWheel(self, wx.ID_ANY, "")
        self._PRW_abbrev = cPhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmMeasurementWidgets import cUnitPhraseWheel
        self._PRW_reference_unit = cUnitPhraseWheel(self, wx.ID_ANY, "")
        self._PRW_loinc = cPhraseWheel(self, wx.ID_ANY, "")
        self._TCTRL_loinc_info = wx.TextCtrl(self,
                                             wx.ID_ANY,
                                             "",
                                             style=wx.TE_READONLY)
        self._TCTRL_comment_type = wx.TextCtrl(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmMeasurementWidgets import cMeasurementOrgPhraseWheel
        self._PRW_test_org = cMeasurementOrgPhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmMeasurementWidgets import cMetaTestTypePRW
        self._PRW_meta_type = cMetaTestTypePRW(self, wx.ID_ANY, "")

        self.__set_properties()
        self.__do_layout()
예제 #12
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)