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

Modify risk-factor questionnaire. #985

Merged
merged 9 commits into from
Jan 31, 2022
Merged

Conversation

santosh-pingle
Copy link
Collaborator

@santosh-pingle santosh-pingle commented Dec 20, 2021

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).

Fixes #859

Description
ValueCoding from answer option was mapped to the Observation.code and valueCoding for the Observation code was missing in risk-factor questionnaire.
Now, valueCoding from answerOption in questionnaire is mapped to the Observation.value, and added separate valueCoding
for observation code in risk-factors questionnaire.

Note :
As of now we have added temporary valueCoding in risk-factor question which are mapped to the Observation code, it will be replaced with real code once received.

Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?

Type
Choose one: Bug fix

Screenshots (if applicable)

Checklist

  • I have read and acknowledged the Code of conduct
  • I have read How to Contribute
  • I have read the Developer's guide
  • I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA
  • I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach
  • I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project
  • I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally
  • I have built and run the reference app(s) to verify my change fixes the issue and/or does not break the reference app(s)

@codecov
Copy link

codecov bot commented Dec 20, 2021

Codecov Report

Merging #985 (fa64fe9) into master (38706a1) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #985   +/-   ##
=========================================
  Coverage     84.47%   84.47%           
  Complexity      608      608           
=========================================
  Files           133      133           
  Lines         10282    10282           
  Branches        753      753           
=========================================
  Hits           8686     8686           
  Misses         1221     1221           
  Partials        375      375           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38706a1...fa64fe9. Read the comment docs.

Copy link
Collaborator

@jingtang10 jingtang10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update this pr to incorporate the latest changes

@santosh-pingle
Copy link
Collaborator Author

please update this pr to incorporate the latest changes

done.

@Tarun-Bhardwaj
Copy link

@santosh-pingle , changes for the PR are approved but the branch seems to be out of sync with the base branch. Please let me know if you are blocked on merging the changes.

@santosh-pingle santosh-pingle enabled auto-merge (squash) January 31, 2022 07:28
@santosh-pingle santosh-pingle merged commit 9c786ff into master Jan 31, 2022
@santosh-pingle santosh-pingle deleted the sp/issue-859-questionnaire branch January 31, 2022 11:18
ktarasenko pushed a commit that referenced this pull request Feb 16, 2022
* Remove No Valuequantity text from patient details card.

* Refactoring.

* Modify risk-factors questionnaire.

* spotless apply

* Address review comments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

After submitting complete survey, Questionnaire in observations is missing
3 participants