# O3 Registration - Add information to the Relationship if the person is from the same location

**URL:** <https://talk.openmrs.org/t/o3-registration-add-information-to-the-relationship-if-the-person-is-from-the-same-location/45522>\
**Category:** O3\
**Tags:** registration-app\
**Created:** [March 26, 2025, 3:12pm UTC](https://talk.openmrs.org/t/o3-registration-add-information-to-the-relationship-if-the-person-is-from-the-same-location/45522 "2025-03-26T15:12:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![luis.oliveira](https://talk.openmrs.org/user_avatar/talk.openmrs.org/luis.oliveira/32/12934_2.png) [@luis.oliveira](https://talk.openmrs.org/u/luis.oliveira)\
**Post date:** [March 26, 2025, 3:12pm UTC](https://talk.openmrs.org/t/o3-registration-add-information-to-the-relationship-if-the-person-is-from-the-same-location/45522/1 "2025-03-26T15:12:10Z")

</div>

Hi,

I want to discuss about improving the `Related person` field in the `Relationship` section of the O3 patient registration. The idea is to include whether the patient is local — meaning they belong to the current location.

This helps distinguish between patients, especially in the ICRC, where we manage multiple locations and may encounter people with the same name.

 ![image](https://talk.openmrs.org/uploads/default/original/3X/2/8/285aecb919f8b86f99d730397e4763f008d7cf0c.png)

The main idea is to add a configuration to the [patient-management](https://github.com/openmrs/openmrs-esm-patient-management) module, allowing options like:

- `showPatientLocal: true` — Displays something like: `JAL100546-1010YD - Marco Middle Polo - Local`
- `showPatientLocation: true` — Displays something like: `JAL100546-1010YD - Marco Middle Polo - [Location Name]`

Please let me know your thoughts.

---

<div class="post-metadata">

**Author:** ![enochb](https://talk.openmrs.org/user_avatar/talk.openmrs.org/enochb/32/18741_2.png) [@enochb](https://talk.openmrs.org/u/enochb)\
**Post date:** [March 28, 2025, 11:42am UTC](https://talk.openmrs.org/t/o3-registration-add-information-to-the-relationship-if-the-person-is-from-the-same-location/45522/2 "2025-03-28T11:42:00Z")

</div>

Hi @luis.oliveira. I agree with this idea, and given your particular mention of ICRC, it makes perfect sense to make that distinction. How do you propose moving forward with this idea? I would like to support in whichever small capacity I can.

---

<div class="post-metadata">

**Author:** ![luis.oliveira](https://talk.openmrs.org/user_avatar/talk.openmrs.org/luis.oliveira/32/12934_2.png) [@luis.oliveira](https://talk.openmrs.org/u/luis.oliveira)\
**Post date:** [April 4, 2025, 7:47am UTC](https://talk.openmrs.org/t/o3-registration-add-information-to-the-relationship-if-the-person-is-from-the-same-location/45522/3 "2025-04-04T07:47:32Z")

</div>

Hello @enochb,

Thanks for your response! I gave a quick explanation of how this could be achieved in my first post.

Maybe @ibacher or @dennis can provide more insight on the best way to handle this case.

---

<div class="post-metadata">

**Author:** ![grace](https://talk.openmrs.org/user_avatar/talk.openmrs.org/grace/32/16942_2.png) [@grace](https://talk.openmrs.org/u/grace)\
**Post date:** [May 9, 2025, 2:25pm UTC](https://talk.openmrs.org/t/o3-registration-add-information-to-the-relationship-if-the-person-is-from-the-same-location/45522/4 "2025-05-09T14:25:20Z")

</div>

Bringing this back up - this is a very interesting use case, and a very important feature for orgs like ICRC with centralized data and many similar patient names across many locations.

@ibacher do you want to have a short design call to talk through this? Or we could make talking through this a mini-event within next week’s O3 Squad call.

Ian’s quick inclination is: “My inclination is to think that we need a way of making the relationship widget swappable with a custom one. The reason for that is that the idea of “patient location” is unideal outside of the ICRC distribution, so we want to avoid any solution that fixes that is ICRC-specific. And, Patients, in OpenMRS, have a location within the scope of a visit or encounter, but not as a general “fact” about who they are.”
