# How to Create FHIR New Controller(Patient and Agency) Without Core and Show to Swagger

**URL:** <https://community.open-emr.org/t/how-to-create-fhir-new-controller-patient-and-agency-without-core-and-show-to-swagger/26528>\
**Category:** Support\
**Tags:** question, feature, installation\
**Created:** [February 3, 2026, 1:40pm UTC](https://community.open-emr.org/t/how-to-create-fhir-new-controller-patient-and-agency-without-core-and-show-to-swagger/26528 "2026-02-03T13:40:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baskar\_Srinivasan](https://community.open-emr.org/user_avatar/community.open-emr.org/baskar_srinivasan/32/19126_2.png) [@Baskar\_Srinivasan](https://community.open-emr.org/u/Baskar_Srinivasan)\
**Post date:** [February 3, 2026, 1:40pm UTC](https://community.open-emr.org/t/how-to-create-fhir-new-controller-patient-and-agency-without-core-and-show-to-swagger/26528/1 "2026-02-03T13:40:57Z")

</div>

**Situation**  
I am trying to create a **custom FHIR-like API endpoint** in OpenEMR **without modifying any core FHIR files**.  
I created a **custom module** with my own API endpoint under:  
I want to understand whether it is **expected behavior** that:

- Custom module APIs do **not** appear in the FHIR Swagger page

- Or if there is a **supported way** to expose custom endpoints in Swagger **without modifying `/interface/fhir/*`**

**OpenEMR Version**  
OpenEMR **7.0.3**

**Browser** :  
I’m using:

**Operating System**  
I’m using:

**Search**  
Did you search the forum for similar questions?

**Logs**  
Did you check the logs?  
Was there anything pertinent in them?  
Please paste them here (surround with three backticks (```) for readability.  
You can also turn on User Debugging under Administration-\>Globals-\>Logging User Debugging Options=\>All
