forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_rest_routes.inc.php
More file actions
36 lines (29 loc) · 1.53 KB
/
_rest_routes.inc.php
File metadata and controls
36 lines (29 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
/**
* Routes
* (All REST routes)
*
* @package OpenEMR
* @link https://www.open-emr.org
* @author Matthew Vita <matthewvita48@gmail.com>
* @author Jerry Padgett <sjpadgett@gmail.com>
* @author Brady Miller <brady.g.miller@gmail.com>
* @author Yash Raj Bothra <yashrajbothra786@gmail.com>
* @author Stephen Nielson <snielson@discoverandchange.com>
* @copyright Copyright (c) 2018 Matthew Vita <matthewvita48@gmail.com>
* @copyright Copyright (c) 2018-2020 Jerry Padgett <sjpadgett@gmail.com>
* @copyright Copyright (c) 2019-2021 Brady Miller <brady.g.miller@gmail.com>
* @copyright Copyright (c) 2020 Yash Raj Bothra <yashrajbothra786@gmail.com>
* @copyright Copyright (c) 2024 Care Management Solutions, Inc. <stephen.waite@cmsvt.com>
* @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
*/
use OpenEMR\RestControllers\Config\RestConfig;
// Lets keep our controller classes with the routes.
//
// Note some Http clients may not send auth as json so a function
// is implemented to determine and parse encoding on auth route's.
// Note that the api route is only for users role
// (there is a mechanism in place to ensure only user role can access the api route)
RestConfig::$ROUTE_MAP = require_once __DIR__ . "/apis/routes/_rest_routes_standard.inc.php";
RestConfig::$FHIR_ROUTE_MAP = require_once __DIR__ . "/apis/routes/_rest_routes_fhir_r4_us_core_3_1_0.inc.php";
RestConfig::$PORTAL_ROUTE_MAP = require_once __DIR__ . "/apis/routes/_rest_routes_portal.inc.php";