UAE HIE Toolkit MCP Server
README.md
# NBrain UAE HIE Toolkit — NABIDH, Malaffi & Riayati HL7 v2 / FHIR R4 + MCP
**Built by [Eng. Nadeem Mohamed Badr Eldin](https://nadeembadr.com) at [NBrain (`nbra.in`)](https://nbra.in)** — complementing [`nbrain-saudi-nphies-fhir`](https://github.com/NBrain-Studio/nbrain-saudi-nphies-fhir) and [`nbrain-dicom-scrub`](https://github.com/NBrain-Studio/nbrain-dicom-scrub) to cover **both Saudi Arabia and the United Arab Emirates**.
## Supported UAE Health Information Exchanges
- **NABIDH** — Dubai Health Authority (`DHA`) HL7 v2.5.1 (`ADT`, `ORU`, `DFT`) & FHIR R4 validation
- **Malaffi** — Department of Health Abu Dhabi (`DoH`) + **ADHICS v2** cybersecurity & UAE Federal Law No. 2/2019 readiness audit
- **Riayati** — UAE Ministry of Health and Prevention (`MoHAP` — National Unified Medical Record `NUMR`)
- **Emirates ID (`784-YYYY-NNNNNNN-C`)** — 15-digit ISO-784 prefix, birth-year, and Luhn check-digit verification
- **Mirth Connect / NextGen Connect 4.x** — Ready-to-import MLLP-to-HTTPS FHIR channel XML generator
## MCP Server Tools (`stdio` & Docker)
- `validate_uae_hl7v2`
- `convert_hl7v2_to_fhir_r4`
- `validate_emirates_id`
- `audit_adhics_readiness`
- `generate_mirth_channel_xml`
## Run Tests
```bash
python -m unittest discover -s tests -v
```
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues