# How do you indicate the main or primary phone number for a resource?

**URL:** <https://forum.openreferral.org/t/how-do-you-indicate-the-main-or-primary-phone-number-for-a-resource/260>\
**Category:** Technical\
**Created:** [October 10, 2022, 4:39pm UTC](https://forum.openreferral.org/t/how-do-you-indicate-the-main-or-primary-phone-number-for-a-resource/260 "2022-10-10T16:39:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![skyleryoung](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.openreferral.org/skyleryoung/32/212_2.png) [@skyleryoung](https://forum.openreferral.org/u/skyleryoung)\
**Post date:** [September 14, 2023, 4:08pm UTC](https://forum.openreferral.org/t/how-do-you-indicate-the-main-or-primary-phone-number-for-a-resource/260/2 "2023-09-14T16:08:41Z")

</div>

I thought I would followup on this. We have _internally_ implemented a `priority` field where we add numeric values for ranked phone numbers. “0” is assumed to the the _main_ or _primary_ phone, and the rest are ranked after that. It’s more flexible than a simple boolean, and is useful for more than just phones.

One of the use cases where we use this is to rank service\_at\_location level contact info. Some of our clients will prioritize contact info from service records, while others prioritize contact info from location records. At this level of granularity, prioritization allows us to reflect which phones and schedules should be shown to end-users first.

---

_[View the full topic](https://forum.openreferral.org/t/how-do-you-indicate-the-main-or-primary-phone-number-for-a-resource/260)._
