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

Timeline based Manual Entry form #330

Merged
merged 52 commits into from
Dec 4, 2023
Merged

Timeline based Manual Entry form #330

merged 52 commits into from
Dec 4, 2023

Conversation

AnalogJ
Copy link
Member

@AnalogJ AnalogJ commented Nov 27, 2023

This PR is intended to enhance the Timeline entry with support for adding and associating records manually

  • [feat] Manual Record Wizard allowing users to create encounters & associated records
    • Wizard based, broken into multiple sections
    • Allows you to search for existing records (Practitioners, Organizations, etc) rather than re-entering the same data again and again.
    • Allows you to "add" records to an existing encounter/office visit (or create a new one)
    • Displays "automated/synced" records as locked, while manually created records can be edited.
    • Allows creating Observations/Lab Results
  • [docs] Added deprecation tags to report-medical-history-editor and eport-medical-history-explanation-of-benefit and report-medical-history-condition
  • [bug] fixing modal zindex, so that stacked modals work correcly
  • [feat] Adding displaymodel for Encounter
  • [feat] Reorganized fhir-card resources
  • [feat] Create fhir-datatable resources
  • [feat] Added Callout support for cards
  • [bug] Fixed invalid models.
  • [bug] When app redirects to the login screen, we should close all modals
  • [feat] Added Fasten Health source to store all resources created manually

supersedes #293

related #60
related #90
related #137


TODO

  • when selecting practitioners & organizations, we should disable rows that are already selected
  • in debug mode, we should remove related resources from the encounter object
  • Attachment popup & file upload broken in desktop.
  • Add CSS padding between fhir-cards when listing.
  • Wizard submit button should highlight nav-pill containing broken form entries.
  • Add Attachment should be a button-group
  • Add placeholder text /notification alert for Lab Results panel.
  • Identifiers for new resources should be in the format NEW/<RESOURCE_ID>
  • When creating sources using wizard, SOURCE_ID should be tied to USER_ID
  • NPI number tag doest update correctly when changing selected practitioner in AddPractitioner modal
  • Explore page is broken for Fasten Health source, summary endpoint fails with 500
  • when unable to find the user, we should return 401 error code so that the SPA redirects to login.
  • On Create Condition page, success closes Wizard, showing a blank page.
  • Add Background Job when processing manual file uploads
  • Flush/Truncate the database WAL on app shutdown.
    • PRAGMA wal_checkpoint(TRUNCATE);
  • Add loading spinner to sources page
  • Encounters created manually have empty fhir-datagrid rows
  • TypeError: null is not a non-null object for AddressMode .line
Screen Shot 2023-11-26 at 5 41 08 PM Screen Shot 2023-11-30 at 7 40 37 PM Screen Shot 2023-11-30 at 7 40 26 PM Screen Shot 2023-11-30 at 7 40 20 PM Screen Shot 2023-11-30 at 7 40 12 PM Screen Shot 2023-11-30 at 7 39 58 PM

adding ability to pass data back to calling modal.
…rce list component.

rename fhir to fhir card module.
embed the table list in the add wizard.
adding submit enabled function to allow for enabling and disabling the button.
make sure that the results from Organization selection are passed back in a known structure.
Retrieve pagination information when querying for existing resources.
process form data into displaymodel-like structure.
deprecate ResourceCreateOrganization class
… well as newly created ones. Correctly parse the HumanNameModel using new pipe.
@codecov-commenter
Copy link

codecov-commenter commented Dec 1, 2023

Codecov Report

Attention: 1373 lines in your changes are missing coverage. Please review.

Comparison is base (d37fb12) 14.90% compared to head (4ebe875) 20.74%.
Report is 6 commits behind head on main.

Files Patch % Lines
...end/pkg/models/database/fhir_document_reference.go 0.00% 58 Missing ⚠️
backend/pkg/models/database/fhir_immunization.go 0.00% 55 Missing ⚠️
backend/pkg/models/database/fhir_care_plan.go 0.00% 54 Missing ⚠️
backend/pkg/models/database/fhir_appointment.go 0.00% 53 Missing ⚠️
backend/pkg/models/database/fhir_device_request.go 0.00% 52 Missing ⚠️
...kend/pkg/models/database/fhir_diagnostic_report.go 0.00% 52 Missing ⚠️
...nd/pkg/models/database/fhir_allergy_intolerance.go 0.00% 51 Missing ⚠️
backend/pkg/models/database/fhir_claim.go 0.00% 51 Missing ⚠️
backend/pkg/models/database/fhir_composition.go 0.00% 51 Missing ⚠️
...pkg/models/database/fhir_explanation_of_benefit.go 0.00% 51 Missing ⚠️
... and 22 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #330      +/-   ##
==========================================
+ Coverage   14.90%   20.74%   +5.84%     
==========================================
  Files         262      275      +13     
  Lines       38548    16388   -22160     
  Branches      521      569      +48     
==========================================
- Hits         5744     3400    -2344     
+ Misses      32531    12686   -19845     
- Partials      273      302      +29     
Flag Coverage Δ
unittests 20.74% <6.85%> (+5.84%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…is created. Use DB migrations to backfill fasten sources for all previously created database users.

Added logic to correctly display FH logo for source list & explore page.
… to Fasten source when creating manually.

Adding ReferenceUri identifier for referencing across sources.
…-sources.

Generate ResourceList when uploading
When source does not contain a Patient, correctly display Explore page.
Added Lambda style function: BackgroundJobSyncResourcesWrapper - used to support multiple types of background sync jobs (Standard vs Manual vs Fasten sources)
closing the Manual Medical record creator popup should redirect to the medical history page.
update fasten-sources version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants