示例#1
0
    def __init__(self, *args, **kwds):
        # begin wxGlade: wxgExternalCareEAPnl.__init__
        kwds["style"] = kwds.get("style",
                                 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        from Gnumed.wxpython.gmEMRStructWidgets import cIssueSelectionPhraseWheel
        self._PRW_issue = cIssueSelectionPhraseWheel(self, wx.ID_ANY, "")
        from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitPhraseWheel
        self._PRW_care_location = cOrgUnitPhraseWheel(self, wx.ID_ANY, "")
        self._BTN_manage_orgs = wx.Button(self,
                                          wx.ID_ANY,
                                          _("&Manage"),
                                          style=wx.BU_EXACTFIT)
        from Gnumed.wxpython.gmTextCtrl import cTextCtrl
        self._TCTRL_provider = cTextCtrl(self, wx.ID_ANY, "")
        self._TCTRL_comment = cTextCtrl(self, wx.ID_ANY, "")
        self._CHBOX_inactive = wx.CheckBox(self,
                                           wx.ID_ANY,
                                           _("&Inactive"),
                                           style=wx.CHK_2STATE)

        self.__set_properties()
        self.__do_layout()

        self.Bind(wx.EVT_BUTTON, self._on_manage_orgs_button_pressed,
                  self._BTN_manage_orgs)
示例#2
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgIssueSelectionDlg.__init__
		kwds["style"] = kwds.get("style", 0) | wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER
		wx.Dialog.__init__(self, *args, **kwds)
		self.SetSize((300, 150))
		self._lbl_message = wx.StaticText(self, wx.ID_ANY, _("Please select a health issue:"))
		from Gnumed.wxpython.gmEMRStructWidgets import cIssueSelectionPhraseWheel
		self._PhWheel_issue = cIssueSelectionPhraseWheel(self, wx.ID_ANY)
		self._BTN_OK = wx.Button(self, wx.ID_OK, _("OK"))
		self._BTN_dismiss = wx.Button(self, wx.ID_CANCEL, _("Close"))

		self.__set_properties()
		self.__do_layout()

		self.Bind(wx.EVT_BUTTON, self._on_OK_button_pressed, id=wx.ID_OK)
示例#3
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgEpisodeEditAreaPnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
		wx.ScrolledWindow.__init__(self, *args, **kwds)
		self._TCTRL_patient = wx.TextCtrl(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmEMRStructWidgets import cIssueSelectionPhraseWheel
		self._PRW_issue = cIssueSelectionPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmEMRStructWidgets import cEpisodeDescriptionPhraseWheel
		self._PRW_description = cEpisodeDescriptionPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmEMRStructWidgets import cDiagnosticCertaintyClassificationPhraseWheel
		self._PRW_certainty = cDiagnosticCertaintyClassificationPhraseWheel(self, wx.ID_ANY, "")
		self._CHBOX_closed = wx.CheckBox(self, wx.ID_ANY, _("Closed"))
		self._TCTRL_status = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE)
		from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel
		self._PRW_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "")

		self.__set_properties()
		self.__do_layout()
示例#4
0
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgExternalCareEAPnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
		wx.ScrolledWindow.__init__(self, *args, **kwds)
		from Gnumed.wxpython.gmEMRStructWidgets import cIssueSelectionPhraseWheel
		self._PRW_issue = cIssueSelectionPhraseWheel(self, wx.ID_ANY, "")
		from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitPhraseWheel
		self._PRW_care_location = cOrgUnitPhraseWheel(self, wx.ID_ANY, "")
		self._BTN_manage_orgs = wx.Button(self, wx.ID_ANY, _("&Manage"), style=wx.BU_EXACTFIT)
		from Gnumed.wxpython.gmTextCtrl import cTextCtrl
		self._TCTRL_provider = cTextCtrl(self, wx.ID_ANY, "")
		self._TCTRL_comment = cTextCtrl(self, wx.ID_ANY, "")
		self._CHBOX_inactive = wx.CheckBox(self, wx.ID_ANY, _("&Inactive"), style=wx.CHK_2STATE)

		self.__set_properties()
		self.__do_layout()

		self.Bind(wx.EVT_BUTTON, self._on_manage_orgs_button_pressed, self._BTN_manage_orgs)
示例#5
0
    def __init__(self, *args, **kwds):
        # begin wxGlade: wxgIssueSelectionDlg.__init__
        kwds["style"] = kwds.get(
            "style", 0
        ) | wx.DEFAULT_DIALOG_STYLE | wx.MAXIMIZE_BOX | wx.MINIMIZE_BOX | wx.RESIZE_BORDER
        wx.Dialog.__init__(self, *args, **kwds)
        self.SetSize((300, 150))
        self._lbl_message = wx.StaticText(self, wx.ID_ANY,
                                          _("Please select a health issue:"))
        from Gnumed.wxpython.gmEMRStructWidgets import cIssueSelectionPhraseWheel
        self._PhWheel_issue = cIssueSelectionPhraseWheel(self, wx.ID_ANY)
        self._BTN_OK = wx.Button(self, wx.ID_OK, _("OK"))
        self._BTN_dismiss = wx.Button(self, wx.ID_CANCEL, _("Close"))

        self.__set_properties()
        self.__do_layout()

        self.Bind(wx.EVT_BUTTON, self._on_OK_button_pressed, id=wx.ID_OK)
示例#6
0
    def __init__(self, *args, **kwds):

        from Gnumed.wxpython import gmEMRStructWidgets
        from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel


        # begin wxGlade: wxgEpisodeEditAreaPnl.__init__
        kwds["style"] = wx.NO_BORDER|wx.TAB_TRAVERSAL
        wx.ScrolledWindow.__init__(self, *args, **kwds)
        self._TCTRL_patient = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER)
        self._PRW_issue = gmEMRStructWidgets.cIssueSelectionPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._PRW_description = gmEMRStructWidgets.cEpisodeDescriptionPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._PRW_certainty = gmEMRStructWidgets.cDiagnosticCertaintyClassificationPhraseWheel(self, -1, "", style=wx.NO_BORDER)
        self._CHBOX_closed = wx.CheckBox(self, -1, _("Closed"))
        self._TCTRL_status = wx.TextCtrl(self, -1, "", style=wx.TE_MULTILINE|wx.NO_BORDER)
        self._PRW_codes = cGenericCodesPhraseWheel(self, -1, "", style=wx.NO_BORDER)

        self.__set_properties()
        self.__do_layout()