Hospital Management System Class Diagram: Entity-Relationship Overview

A hospital management system (HMS) class diagram models core entities and relationships. Key classes:

  • Patient: Demographics, medical history, insurance, contacts
  • Doctor: Credentials, specialty, schedule, patients
  • Nurse: Assignment, shift, qualifications, patients
  • Appointment: Date/time, patient, doctor, status, reason
  • Prescription: Medication, dosage, frequency, prescriber, patient
  • MedicalRecord: Encounters, diagnoses, labs, imaging, notes
  • Hospital: Departments, beds, resources, staff, patients
  • Billing/Insurance: Claims, payments, adjustments
  • Inventory/Pharmacy: Supplies, medications, dispensing

Key Relationships

  • Patient 1—* Appointment
  • Doctor 1—* Appointment
  • Nurse *—* Appointment (assists)
  • Doctor 1—* Prescription > Patient
  • Patient 1—1 MedicalRecord
  • Hospital 1—* (Doctors, Nurses, Patients, Appointments, etc.)

This high-level model expands into modules for scheduling, EMR, billing, pharmacy, lab, radiology, and analytics. UML tools (Lucidchart, Visio, PlantUML) generate visual diagrams from such specifications.

Hospitals - Related Articles