Add medication selector to medication question editor #861m5180j
🆕 Feature
Related software requirement: B_015
Related Epic ClickUp ID: #861m5180j
Affected app variants: HCP
Summary
HCP wants to add a specific medication to the medication questions.
Background
Adding a medication is optional. The pull down shows provided medication as options that can be filtered by typing. The entered term can also be submitted as a 'custom' medication even if it is not in the options.
For now the dosage will only be 'saved' in the question text.
Appending the medication to the question text and filling the medication field if a medication question is edited will be done in a later issue #316
Acceptance Criteria
-
the medication pull down component is added to the medication question editor -
the placeholder is: Medikament wählen -
the pull down shows provided options that can be scrolled through -
the user can type a search term/medication. It is shown in the text field of the pull down and the options are filtered -
the user can select a medication, the pull down is closed and the medication is shown instead of the placeholder -
the medication can be removed and the placeholder is shown again -
by clicking enter on the typed search term/medication the user can submit the custom medication term
-
-
the modal can be submitted without a medication
Design
Edited by Carlos Sanchez