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

Module gmDemographicsWidgets

source code

Widgets dealing with patient demographics.


Version: $Revision: 1.175 $

Author: R.Terry, SJ Tan, I Haywood, Carlos Moro <cfmoro1976@yahoo.es>

License: GPL (details at http://www.gnu.org)

Classes
  cCountryPhraseWheel
  cStateSelectionPhraseWheel
  cProvinceEAPnl
  cKOrganizerSchedulePnl
  cPersonAddressesManagerPnl
A list for managing a person's addresses.
  cPersonContactsManagerPnl
A panel for editing contact data for a person.
  cAddressEditAreaPnl
An edit area for editing/creating an address.
  cAddressMatchProvider
  cAddressPhraseWheel
  cAddressTypePhraseWheel
  cZipcodePhraseWheel
  cStreetPhraseWheel
  cSuburbPhraseWheel
  cUrbPhraseWheel
  cCommChannelTypePhraseWheel
  cCommChannelEditAreaPnl
An edit area for editing/creating a comms channel.
  cPersonCommsManagerPnl
A list for managing a person's comm channels.
  cLastnamePhraseWheel
  cFirstnamePhraseWheel
  cNicknamePhraseWheel
  cTitlePhraseWheel
  cGenderSelectionPhraseWheel
Let user select a gender.
  cOccupationPhraseWheel
  cExternalIDTypePhraseWheel
  cExternalIDIssuerPhraseWheel
  cExternalIDEditAreaPnl
An edit area for editing/creating external IDs.
  cNameGenderDOBEditAreaPnl
An edit area for editing/creating name/gender/dob.
  cPersonNamesManagerPnl
A list for managing a person's names.
  cPersonIDsManagerPnl
A list for managing a person's external IDs.
  cPersonIdentityManagerPnl
A panel for editing identity data for a person.
  cNewPatientEAPnl
  cBasicPatDetailsPage
Wizard page for entering patient's basic demographic information
  cNewPatientWizard
Wizard to create a new patient.
  cBasicPatDetailsPageValidator
This validator is used to ensure that the user has entered all the required conditional values in the page (eg., to properly create an address, all the related fields must be filled).
  cFormDTD
Simple Data Transfer Dictionary class to make easy the trasfer of data between the form (view) and the business logic.
  cPersonDemographicsEditorNb
Notebook displaying demographics editing pages:
  cPatOccupationsPanel
Page containing patient occupations edition fields.
  cNotebookedPatEditionPanel
Patient demographics plugin for main notebook.
  TestWizardPanel
Utility class to test the new patient wizard.
Functions
 
_(x) source code
 
configure_default_country(parent=None) source code
 
configure_default_region(parent=None) source code
 
edit_province(parent=None, province=None) source code
 
delete_province(parent=None, province=None) source code
 
manage_provinces(parent=None) source code
 
edit_occupation() source code
 
disable_identity(identity=None) source code
 
create_new_person(parent=None, activate=False) source code
 
create_identity_from_dtd(dtd=None)
Register a new patient, given the data supplied in the Data Transfer Dictionary object.
source code
 
update_identity_from_dtd(identity, dtd=None)
Update patient details with data supplied by Data Transfer Dictionary object.
source code
 
link_contacts_from_dtd(identity, dtd=None)
Update patient details with data supplied by Data Transfer Dictionary object.
source code
 
link_occupation_from_dtd(identity, dtd=None)
Update patient details with data supplied by Data Transfer Dictionary object.
source code

Imports: time, string, sys, os, pyDT, csv, codecs, regex, psycopg2, logging, wx, gmDispatcher, gmI18N, gmMatchProvider, gmPG2, gmTools, gmCfg, gmDateTime, gmShellAPI, gmDemographicRecord, gmPerson, gmSurgery, gmPlugin, gmPhraseWheel, gmGuiHelpers, gmDateTimeInput, gmRegetMixin, gmDataMiningWidgets, gmListWidgets, gmEditArea, gmAuthWidgets, gmCfgWidgets, wxgGenericAddressEditAreaPnl, wxgPersonContactsManagerPnl, wxgPersonIdentityManagerPnl, wxgNameGenderDOBEditAreaPnl, wxgCommChannelEditAreaPnl, wxgExternalIDEditAreaPnl, wxgProvinceEAPnl, wxgNewPatientEAPnl


Function Details

create_identity_from_dtd(dtd=None)

source code 

Register a new patient, given the data supplied in the Data Transfer Dictionary object.

@param basic_details_DTD Data Transfer Dictionary encapsulating all the supplied data. @type basic_details_DTD A cFormDTD instance.

update_identity_from_dtd(identity, dtd=None)

source code 

Update patient details with data supplied by Data Transfer Dictionary object.

@param basic_details_DTD Data Transfer Dictionary encapsulating all the supplied data. @type basic_details_DTD A cFormDTD instance.

link_contacts_from_dtd(identity, dtd=None)

source code 

Update patient details with data supplied by Data Transfer Dictionary object.

@param basic_details_DTD Data Transfer Dictionary encapsulating all the supplied data. @type basic_details_DTD A cFormDTD instance.

link_occupation_from_dtd(identity, dtd=None)

source code 

Update patient details with data supplied by Data Transfer Dictionary object.

@param basic_details_DTD Data Transfer Dictionary encapsulating all the supplied data. @type basic_details_DTD A cFormDTD instance.