Sistem Informasi Manajemen Rumah Sakit (Hospital Information Management System) designed for Indonesian healthcare facilities with full BPJS and SATUSEHAT integration.
- Electronic Medical Records (Rekam Medis Elektronik) - Compliant with Permenkes 24/2022
- BPJS Integration - VClaim, Antrean, Aplicare, and PCare APIs
- SATUSEHAT Integration - FHIR R4 compliant data exchange
- Offline-First Architecture - Works without internet connection
- Modern UI/UX - Built with Next.js 15 and React 19
- Security - UU 27/2022 compliant data protection
- Mobile Responsive - Works on tablets and smartphones
- Backend: FastAPI (Python 3.11+)
- Frontend: Next.js 15 (React 19)
- Database: PostgreSQL 16 with pgcrypto
- Cache: Redis 7
- Storage: MinIO (S3-compatible)
- Reverse Proxy: Nginx with SSL/TLS
- Containerization: Docker Compose
- Docker 20.10+
- Docker Compose 2.0+
- 4GB RAM minimum
- 20GB disk space
./install.shThe installation script will:
- Check prerequisites
- Create
.envconfiguration - Generate SSL certificates
- Build and start all services
- Run database migrations
- Prompt for admin user creation
After installation:
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc
- HTTPS: https://localhost (self-signed)
- Deployment Guide - Detailed deployment instructions
- API Documentation - Interactive API docs
- Product Requirements - Complete PRD
- Architecture - System architecture
- Epics & Stories - Development roadmap
simrs/
├── backend/ # FastAPI backend
│ ├── app/
│ │ ├── api/ # API endpoints
│ │ ├── core/ # Configuration & security
│ │ ├── db/ # Database session & models
│ │ ├── models/ # SQLAlchemy models
│ │ ├── schemas/ # Pydantic schemas
│ │ └── crud/ # Database operations
│ ├── alembic/ # Database migrations
│ └── scripts/ # Utility scripts
├── frontend/ # Next.js frontend
│ └── src/
│ ├── app/ # App router pages
│ ├── components/ # React components
│ └── lib/ # Utilities
├── nginx/ # Reverse proxy config
├── scripts/ # Installation scripts
├── docs/ # Documentation
└── docker-compose.yml # Service orchestration
docker compose up -d# All services
docker compose logs -f
# Specific service
docker compose logs -f backenddocker compose exec backend alembic upgrade headdocker compose exec backend python scripts/create_admin.pydocker compose down| Service | Port | Description |
|---|---|---|
| frontend | 3000 | Next.js web app |
| backend | 8000 | FastAPI REST API |
| postgres | 5432 | PostgreSQL database |
| redis | 6379 | Redis cache |
| minio | 9000 | Object storage |
| minio-console | 9001 | MinIO web UI |
| nginx | 80, 443 | Reverse proxy |
This system is designed to comply with:
- UU 27/2022 - Perlindungan Data Pribadi (Personal Data Protection)
- Permenkes 24/2022 - Rekam Medis Elektronik (Electronic Medical Records)
- Permenkes 82/2013 - SIMRS Implementation Mandate
- Permenkes 4/2024 - Standar Pelayanan Rumah Sakit
- JWT authentication with refresh tokens
- Role-based access control (RBAC)
- MFA support for remote access
- TLS 1.3 encryption
- Audit logging
- Password policies
- VClaim API (SEP, Rencana Kontrol, Status Claim)
- Antrean API (Online queue management)
- Aplicare API (Bed availability)
- PCare API (Puskesmas integration)
- FHIR R4 resources
- Patient data exchange
- Observation data
- Condition data
- Medication administration
Contributions are welcome! Please read our contributing guidelines and submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
- Create an issue on GitHub
- Check the documentation
- Review the API docs
- Kementerian Kesehatan RI for BPJS and SATUSEHAT standards
- The FastAPI and Next.js communities
- Open source contributors
SIMRS - Modern Healthcare Management for Indonesia 🇮🇩