Skip to content

PMO ​

PMO is the product name for Preventief Medisch Onderzoek. In code the namespace is still Domain/MyClic. The questionnaire engine (QE) is a separate product that renders and scores questionnaires.

This section covers PMO questionnaires, demo participants, the questionnaire utility, and score exports.

Adding a new PMO demo participant type ​

  1. Add a constant in Domain/Demo/Enums/DemoMyClicParticipantType.php.
  2. Add an env key in assets/env/.env using the QE_DEMO_USER_*_ID pattern, for example QE_DEMO_USER_GOOD_ID. Map it in config/demo.php to a qe_demo_user_*_id config key. Each value is a questionnaire-engine participant id for that demo type. Create separate participants per environment.
  3. Wire the new constant to the new config key in Domain/Demo/Factories/DemoUserFactory.php.
  4. Add labels in lang/{locale}/enums/demo-myclic-participant-types.php for en_US, nl_NL, de_DE, es_ES, and fr_FR.
  5. If existing demo managers need the new type, write a migration that adds it.