Class PatientViewMedicalRecordPage

java.lang.Object
Common.UserInterface
UI.MedicalRecordPages.PatientViewMedicalRecordPage

public class PatientViewMedicalRecordPage extends UserInterface
The PatientViewMedicalRecordPage class provides functionality for displaying a patient's medical record. It extends UserInterface and interacts with the PatientMRM manager to retrieve and display medical records.
  • Constructor Details

    • PatientViewMedicalRecordPage

      public PatientViewMedicalRecordPage(PatientMRM patientMRM)
      Constructs a PatientViewMedicalRecordPage with the specified PatientMRM instance.
      Parameters:
      patientMRM - the PatientMRM manager used to access medical records
  • Method Details

    • displayMedicalRecord

      public void displayMedicalRecord()
      Displays the current medical record of the patient. If the record does not exist, an error message is displayed.