Product EngineeringFeaturesLab FormsFrontendcrelio-app

Overview

Architecture overview of the patient-facing Lab Forms renderer in crelio-app (patient-ui).

👤 Ritu Kataria📅 Updated: Mar 13, 2026🏷️ feature

crelio-app (Patient UI) — Overview

The crelio-app patient portal (static/patient-ui/src/) is a React + Redux application that renders Lab Forms for patients. It is used for Consent form submission and AOE capture in the CRM context.

The patient UI renders forms from a JSON configuration returned by the backend renderer API — the same configuration engine that powers the admin configuration flow. There are no hard-coded fields; the entire form structure is config-driven.


Key Source Locations

LayerPath
Form Renderer Enginecomponents/Controls/Form/JsonToForm.tsx
Form Config Utilscomponents/Controls/Form/formUtils.ts
Field Component Mappercomponents/Controls/Form/ControlMapper.tsx
Consent Form Pageviews/Patient/ConsentForm/
AOE Forms Sectionviews/Sections/AOEForms/
Field Controlscomponents/Controls/
Redux Storeredux/
API Clientutils/request.tsx

Supported Use Cases

Use CaseRouteForm Type
Patient consent form/patient-consent/:formIdconsent
AOE capture in CRM/sections/aoe-forms/aoe

For the full rendering pipeline and component hierarchy, see Form Rendering Engine.

On this page