Skip to content

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.

Notifications You must be signed in to change notification settings

JordanMedinaOrtiz/laboratory-analysis-c

Repository files navigation

Clinical Analysis Laboratory System in C 🧪💻

Ver README en Español

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.

Technologies Used

C

Objective

  • 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.

Main Features

  • 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.

Skills Acquired

  • 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.

How to Use

  1. Clone this repository to your local machine:

    git clone https://github.com/JordanMedinaOrtiz/laboratory-analysis-c.git
    cd laboratory-analysis-c
  2. Compile the program using GCC or any compatible C compiler:

    gcc laboratorioAnalisisClinicos.c -o laboratorioAnalisisClinicos
  3. Run the program:

    ./laboratorioAnalisisClinicos
  4. Login credentials

    • Username: Jordan
    • Password: 179913
  5. 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.

Project Image

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published