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.