# Assign a patient to a particular facility

**URL:** <https://community.open-emr.org/t/assign-a-patient-to-a-particular-facility/19525>\
**Category:** Support\
**Created:** [November 27, 2022, 6:11pm UTC](https://community.open-emr.org/t/assign-a-patient-to-a-particular-facility/19525 "2022-11-27T18:11:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sole\_practitioner](https://community.open-emr.org/letter_avatar_proxy/v4/letter/s/90ced4/32.png) [@sole\_practitioner](https://community.open-emr.org/u/sole_practitioner)\
**Post date:** [November 27, 2022, 6:11pm UTC](https://community.open-emr.org/t/assign-a-patient-to-a-particular-facility/19525/1 "2022-11-27T18:11:08Z")

</div>

Is there a way to assign a patient to a particular facility. I have separate facilities set up dependent on the POS Code, and this would be handy. Thank you.

---

<div class="post-metadata">

**Author:** ![htuck](https://community.open-emr.org/user_avatar/community.open-emr.org/htuck/32/15185_2.png) [@htuck](https://community.open-emr.org/u/htuck)\
**Post date:** [November 29, 2022, 12:23am UTC](https://community.open-emr.org/t/assign-a-patient-to-a-particular-facility/19525/2 "2022-11-29T00:23:21Z")

</div>

Hi @sole_practitioner

The pts would need to be in a separate database for each facility in order to not be visible to users from other facilities. As far as I know, the only way to achieve that is to have a separate OpenEMR instance for each facility.

You can approximate what you’re looking for with the Privacy Module; find a brief description here and I can send you more detailed documentation if you think this might work for you.  
[https://www.open-emr.org/wiki/index.php/Custom\_Modules\_for\_OpenEMR#Patient\_Privacy](https://www.open-emr.org/wiki/index.php/Custom_Modules_for_OpenEMR#Patient_Privacy)

But the Privacy Module assigns users to patients, not patients to facilities, and it is not complete separation of patient lists. For e.g., the schedule calendar will still show one user the patients’ names that another user is assigned to.

Good luck- HT
