100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Presentation

IT PAT 2023 - Medication Database Management System - Phase 4

Rating
-
Sold
-
Pages
16
Uploaded on
11-11-2023
Written in
2023/2024

MediTrack is a comprehensive Medication Management System meticulously developed to meet the requirements of a programming assessment task, where it secured an impressive 95%. This Java-based application offers features such as student registration, medication tracking, and a user-friendly interface. The underlying SQL database ensures efficient data storage. By purchasing this package, you gain access to the entire source code, documentation, and database—a valuable resource for learning coding practices and design principles. Explore the intricacies of MediTrack and leverage it as a source of inspiration for your programming projects.

Show more Read less
Institution
12th Grade
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course
Unknown
Schooljaar
200

Document information

Uploaded on
November 11, 2023
File latest updated on
November 11, 2023
Number of pages
16
Written in
2023/2024
Type
Presentation
Person
Unknown

Content preview

MEDITRACK
PHASE 4




Michaelhouse
231094020121

,15 October 2023



Table of Contents
Technical Document ................................................................................................................................ 2
External Code ...................................................................................................................................... 2
Critical Algorithms ............................................................................................................................... 3
Advanced Techniques.......................................................................................................................... 7
Testing Documentation ........................................................................................................................... 8
Problems and Solutions ...................................................................................................................... 8
Functional Testing ............................................................................................................................. 10
Test Plan and Results ......................................................................................................................... 11
Inputs for Adding a Student .......................................................................................................... 11
Adding Student Tests..................................................................................................................... 11
Inputs for Adding a Medication .................................................................................................... 13
Adding Medication Tests ............................................................................................................... 13
Conclusion ......................................................................................................................................... 15




Table of Figures
Table 1: DBManager Critical Algorithms ________________________________________________ 6
Table 2: frmMeds Critical Algorithms __________________________________________________ 7
Table 3: frmStudents Critical Algorithms _______________________________________________ 7
Table 4: Advanced Techniques _______________________________________________________ 8
Table 5: Shortfalls and Solutions _____________________________________________________ 10
Table 6: Functional Tests ___________________________________________________________ 11
Table 7: Add Student Inputs ________________________________________________________ 11
Table 8: Add Student Tests _________________________________________________________ 13
Table 9: Add Medication Inputs _____________________________________________________ 13
Table 10: Add Medication Tests _____________________________________________________ 14




Page | 1

, 15 October 2023



Technical Document
External Code
public List<Object[]> searchStudentsByFirstName(String firstName)

{

List<Object[]> results = new ArrayList<>();

String sql = "SELECT s.StudentID, s.FirstName, s.Surname, s.Grade, GROUP_CONCAT(m.DrugName) as Medications " +

"FROM tblstudents s " +

"LEFT JOIN tblscripts sc ON s.StudentID = sc.StudentID " +

"LEFT JOIN tblmeds m ON sc.MedID = m.MedID " +

"WHERE s.FirstName = ? " +

"GROUP BY s.StudentID";

try (PreparedStatement pstmt = conn.prepareStatement(sql))

{

pstmt.setString(1, firstName);

ResultSet rs = pstmt.executeQuery();

while (rs.next()){

Object[] row = new Object[4];

row[0] = rs.getString("FirstName");

row[1] = rs.getString("Surname");

row[2] = rs.getInt("Grade");

row[3] = rs.getString("Medications") == null ? "N/A" : rs.getString("Medications");

results.add(row);

}

}

catch (Exception sqle)

{

sqle.printStackTrace();

}

return results;

}

(ChatGPT, 2023)




Page | 2
R150,00
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
andrewbeviss-challinor

Document also available in package deal

Thumbnail
Package deal
Information Technology Practical Assessment Task 2023 - Medication Management System
-
4 2023
R 650,00 More info

Get to know the seller

Seller avatar
andrewbeviss-challinor
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
7
Last sold
-

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions