
Domain-driven management applications—such as Healthcare Information Systems and Library Management Platforms—rely heavily on multi-role access control, data privacy, and strict administrative workflows. Mapping out actor goals using a **UML Use Case Diagram** ensures system architects, compliance officers, and software engineers maintain clear system boundaries.
In this guide, we break down core use case examples for both medical and library management systems, detail key actor responsibilities, provide copy-and-paste AI prompts, and demonstrate how to model complex administrative platforms using conversational AI.
1. Healthcare Management System Modeling
Healthcare software platforms handle sensitive patient health information (PHI) requiring HIPAA-compliant access controls, emergency overrides, and strict role hierarchy.
Healthcare Actors & Key Interactions
- Patient: External actor who schedules appointments, views lab results, and pays medical bills via an online patient portal.
- Attending Physician / Doctor: Internal clinical user who examines patient records, prescribes medication, and logs consultation notes.
- Medical Admin / Receptionist: Operational staff responsible for check-ins, insurance verification, and clinic resource allocation.
- Pharmacy Network (External System): Third-party API system that receives electronic prescriptions (e-prescribing) securely.
| Use Case | Primary Actor | Relationship Type | Description |
|---|---|---|---|
Prescribe Medication |
Physician | Includes Verify Drug Allergies |
Mandatory automated check against patient medical history before dispatching prescriptions. |
Dispatch e-Prescription |
Pharmacy Network | Included in Prescribe Medication |
Sub-flow sending authorized prescriptions directly to external pharmacy networks. |
Request Emergency Override |
Physician | Extends Access EHR Record |
Conditional privilege granting temporary elevated record access during critical care events. |
Figure 1: High-level UML use case diagram for a Healthcare Management System.
2. Library Management System Modeling
Library platforms focus on inventory lifecycle management, fine calculation rules, and automated catalog reservation services across digital and physical assets.
Library Actors & Key Interactions
- Library Member: External patron searching catalog databases, reserving titles, and managing active loans.
- Head Librarian: Internal manager who updates inventory metadata, manages overdue accounts, and issues patron memberships.
- Automated Notification Service (External System): Background daemon issuing SMS and email reminders for upcoming due dates.
Ready-to-Use AI Chatbot Prompts
You can generate either of these domain-specific models instantly using Visual Paradigm’s AI Diagramming Chatbot. Paste any of the prompts below into the chat:
Prompt 1: Healthcare Management System
Generate a UML use case diagram for a Healthcare Management System. Include Patient, Physician, Admin, and Pharmacy Network as actors. Model use cases for Schedule Appointment, Access EHR Record, Prescribe Medication, Verify Drug Allergies, and Request Emergency Override. Show <<include>> for allergy verification and <<extend>> for emergency overrides.
Prompt 2: Library Management System
Generate a UML use case diagram for a Library Management Platform. Include Library Member, Librarian, and Automated Notification Service actors. Include use cases for Search Catalog, Borrow Book, Calculate Overdue Fines, Reserve Title, and Send Renewal Notice. Show <<extend>> for fine calculations during book returns.
Diagram-as-Code (PlantUML)
Visual Paradigm’s AI Chatbot outputs clean PlantUML code, allowing developers to maintain architectural models in code repositories:
@startuml
left to right direction
actor "Patient" as Patient
actor "Physician" as Doctor
actor "Pharmacy Network" as Pharmacy
rectangle "Healthcare Management System" {
usecase "Schedule Appointment" as UC_Appt
usecase "Access EHR Record" as UC_EHR
usecase "Prescribe Medication" as UC_Prescribe
usecase "Verify Drug Allergies" as UC_Allergy
usecase "Override Access" as UC_Override
Patient --> UC_Appt
Doctor --> UC_EHR
Doctor --> UC_Prescribe
UC_Prescribe .> UC_Allergy : <<include>>
UC_Override .> UC_EHR : <<extend>>
UC_Prescribe --> Pharmacy
}
@enduml Evolving Management Models in Visual Paradigm
Transition your AI-generated domain models into formal software specifications across the Visual Paradigm ecosystem:
- Direct AI Ideation: Try generating medical or library models directly on our AI Diagramming Chatbot.
- Code Precision with VPasCode: Edit diagram script directly using VPasCode for rapid text-based touch-ups.
- Visual Styling in VP Online: Export diagrams to Visual Paradigm Online for intuitive drag-and-drop layout polishing and executive presentations.
- Enterprise Traceability in VP Desktop: Import models into Visual Paradigm Desktop to link use cases with sequence diagrams, class models, and compliance audit matrices.
- Living Specifications with OpenDocs: Publish complete system requirements using Visual Paradigm OpenDocs.
Frequently Asked Questions
How does AI handle HIPAA or compliance requirements in healthcare use case models?
While compliance rules are enforced at the code and operational levels, the AI correctly identifies administrative access boundaries and security sub-flows (such as authorization checks and audit logging) as mandatory <<include>> use cases.
Can I expand a healthcare use case into sequence diagrams?
Yes. Opening your AI-generated diagram inside Visual Paradigm Desktop allows you to right-click any use case (such as Prescribe Medication) and automatically generate a detailed sequence model illustrating messages between clinical UIs, authorization databases, and external pharmacy APIs.
Are these management system prompts included in free trials?
Yes. You can test conversational diagramming during a free trial, with full access included under VP Online Deluxe Edition and VP Desktop Professional Edition licenses.












