HealthHub
Everything here sits behind authentication, but authentication was never the hard part. Authorisation was. A health record has more than one legitimate reader: the patient, possibly a family member, a practitioner but only for their own patients and only while that relationship exists. Every one is a different rule, and the failure mode is not an error page, it is one person seeing another person's medical history. So access checks live with the data rather than in each route handler. A route that forgets to check is a bug you find in review if you are lucky and in production if you are not, and with this data there is no acceptable version of the second.
- Started
- 2024
- Stack
- React.js, Node.js, MongoDB, JWT, Tailwind CSS
- Kind
- Client
- Source
- Private
Client code base, so the source is not mine to share.
- 2024
- Built
- Health records
- Authorisation at the data layer
How it evolved
- 2024Scoped
Worked out what actually needed building before writing any code.
- 2024Built
Built and shipped the core of it.
- 2024Live
Shipped and still improving it.
Built by Syed Tasavour. More at syedtasavour.com.