Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Health System API - README Introduction

The Health System API is a RESTful web service designed to facilitate modern healthcare management. This API provides essential functionalities for patient management, appointment scheduling, medical record keeping, prescription management, and billing. The API serves as a foundation for various healthcare applications and systems, enabling efficient and secure handling of healthcare data.

Features

Patient Management: Create, update, retrieve, and delete patient information.

Appointment Scheduling: Manage appointments between patients and doctors, including scheduling, updating, and cancelling appointments.

Medical Record Keeping: Store and access detailed medical records for patients, including diagnoses, treatments, and medical history.

Prescription Management: Issue and manage prescriptions for patients, including medication details and dosage instructions.

Billing: Handle financial transactions related to healthcare services, including invoicing, payments, and outstanding balances.

System Entities

Person: Represents a generic individual with attributes such as name, contact information, and address. Patient: Extends the Person entity to include specific details relevant to patients, such as medical history and current health status. Doctor: Extends the Person entity to include information about healthcare professionals, including their specialization and contact details. Appointment: Represents scheduled appointments between patients and doctors, including details like date, time, and associated participants. Medical Record: Holds comprehensive medical information about patients, covering diagnoses, treatments, and other relevant data. Prescription: Records information about prescribed medications, including dosage, instructions, and duration. Billing: Manages financial transactions related to healthcare services, including invoices, payments, and outstanding balances.

Logging and Exception Handling

The API includes comprehensive logging and exception handling to provide detailed information for debugging and auditing. Proper HTTP response codes are used for various scenarios to ensure informative error messages and appropriate handling of exceptions.

Installation Clone the repository: git clone https://github.com/yourusername/HealthcareRestAPI.git Navigate to the project directory: cd HealthcareRestAPI Build the project using Maven: mvn clean install Deploy the application on a servlet container like Tomcat or an application server like GlassFish.

Usage Endpoints Person

GET /api/persons/{id}: Retrieve a person by ID POST /api/persons: Create a new person PUT /api/persons/{id}: Update an existing person DELETE /api/persons/{id}: Delete a person Patient

GET /api/patients/{id}: Retrieve a patient by ID POST /api/patients: Create a new patient PUT /api/patients/{id}: Update an existing patient DELETE /api/patients/{id}: Delete a patient Doctor

GET /api/doctors/{id}: Retrieve a doctor by ID POST /api/doctors: Create a new doctor PUT /api/doctors/{id}: Update an existing doctor DELETE /api/doctors/{id}: Delete a doctor Appointment

GET /api/appointments/{id}: Retrieve an appointment by ID POST /api/appointments: Schedule a new appointment PUT /api/appointments/{id}: Update an existing appointment DELETE /api/appointments/{id}: Cancel an appointment Medical Record

GET /api/medicalrecords/{id}: Retrieve a medical record by ID POST /api/medicalrecords: Create a new medical record PUT /api/medicalrecords/{id}: Update an existing medical record DELETE /api/medicalrecords/{id}: Delete a medical record Prescription

GET /api/prescriptions/{id}: Retrieve a prescription by ID POST /api/prescriptions: Issue a new prescription PUT /api/prescriptions/{id}: Update an existing prescription DELETE /api/prescriptions/{id}: Delete a prescription Billing

GET /api/billings/{id}: Retrieve a billing record by ID POST /api/billings: Create a new billing record PUT /api/billings/{id}: Update an existing billing record DELETE /api/billings/{id}: Delete a billing record

Conclusion The Health System API is a robust and comprehensive solution for managing modern healthcare systems. By following RESTful principles and leveraging JAX-RS for implementation, this API provides a solid foundation for building healthcare applications and systems.

For further questions or support, please contact wathmademel@gmail.com.

Thank you for using the Health System API!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages