Inspiration

Hospital employees may want support without feeling that every personal concern becomes visible to their employer. AURA Care starts with employee choice: understand your own signals, decide what to keep or delete, and find the hospital's reviewed support resources when you want them.

The design supports voluntary, self-paced browser use at home or during a suitable break, without a separate hospital visit or an enforced daily testing schedule. The experimental measurement tools still require active time: about three minutes for attention or one minute for camera pulse. They are not passive monitoring or validated mental-health screening.

The hospital's role is to provide a configurable support directory. The employee controls their own use and records. Whether this approach improves trust, access or willingness to seek support remains a hypothesis for staff interviews and a real hospital pilot.

What it does

Notice a signal → understand the context → reach this hospital's support.

The public website is a working, synthetic-only account demonstration. Each judge can create a separate account without email or a shared public password, save fictional check-ins and built-in synthetic measurement records, then return to the saved data. Judges can inspect previous check-in versions, preview deletion, make encrypted backups, and restore with merge or replace. Each account has a server-bound hospital/persona and expires after 30 days.

The complete measurement build includes a three-minute PVT-B-inspired browser attention task, a separate 30-second practice, experimental 60-second camera pulse estimation, and ECG RR/PPG interval import. It calculates response-time summaries, mean rate, RMSSD, sample SDNN and rejection ratios. ECG HRV and PPG PRV are analyzed separately. Camera pulse does not fabricate HRV, and insufficient-quality captures do not receive an invented reassuring number.

The public account site disables camera capture and real-device uploads. Its synthetic results let judges test the workflow without providing personal health information. The separate measurement build and run instructions are available from the repository for local evaluation.

Six relationship views connect measurements with sleep, hours into a shift, caffeine and nearby pulse/attention records. Personal coefficients require at least seven paired days; practice, poor-quality records and synthetic examples are excluded. Separate synthetic cases illustrate the charts. These are descriptive relationships, not diagnoses, causal findings or fitness-for-duty decisions.

Employees can describe a need in English or Traditional Chinese, inspect source-labelled services from their selected hospital, and save a simulated booking. Two fictional hospitals illustrate replaceable directories. A separate organizational view uses independent synthetic aggregates, not personal diaries, with small-group suppression.

No real hospital database, staff roster, SSO, appointment, referral or notification is connected. Raw video and interval arrays are not persisted. Synthetic account summaries are saved to the deployed backend, where authorized operators can technically read them; this is not end-to-end encryption. The separate local-data build offers in-memory guest use and optional passphrase-encrypted local retention without silently uploading records. The demonstration does not send individual diaries or resource searches to managers. A real institutional sharing or referral workflow would require explicit consent and reviewed access controls.

How I built it

The frontend uses React, TypeScript and Vite. A validated directory-provider interface loads hospital-owned resource configuration. Stable hospital IDs scope records; a hospital can deploy its own copy and replace the reviewed directory. This release demonstrates the integration contract rather than claiming a live hospital connection.

The integrated AI is a multinomial Naive Bayes classifier trained on 120 synthetic bilingual examples for five resource topics. It runs in the browser, shows text clues, retrieves from the selected hospital's configured resources, and preserves manual browsing when uncertain. It does not generate medical advice. The checked-in development set has 26 correct routes and four abstentions across 30 cases. The same developer authored both sets, so this is not independent or real-world accuracy validation.

The public backend uses Cloudflare Pages Functions and a separate D1 database. Random 256-bit access keys are verified server-side; sessions use opaque protected cookies. Origin/CSRF checks, account-scoped queries, persistent rate limits and atomic expected-revision checks support data boundaries. Browser and server reject non-demo measurement uploads. D1 encryption is platform-managed, not end-to-end encryption. Downloaded backups use browser AES-GCM with a passphrase-derived key. A separate Node/SQLite password backend is included for self-hosting.

OpenAI Codex assisted implementation, debugging, tests and documentation under my direction. Descript/Agent Underlord assisted stock AI narration and video editing. The 4:59 demonstration shows actual app operation with explicit synthetic-data labels. I remain responsible for reviewing the work and explaining its behavior and limits.

Challenges I ran into

The hardest boundary was distinguishing a measured signal from a plausible number. Device timing, camera quality, interval artifacts and recording duration all matter. Synthetic examples must not enter personal baselines. Repeated tests on one day must not resemble several independent days of evidence.

Making data control real also required check-in revisions, scoped deletion, backup previews, encrypted local retention, server persistence and stale-write conflicts to work together. Static-host error pages cannot be mistaken for successful API saves.

The hospital view needed a separate data source so an organizational demo did not imply managers could inspect employee diaries.

Accomplishments that I'm proud of

  • A deployed account demo with real persistence and isolated synthetic workspaces.
  • A complete journey from data observation to a hospital-specific support option, with source and access conditions.
  • Experimental measurement tools, an interval-data contract, six inspectable relationships and explicit quality boundaries.
  • Data controls judges can exercise: revisions, encrypted backups, deletion, restoration and sign-out/re-login.
  • 86 passing automated tests, TypeScript checks and a successful production build; live HTTPS API checks cover persistence, account isolation, backup restoration and stale-write rejection.
  • Actual browser verification and recorded encrypted JSON download, decryption, merge/replace previews, replacement restoration and server-data reload.
  • A bilingual, configurable foundation a hospital team can inspect and extend.

These are software verification results, not clinical accuracy, a staff impact study or a completed institutional security review.

What I learned

Building this iteration highlighted the difference between making a feature appear to work and making its data boundary testable. A synthetic flag, role dropdown or attractive score is not enough. Records need provenance, the server must own identity checks, and failures must remain visible.

A small, explainable AI feature can help navigate resources without pretending to diagnose someone. The classifier routes text; signal processing and correlations are deterministic calculations. AI coding assistance enabled iteration, while tests and review were needed to check the results.

What's next for AURA Care

First, test fictional workflows with voluntary staff users and occupational-health teams, including whether people can find suitable resources and understand who sees which records. Then compare experimental measurements against synchronized reference devices and external calculation standards.

A hospital pilot would need institution-approved identity and access controls, SSO/MFA, reviewed connector APIs, retention and consent policy, stronger audit and independent security review. Real appointment systems and aggregate governance are separate integration work. Candidate wearable/camera datasets are documented as future options; this release has not been trained or validated on them.

Existing work and attribution

I reused a team-owned MIT-licensed React/TypeScript/Vite foundation with permission; original copyright, license and history are retained. It contained browser health-demo components and interface scaffolding. This solo hospital iteration adds the hospital workflow, bilingual resource classifier, validated configurable directories, redesigned attention/pulse quality handling, ECG/PPG interval import, contextual relationships, scoped data lifecycle controls, isolated public synthetic account backend, tests and deployment. I do not claim every line was written from scratch during the event.

Try it

Built With

Share this project:

Updates

Submission history