def __init__(self, *args, **kwds): # begin wxGlade: wxgFancySoapEditorPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) from Gnumed.wxpython.gmTextCtrl import cTextCtrl self._TCTRL_rfe = cTextCtrl(self, wx.ID_ANY, "") from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel self._PRW_rfe_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "") self._TCTRL_aoe = cTextCtrl(self, wx.ID_ANY, "") self._PRW_aoe_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmNarrativeWidgets import cSoapNoteInputNotebook self._NB_soap_editors = cSoapNoteInputNotebook(self, wx.ID_ANY, style=0) self.notebook_1_pane_1 = wx.Panel(self._NB_soap_editors, wx.ID_ANY) self._BTN_new_editor = wx.Button(self, wx.ID_ANY, _("&New"), style=wx.BU_EXACTFIT) self._BTN_clear_editor = wx.Button(self, wx.ID_ANY, _("&Clear"), style=wx.BU_EXACTFIT) self._BTN_discard_editor = wx.Button(self, wx.ID_ANY, _("&Discard"), style=wx.BU_EXACTFIT) self._BTN_save_note = wx.Button(self, wx.ID_ANY, _("&Save"), style=wx.BU_EXACTFIT) self._BTN_save_note_under = wx.Button(self, wx.ID_ANY, _("Save &under"), style=wx.BU_EXACTFIT) self._BTN_image = wx.Button(self, wx.ID_ANY, _("&Image"), style=wx.BU_EXACTFIT) self._BTN_save_encounter = wx.Button(self, wx.ID_ANY, _("Save"), style=wx.BU_EXACTFIT) self._BTN_save_all = wx.Button(self, wx.ID_ANY, _("Save &all"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_new_editor_button_pressed, self._BTN_new_editor) self.Bind(wx.EVT_BUTTON, self._on_clear_editor_button_pressed, self._BTN_clear_editor) self.Bind(wx.EVT_BUTTON, self._on_discard_editor_button_pressed, self._BTN_discard_editor) self.Bind(wx.EVT_BUTTON, self._on_save_note_button_pressed, self._BTN_save_note) self.Bind(wx.EVT_BUTTON, self._on_save_note_under_button_pressed, self._BTN_save_note_under) self.Bind(wx.EVT_BUTTON, self._on_image_button_pressed, self._BTN_image) self.Bind(wx.EVT_BUTTON, self._on_save_encounter_button_pressed, self._BTN_save_encounter) self.Bind(wx.EVT_BUTTON, self._on_save_all_button_pressed, self._BTN_save_all)
def __init__(self, *args, **kwds): # begin wxGlade: wxgProgressNotesEAPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LBL_Soap = wx.StaticText(self, wx.ID_ANY, _("Subjective")) from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel self._PRW_Soap_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "", style=wx.TE_READONLY) from Gnumed.wxpython.gmTextCtrl import cExpandoTextCtrl self._TCTRL_Soap = cExpandoTextCtrl(self, wx.ID_ANY, "", style=wx.TE_WORDWRAP) self._LBL_sOap = wx.StaticText(self, wx.ID_ANY, _("Objective")) self._PRW_sOap_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "", style=wx.TE_READONLY) self._TCTRL_sOap = cExpandoTextCtrl(self, wx.ID_ANY, "", style=wx.TE_WORDWRAP) self._LBL_soAp = wx.StaticText(self, wx.ID_ANY, _("Assessment")) self._PRW_soAp_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "", style=wx.TE_READONLY) self._TCTRL_soAp = cExpandoTextCtrl(self, wx.ID_ANY, "", style=wx.TE_WORDWRAP) self._LBL_soaP = wx.StaticText(self, wx.ID_ANY, _("Plan")) self._PRW_soaP_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "", style=wx.TE_READONLY) self._TCTRL_soaP = cExpandoTextCtrl(self, wx.ID_ANY, "", style=wx.TE_WORDWRAP) from Gnumed.wxpython.gmSoapSTCWidgets import cSoapSTC self._STC_soap = cSoapSTC(self, wx.ID_ANY, "") from Gnumed.wxpython.gmVisualProgressNoteWidgets import cVisualSoapPresenterPnl self._PNL_visual_soap = cVisualSoapPresenterPnl(self, wx.ID_ANY, style=wx.BORDER_NONE) self._LBL_summary = wx.StaticText(self, wx.ID_ANY, _("Episode synopsis")) self._PRW_episode_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "") self._TCTRL_episode_summary = cExpandoTextCtrl(self, wx.ID_ANY, "", style=wx.TE_WORDWRAP) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): # begin wxGlade: wxgHealthIssueEditAreaPnl.__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_condition = cPhraseWheel(self, wx.ID_ANY, "") self._ChBOX_left = wx.CheckBox(self, wx.ID_ANY, _("left")) self._ChBOX_right = wx.CheckBox(self, wx.ID_ANY, _("right")) from Gnumed.wxpython.gmEMRStructWidgets import cDiagnosticCertaintyClassificationPhraseWheel self._PRW_certainty = cDiagnosticCertaintyClassificationPhraseWheel(self, wx.ID_ANY, "") self._PRW_grouping = cPhraseWheel(self, wx.ID_ANY, "") self._PRW_age_noted = cPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDateTimeInput import cFuzzyTimestampInput self._PRW_year_noted = cFuzzyTimestampInput(self, wx.ID_ANY, "") self._TCTRL_status = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_WORDWRAP) self._ChBOX_active = wx.CheckBox(self, wx.ID_ANY, _("Active")) self._ChBOX_relevant = wx.CheckBox(self, wx.ID_ANY, _("Relevant")) self._ChBOX_confidential = wx.CheckBox(self, wx.ID_ANY, _("Confidential")) self._ChBOX_caused_death = wx.CheckBox(self, wx.ID_ANY, _("Caused death")) from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel self._PRW_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "") self._TCTRL_code_details = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_READONLY) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmPhraseWheel from Gnumed.wxpython import gmEMRStructWidgets from Gnumed.wxpython import gmDateTimeInput from Gnumed.wxpython import gmOrganizationWidgets from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel # begin wxGlade: wxgProcedureEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._PRW_procedure = gmPhraseWheel.cPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._DPRW_date = gmDateTimeInput.cFuzzyTimestampInput(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._DPRW_end = gmDateTimeInput.cFuzzyTimestampInput(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._CHBOX_ongoing = wx.CheckBox(self, wx.ID_ANY, _("Ongoing")) self.static_line_1 = wx.StaticLine(self, wx.ID_ANY) self._PRW_location = gmOrganizationWidgets.cOrgUnitPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._BTN_add_location = wx.Button(self, wx.ID_ANY, _("+"), style=wx.BU_EXACTFIT) self._PRW_episode = gmEMRStructWidgets.cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self.static_line_2 = wx.StaticLine(self, wx.ID_ANY) self._PRW_hospital_stay = gmEMRStructWidgets.cHospitalStayPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._BTN_add_stay = wx.Button(self, wx.ID_ANY, _("+"), style=wx.BU_EXACTFIT) self._LBL_hospital_details = wx.StaticText(self, wx.ID_ANY, "") self._PRW_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_ongoing_checkbox_checked, self._CHBOX_ongoing) self.Bind(wx.EVT_BUTTON, self._on_add_location_button_pressed, self._BTN_add_location) self.Bind(wx.EVT_BUTTON, self._on_add_hospital_stay_button_pressed, self._BTN_add_stay)
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): # begin wxGlade: wxgProcedureEAPnl.__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_procedure = cPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDateTimeInput import cFuzzyTimestampInput self._DPRW_date = cFuzzyTimestampInput(self, wx.ID_ANY, "") self._DPRW_end = cFuzzyTimestampInput(self, wx.ID_ANY, "") self._CHBOX_ongoing = wx.CheckBox(self, wx.ID_ANY, _("Ongoing")) self.static_line_1 = wx.StaticLine(self, wx.ID_ANY) from Gnumed.wxpython.gmOrganizationWidgets import cOrgUnitPhraseWheel self._PRW_location = cOrgUnitPhraseWheel(self, wx.ID_ANY, "") self._BTN_add_location = wx.Button(self, wx.ID_ANY, _("+"), style=wx.BU_EXACTFIT) from Gnumed.wxpython.gmEMRStructWidgets import cEpisodeSelectionPhraseWheel self._PRW_episode = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "") self.static_line_2 = wx.StaticLine(self, wx.ID_ANY) from Gnumed.wxpython.gmHospitalStayWidgets import cHospitalStayPhraseWheel self._PRW_hospital_stay = cHospitalStayPhraseWheel(self, wx.ID_ANY, "") self._BTN_add_stay = wx.Button(self, wx.ID_ANY, _("+"), style=wx.BU_EXACTFIT) self._LBL_hospital_details = wx.StaticText(self, wx.ID_ANY, "") from Gnumed.wxpython.gmTextCtrl import cTextCtrl self._TCTRL_comment = cTextCtrl(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDocumentWidgets import cDocumentPhraseWheel self._PRW_document = cDocumentPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel self._PRW_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "") self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_ongoing_checkbox_checked, self._CHBOX_ongoing) self.Bind(wx.EVT_BUTTON, self._on_add_location_button_pressed, self._BTN_add_location) self.Bind(wx.EVT_BUTTON, self._on_add_hospital_stay_button_pressed, self._BTN_add_stay)
def __init__(self, *args, **kwds): # begin wxGlade: wxgProcedureEAPnl.__init__ kwds["style"] = wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._PRW_procedure = cPhraseWheel(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._DPRW_date = cFuzzyTimestampInput(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._DPRW_end = cFuzzyTimestampInput(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._CHBOX_ongoing = wx.CheckBox(self, wx.ID_ANY, _("Ongoing")) self.static_line_1 = wx.StaticLine(self, wx.ID_ANY) self._PRW_location = cOrgUnitPhraseWheel(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._BTN_add_location = wx.Button(self, wx.ID_ANY, _("+"), style=wx.BU_EXACTFIT) self._PRW_episode = cEpisodeSelectionPhraseWheel(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self.static_line_2 = wx.StaticLine(self, wx.ID_ANY) self._PRW_hospital_stay = cHospitalStayPhraseWheel( self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._BTN_add_stay = wx.Button(self, wx.ID_ANY, _("+"), style=wx.BU_EXACTFIT) self._LBL_hospital_details = wx.StaticText(self, wx.ID_ANY, "") self._TCTRL_comment = cTextCtrl(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._PRW_document = cDocumentPhraseWheel(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self._PRW_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "", style=wx.BORDER_NONE) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_ongoing_checkbox_checked, self._CHBOX_ongoing) self.Bind(wx.EVT_BUTTON, self._on_add_location_button_pressed, self._BTN_add_location) self.Bind(wx.EVT_BUTTON, self._on_add_hospital_stay_button_pressed, self._BTN_add_stay)
def __init__(self, *args, **kwds): # begin wxGlade: wxgEncounterEditAreaPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LBL_instructions = wx.StaticText(self, wx.ID_ANY, _("Edit the details for the encounter below:")) self._LBL_patient = wx.StaticText(self, wx.ID_ANY, "") from Gnumed.wxpython.gmEncounterWidgets import cEncounterTypePhraseWheel self._PRW_encounter_type = cEncounterTypePhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmPraxisWidgets import cPraxisBranchPhraseWheel self._PRW_location = cPraxisBranchPhraseWheel(self, wx.ID_ANY, "") from Gnumed.wxpython.gmDateTimeInput import cFuzzyTimestampInput self._PRW_start = cFuzzyTimestampInput(self, wx.ID_ANY, "") self._PRW_end = cFuzzyTimestampInput(self, wx.ID_ANY, "") self._TCTRL_rfe = wx.TextCtrl(self, wx.ID_ANY, "") from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel self._PRW_rfe_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "") self._TCTRL_aoe = wx.TextCtrl(self, wx.ID_ANY, "") self._PRW_aoe_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "") self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmEncounterWidgets import cEncounterTypePhraseWheel from Gnumed.wxpython.gmDateTimeInput import cFuzzyTimestampInput from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel from Gnumed.wxpython.gmPraxisWidgets import cPraxisBranchPhraseWheel # begin wxGlade: wxgEncounterEditAreaPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._LBL_instructions = wx.StaticText(self, wx.ID_ANY, _("Edit the details for the encounter below:")) self._LBL_patient = wx.StaticText(self, wx.ID_ANY, "") self._PRW_encounter_type = cEncounterTypePhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_location = cPraxisBranchPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_start = cFuzzyTimestampInput(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_end = cFuzzyTimestampInput(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_rfe = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_rfe_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_aoe = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._PRW_aoe_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmNarrativeWidgets import cSoapLineTextCtrl from Gnumed.wxpython.gmNarrativeWidgets import cVisualSoapPresenterPnl from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel # begin wxGlade: wxgSoapNoteExpandoEditAreaPnl.__init__ kwds["style"] = wx.NO_BORDER|wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._PRW_Soap_codes = cGenericCodesPhraseWheel(self, -1, "", style=wx.TE_READONLY|wx.NO_BORDER) self._TCTRL_Soap = cSoapLineTextCtrl(self, -1, "", style=wx.TE_WORDWRAP|wx.NO_BORDER) self._PRW_sOap_codes = cGenericCodesPhraseWheel(self, -1, "", style=wx.TE_READONLY|wx.NO_BORDER) self._TCTRL_sOap = cSoapLineTextCtrl(self, -1, "", style=wx.TE_WORDWRAP|wx.NO_BORDER) self._PRW_soAp_codes = cGenericCodesPhraseWheel(self, -1, "", style=wx.TE_READONLY|wx.NO_BORDER) self._TCTRL_soAp = cSoapLineTextCtrl(self, -1, "", style=wx.TE_WORDWRAP|wx.NO_BORDER) self._PRW_soaP_codes = cGenericCodesPhraseWheel(self, -1, "", style=wx.TE_READONLY|wx.NO_BORDER) self._TCTRL_soaP = cSoapLineTextCtrl(self, -1, "", style=wx.TE_WORDWRAP|wx.NO_BORDER) self._PNL_visual_soap = cVisualSoapPresenterPnl(self, -1, style=wx.NO_BORDER) self._LBL_summary = wx.StaticText(self, -1, _("Episode synopsis")) self._PRW_episode_codes = cGenericCodesPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_episode_summary = cSoapLineTextCtrl(self, -1, "", style=wx.TE_WORDWRAP|wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel # begin wxGlade: wxgTestPanelEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._TCTRL_description = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.NO_BORDER) self._TCTRL_tests = wx.TextCtrl(self, wx.ID_ANY, "", style=wx.TE_MULTILINE) self._BTN_select_tests = wx.Button(self, wx.ID_ANY, _("&Manage..."), style=wx.BU_EXACTFIT) self._PRW_codes = cGenericCodesPhraseWheel(self, wx.ID_ANY, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_select_tests_button_pressed, self._BTN_select_tests)
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()
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()
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmNarrativeWidgets import cSoapNoteInputNotebook from Gnumed.wxpython.gmCodingWidgets import cGenericCodesPhraseWheel # begin wxGlade: wxgFancySoapEditorPnl.__init__ kwds["style"] = wx.TAB_TRAVERSAL wx.Panel.__init__(self, *args, **kwds) self._TCTRL_rfe = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_rfe_codes = cGenericCodesPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_aoe = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._PRW_aoe_codes = cGenericCodesPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._NB_soap_editors = cSoapNoteInputNotebook(self, -1, style=0) self.notebook_1_pane_1 = wx.Panel(self._NB_soap_editors, -1) self._BTN_new_editor = wx.Button(self, -1, _("&New"), style=wx.BU_EXACTFIT) self._BTN_clear_editor = wx.Button(self, -1, _("&Clear"), style=wx.BU_EXACTFIT) self._BTN_discard_editor = wx.Button(self, -1, _("&Discard"), style=wx.BU_EXACTFIT) self._BTN_save_note = wx.Button(self, -1, _("&Save"), style=wx.BU_EXACTFIT) self._BTN_save_note_under = wx.Button(self, -1, _("Save &under"), style=wx.BU_EXACTFIT) self._BTN_image = wx.Button(self, -1, _("&Image"), style=wx.BU_EXACTFIT) self._BTN_save_encounter = wx.Button(self, -1, _("Save"), style=wx.BU_EXACTFIT) self._BTN_save_all = wx.Button(self, -1, _("Save &all"), style=wx.BU_EXACTFIT) self.__szr_right_staticbox = wx.StaticBox( self, -1, _("New notelets in current encounter")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_BUTTON, self._on_new_editor_button_pressed, self._BTN_new_editor) self.Bind(wx.EVT_BUTTON, self._on_clear_editor_button_pressed, self._BTN_clear_editor) self.Bind(wx.EVT_BUTTON, self._on_discard_editor_button_pressed, self._BTN_discard_editor) self.Bind(wx.EVT_BUTTON, self._on_save_note_button_pressed, self._BTN_save_note) self.Bind(wx.EVT_BUTTON, self._on_save_note_under_button_pressed, self._BTN_save_note_under) self.Bind(wx.EVT_BUTTON, self._on_image_button_pressed, self._BTN_image) self.Bind(wx.EVT_BUTTON, self._on_save_encounter_button_pressed, self._BTN_save_encounter) self.Bind(wx.EVT_BUTTON, self._on_save_all_button_pressed, self._BTN_save_all)