Package Gnumed :: Package business :: Module gmEMRStructItems :: Class cHealthIssue
[frames] | no frames]

Class cHealthIssue

source code

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

Represents one health issue.

Instance Methods
 
__init__(self, aPK_obj=None, encounter=None, name='xxxDEFAULTxxx', patient=None, row=None)
Init business object.
source code
 
rename(self, description=None)
Method for issue renaming.
source code
 
get_episodes(self) source code
 
close_expired_episode(self, ttl=180)
ttl in days
source code
 
close_episode(self) source code
 
has_open_episode(self) source code
 
get_open_episode(self) source code
 
age_noted_human_readable(self) source code
 
format(self, left_margin=0, patient=None) source code

Inherited from pycommon.gmBusinessDBObject.cBusinessDBObject: __del__, __getitem__, __setitem__, __str__, get_fields, get_patient, get_updatable_fields, is_modified, refetch_payload, same_payload, save, save_payload

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties
  episodes
  open_episode
  latest_episode
  laterality_description
  diagnostic_certainty_description

Inherited from object: __class__

Method Details

__init__(self, aPK_obj=None, encounter=None, name='xxxDEFAULTxxx', patient=None, row=None)
(Constructor)

source code 
Init business object.

Call from child classes:

        super(cChildClass, self).__init__(aPK_obj = aPK_obj, row = row)

Overrides: object.__init__
(inherited documentation)

rename(self, description=None)

source code 

Method for issue renaming.

@param description

  • the new descriptive name for the issue

@type description

  • a string instance

Property Details

episodes

Get Method:
get_episodes(self)
Set Method:
unreachable(x)

open_episode

Get Method:
get_open_episode(self)
Set Method:
unreachable(x)

latest_episode

Get Method:
_get_latest_episode(self)
Set Method:
unreachable(x)

laterality_description

Get Method:
_get_laterality_description(self)
Set Method:
unreachable(x)

diagnostic_certainty_description

Get Method:
_get_diagnostic_certainty_description(self)
Set Method:
unreachable(x)