انتقل إلى المحتوى الرئيسي

Prescription

Prescription Resource

KeyTypeDescription
idIntegerThe unique identifier for the prescription.
noteIntegerAdditional notes or comments related to the prescription.
imagesArrayAn array of image URLs associated with the prescription.
statusIntegerThe current status of the prescription. Prescription Statuses
  • Status (1): Prescription has been created.
  • Status (2): Prescription is currently processing.
  • Status (3): Prescription has been delivered.
  • Status (4): Prescription has been canceled.
insurance_companyObjectInformation about the insurance company associated with the prescription.
creation_dateTimestampThe formatted creation date and time of the prescription.
userObjectAn object that contains information about the user who created the prescription.
addressIntegerPlaceholder for address-related information (empty object).
cancellation_idIntegerThe ID of the cancellation reason if the prescription is canceled.
cancellation_reasonObjectAn object that provides details about the reason for canceling the prescription.
cancellation_textStringAdditional comments related to the prescription cancellation.

Prescription Cancellation Reasons

KeyTypeDescription
idIntegerThe ID of the cancellation reason.
textStringThe title of the cancellation reason in English.
text_arStringThe title of the cancellation reason in Arabic.
user_typeStringThe type of user who canceled the prescription. User Types
  • customer: The user is a customer.
  • Admin: The user is a administrator.

Insurance Companies Resource

KeyTypeDescription
idIntegerThe unique identifier for the insurance company.
name_enIntegerThe name of the insurance company in English.
name_arIntegerThe name of the insurance company in Arabic.
logoIntegerThe logo of the insurance company.