|
|
|
|
|
|
|
get_names(self,
active_only=False,
exclude_active=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_external_id(self,
type_name=None,
value=None,
issuer=None,
comment=None,
pk_type=None)
Adds an external ID to the patient. |
source code
|
|
|
|
|
get_external_ids(self,
id_type=None,
issuer=None) |
source code
|
|
|
|
|
|
|
put_on_waiting_list(self,
urgency=0,
comment=None,
zone=None) |
source code
|
|
|
|
|
export_as_gdt(self,
filename=None,
encoding='iso-8859-15',
external_id_type=None) |
source code
|
|
|
|
|
link_occupation(self,
occupation=None,
activities=None)
Link an occupation with a patient, creating the occupation if it does
not exists. |
source code
|
|
|
|
|
|
|
link_comm_channel(self,
comm_medium=None,
url=None,
is_confidential=False,
pk_channel_type=None)
Link a communication medium with a patient. |
source code
|
|
|
unlink_comm_channel(self,
comm_channel=None) |
source code
|
|
|
|
|
link_address(self,
number=None,
street=None,
postcode=None,
urb=None,
state=None,
country=None,
subunit=None,
suburb=None,
id_type=None,
address=None)
Link an address with a patient, creating the address if it does not
exists. |
source code
|
|
|
|
|
|
|
|
|
|
|
get_formatted_dob(self,
format='%Y %b %d',
encoding=None,
none_string=None) |
source code
|
|
|
|
|
dob_in_range(self,
min_distance=u'1 week',
max_distance=u'1 week') |
source code
|
|
|
|
|
|
|
|
|
get_dirname(self)
Format patient demographics into patient specific path name fragment. |
source code
|
|
Inherited from pycommon.gmBusinessDBObject.cBusinessDBObject :
__del__ ,
__getitem__ ,
__init__ ,
__str__ ,
__unicode__ ,
fields_as_dict ,
format ,
get_fields ,
get_patient ,
get_updatable_fields ,
is_modified ,
refetch_payload ,
same_payload ,
save ,
save_payload
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|
|
ID = property(_get_ID, _set_ID)
|
|
is_patient = property(_get_is_patient, _set_is_patient)
|
|
staff_id = property(_get_staff_id, lambda x: x)
|
|
gender_symbol = property(_get_gender_symbol, lambda x: x)
|
|
gender_string = property(_get_gender_string, lambda x: x)
|
|
active_name = property(get_active_name, lambda x: x)
|
|
tags = property(get_tags, lambda x: x)
|
|
external_ids = property(get_external_ids, lambda x: x)
|
|
waiting_list_entries = property(get_waiting_list_entry, lambda...
|
|
export_tray = property(_get_export_tray, lambda x: x)
|
|
emergency_contact_in_database = property(_get_emergency_contac...
|
|
messages = property(get_messages, lambda x: x)
|
|
overdue_messages = property(_get_overdue_messages, lambda x: x)
|
|
dynamic_hints = property(_get_dynamic_hints, lambda x: x)
|
|
primary_provider = property(_get_primary_provider, lambda x: x)
|
|
dirname = property(get_dirname, lambda x: x)
|
|
tray_dir_name = property(_get_tray_dir_name, lambda x: x)
|