Text Blaze is an ideal input aid for electronic medical records.
I am the director of an internal medicine clinic in Kyoto, Japan, and I sometimes provide nutritional guidance to patients with hypertension.
For example, if I take a medical history from a patient as shown below, is it possible to use Data Blaze to display the salt content of the relevant food?
Patient's most common foods: miso soup, pickles, crisps, etc.
Hi @N_Saito , yes you can do this using Text Blaze and Data Blaze.
For basic examples on how to read values from Data Blaze, you can see this video and this guide.
For your specific question, you should:
Store the table in advance on Data Blaze
Back in Text Blaze, create a new snippet with the "Read from table" command to read data from that table. Set the name in the command to ingredients.
Also, in that command, set multiple to yes, so that you can select multiple ingredients.
Then you can use {=ingredients} to display the data. If you want to nicely format it, you can use repeat, like this:
Patient consumed these ingredients:
{repeat: for (ingred, index) in ingredients}
{=index}. {=ingred["name"]} with salt content {=ingred["salt"]}
{endrepeat}
The exact snippet depends on your column names. Let me know if it works for you.