All case studies

Public health

An examination procedure that adapts through configuration

For Krauth Digital Solutions, we built a second variant of the school entry examination whose 24 examination areas are described in configuration files instead of hand-written forms.

Client
Krauth Digital Solutions
Industry
Public health
Period
2024–2025
Status
Completed

How it works

  1. sourcecast YAML configuration per examination area
  2. sourcecast Generated forms, views and URLs
  3. sourcecast Show/hide logic from the same rule
  4. Examination at the health office

The starting point

After the first variant of the school entry examination was in use, Krauth Digital Solutions brought the platform to health offices in another German state. There the examination works differently, in two stages with a screening by medical assistants and, depending on the findings, an examination by a school doctor. Many fields only apply under certain conditions, and the data model had to follow the coding lists of the responsible state health authority.

The first variant had hand-built forms for each examination area. Repeating that for two dozen new areas would have been slow and would have made every later change expensive. And changes were certain, because the field lists were still being refined with the health offices.

What we built

Together with Krauth's managing director, we built the new procedure on the platform's shared core. Processes, appointments, documents and permissions already existed, so we focused on the examination record. Each of the 24 areas is described in a YAML file with rows, fields, labels, sections and conditions. The platform generates forms, views and URLs from it.

A condition such as "only show this block if a vaccination record was presented" is declared once in the configuration and drives both the server-side layout and the show/hide logic in the browser. A command generates a first configuration from the data model, so a new area never starts from a blank file. We also added the transfer of parents' questionnaire answers into the examination record, and result-dependent certificates and invitations.

Outcome

The second procedure builds on the same core as the first and shares processes, permissions, documents and integrations. Many field changes requested by health offices now only touch configuration files instead of templates. The form engine is a reusable building block for further procedures on the platform.

Working with the sourcecast team was exceptional. Technical excellence, fast communication and their approachability made them an indispensable partner. It was a great relief to know my IT projects were in good hands.
Dr. Mäx Blauth · Managing Director, Krauth Digital Solutions GmbH
Technical details
  • 24 YAML files, 17 for the screening stage and 7 for the school doctor stage.
  • If a configuration is missing or invalid, the engine falls back to a generic layout.
  • Forms, views and routes are generated dynamically per examination stage.
  • A dedicated transformer layer maps the parents' questionnaires and is tested separately from the views.
  • Certificates and letters are generated asynchronously through Krauth's document service.
work with us
get in touch