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
- Add a constant in
Domain/Demo/Enums/DemoMyClicParticipantType.php. - Add an env key in
assets/env/.envusing theQE_DEMO_USER_*_IDpattern, for exampleQE_DEMO_USER_GOOD_ID. Map it inconfig/demo.phpto aqe_demo_user_*_idconfig key. Each value is a questionnaire-engine participant id for that demo type. Create separate participants per environment. - Wire the new constant to the new config key in
Domain/Demo/Factories/DemoUserFactory.php. - Add labels in
lang/{locale}/enums/demo-myclic-participant-types.phpforen_US,nl_NL,de_DE,es_ES, andfr_FR. - If existing demo managers need the new type, write a migration that adds it.