google / fhir-data-pipes

A collection of tools for extracting FHIR resources and analytics services on top of that data.
https://google.github.io/fhir-data-pipes/
Apache License 2.0
141 stars 80 forks source link

Added a simple ViewDefinition edit environment #996

Closed bashir2 closed 3 months ago

bashir2 commented 3 months ago

Description of what I changed

Fixes #995 Please note that only the second commit belongs to this PR; the other commit is from another PR under review.

E2E test

TESTED:

Ran the /view functionality in the browser and tested it for some samples. Here is an snapshot generated using the patient_flat ViewDefinition:

view_editor_screenshot_2024-03-21_14-24-57

After review related changes:

image

Checklist: I completed these to help reviewers :)

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 42.85714% with 36 lines in your changes are missing coverage. Please review.

Project coverage is 50.36%. Comparing base (049c465) to head (3ea6b5c).

Files Patch % Lines
.../java/com/google/fhir/analytics/ApiController.java 0.00% 26 Missing :warning:
...java/com/google/fhir/analytics/MainController.java 0.00% 4 Missing :warning:
...com/google/fhir/analytics/view/ViewApplicator.java 92.85% 2 Missing :warning:
...com/google/fhir/analytics/view/ViewDefinition.java 0.00% 1 Missing and 1 partial :warning:
...ava/com/google/fhir/analytics/PipelineManager.java 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #996 +/- ## ============================================ + Coverage 50.32% 50.36% +0.03% Complexity 644 644 ============================================ Files 87 87 Lines 5210 5266 +56 Branches 666 669 +3 ============================================ + Hits 2622 2652 +30 - Misses 2339 2366 +27 + Partials 249 248 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.