care.emr.models.medication_administration module

class MedicationAdministration(id, external_id, created_date, modified_date, deleted, history, meta, created_by, updated_by, status, status_reason, category, medication, patient, encounter, request, authored_on, occurrence_period_start, occurrence_period_end, recorded, performer, dosage, note, administered_product)

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.

status_reason

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.

medication

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.

request

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.

authored_on

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

occurrence_period_start

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

occurrence_period_end

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

recorded

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

performer

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

dosage

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.

administered_product

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

administered_product_id
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.

deleted

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

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.

get_next_by_occurrence_period_start(*, field=<django.db.models.fields.DateTimeField: occurrence_period_start>, is_next=True, **kwargs)
get_previous_by_occurrence_period_start(*, field=<django.db.models.fields.DateTimeField: occurrence_period_start>, is_next=False, **kwargs)
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.

patient_id
request_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