Skip to content

viraj28m/patient_chart_app

Repository files navigation

Patient Chart App

Project Overview

The Patient Chart App is a Swift-based application designed to manage patient data and medication tracking as an electronic medical record (EMR). This project models patients, their prescribed medications, and supports safe medication management through error handling and unit testing.


Features

  • Patient Management: Stores essential patient information (MRN, first name, last name, date of birth, height, weight, blood type, prescribed medications).
  • Medication Management: Handles prescription data, tracks active medications, and prevents duplicate prescriptions.
  • Error Handling: Throws appropriate errors for duplicate medication prescriptions.
  • Unit Testing: Comprehensive test cases to verify all functionality.

Screenshots

1. Patient List View

Displays a list of patients; allows searching by last name and navigation to detailed views.

2. Patient Detail View

Shows detailed patient information, including active medications, with the ability to prescribe new medications.

3. New Patient Form View

A form to add new patients to the list, with error handling for invalid inputs.

4. New Medication Form View

A form to add new medications to a patient's medication list, with error handling for invalid inputs.

Below are the screenshots of the key views in the Patient Chart App:

Patient List View Patient Detail View New Patient Form View Prescribe Medication View
Screenshot 2025-01-18 at 9 15 05 PM Screenshot 2025-01-18 at 9 19 36 PM Screenshot 2025-01-18 at 9 21 45 PM Screenshot 2025-01-18 at 9 24 20 PM

About

CS342 Assignment 1

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages