care.emr.models.medication_request module¶
- class MedicationRequestPrescription(id, external_id, created_date, modified_date, deleted, history, meta, created_by, updated_by, encounter, patient, name, note, prescribed_by, status, approval_status, alternate_identifier, tags)¶
Bases:
EMRBaseModel
- 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 aForwardManyToOneDescriptor
instance.
- 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 aForwardManyToOneDescriptor
instance.
- name¶
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.
- prescribed_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 aForwardManyToOneDescriptor
instance.
- status¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- approval_status¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- alternate_identifier¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- tags¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- 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 aForwardManyToOneDescriptor
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.
- 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.
- medicationrequest_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- 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¶
- prescribed_by_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 aForwardManyToOneDescriptor
instance.
- updated_by_id¶
- class MedicationRequest(id, external_id, created_date, modified_date, deleted, history, meta, created_by, updated_by, status, status_reason, intent, category, priority, do_not_perform, method, medication, patient, encounter, dosage_instruction, note, authored_on, requester, requested_product, dispense_status, prescription)¶
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.
- intent¶
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.
- priority¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- do_not_perform¶
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.
- 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 aForwardManyToOneDescriptor
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 aForwardManyToOneDescriptor
instance.
- dosage_instruction¶
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.
- authored_on¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- requester¶
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 aForwardManyToOneDescriptor
instance.
- requested_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 aForwardManyToOneDescriptor
instance.
- dispense_status¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- prescription¶
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 aForwardManyToOneDescriptor
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 aForwardManyToOneDescriptor
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.
- 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.
- medicationadministration_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- medicationdispense_set¶
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- 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¶
- prescription_id¶
- requested_product_id¶
- requester_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 aForwardManyToOneDescriptor
instance.
- updated_by_id¶