care.facility.models.daily_round module¶
- class DailyRound(id, external_id, created_date, modified_date, deleted, consultation, temperature, archived_spo2, physical_examination_info, deprecated_covid_category, patient_category, other_details, last_updated_by_telemedicine, created_by_telemedicine, created_by, last_edited_by, taken_at, rounds_type, is_parsed_by_ocr, bowel_issue, bladder_drainage, bladder_issue, is_experiencing_dysuria, urination_frequency, sleep, nutrition_route, oral_issue, appetite, consciousness_level, consciousness_level_detail, in_prone_position, left_pupil_size, left_pupil_size_detail, left_pupil_light_reaction, left_pupil_light_reaction_detail, right_pupil_size, right_pupil_size_detail, right_pupil_light_reaction, right_pupil_light_reaction_detail, glasgow_eye_open, glasgow_verbal_response, glasgow_motor_response, glasgow_total_calculated, limb_response_upper_extremity_right, limb_response_upper_extremity_left, limb_response_lower_extremity_left, limb_response_lower_extremity_right, bp, pulse, resp, rhythm, rhythm_detail, ventilator_interface, ventilator_mode, ventilator_peep, ventilator_pip, ventilator_mean_airway_pressure, ventilator_resp_rate, ventilator_pressure_support, ventilator_tidal_volume, ventilator_oxygen_modality, ventilator_oxygen_modality_oxygen_rate, ventilator_oxygen_modality_flow_rate, ventilator_fio2, ventilator_spo2, etco2, bilateral_air_entry, pain, pain_scale_enhanced, ph, pco2, po2, hco3, base_excess, lactate, sodium, potassium, blood_sugar_level, insulin_intake_dose, insulin_intake_frequency, infusions, iv_fluids, feeds, total_intake_calculated, output, total_output_calculated, dialysis_fluid_balance, dialysis_net_balance, pressure_sore, nursing, medicine_administration, meta)¶
Bases:
PatientBaseModel- class RoundsType(*values)¶
Bases:
IntegerChoices- NORMAL = 0¶
- COMMUNITY_NURSES_LOG = 30¶
- DOCTORS_LOG = 50¶
- VENTILATOR = 100¶
- ICU = 200¶
- AUTOMATED = 300¶
- TELEMEDICINE = 400¶
- class ConsciousnessTypeChoice(*values)¶
Bases:
IntegerChoices- UNKNOWN = 0¶
- ALERT = 5¶
- RESPONDS_TO_VOICE = 10¶
- RESPONDS_TO_PAIN = 15¶
- UNRESPONSIVE = 20¶
- AGITATED_OR_CONFUSED = 25¶
- ONSET_OF_AGITATION_AND_CONFUSION = 30¶
- class BowelDifficultyType(*values)¶
Bases:
IntegerChoices- NO_DIFFICULTY = 0¶
- CONSTIPATION = 1¶
- DIARRHOEA = 2¶
- class BladderDrainageType(*values)¶
Bases:
IntegerChoices- NORMAL = 1¶
- CONDOM_CATHETER = 2¶
- DIAPER = 3¶
- INTERMITTENT_CATHETER = 4¶
- CONTINUOUS_INDWELLING_CATHETER = 5¶
- CONTINUOUS_SUPRAPUBIC_CATHETER = 6¶
- UROSTOMY = 7¶
- class BladderIssueType(*values)¶
Bases:
IntegerChoices- NO_ISSUES = 0¶
- INCONTINENCE = 1¶
- RETENTION = 2¶
- HESITANCY = 3¶
- class UrinationFrequencyType(*values)¶
Bases:
IntegerChoices- NORMAL = 1¶
- DECREASED = 2¶
- INCREASED = 3¶
- class SleepType(*values)¶
Bases:
IntegerChoices- EXCESSIVE = 1¶
- SATISFACTORY = 2¶
- UNSATISFACTORY = 3¶
- NO_SLEEP = 4¶
- class NutritionRouteType(*values)¶
Bases:
IntegerChoices- ORAL = 1¶
- RYLES_TUBE = 2¶
- GASTROSTOMY_OR_JEJUNOSTOMY = 3¶
- PEG = 4¶
- PARENTERAL_TUBING_FLUID = 5¶
- PARENTERAL_TUBING_TPN = 6¶
- class AppetiteType(*values)¶
Bases:
IntegerChoices- INCREASED = 1¶
- SATISFACTORY = 2¶
- REDUCED = 3¶
- NO_TASTE_FOR_FOOD = 4¶
- CANNOT_BE_ASSESSED = 5¶
- class PupilReactionType(*values)¶
Bases:
IntegerChoices- UNKNOWN = 0¶
- BRISK = 5¶
- SLUGGISH = 10¶
- FIXED = 15¶
- CANNOT_BE_ASSESSED = 20¶
- class LimbResponseType(*values)¶
Bases:
IntegerChoices- UNKNOWN = 0¶
- STRONG = 5¶
- MODERATE = 10¶
- WEAK = 15¶
- FLEXION = 20¶
- EXTENSION = 25¶
- NONE = 30¶
- class VentilatorInterfaceType(*values)¶
Bases:
IntegerChoices- UNKNOWN = 0¶
- INVASIVE = 5¶
- NON_INVASIVE = 10¶
- OXYGEN_SUPPORT = 15¶
- class VentilatorModeType(*values)¶
Bases:
IntegerChoices- UNKNOWN = 0¶
- VCV = 5¶
- PCV = 10¶
- PRVC = 15¶
- APRV = 20¶
- VC_SIMV = 25¶
- PC_SIMV = 30¶
- PRVC_SIMV = 40¶
- ASV = 45¶
- PSV = 50¶
- class VentilatorOxygenModalityType(*values)¶
Bases:
IntegerChoices- UNKNOWN = 0¶
- NASAL_PRONGS = 5¶
- SIMPLE_FACE_MASK = 10¶
- NON_REBREATHING_MASK = 15¶
- HIGH_FLOW_NASAL_CANNULA = 20¶
- class InsulinIntakeFrequencyType(*values)¶
Bases:
IntegerChoices- UNKNOWN = 0¶
- OD = 5¶
- BD = 10¶
- TD = 15¶
- 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.parentis aForwardManyToOneDescriptorinstance.
- temperature¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- archived_spo2¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- physical_examination_info¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- deprecated_covid_category¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- patient_category¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- other_details¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_updated_by_telemedicine¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- created_by_telemedicine¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- 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.parentis aForwardManyToOneDescriptorinstance.
- last_edited_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.parentis aForwardManyToOneDescriptorinstance.
- taken_at¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- rounds_type¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- is_parsed_by_ocr¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- bowel_issue¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- bladder_drainage¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- bladder_issue¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- is_experiencing_dysuria¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- urination_frequency¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- sleep¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nutrition_route¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- oral_issue¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- appetite¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- consciousness_level¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- consciousness_level_detail¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- in_prone_position¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- left_pupil_size¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- left_pupil_size_detail¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- left_pupil_light_reaction¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- left_pupil_light_reaction_detail¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- right_pupil_size¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- right_pupil_size_detail¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- right_pupil_light_reaction¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- right_pupil_light_reaction_detail¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- glasgow_eye_open¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- glasgow_verbal_response¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- glasgow_motor_response¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- glasgow_total_calculated¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- limb_response_upper_extremity_right¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- limb_response_upper_extremity_left¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- limb_response_lower_extremity_left¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- limb_response_lower_extremity_right¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- bp¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- pulse¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- resp¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- rhythm¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- rhythm_detail¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_interface¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_mode¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_peep¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_pip¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_mean_airway_pressure¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_resp_rate¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_pressure_support¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_tidal_volume¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_oxygen_modality¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_oxygen_modality_oxygen_rate¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_oxygen_modality_flow_rate¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_fio2¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ventilator_spo2¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- etco2¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- bilateral_air_entry¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- pain¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- pain_scale_enhanced¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ph¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- pco2¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- po2¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- hco3¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- base_excess¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- lactate¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- sodium¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- potassium¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- blood_sugar_level¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- insulin_intake_dose¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- insulin_intake_frequency¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- infusions¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- iv_fluids¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- feeds¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- total_intake_calculated¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- output¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- total_output_calculated¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dialysis_fluid_balance¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- dialysis_net_balance¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- pressure_sore¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- nursing¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- medicine_administration¶
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.
- cztn(value)¶
Cast null to zero values
- update_pressure_sore()¶
- save(*args, **kwargs)¶
- static has_read_permission(request)¶
- static has_write_permission(request)¶
- static has_analyse_permission(request)¶
- has_object_read_permission(request)¶
- has_object_write_permission(request)¶
- has_object_asset_read_permission(request)¶
- has_object_asset_write_permission(request)¶
- 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_appetite_display(*, field=<django.db.models.fields.SmallIntegerField: appetite>)¶
- get_bladder_drainage_display(*, field=<django.db.models.fields.SmallIntegerField: bladder_drainage>)¶
- get_bladder_issue_display(*, field=<django.db.models.fields.SmallIntegerField: bladder_issue>)¶
- get_bowel_issue_display(*, field=<django.db.models.fields.SmallIntegerField: bowel_issue>)¶
- get_consciousness_level_display(*, field=<django.db.models.fields.IntegerField: consciousness_level>)¶
- get_deprecated_covid_category_display(*, field=<django.db.models.fields.CharField: deprecated_covid_category>)¶
- get_insulin_intake_frequency_display(*, field=<django.db.models.fields.IntegerField: insulin_intake_frequency>)¶
- get_left_pupil_light_reaction_display(*, field=<django.db.models.fields.IntegerField: left_pupil_light_reaction>)¶
- get_limb_response_lower_extremity_left_display(*, field=<django.db.models.fields.IntegerField: limb_response_lower_extremity_left>)¶
- get_limb_response_lower_extremity_right_display(*, field=<django.db.models.fields.IntegerField: limb_response_lower_extremity_right>)¶
- get_limb_response_upper_extremity_left_display(*, field=<django.db.models.fields.IntegerField: limb_response_upper_extremity_left>)¶
- get_limb_response_upper_extremity_right_display(*, field=<django.db.models.fields.IntegerField: limb_response_upper_extremity_right>)¶
- get_nutrition_route_display(*, field=<django.db.models.fields.SmallIntegerField: nutrition_route>)¶
- get_oral_issue_display(*, field=<django.db.models.fields.SmallIntegerField: oral_issue>)¶
- get_patient_category_display(*, field=<django.db.models.fields.CharField: patient_category>)¶
- get_rhythm_display(*, field=<django.db.models.fields.IntegerField: rhythm>)¶
- get_right_pupil_light_reaction_display(*, field=<django.db.models.fields.IntegerField: right_pupil_light_reaction>)¶
- get_rounds_type_display(*, field=<django.db.models.fields.IntegerField: rounds_type>)¶
- get_sleep_display(*, field=<django.db.models.fields.SmallIntegerField: sleep>)¶
- get_urination_frequency_display(*, field=<django.db.models.fields.SmallIntegerField: urination_frequency>)¶
- get_ventilator_interface_display(*, field=<django.db.models.fields.IntegerField: ventilator_interface>)¶
- get_ventilator_mode_display(*, field=<django.db.models.fields.IntegerField: ventilator_mode>)¶
- get_ventilator_oxygen_modality_display(*, field=<django.db.models.fields.IntegerField: ventilator_oxygen_modality>)¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- last_edited_by_id¶
- modified_date¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- patientconsultation_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.childrenis aReverseManyToOneDescriptorinstance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()defined below.