Gnumed.business.gmEMRStructItems.cProblem

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

# Class cProblem

source code

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

    Represents one problem.

    problems are the aggregation of
            .clinically_relevant=True issues and
            .is_open=True episodes

Instance Methods
__init__(self, aPK_obj=None, try_potential_problems=False) Initialize. | source code
get_as_episode(self) Retrieve the cEpisode instance equivalent to this problem. | source code
get_as_health_issue(self) Retrieve the cHealthIssue instance equivalent to this problem. | source code
get_visual_progress_notes(self, encounter_id=None) | source code
get_diagnostic_certainty_description(self) | source code
Inherited from `pycommon.gmBusinessDBObject.cBusinessDBObject`: `__del__`, `__getitem__`, `__setitem__`, `__str__`, `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__`

Class Variables
| diagnostic_certainty_description = `property(get_diagnostic_cer`...``
| generic_codes = `property(_get_generic_codes, lambda x: x)`

Properties
Inherited from `object`: `__class__`

Method Details

### __init__(self, aPK_obj=None, try_potential_problems=False) (Constructor) | source code
    Initialize.

    aPK_obj must contain the keys
            pk_patient
            pk_episode
            pk_health_issue
Overrides: object.__init__

### get_as_episode(self) | source code
Retrieve the cEpisode instance equivalent to this problem. The problem's type attribute must be 'episode'

### get_as_health_issue(self) | source code
Retrieve the cHealthIssue instance equivalent to this problem. The problem's type attribute must be 'issue'

Class Variable Details

  ### diagnostic_certainty_description Value:
      property(get_diagnostic_certainty_description, lambda x: x)