coronasafe / ayushma

Empowering Nurses with Multilingual ICU Protocols. Leveraging the rapid advancements in AI technology, created multilingual interfaces that assist nurses in rapidly upgrading their knowledge about ICU protocols.
https://ayushma-api.ohc.network
MIT License
7 stars 8 forks source link

Added `preset_questions` array field to the project model #272

Closed GokulramGHV closed 8 months ago

GokulramGHV commented 8 months ago

fixes #263

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ayushma ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 31, 2023 5:14am
bodhish commented 8 months ago

Can we store more question options? It would have been nice if the UI showed different questions.

skks1212 commented 8 months ago

@bodhish how many do we want?

bodhish commented 8 months ago

Let the backend store many; on FE show 4

GokulramGHV commented 8 months ago

@bodhish so shall I set the size to like 100 and randomly pick four out of the preset_questions and display it on the frontend?

bodhish commented 8 months ago

Yes; load random 4

skks1212 commented 8 months ago

@GokulramGHV status on this?

GokulramGHV commented 8 months ago

@skks1212 Sorry for the delay, I've increased the no. of preset_questions and I've also made a frontend PR. Please review it and let me know if there are any changes.