opensafely-core / interactive.opensafely.org

Point-and-click analysis of NHS electronic health records
https://interactive.opensafely.org
Other
2 stars 0 forks source link

Generate figure of measure logic in the analysis code #481

Closed LFISHER7 closed 1 year ago

LFISHER7 commented 1 year ago

At the end of the analysis request form, we provide a graphical summary of the measure a user has selected:

CleanShot 2023-01-25 at 14 13 13@2x

We also want to display this in the final report, so readers can easily understand the measure being reported, but this isn't currently generated in the analysis code.

We could either regenerate the figure in the analysis code or pass the figure from the form. @tomodwyer do you have any thoughts on what would be better?

tomodwyer commented 1 year ago

Could I just clarify, would you expect this in the HTML generated on the server, or simply be available in the report that will be hosted on the Jobs site?

(Or something else and I have misunderstood?)

LFISHER7 commented 1 year ago

It's currently embedded in the html generated on the server, though it probably doesn't have to be

lucyb commented 1 year ago

I'm closing this as we're not going to make any decisions until we've had some user feedback about whether the diagram is useful.