Package Gnumed :: Package business :: Module gmDemographicRecord |
[frames] | no frames]

# Module gmDemographicRecord

source code

GNUmed demographics object.

This is a patient object intended to let a useful client-side API crystallize from actual use in true XP fashion.

license: GPL v2 or later

Version: $Revision: 1.106 $

Author: K.Hilbert <Karsten.Hilbert@gmx.net>, I.Haywood <ihaywood@gnu.org>

Classes
| cTagImage
| cIdentityTag
| cAddress A class representing an address as an entity in itself.
| cPatientAddress
| cCommChannel
| cOrgCommChannel
| cOrg Organisations

Functions
_(x) | source code
get_occupations(pk_identity=None) | source code
get_tag_images(order_by=None) | source code
create_tag_image(description=None, link_obj=None) | source code
delete_tag_image(tag_image=None) | source code
get_countries() | source code
get_country_for_region(region=None) | source code
delete_province(province=None, delete_urbs=False) | source code
create_province(name=None, code=None, country=None) | source code
get_provinces() | source code
address_exists(country=None, state=None, urb=None, postcode=None, street=None, number=None, subunit=None) | source code
create_address(country=None, state=None, urb=None, suburb=None, postcode=None, street=None, number=None, subunit=None) | source code
delete_address(pk_address=None) | source code
format_address(address=None) | source code
get_address_types(identity=None) | source code
get_addresses(order_by=None) | source code
create_comm_channel(comm_medium=None, url=None, is_confidential=False, pk_channel_type=None, pk_identity=None, pk_org_unit=None) Create a communications channel for a patient. | source code
delete_comm_channel(pk=None, pk_patient=None, pk_org_unit=None) | source code
get_comm_channel_types() | source code
delete_comm_channel_type(pk_channel_type=None) | source code
get_time_tuple(mx) wrap mx.DateTime brokenness Returns 9-tuple for use with pyhon time functions | source code
getAddressTypes() Gets a dict matching address types to their ID | source code
getMaritalStatusTypes() Gets a dictionary matching marital status types to their internal ID | source code
getRelationshipTypes() Gets a dictionary of relationship types to internal id | source code
getUrb(id_urb) | source code
getStreet(id_street) | source code
getCountry(country_code) | source code
get_town_data(town) | source code

Variables
| __package__ = ``'``Gnumed.business``'``

Imports: sys, os, logging, gmDispatcher, gmBusinessDBObject, gmPG2, gmTools