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

POCONC-219: Fix patient summary snapshots #256

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

denniskigen
Copy link
Member

@denniskigen denniskigen commented Aug 16, 2021

This PR tweaks the stored procedure to work within the context of erstwhile modifications to the breast and cervical cancer screening procedures. More specifically, these changes include:

  • Rename the breast_exam_findings indicator to breast_exam_findings_this_visit.
  • Rename the via_test_result indicator to via_or_via_vili_test_result.
  • Change the way the value of the breast_exam_findings_this_visit indicator gets computed. Involves introducing a subtle hack that counters a bug in the design of the form where this indicator and another (past_breast_exam_findings) reuse the same concept ID.
  • Change the way the value of the via_or_via_vili_test_result indicator gets computed.
  • Add a new indicator - observations_from_positive_via_or_via_vili_test which aggregates positive screening finding results.
  • Linting (sorry, not sorry).

@denniskigen denniskigen changed the title POCONC-213: Fix patient summary snapshots POCONC-219: Fix patient summary snapshots Aug 16, 2021
This PR tweaks the stored procedure to get it to work within the constraints of other
modifications to the breast and cervical cancer screening procedures. More specifically, these
changes include:

- Renaming indicators:
 - `breast_exam_findings` to `breast_exam_findings_this_visit`. Also changes the way the value of
 this indicator is determined using a subtle hack (necessitated by a bug in the form's design where
 past_breast_exam_findings and breast_exam_findings_this_visit reuse the same concept ID).
 - `via_test_result` to `via_or_via_vili_test_result`. Also changes to the way the value of this indicator
 is determined. This changes are necessitated by earlier modifications to the cervical cancer screening form.

- Add a new indicator - `observations_from_positive_via_or_vili_test` which aggregates positive screening finding results.

- Linting (sorry, not sorry).
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.

1 participant