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>.
Author:
cfmoro1976@yahoo.es, karsten.hilbert@gmx.net
License:
GPL v2 or later
|
emr_access_spinner(time2spin=0)
Spin time in seconds. |
source code
|
|
|
|
|
edit_procedure(parent=None,
procedure=None) |
source code
|
|
|
|
|
edit_hospital_stay(parent=None,
hospital_stay=None) |
source code
|
|
|
|
|
edit_encounter(parent=None,
encounter=None,
msg=None) |
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
|
|
|
|
|
edit_encounter_type(parent=None,
encounter_type=None) |
source code
|
|
|
|
|
promote_episode_to_issue(parent=None,
episode=None,
emr=None) |
source code
|
|
|
|
|
|
|
select_health_issues(parent=None,
emr=None) |
source code
|
|
Imports:
sys,
time,
logging,
pydt,
wx,
gmI18N,
gmExceptions,
gmCfg,
gmDateTime,
gmTools,
gmDispatcher,
gmMatchProvider,
gmEMRStructItems,
gmPraxis,
gmPerson,
gmPhraseWheel,
gmGuiHelpers,
gmListWidgets,
gmEditArea,
wxgProcedureEAPnl,
wxgHospitalStayEditAreaPnl,
wxgEncounterEditAreaDlg,
wxgEncounterTypeEditAreaPnl,
wxgEncounterEditAreaPnl,
wxgActiveEncounterPnl,
wxgEpisodeEditAreaPnl,
wxgIssueSelectionDlg,
wxgHealthIssueEditAreaPnl
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().
|