Enterprise Healthcare Information System Platform
Building modern, scalable HIS applications with AI-powered development tools
AegisX Platform is a comprehensive enterprise platform designed specifically for Hospital Information Systems (HIS) and healthcare management applications. It provides the infrastructure, tools, and components needed to rapidly build and deploy production-ready healthcare solutions.
Transform healthcare IT development by providing:
- Rapid Development: Build complete modules in 10-15 minutes instead of 4-6 hours
- Consistent Quality: Automated validation, quality gates, and proven patterns
- Solo-Friendly: Designed for solo developers with Claude AI as primary coding assistant
- Enterprise-Grade: Multi-domain support, schema isolation, scalable architecture
AegisX Platform embraces open source to empower the healthcare community while maintaining sustainability.
| Component | License | Repository | NPM Package |
|---|---|---|---|
| @aegisx/ui | MIT | aegisx-ui | ✅ Public |
| @aegisx/crud-generator | MIT | crud-generator | ✅ Public |
| @aegisx/mcp | MIT | aegisx-mcp | ✅ Public |
| Platform Template | MIT | aegisx-starter-1 | - |
| Documentation | MIT | Included in all repos | - |
| Development Tools | MIT | Quality gates, validators | - |
Domain-specific implementations can be kept proprietary based on your business needs:
- Hospital-specific workflows and business logic
- Custom integrations with legacy systems
- Proprietary algorithms and calculations
- Specialized reporting and analytics
- Custom domain modules (optional)
| Feature | Community Edition | Enterprise Edition |
|---|---|---|
| Core Libraries | ✅ Free (MIT) | ✅ Free (MIT) |
| Platform Template | ✅ Free (MIT) | ✅ Free (MIT) |
| Documentation | ✅ Free | ✅ Free + Training |
| Community Support | ✅ GitHub/Discord | ✅ GitHub/Discord |
| Updates | ✅ Regular | ✅ Priority |
| Professional Support | ❌ | ✅ SLA-backed |
| Custom Development | ❌ | ✅ Available |
| Training & Workshops | ❌ | ✅ Included |
| Enterprise Modules | ❌ | ✅ Exclusive |
- Community-Driven Innovation: Healthcare IT benefits from shared knowledge
- Transparency: Open source builds trust in healthcare systems
- Quality: Community reviews improve code quality
- Sustainability: Open core model supports long-term development
- Ecosystem: Enable third-party integrations and extensions
We welcome contributions to all open source components! See CONTRIBUTING.md for:
- Code of Conduct
- Development setup
- Pull request process
- Coding standards
- Testing requirements
AegisX Platform started with three foundational open source libraries:
1. @aegisx/ui
Enterprise Angular UI Component Library
- 40+ production-ready components (forms, data display, navigation, feedback)
- Built on Angular 17+ with Signals and Material Design
- Thai language support out-of-the-box
- Fully typed with TypeScript
- Accessible (WCAG 2.1 AA compliant)
npm install @aegisx/uiAI-Powered CRUD Generation CLI
- Generate full-stack CRUD modules in 10-15 minutes
- Backend: Fastify routes, TypeBox schemas, repositories, services
- Frontend: Angular components, services, types, forms
- Advanced features: Excel import, WebSocket events, bulk operations
- 3 package tiers: Standard, Enterprise, Full
npm install -g @aegisx/crud-generator
aegisx-cli generate patients --package enterprise --force3. @aegisx/mcp
Model Context Protocol Server for AI Development
- Component discovery and documentation lookup
- Development pattern suggestions
- API contract validation
- Real-time code examples
- Integrates with Claude Code and MCP-compatible AI tools
npm install @aegisx/mcp| Component | Technology | Purpose |
|---|---|---|
| Runtime | Node.js 22+ | JavaScript runtime |
| Framework | Fastify 5.x | High-performance web framework |
| Database | PostgreSQL 15+ | Multi-schema relational DB |
| Query Builder | Knex.js | Migrations and queries |
| Validation | TypeBox | JSON Schema validation |
| Auth | JWT + Better Auth | Authentication & authorization |
| WebSockets | Fastify WS | Real-time features |
| Component | Technology | Purpose |
|---|---|---|
| Framework | Angular 20+ | Enterprise frontend framework |
| State | Angular Signals | Reactive state management |
| UI Components | @aegisx/ui + Material | Component library |
| Styling | TailwindCSS | Utility-first CSS (layout) |
| Forms | Reactive Forms | Type-safe forms |
| HTTP | HttpClient | API communication |
| Tool | Purpose | Time Savings |
|---|---|---|
| @aegisx/crud-generator | CRUD generation | 4-6h → 10-15min |
| @aegisx/mcp | AI development assistant | 50% faster development |
| Spec Validator | 95%+ compliance checking | Automated QA |
| Quality Gates | 10-point quality checklist | Consistent quality |
AegisX Platform supports multiple healthcare domains in a single codebase:
Platform (Shared Infrastructure)
├── Authentication & Authorization
├── Database Management (Multi-Schema)
├── UI Component Library
├── API Framework
└── Development Tools
Healthcare Domains (Business Logic)
├── Inventory Management (Pharmacy, Warehouse)
├── Human Resources (Staff, Payroll, Scheduling)
├── Finance (Accounting, Billing, Budget)
├── Patient Management (Records, Appointments)
├── Laboratory (Results, Orders, Quality Control)
└── ... unlimited domains
Each domain has its own PostgreSQL schema for data isolation:
-- Platform (shared)
CREATE SCHEMA public;
-- users, roles, permissions
-- Domain-specific
CREATE SCHEMA inventory; -- drugs, stock, budgets
CREATE SCHEMA hr; -- employees, payroll
CREATE SCHEMA finance; -- accounts, transactions
CREATE SCHEMA patients; -- records, appointments
CREATE SCHEMA lab; -- results, orders- Isolation: Domain data never cross-contaminates
- Security: Schema-level permissions
- Performance: Domain-specific indexes and optimization
- Scalability: Easy to split into microservices later
- Maintenance: Independent migrations per domain
- Node.js 22+
- PostgreSQL 15+
- pnpm 10+
# Clone the starter template
git clone https://github.com/aegisx-platform/aegisx-starter-1.git
cd aegisx-starter-1
# Install dependencies
pnpm install
# Setup environment
pnpm run setup:env
# Start database (Docker)
pnpm run docker:up
# Run migrations
pnpm run db:migrate
pnpm run db:seed
# Start development servers
pnpm run dev # API + Web app# Create migration for new table
npx knex migrate:make create_patients
# Generate full CRUD module (backend + frontend)
./bin/cli.js generate patients --domain patients --schema patients --package enterprise --force
# Start testing
pnpm run dev:api # http://localhost:3000
pnpm run dev:web # http://localhost:4200aegisx-starter-1/
├── apps/
│ ├── api/ # Fastify backend
│ │ └── src/
│ │ ├── core/ # Platform: auth, database, errors
│ │ ├── layers/
│ │ │ ├── platform/ # Shared across domains
│ │ │ └── domains/ # Healthcare domains
│ │ │ ├── inventory/
│ │ │ ├── hr/
│ │ │ ├── finance/
│ │ │ └── patients/
│ │ └── services/ # Shared services (PDF, email, etc.)
│ │
│ └── web/ # Angular frontend
│ └── src/app/
│ ├── core/ # Platform: auth, http, guards
│ ├── shared/ # Shared components & services
│ └── features/ # Domain-specific features
│ ├── inventory/
│ ├── hr/
│ ├── finance/
│ └── patients/
│
├── libs/
│ ├── aegisx-ui/ # UI component library
│ ├── aegisx-cli/ # CRUD generator
│ └── aegisx-mcp/ # MCP server
│
├── docs/ # Complete documentation
│ ├── platform/ # Platform architecture
│ ├── guides/ # How-to guides
│ ├── reference/ # API reference
│ └── architecture/ # System design
│
└── tools/ # Development tools
├── database/ # Backup, visualization
└── quality/ # Pre-flight checks
Generate complete modules in 10-15 minutes:
- Backend: Routes, schemas, repositories, services
- Frontend: Components, forms, tables, dialogs
- Advanced: Excel import, real-time updates, bulk operations
Build multiple healthcare applications in one platform:
- Inventory management (pharmacy, warehouse)
- Human resources (staff, payroll)
- Finance (accounting, billing)
- Patient management
- Laboratory information system
- ... and more
Integrated AI tools for faster development:
- Component discovery (MCP)
- Pattern suggestions
- API contract validation
- Code generation
- Quality assurance
Automated quality assurance:
- 95%+ spec compliance validation
- 10-point quality gates
- TypeScript strict mode
- API contract validation
- Automated testing
Built-in Thai language support:
- UI components with Thai fonts (Sarabun)
- PDF generation with Thai text
- Thai date/time formatting
- Bilingual documentation
- Getting Started - Setup and onboarding
- Platform Architecture - Complete platform overview
- CRUD Generator Guide - Generate modules
- API Contracts - API documentation
- Component Library - UI components
# View documentation locally
pnpm run docs:dev
# Open http://localhost:5173| Repository | Description | NPM Package |
|---|---|---|
| aegisx-starter-1 | Main platform template | - |
| aegisx-ui | UI component library | @aegisx/ui |
| crud-generator | CRUD generation CLI | @aegisx/crud-generator |
| aegisx-mcp | MCP development server | @aegisx/mcp |
All core components are licensed under MIT License:
- ✅ Free for personal and commercial use
- ✅ Modify and distribute
- ✅ No warranty or liability
- ✅ Attribution required
See LICENSE file for complete details.
Your custom domain implementations and business logic:
- 🔒 You retain full ownership
- 🔒 Choose your own licensing model
- 🔒 Keep proprietary if needed
- 🔒 Share with community if desired
We welcome contributions to all open source components!
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes with tests
- Run quality checks:
pnpm run build && pnpm run test - Submit a pull request
See CONTRIBUTING.md for detailed guidelines.
- 🐛 Bug fixes and improvements
- 📚 Documentation and examples
- 🌐 Internationalization (more languages)
- 🧪 Test coverage
- 🎨 UI/UX improvements
- 🔌 Integrations (HL7, FHIR, DICOM)
- 📱 Mobile components
- Documentation: docs/
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- ✅ Core platform infrastructure
- ✅ Multi-domain support (Inventory, HR, Finance)
- ✅ CRUD generator (Standard, Enterprise, Full packages)
- ✅ UI component library (40+ components)
- ✅ MCP development tools
- ✅ Quality automation (validators, gates)
- 🔲 Patient management domain
- 🔲 Laboratory information system
- 🔲 Radiology integration (DICOM)
- 🔲 HL7/FHIR support
- 🔲 Mobile applications (iOS/Android)
- 🔲 Advanced analytics and reporting
Built with ❤️ for the Healthcare Community
AegisX Platform - One Platform, Unlimited Healthcare Apps