Make report type configurable

Created on 16 July 2025, 23 days ago

Problem/Motivation

Right now we have a few report types. But it may not feel all side of nurse requirements. I propose to create possibility to define own list of report types as well as custom prompts, and system prompt tiet to this type of report.

Steps to reproduce

Proposed resolution

Create configurable entities responsibility to define as many reports types a site owner would like to have. Move existing report types to default configured types with possibility to delete/edit them.

Probably out of scope of the original issue, but nice to have a block which can all put recently generated report for the node. Ideally, with a possibility to regenerate the report directly from the block. We can move that request to a separate issue.

Remaining tasks

User interface changes

1. Report types become configurable. This requires additional page.
2. Remove prompts configuration from existing model settings page.

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada dstorozhuk Chicago πŸ‡ΊπŸ‡Έ, Toronto πŸ‡¨πŸ‡¦, Kyiv πŸ‡ΊπŸ‡¦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @dstorozhuk
  • πŸ‡¨πŸ‡¦Canada dstorozhuk Chicago πŸ‡ΊπŸ‡Έ, Toronto πŸ‡¨πŸ‡¦, Kyiv πŸ‡ΊπŸ‡¦
  • πŸ‡ΊπŸ‡ΈUnited States NicholasS

    I too think this is how the module should have been setup, All the reports be editable and installed from config when first installing the module, and maybe a library of "Pre-made" prompts people can choose from so those default ones can be improved over time.

  • πŸ‡¨πŸ‡¦Canada dstorozhuk Chicago πŸ‡ΊπŸ‡Έ, Toronto πŸ‡¨πŸ‡¦, Kyiv πŸ‡ΊπŸ‡¦

    I will be working on this feature possibly this week in scope of our project. So hopefully next week we have something.

  • πŸ‡ΊπŸ‡ΈUnited States NicholasS

    Great I can help if you get a branch going, I was going to maybe take a stab at it as well.

  • πŸ‡¨πŸ‡¦Canada dstorozhuk Chicago πŸ‡ΊπŸ‡Έ, Toronto πŸ‡¨πŸ‡¦, Kyiv πŸ‡ΊπŸ‡¦

    I am not going to start at least today, so if you you like you can start.
    The only think I want to push - I made some fixed in form it self, because it was bugy. Hovewer, it is not part of that issue, so I think we will just merge conflicts once we have one or another issue merged.

Production build 0.71.5 2024