﻿# HAD Digital - Transfer Pack

**Project:** HAD Digital  
**Version:** 1.0.0  
**Date:** 2026-09-05  
**Owner:** Dr Kais Aldabbagh  
**Prepared by:** Ziggy (AI Assistant)

---

## Purpose

HAD Digital is a coordinated digital platform for Hospitalisation a Domicile (HAD) in oncology. It provides structured toxicity monitoring, clinical alerting, and care coordination for home-care cancer patients.

---

## What is Baselined

| Artifact | Version | Location |
|----------|---------|----------|
| MVP Application | 1.0.0 | 05_Outputs/HAD Digital/ |
| Standalone .exe | 1.0.0 | 05_Outputs/HAD Digital/HAD Digital.exe |
| API Contract | 1.0.0 | 01_System/API_Contract.md |
| Database Schema | 1.0.0 | 01_System/Database_Schema.md |
| Escalation Protocol | 1.0.0 | 02_Work/Escalation_Protocol.md |
| Role Permissions | 1.0.0 | 02_Work/Role_Permissions.md |
| CTCAE Terms | 1.0.0 | 02_Work/CTCAE_Term_Subset.md |
| User Stories | 1.0.0 | 02_Work/User_Stories.md |

---

## What is Open

| Item | Owner | Next Action |
|------|-------|-------------|
| Clinical review of grading rules | Dr Aldabbagh | Review ctcae_engine.py and guidance.json |
| Regulatory assessment (SaMD) | Dr Aldabbagh | Engage regulatory counsel |
| User testing | Dr Aldabbagh | Test with real patients and clinicians |
| Security review | Technical Lead | Implement MFA, encryption |

---

## Prohibitions

1. **DO NOT** modify the database schema without creating a migration
2. **DO NOT** change the CTCAE grading rules without clinical approval
3. **DO NOT** deploy to production without regulatory assessment
4. **DO NOT** share patient data without proper consent
5. **DO NOT** remove the audit trail functionality

---

## How to Verify Your Work

1. **Run the .exe:** Double-click  5_Outputs/HAD Digital/HAD Digital.exe
2. **Test login:** Open browser to http://127.0.0.1:8080, login with admin/admin123
3. **Test API:** Use the API contract to test all 19 endpoints
4. **Check database:** Verify demo data exists in data/had.db
5. **Review logs:** Check audit_log table for all recorded actions

---

## Files in This Pack

| File | Purpose |
|------|---------|
| README.md | This file |
| MANIFEST.md | List of all files and their sources |
| QUICKSTART.md | Quick start guide |

---

## Acceptance

| Field | Value |
|-------|-------|
| Prepared by | Ziggy (AI Assistant) |
| Date | 2026-09-05 |
| Accepted by | [Pending] |
| Acceptance date | [Pending] |

---
