hamyar_paygah.models.mission_details_submodels.location_and_emergency_model

Location and emergency sub-model for Mission details model.

Classes

LocationType

Types of emergency location.

AccidentType

Types of accidents or injury mechanisms involved in an emergency mission.

IllnessType

Primary medical conditions or symptoms reported during an emergency mission.

InjuryRole

Role or position of the injured person in a vehicle accident.

VehicleType

Type of vehicle or transport involved in a vehicle accident.

LocationAndEmergency

Holds information about location and emergency type.

Module Contents

class hamyar_paygah.models.mission_details_submodels.location_and_emergency_model.LocationType

Bases: enum.Enum

Types of emergency location.

RESIDENTIAL = 'Maskooni'

Residential buildings such as houses, apartments, or private dwellings.

INDUSTRIAL = 'Sanati'

Industrial facilities such as factories, plants, or workshops.

SPORTS = 'Varzeshi'

Sports facilities including stadiums, gyms, or sports complexes.

EDUCATIONAL = 'Amoozeshi'

Educational institutions such as schools, universities, or training centers.

MEDICAL = 'Darmani'

Medical facilities including hospitals, clinics, or health centers.

OFFICE = 'Edari'

Administrative or office buildings, including government or corporate offices.

HIGHWAY = 'AzadRah'

Highways designed for high-speed, long-distance traffic.

EXPRESSWAY = 'BozorgRah'

Major express roads with heavy traffic and limited access points.

MAIN_ROAD = 'RahAsli'

Primary roads connecting major urban or regional areas.

SECONDARY_ROAD = 'RahFari'

Secondary or feeder roads branching from main roads.

RURAL_ROAD = 'RahRoostaei'

Rural roads serving villages or low-traffic countryside areas.

property persian_label: str

Returns the persian label of the set location type.

Return type:

str

class hamyar_paygah.models.mission_details_submodels.location_and_emergency_model.AccidentType

Bases: enum.Enum

Types of accidents or injury mechanisms involved in an emergency mission.

SUICIDE = 'KhodKoshi'

Intentional self-harm or suicide attempt.

DROWNING = 'GharghShodegi'

Drowning or near-drowning incident.

HEAT_STROKE = 'GarmaZadegi'

Heat-related illness such as heat exhaustion or heat stroke.

AIRWAY_OBSTRUCTION = 'EnsedadRaheHavaei'

Airway obstruction leading to breathing difficulty or suffocation.

ELECTRIC_SHOCK = 'barghGereftegi'

Electrical shock caused by current passing through the body.

ANIMAL_BITE = 'HeivanGazidegi'

Injury caused by animal bite or attack.

VIOLENCE = 'Khoshoonat'

Injury related to physical violence or assault.

COMMON_COLD = 'SarmaKhordegi'

Cold-related injury

INSECT_BITE = 'GazesheHashare'

Insect bite or sting.

HOT_OBJECT_BURN = 'JesmeDagh'

Burn caused by contact with a hot solid object.

CHEMICAL_EXPOSURE = 'Shimiaei'

Chemical exposure or chemical burn.

HOT_LIQUID_BURN = 'MayeatDagh'

Burn caused by hot liquids or scalding.

ELECTRICAL_BURN = 'Electric'

Burn injury caused by electrical energy without systemic shock.

FIRE = 'Harigh'

Fire-related injury including flame burns or smoke exposure.

OTHER_CAUSES = 'ElalHavadesSayer'

Other or unspecified causes of accidents or injuries.

CARBON_MONOXIDE_POISONING = 'CO'

Carbon monoxide poisoning.

DRUG_OVERDOSE = 'Daroo'

Drug or medication overdose or poisoning.

NARCOTIC_POISONING = 'MavadMokhader'

Intoxication or poisoning caused by narcotics or illicit substances.

TOXIC_POISONING = 'Sommom'

Poisoning caused by toxic substances other than drugs or narcotics.

ALCOHOL_INTOXICATION = 'Alekol'

Alcohol intoxication or poisoning.

SAME_LEVEL_FALL = 'Hamtaraz'

Fall occurring on the same surface level, such as slipping or tripping.

DIFFERENT_LEVEL_FALL = 'GheireHamtaraz'

Fall from a different level, such as from a height or between floors.

MECHANICAL_IMPACT = 'BarkhordBanirooMechanic'

Injury caused by impact or collision involving mechanical force.

FROSTBITE_TRAUMA = 'TromaYakhBandan'

Cold-induced traumatic injury caused by freezing of body tissues (frostbite).

property persian_label: str

Persian label of the set accident type.

Return type:

str

