Package Gnumed :: Package wxpython :: Module gmEMRStructWidgets |
[frames] | no frames]

# Module gmEMRStructWidgets

source code

GNUmed EMR structure editors

This module contains widgets to create and edit EMR structural elements (issues, enconters, episodes).

This is based on initial work and ideas by Syan <kittylitter@swiftdsl.com.au> and Karsten <Karsten.Hilbert@gmx.net>.

Version: $Revision: 1.114 $

Author: cfmoro1976@yahoo.es, karsten.hilbert@gmx.net

License: GPL

Classes
| cProcedureEAPnl
| cHospitalStayPhraseWheel Phrasewheel to allow selection of a hospital stay.
| cHospitalStayEditAreaPnl
| cEncounterTypePhraseWheel Phrasewheel to allow selection of encounter type.
| cEncounterTypeEditAreaPnl
| cEncounterEditAreaPnl
| cEncounterEditAreaDlg
| cActiveEncounterPnl
| cEpisodeListSelectorDlg
| cEpisodeDescriptionPhraseWheel Let user select an episode *description*.
| cEpisodeSelectionPhraseWheel Let user select an episode.
| cEpisodeEditAreaPnl
| cIssueListSelectorDlg
| cIssueSelectionPhraseWheel Let the user select a health issue.
| cIssueSelectionDlg
| cHealthIssueEditAreaPnl Panel encapsulating health issue edit area functionality.
| cDiagnosticCertaintyClassificationPhraseWheel

Functions
manage_performed_procedures(parent=None) | source code
edit_procedure(parent=None, procedure=None) | source code
manage_hospital_stays(parent=None) | source code
edit_hospital_stay(parent=None, hospital_stay=None) | source code
start_new_encounter(emr=None) | source code
edit_encounter(parent=None, encounter=None) | source code
manage_encounters(**kwargs) | source code
select_encounters(parent=None, patient=None, single_selection=True, encounters=None, ignore_OK_button=False) | source code
ask_for_encounter_continuation(msg=None, caption=None, encounter=None, parent=None) This is used as the callback when the EMR detects that the patient was here rather recently and wants to ask the provider whether to continue the recent encounter. | source code
manage_encounter_types(parent=None) | source code
edit_encounter_type(parent=None, encounter_type=None) | source code
edit_episode(parent=None, episode=None) | source code
promote_episode_to_issue(parent=None, episode=None, emr=None) | source code
move_episode_to_issue(episode=None, target_issue=None, save_to_backend=False) Prepare changing health issue for an episode. | source code
edit_health_issue(parent=None, issue=None) | source code

Imports: sys, re, pydt, logging, time, wx, gmI18N, gmMatchProvider, gmDispatcher, gmTools, gmDateTime, gmCfg, gmExceptions, gmEMRStructItems, gmPerson, gmSOAPimporter, gmSurgery, gmPersonSearch, gmPhraseWheel, gmGuiHelpers, gmListWidgets, gmEditArea, gmPatSearchWidgets, wxgIssueSelectionDlg, wxgMoveNarrativeDlg, wxgEncounterTypeEditAreaPnl, wxgProcedureEAPnl, wxgHospitalStayEditAreaPnl, wxgEncounterEditAreaDlg, wxgEncounterEditAreaPnl, wxgActiveEncounterPnl, wxgEpisodeEditAreaPnl, wxgHealthIssueEditAreaPnl

Function Details

### move_episode_to_issue(episode=None, target_issue=None, save_to_backend=False) | source code
Prepare changing health issue for an episode. Checks for two-open-episodes conflict. When this function succeeds, the pk_health_issue has been set on the episode instance and the episode should - for all practical purposes - be ready for save_payload().