This repository contains the source code for my final project in the Programming 1 course, where I developed a console-based system for managing a clinical analysis laboratory using the C programming language. The project simulates real operations such as registering patients, recording laboratory tests, and generating reports, all through structured data management and file handling.
- Apply core programming knowledge in a real-world simulation.
- Implement a complete clinical lab management system.
- Practice file I/O, data validation, arrays, and structs in C.
- Deliver a robust and fully functional program to manage patients and clinical tests.
- Advanced Array Manipulation: Uses 1D and 2D arrays to manage clinical data efficiently.
- Structs for Organization: Models key entities such as patients and tests using structs, improving maintainability and readability.
- File Handling: Reads from and writes to .txt files (simulating XLS exports), allowing persistent data storage.
- Strong Input Validation: Each field undergoes strict validation to maintain data integrity and system reliability.
- Login System: Secure access to system functionalities with user credentials.
- Patient & Test Management: Add, list, update, and remove patients or clinical test data.
- Report Generation: Output reports based on existing data.
- Mastery of array and struct usage in C.
- Handling and structuring file operations for persistent data.
- Designing a realistic terminal-based system from scratch.
- Enhancing code readability and maintainability.
- Understanding input validation best practices.
-
Clone this repository to your local machine:
git clone https://github.com/JordanMedinaOrtiz/laboratory-analysis-c.git cd laboratory-analysis-c
-
Compile the program using GCC or any compatible C compiler:
gcc laboratorioAnalisisClinicos.c -o laboratorioAnalisisClinicos
-
Run the program:
./laboratorioAnalisisClinicos
-
Login credentials
- Username: Jordan
- Password: 179913
-
Interact with the system
This project, developed individually, reflects my progress in C programming through a complex and functional application. It pushed me to combine logic, data handling, and validation into a single cohesive system. It served as an excellent opportunity to understand how programming applies to real-world problems in the healthcare domain.