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

Class cEpisode

source code

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

Represents one clinical episode.

Instance Methods
 
__init__(self, aPK_obj=None, id_patient=None, name='xxxDEFAULTxxx', health_issue=None, row=None, encounter=None)
Init business object.
source code
 
get_access_range(self)
Get earliest and latest access to this episode.
source code
 
get_patient(self) source code
 
rename(self, description=None)
Method for episode editing, that is, episode renaming.
source code
 
format(self, left_margin=0, patient=None) source code

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

Inherited from object: __class__

Method Details

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

source code 

Init business object.

Overrides: object.__init__
(inherited documentation)

get_access_range(self)

source code 

Get earliest and latest access to this episode.

Returns a tuple(earliest, latest).

get_patient(self)

source code 
Overrides: pycommon.gmBusinessDBObject.cBusinessDBObject.get_patient

rename(self, description=None)

source code 

Method for episode editing, that is, episode renaming.

@param description

  • the new descriptive name for the encounter

@type description

  • a string instance

Property Details

diagnostic_certainty_description

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