MedicationOrder 'reason' dropdown not working without ConditionOnset state
dehall opened this issue · comments
Dylan Hall commented
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.