hamyar_paygah.models.mission_details_submodels.information_model

Information sub-model for Mission details model.

Classes

Information

Holds general information of the patient and mission.

Module Contents

class hamyar_paygah.models.mission_details_submodels.information_model.Information

Holds general information of the patient and mission.

patient_name: str | None

Full name of the patient.

years_of_age: int | None

Years of patient age.

months_of_age: int | None

Remaining months of patient age.

property full_age: str | None

Combined years and months as a persian string.

Return type:

str | None

iranian_nationality: bool

Wether the patient is Iranian

foreign_nationality: bool

Wether the patient is non-Iranian

is_male_gender: bool

Wether the patient’s gender is male

is_female_gender: bool

Wether the patient’s gender is female

is_unknown_gender: bool

Wether the patient’s gender is unknown

national_code: int | None

National code of the patient.

document_serial_number: str | None

Serial number of mission details

caller_number: str | None

Number of the emergency caller

backup_number: str | None

Backup number provided by emergency caller

ambulance_code: int | None

Code of the ambulance responding to mission

document_request_time: datetime.datetime | None

Timestamp of the last update to the mission details

province: str | None

Province the mission is located at

summary: str | None

Summary of the mission