-
Notifications
You must be signed in to change notification settings - Fork 248
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
(fix) O3-3715: Add phone number person attribute to patient banner config #1961
Conversation
Size Change: +30 B (0%) Total Size: 14.2 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had an issue before where I think the UUID for this wasn't stable, but it seems fine. Note, though, that if we're using the FHIR Patient object, it should already have the phone number in the telecom
field, assuming that the FHIR2 module is configured (i.e., we should try to avoid needing to make unnecessary requests).
You're absolutely right! This uses the FHIR Patient object, and the telephone number is indeed included in the |
We should probably get this in, then @ibacher. |
Requirements
Summary
Telephone numbers recorded during patient registration don't show up in the patient header. This is because the default contact person attribute types array in the Patient Banner config is set to an empty array. That's problematic because the logic that determines which attributes to show under the contact details section checks the patient's attributes against that array. This PR adds a person attribute UUID for the Telephone number attribute as a default value in the
contactAttributeTypes
array, which fixes the root issue.Screenshots
Bug
telephone_missing_patient_header.mov
Fix
Related Issue
https://openmrs.atlassian.net/browse/O3-3715
Other