React and TypeScript patient browser built against a public FHIR R4 API.
FHIR Patients is a frontend case study for consuming healthcare data through the FHIR standard. The application turns raw Patient resources into a clear list and detail experience while keeping API access and presentation concerns separate.
- Paginated patient list loaded from a FHIR R4 endpoint
- Dedicated patient detail route
- Typed normalization of FHIR resource fields
- Human-readable handling of names, identifiers, addresses, gender, and dates
- Loading, empty, and API error states
- Component and utility tests with React Testing Library
- API layer responsible for FHIR requests and response parsing
- TypeScript models defining the application-facing patient shape
- Reusable formatting utilities for optional and nested FHIR fields
- Route-level list and detail views
- Components focused on presentation rather than network logic
- Creating typed boundaries around a flexible external data standard
- Handling incomplete and variably structured healthcare records defensively
- Keeping routing, API access, transformation, and UI responsibilities distinct
- Designing meaningful states for real external API latency and failures
React 19, TypeScript, React Router, React Testing Library, and the HAPI FHIR R4 public test server.
cd frontend
npm install
npm startUse the available test script to run the component and utility test suite.
The application uses a public FHIR demonstration endpoint and does not persist patient data. It is intended as a technical portfolio and learning project, not for clinical use.
The repository demonstrates frontend integration with a domain-specific API, resilient data transformation, typed React architecture, and user-friendly presentation of complex records.
GPL-3.0.