Skip to content

spam #150183

@Paul-Hinton

Description

@Paul-Hinton

Nhiệm vụ:

  1. Hiện thực hóa "tính kế thừa và Đa hình(Inheritance & Polymorphism)"
  • Tạo 3 class PRESCRIPTION:
  • StandardPrescription (Đơn thuốc thông thường).

  • ChronicPrescription (Đơn thuốc cho bệnh mãn tính - có thêm thuộc tính RepeatCycles - số lần được phép tái mua mà không cần kê lại đơn).

  • SpecialControlPrescription (Đơn thuốc đặc biệt/thuốc kháng sinh - yêu cầu có thêm DoctorLicenseID và giới hạn nghiêm ngặt số ngày sử dụng).

  1. Thiết kế hệ thống Validation bằng try-except và Custom Exception-vô đối

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions