# Formula Suggestion

The **Formula Suggestion** helps healthcare providers calculate medical formulas quickly while writing notes. Mika listens during the appointment, captures relevant values (such as weight, age, or lab results), and fills them into a formula jellybean. Users can review, adjust, and instantly get results that can be added to their notes.

***

## Key Features

* **Pre-Built Calculators**: Use commonly applied medical formulas provided by Mika.
* **Automated Input**: Mika auto-fills values from the appointment conversation.
* **Real-Time Calculation**: Results are instantly calculated as values are updated. Users can manually adjust values in the calculator and recalculate.
* **Available in Note & Macros templates**: Insert formula jellybeans into note or macros note for consistent use across the platform.

## Browse all Mikata **Formula** Suggestions

Browse the **Mika Suggestions Library** to find commonly used formula (e.g., BMI, DAS28). These are ready to use—no setup required.

<figure><img src="https://2885705326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0dr7JBnxOvRBS0o4K13%2Fuploads%2FSepF4sfkNWvQTlWd0zyn%2Fimage.png?alt=media&#x26;token=f8013a78-699c-4663-9dc8-4bcbed64f757" alt=""><figcaption></figcaption></figure>

1. **Go to Library → Suggestions**
2. **Browse the list of formula** provided by Mika.

<figure><img src="https://2885705326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0dr7JBnxOvRBS0o4K13%2Fuploads%2FeILN5kqDKj4qNq7bN7hi%2Fimage.png?alt=media&#x26;token=736920a5-386a-4b8d-a504-f532e1e08290" alt=""><figcaption></figcaption></figure>

3. **Click to Preview** the formula and see how the formula works before inserting it into a note or template.

## Using **Formula** Suggestions in Notes

<figure><img src="https://2885705326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0dr7JBnxOvRBS0o4K13%2Fuploads%2FeYCAcCceXyajVnrwT1HC%2Fimage.png?alt=media&#x26;token=585aa28e-5c01-4efe-b158-eb8457a8a647" alt=""><figcaption></figcaption></figure>

You can insert **Formula Suggestions** into your **note templates or macros** through the editor. Once added, they will automatically appear in all future notes based on that template.

<figure><img src="https://2885705326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0dr7JBnxOvRBS0o4K13%2Fuploads%2F99RMPY46Ja9fHwuPfU7O%2Fimage.png?alt=media&#x26;token=c8c1bab9-c2d2-4008-a554-3dd2d560663d" alt=""><figcaption></figcaption></figure>

In the note, calculators are displayed as **fx jellybeans**, ready for use.

**How it Works**

1. **Appointment Completed**
   * After the appointment, Mika extracts relevant values (e.g., weight, age, lab results) and fills them into the formula jellybean.
2. **Auto-Calculation**
   * The formula immediately processes the formula and shows the result in your note.
3. **Adjusting Values**
   * If data is missing or incorrect, you can edit the values directly in the jellybean, and the result will update instantly.
4. **Using Macros**
   * [Macros](https://mikata-health.gitbook.io/mikata-product-guide-for-customers/mika-ai-scribe/macros-and-custom-suggestion#using-macros-in-note) can also be used to insert additional formula jellybeans into your notes for faster documentation.

### Error Handling

<figure><img src="https://2885705326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0dr7JBnxOvRBS0o4K13%2Fuploads%2FnyTOM7ogOnGO6yjbwFSn%2Fimage.png?alt=media&#x26;token=037dc212-7f93-4c73-bf8f-57afec9615d7" alt="" width="375"><figcaption></figcaption></figure>

* **Number Ranges**: Each formula may define valid ranges for number values.
* If Mika extracts a value that **falls outside the range**, the jellybean will turn **orange**, indicating no valid result.
* You can adjust the value manually to correct the calculation.

## Functionality Overview

Each formula jellybean comes pre-configured with the formula and logic. You simply review and confirm the values.

<figure><img src="https://2885705326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fq0dr7JBnxOvRBS0o4K13%2Fuploads%2F3SkXuIzh54n6OiVRbx1s%2Fimage.png?alt=media&#x26;token=84796263-de2b-4806-809a-56f986a81643" alt="" width="375"><figcaption></figcaption></figure>

* **Number Input**: Pulls patient data like weight, height, or age from the conversation.
* **Single Selection Input**: Captures choices such as Male/Female or Yes/No.
* **Formula Logic**: The formula is pre-built with the correct medical formula. Check out below function list to learn more about the logic.

<table><thead><tr><th width="144.3466796875">Function</th><th width="259.900390625">How to use</th><th>Explanation</th></tr></thead><tbody><tr><td>SQRT</td><td>SQRT(Number)</td><td>Returns the square root of a number.</td></tr><tr><td>SUM</td><td>SUM(Number, Number 2, ...)</td><td>Adds all the given numbers together.</td></tr><tr><td>IF</td><td>IF(Condition, True Logic, False Logic)</td><td>Returns one value if a Condition is true, and another if it is false.</td></tr><tr><td>AND</td><td>AND(Condition 1, Condition 2)</td><td>Checks if all given conditions are true.</td></tr><tr><td>OR</td><td>OR(Condition 1, Condition 2)</td><td>Checks if at least one of the given conditions is true.</td></tr><tr><td>NOT</td><td>NOT(Condition 1)</td><td>Reverses a condition — true becomes false, false becomes true.</td></tr><tr><td>CONTAINS</td><td>CONTAINS(Single Select Suggestion, Suggestion value)</td><td>Checks if a text or select field contains the specified value.</td></tr><tr><td>ISEQUALS</td><td>ISEQUALS(Single Select Suggestion, Suggestion value)</td><td>Checks if two values are exactly equal.</td></tr><tr><td>LN</td><td>LN(Number)</td><td>Returns the logarithm of a number, base e (Euler's number)</td></tr><tr><td>EXP</td><td>EXP(Number)</td><td>Returns Euler's number, e (~2.718) raised to a power.</td></tr><tr><td>POW</td><td>POW(Number, Number)</td><td>Raises first number to the power of another number.</td></tr><tr><td>ROUND</td><td>ROUND(Number, Places)</td><td>Rounds a number to the nearest value with optional decimal places.</td></tr><tr><td>ROUNDUP</td><td>ROUNDUP(Number, Places)</td><td>Always rounds a number up to the specified decimal places.</td></tr><tr><td>ROUNDDOWN</td><td>ROUNDDOWN(Number, Places)</td><td>Always rounds a number down to the specified decimal places.</td></tr><tr><td>MAX</td><td>MAX(Number 1, Number 2, ...)</td><td>Returns the largest value from the given numbers.</td></tr><tr><td>MIN</td><td>MIN(Number 1, Number 2, ...)</td><td>Returns the smallest value from the given numbers.</td></tr></tbody></table>

***

## Requesting a **Formula**

If you can’t find the formula you need in the Suggestions Library, you can [**contact us** ](https://mikata-health.gitbook.io/mikata-product-guide-for-customers/contact-us)**to request a new Formula suggestion**.

## ❓ FAQ

**Q1. Can I create or edit my own formula?**\
No. Formula are pre-built by Mika. If you need one that isn’t available, please [contact us ](https://mikata-health.gitbook.io/mikata-product-guide-for-customers/contact-us)and request a new formula suggestion.

**Q2. How does Mika fill in formula values?**\
Mika listens during the appointment and extracts relevant information (e.g., weight, height, lab values). These are automatically inserted into the formula jellybean.

**Q3. What if Mika doesn’t capture the right value?**\
You can always edit or add values manually in the jellybean. The result will be recalculated instantly.

**Q4. Can I use formulas in all my notes automatically?**\
Yes. You can add formula jellybeans to your **note templates** or **macros**. Once added, they will appear in all future notes based on that template.

**Q5. What happens if Mika inserts a value outside the valid range?**\
The formula jellybean will turn **orange** to indicate that the value is invalid. You can adjust the value manually to get the correct calculation.

**Q6. Are the formula medically accurate?**\
Formulas are based on established medical formulas. However, results should always be interpreted by the physician as part of clinical judgment.