class hamyar_paygah.models.mission_details_submodels.location_and_emergency_model.IllnessType

Bases: enum.Enum

Primary medical conditions or symptoms reported during an emergency mission.

WEAKNESS_FATIGUE = 'Zaf_Bihali'

General weakness, fatigue, or lethargy without a specific diagnosis.

CARDIAC = 'Ghalbi'

Cardiac-related condition such as chest pain, arrhythmia, or heart failure.

RESPIRATORY = 'Tanafosi'

Respiratory distress or breathing-related condition.

STROKE = 'SakteMaghzi'

Cerebrovascular accident (stroke) or acute neurological deficit.

PSYCHIATRIC_DISORDER = 'EkhtelalRavani'

Psychiatric or mental health disorder requiring emergency evaluation.

FEVER_SEIZURE = 'TabTashanoj'

Seizure associated with fever, commonly febrile convulsion.

HYPERTENSION = 'AfzayeshFesharKoon'

Elevated blood pressure or hypertensive crisis.

HYPOGLYCEMIA = 'Haipogelesimi'

Low blood glucose level causing neurological or systemic symptoms.

HYPERGLYCEMIA = 'Hipergelesimi'

High blood glucose level, possibly diabetic emergency.

DECREASED_CONSCIOUSNESS = 'KaheshHooshyari'

Reduced level of consciousness, drowsiness, or altered mental status.

PHYSICAL_ASSAULT = 'ZarbJarh'

Injury resulting from physical fighting or assault between individuals.

HYSTERIA = 'Histerik'

Acute hysterical or psychosomatic reaction presenting as an emergency.

ABDOMINAL_PAIN = 'DardShekami'

Acute abdominal pain of unknown or known origin.

RENAL_COLIC = 'RenalKoolik'

Severe flank pain typically caused by kidney stones.

CHILDBIRTH = 'Zayeman'

Active labor or complications related to childbirth.

MISCARRIAGE = 'Seght'

Pregnancy loss or complications related to miscarriage.

property persian_label: str

Persian label of the set illness type.

Return type:

str

class hamyar_paygah.models.mission_details_submodels.location_and_emergency_model.InjuryRole

Bases: enum.Enum

Role or position of the injured person in a vehicle accident.

DRIVER = 'IsRanande'

The injured person was the driver of the vehicle.

PASSENGER = 'IsSarneshin'

The injured person was a passenger in the vehicle.

PEDESTRIAN = 'Aber'

The injured person was outside the vehicle, e.g., struck while walking.

UNKNOWN = 'VaziatMasdoomIsNamoshakhas'

The injured person’s role in the accident is unknown or unspecified.

property persian_label: str

Persian label of the set injury role.

Return type:

str

class hamyar_paygah.models.mission_details_submodels.location_and_emergency_model.VehicleType

Bases: enum.Enum

Type of vehicle or transport involved in a vehicle accident.

LIGHT_VEHICLE = 'KhodroSabok'

A light motor vehicle such as a car or small van.

HEAVY_VEHICLE = 'KhodroSangin'

A heavy vehicle such as a truck or bus.

MOTORCYCLE = 'Motor'

A motorcycle involved in the accident.

BICYCLE = 'Docharkhe'

A bicycle involved in the accident.

AIRCRAFT = 'Havaei'

An aircraft involved in the accident.

WATERCRAFT = 'Daryaei'

A watercraft or boat involved in the accident.

SURFACE_VEHICLE = 'SathZamini'

A ground-level vehicle that doesn’t fit standard categories (e.g., ATV).

UNDERGROUND_VEHICLE = 'ZirZamini'

A subway, tunnel vehicle, or other underground transport.

OTHER_TRANSPORT = 'VasileNaghlieSayer'

Any other type of vehicle or transport not listed above.

property persian_label: str

Persian label of the set vehicle type.

Return type:

str

class hamyar_paygah.models.mission_details_submodels.location_and_emergency_model.LocationAndEmergency

Holds information about location and emergency type.

address: str | None

Address or emergency location

chief_complaint: str | None

Primary reason for emergency call

location_type: LocationType | None

Type of emergency location

location_other_info: str | None

Other information about emergency location

accident_type: AccidentType | None

Type of emergency accident

illness_type: IllnessType | None

Type of emergency illness

is_vehicle_accident: bool

Whether the emergency is vehicle related accident

emergency_type_other_info: str | None

Other information about emergency type

role_in_accident: InjuryRole | None

Role or position of the injured person in a vehicle accident

role_in_accident_other_info: str | None

Other information about role in accident

vehicle_type: VehicleType | None

Type of the vehicle the patient is related