Sometimes, there's an empty line in the patient contact info section. Please fix this display.
Potential problem:
In evaluatePatientContactInfo in evaluateFhirDataService, if a phone number doesn't exist, it still joins the empty phone number and the patient email info with a newline.
Potential solution:
Don't join with "\n" unless phone number actually exists. Same with patient email.
Relevant function: evaluatePatientContactInfo in evaluateFhirDataService
Patient contact should perfectly fit the available contact information. If only phone number or email is available, then no empty lines should be displayed.
Actual result
From the example above:
Priority
Provide an estimate for level of impact the bug has today by placing an X in the applicable bracket
Priority
[x] Low priorityThe bug does not have to be fixed immediately. High and medium priority bugs should be addressed first.
[ ] Medium priorityTypically, medium-priority bugs do not affect customers directly and therefore can be fixed in the normal course of testing and development.
[ ] High priorityHigh priority bugs must be addressed immediately. They often affect the app’s functionality and impact customers and their user experience. They must take priority.
Description
Sometimes, there's an empty line in the patient contact info section. Please fix this display.
Potential problem:
evaluatePatientContactInfo
inevaluateFhirDataService
, if a phone number doesn't exist, it still joins the empty phone number and the patient email info with a newline.Potential solution:
evaluatePatientContactInfo
inevaluateFhirDataService
Steps to reproduce
Example eCR:
8fd139db-e099-4d34-90ad-3c3e70d8704a
: Empty line in patient contact infoExpected Result
Actual result
From the example above:
Priority
Provide an estimate for level of impact the bug has today by placing an X in the applicable bracket
Priority
Notes
N/A