care.facility.models.patient_icmr module

class PatientIcmr(id, external_id, created_date, modified_date, deleted, source, facility, nearest_facility, meta_info, name, gender, phone_number, emergency_phone_number, address, permanent_address, pincode, date_of_birth, year_of_birth, death_datetime, nationality, passport_no, ration_card_category, mobility_status, is_medical_worker, blood_group, contact_with_confirmed_carrier, contact_with_suspected_carrier, estimated_contact_date, past_travel, countries_travelled_old, countries_travelled, date_of_return, allergies, present_health, ongoing_medication, has_SARI, is_antenatal, last_menstruation_start_date, date_of_delivery, ward_old, ward, local_body, district, state, is_migrant_worker, disease_status, number_of_aged_dependents, number_of_chronic_diseased_dependents, last_edited, action, review_time, created_by, is_active, date_of_receipt_of_information, test_id, date_of_test, srf_id, test_type, allow_transfer, last_consultation, will_donate_blood, fit_for_blood_donation, village, designation_of_health_care_worker, instituion_of_health_care_worker, transit_details, frontline_worker, date_of_result, number_of_primary_contacts, number_of_secondary_contacts, is_vaccinated, number_of_doses, vaccine_name, covin_id, last_vaccinated_date, cluster_name, is_declared_positive, date_declared_positive, assigned_to, geo_organization, organization_cache)

Bases: PatientRegistration

get_age_delta()
property age_years: int
property age_months: int
property email
property local_body_name
property district_name
property state_name
property has_travel_to_foreign_last_14_days
property travel_end_date
property travel_start_date
property contact_case_name
property was_quarantined
property quarantined_type
exception DoesNotExist

Bases: DoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

class PatientSampleICMR(id, external_id, created_date, modified_date, deleted, patient, consultation, sample_type, sample_type_other, has_sari, has_ari, doctor_name, diagnosis, diff_diagnosis, etiology_identified, is_atypical_presentation, atypical_presentation, is_unusual_course, icmr_category, icmr_label, status, result, fast_track, date_of_sample, date_of_result, testing_facility, created_by, last_edited_by)

Bases: PatientSample

property personal_details
property specimen_details
property patient_category
property exposure_history
property medical_conditions
property collection_date
property label
property is_repeated_sample
property lab_name
property lab_pincode
property hospitalization_date
property medical_conditions_list
property symptoms
property date_of_onset_of_symptoms
exception DoesNotExist

Bases: DoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

class PatientConsultationICMR(id, external_id, created_date, modified_date, deleted, patient, patient_no, facility, deprecated_covid_category, category, examination_details, history_of_present_illness, treatment_plan, consultation_notes, course_in_facility, investigation, procedure, suggestion, route_to_facility, review_interval, referred_to, referred_to_external, transferred_from_location, referred_from_facility, referred_from_facility_external, referred_by_external, previous_consultation, is_readmission, admitted, encounter_date, icu_admission_date, discharge_date, discharge_reason, new_discharge_reason, discharge_notes, death_datetime, death_confirmed_doctor, bed_number, is_kasp, kasp_enabled_date, is_telemedicine, last_updated_by_telemedicine, assigned_to, medico_legal_case, deprecated_verified_by, treating_physician, created_by, last_edited_by, last_daily_round, current_bed, height, weight, operation, special_instruction, intubation_history, has_consents)

Bases: PatientConsultation

is_symptomatic()
symptomatic_international_traveller()
symptomatic_contact_of_confirmed_case()
symptomatic_healthcare_worker()
hospitalized_sari_patient()
asymptomatic_family_member_of_confirmed_case()
asymptomatic_healthcare_worker_without_protection()
exception DoesNotExist

Bases: DoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned