Skip to content
Mohamed Anwar
All work

Tanya.Care

Frontend architecture for a four-role healthcare platform, including a drag-and-drop form builder whose output renders the same way on web and mobile.

Industry
Healthcare operations
Company
Crayond Digital
My role
Senior Software Engineer, frontend architect, later team lead
Platforms
Web, iOS, Android
Team
6 developers

Ran in production for ~1 year

role-based apps
4
one schema, two platforms
1 → 2
developers led
6
in production
~1 yr
Used by healthcare organisations, then discontinued because of the client's budget.
Healthcare platform, four appsAdministratorWebCare coordinatorWebCaregiverWeb and mobileCare consumerMobileAppointments, health records,availability and resourcesKey feature I architectedDrag-and-drop form builderForms change all the timeBuilder{ }one schemaWebMobile

Overview

In short

  • Set up the frontend architecture for four apps: administrator (web), care coordinator (web), caregiver (web and mobile) and care consumer (mobile).
  • Built both the visual form builder and the rendering engine, for React and React Native.
  • Started as a developer and led the full six-person team from midway through the project.
  • Used by healthcare organisations in production for about a year.

Tanya.Care connected healthcare administrators, care coordinators, caregivers and care consumers. It covered appointments, availability, health records, partners and resources.

Healthcare teams need many different forms, such as patient assessments, vitals and caregiver activity logs, and the forms change often. Hand-coding each one would mean a development cycle for every change, on two platforms.

What I owned

  • Frontend architecture for all four apps
  • Visual drag-and-drop form builder
  • Schema-driven rendering engine for web and mobile
  • Critical features across the apps
  • Leading the six-person team from mid-project

Built by others

Backend services (ArangoDB, Keycloak, microservices) were built by backend engineers; I integrated with their APIs.

The form builder built on ideas from an earlier internal form configurator. The Tanya.Care builder and renderers for web and mobile were my work.

1. A form engine that renders on two platforms

Problem

Forms had to be created and changed without a developer, and had to work identically for web users and mobile caregivers.

Decision

Store a form as data instead of code. A builder writes the data, and two renderers read it.

How
  • Builder: drag-and-drop predefined components into layouts, nested up to three levels deep.
  • Each form is saved as a JSON configuration.
  • Renderer: walks the JSON, maps each node type to a component, and renders it with React on web or React Native on mobile, each with its own platform layout.
  • Conditional visibility based on other fields' values.
  • Configurable validation: predefined rules or custom regular expressions.
  • Repeatable groups as table inputs where users can add rows.
  • Redux holds form state, validation and business logic.
Reconstructed from memory to show the idea. Not the original source.

Try it: build a form, render it anywhere

1. Configure

Drag a component into the form, or click to add it at the end

  1. text
  2. select
  3. text
  4. date
  5. textarea
  6. section
  7. table

2. Render the same JSON

Home visit assessment

Vitals

Observationsrepeatable

TimeNoteRemove row

No rows yet.

A new, simplified recreation of the idea with made-up fields. It is not the original Tanya.Care code or schema.
Result

Teams could build and change forms through configuration, and the same form worked on every app.

2. From developer to team lead

What I did
  • Joined as one of the developers and took over the full six-person team midway through.
  • Kept the critical features for myself and handed out the rest with clear technical direction.
  • Guided junior developers and coordinated work across the four apps.

Next case study

Sportzchain

Read it