Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for IPS Export/Summary #419

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

Adding support for IPS Export/Summary #419

wants to merge 29 commits into from

Conversation

AnalogJ
Copy link
Member

@AnalogJ AnalogJ commented Feb 20, 2024

This PR tracks work to add a PDF/Provider-friendly export to Fasten Health.

Our goal is to generate an IPS compatible patient summary, with a UI that's similar to Epic's Lucy export:

Screen Shot 2024-04-05 at 6 18 11 AM Screen Shot 2024-02-25 at 9 45 14 AM

This PR adds new functionality when clicking the Export to PDF button on the Medical History page

Screen Shot 2024-04-05 at 6 21 30 AM Screen Shot 2024-02-25 at 9 42 46 AM

fixes #170

Developer References

Outstanding Tasks

  • Database migrations (the text field was not correctly exported previously, we need to ensure that all database FHIR resources are re-extracted and the text field is correctly populated)
  • Medication Summary section
  • Diagnostic Results section
  • Vital Signs section
  • Pregnancy History section (should filter to only Pregnancy related observations, not all Observations)
  • Pregnancy History (and other non-mandary sections) should be filtered out, if No data is available
  • Comments table column should be removed
    • we should extract clinical data from document references or related.
  • Tests for each section
  • Table of Contents generation
  • Footer generation
  • merge database migration logic from text_field_extract branch
  • UI must use minimal CSS & no Javascript (this will be enhanced with a PDF generation template).

@AnalogJ AnalogJ force-pushed the export_summary branch 2 times, most recently from 5dd5a2b to 3cf77b2 Compare March 5, 2024 20:48
make sure we can use multiple AND clauses in query.
… correctly handled.

adding IPS query logic.
Adding IPS sections.

TODO: tests broken.
fixed bug where field with multiple modifiers was not correctly queried.
adding test when generating summary.
…ed the Type column defined in search-parameters.json to be available on multiple (5) resource types.
… all codes, which are then used to find the last 3 results for this code.
@jeffgallini
Copy link

Is there a current timeline on the export to PDF functionality? The labs implementation look great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants