module-builder icon indicating copy to clipboard operation
module-builder copied to clipboard

MedicationOrder 'reason' dropdown not working without ConditionOnset state

Open dehall opened this issue 5 years ago • 0 comments

The reason dropdown on MedicationOrder and Procedure states doesn't work correctly when there is no ConditionOnset state in the module. (consider a submodule where the parent module diagnoses the condition) The dropdown includes an "attribute" option which should reveal a text field when selected, but when there is no ConditionOnset state in the module, the "attribute" option is already selected and doesn't reveal the text field.

Temporary workaround is to add a dummy ConditionOnset state, update the MedicationOrder reason, then remove the dummy ConditionOnset.

dehall avatar Jun 26 '19 18:06 dehall