care.emr.models.observation module

class Observation(id, external_id, created_date, modified_date, deleted, history, meta, created_by, updated_by, status, is_group, category, main_code, alternate_coding, subject_type, subject_id, patient, encounter, effective_datetime, data_entered_by, performer, value_type, value, note, body_site, method, reference_range, interpretation, parent, questionnaire_response, component, diagnostic_report, observation_definition)

Bases: EMRBaseModel

status

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

is_group

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

category

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

main_code

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

alternate_coding

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

subject_type

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

subject_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

patient

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

encounter

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

effective_datetime

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data_entered_by

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

performer

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

value_type

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

value

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

note

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

body_site

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

method

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

reference_range

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

interpretation

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

parent

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

questionnaire_response

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

component

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

diagnostic_report

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

observation_definition

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

created_by

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

created_by_id
created_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

data_entered_by_id
deleted

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

diagnostic_report_id
encounter_id
external_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

history

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

meta

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

modified_date

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

observation_definition_id
patient_id
questionnaire_response_id
updated_by

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

updated_by_id