Package Gnumed :: Package business :: Module gmExternalCare :: Class cExternalCareItem
[frames] | no frames]

Class cExternalCareItem

source code

                                   object --+    
                                            |    
pycommon.gmBusinessDBObject.cBusinessDBObject --+
                                                |
                                               cExternalCareItem

Represents an external care item.

Note: Upon saving .issue being (non-empty AND not None) will override .fk_health_issue (IOW, if your code wants to set .fk_health_issue to something other than NULL it needs to unset .issue explicitly (to u'' or None)).

Instance Methods
 
format(self, with_health_issue=True, with_address=False, with_comms=False) source code

Inherited from pycommon.gmBusinessDBObject.cBusinessDBObject: __del__, __getitem__, __init__, __setitem__, __str__, fields_as_dict, 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__

Class Variables
  org_unit = property(_get_org_unit, lambda x: x)
Properties

Inherited from object: __class__

Method Details

format(self, with_health_issue=True, with_address=False, with_comms=False)

source code 
Overrides: pycommon.gmBusinessDBObject.cBusinessDBObject.format