medblocks / medblocks-ui

Web Components Library for Medblocks Ecosystem
https://www.npmjs.com/package/medblocks-ui
Apache License 2.0
54 stars 15 forks source link

Element to handle multiple coded text along with original input #42

Open sidharthramesh opened 2 years ago

sidharthramesh commented 2 years ago

With NLP solutions on the rise, there should be a way to write a descriptive summary of something and be able to receive prompts as Coded Text for the same DV_TEXT element.

image

While prompting is already possible using the mb-suggest API, we still need an element like mb-input to accept multiple inputs (coded text) along with the main text input.

The UI will probably look like mb-input-multiple, but have a main text sections and multiple other elements coded text elements in the bottom.

image