🏥 MediScan Portal

Not configured
⚠️ API endpoint is not configured. Go to ⚙ Config to set it before uploading or querying.

Upload Patient Intake Form

📄

Drag & drop your file here

or browse files

Accepted: PDF (≤500 MB) · PNG · JPG · TIFF (≤10 MB)

Document Dashboard

Document ID Status Confidence Submitted S3 Key
📋
Select a filter to load documents

Look Up Document by ID

API Configuration

The API endpoint is provided automatically by the deployment. You only need to change it here to point at a different environment. Overrides are stored in your browser session and cleared when you close the tab. Access is granted by your MediScan sign in — there is no separate API key.

Default comes from the deployment. Override only for testing.

Architecture Overview

Browser (this page)
  │
  ├─[1] POST /documents/upload-url  ─────►  API Gateway → api_handler Lambda
  │         ← { upload_url, document_key }        └─ generates S3 presigned PUT URL
  │
  ├─[2] PUT <presigned_url> (file)  ──────►  S3 intake bucket (KMS-encrypted)
  │                                               └─ ObjectCreated event
  │                                                     ↓
  │                                            upload_handler Lambda
  │                                               ├─ DynamoDB record (PROCESSING)
  │                                               └─ Starts Textract job
  │                                                     ↓
  │                                            AWS Textract (OCR)
  │                                               └─ SNS → text_parser Lambda
  │                                                     ├─ Validates confidence
  │                                                     ├─ DynamoDB (APPROVED | FLAGGED)
  │                                                     └─ AWS SES → Staff email
  │
  └─[3] GET /documents/{id}  ─────────────►  API Gateway → api_handler Lambda
            ← { status, overall_confidence, … }      └─ DynamoDB query