care.facility.models.encounter_symptom module

class ClinicalImpressionStatus(*values)

Bases: TextChoices

See: https://fhir-ru.github.io/valueset-clinicalimpression-status.html

IN_PROGRESS = 'in-progress'
COMPLETED = 'completed'
ENTERED_IN_ERROR = 'entered-in-error'
class Symptom(*values)

Bases: IntegerChoices

OTHERS = 9
FEVER = 2
SORE_THROAT = 3
COUGH = 4
BREATHLESSNESS = 5
MYALGIA = 6
ABDOMINAL_DISCOMFORT = 7
VOMITING = 8
SPUTUM = 11
NAUSEA = 12
CHEST_PAIN = 13
HEMOPTYSIS = 14
NASAL_DISCHARGE = 15
BODY_ACHE = 16
DIARRHOEA = 17
PAIN = 18
PEDAL_EDEMA = 19
WOUND = 20
CONSTIPATION = 21
HEADACHE = 22
BLEEDING = 23
DIZZINESS = 24
CHILLS = 25
GENERAL_WEAKNESS = 26
IRRITABILITY = 27
CONFUSION = 28
ABDOMINAL_PAIN = 29
JOINT_PAIN = 30
REDNESS_OF_EYES = 31
ANOREXIA = 32
NEW_LOSS_OF_TASTE = 33
NEW_LOSS_OF_SMELL = 34
class EncounterSymptom(id, external_id, created_date, modified_date, deleted, symptom, other_symptom, onset_date, cure_date, clinical_impression_status, consultation, created_by, updated_by, is_migrated)

Bases: BaseModel, ConsultationRelatedPermissionMixin

symptom

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

other_symptom

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

onset_date

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

cure_date

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

clinical_impression_status

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

consultation

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

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

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.

is_migrated

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

save(*args, **kwargs)
exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

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

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_clinical_impression_status_display(*, field=<django.db.models.fields.CharField: clinical_impression_status>)
get_next_by_onset_date(*, field=<django.db.models.fields.DateTimeField: onset_date>, is_next=True, **kwargs)
get_previous_by_onset_date(*, field=<django.db.models.fields.DateTimeField: onset_date>, is_next=False, **kwargs)
get_symptom_display(*, field=<django.db.models.fields.SmallIntegerField: symptom>)
id

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.

updated_by_id