hamyar_paygah.models.mission_model ================================== .. py:module:: hamyar_paygah.models.mission_model .. autoapi-nested-parse:: Defines the Mission data model used in the Hamyar Paygah EMS client. Classes ------- .. autoapisummary:: hamyar_paygah.models.mission_model.Mission Module Contents --------------- .. py:class:: Mission Represents a single EMS mission retrieved from the server. .. py:attribute:: address :type: str | None Full address of the mission location. .. py:attribute:: ambulance_code :type: int | None Code/ID of the ambulance handling the mission. .. py:attribute:: code :type: int | None Mission code (unique identifier from server). .. py:attribute:: date :type: str | None Mission timestamp in ISO format (``yyyy-mm-ddThh:mm:ss``). .. py:attribute:: hospital_id :type: int | None Optional hospital ID (None if patient is not transported). .. py:attribute:: hospital_name :type: str | None Optional hospital name (None if patient is not transported). .. py:attribute:: id :type: int | None Mission ID (Identical to Code, redundant). .. py:attribute:: patient_id :type: int | None Patient ID involved in the mission. .. py:attribute:: patient_name :type: str | None Name of the patient. .. py:attribute:: persian_date :type: str | None Persian calendar date of the mission. .. py:attribute:: result :type: str | None Mission result or status description.