@openhi/constructs 0.0.121 → 0.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.mts +169 -14
- package/lib/index.d.ts +170 -15
- package/lib/index.js +174 -38
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +174 -38
- package/lib/index.mjs.map +1 -1
- package/lib/rest-api-lambda.handler.js +1211 -1175
- package/lib/rest-api-lambda.handler.js.map +1 -1
- package/lib/rest-api-lambda.handler.mjs +1211 -1175
- package/lib/rest-api-lambda.handler.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -78,7 +78,7 @@ import serverlessExpress from "@codegenie/serverless-express";
|
|
|
78
78
|
|
|
79
79
|
// src/data/rest-api/rest-api.ts
|
|
80
80
|
import path from "path";
|
|
81
|
-
import
|
|
81
|
+
import express152 from "express";
|
|
82
82
|
|
|
83
83
|
// src/data/middleware/normalize-json-body.ts
|
|
84
84
|
function normalizeJsonBodyMiddleware(req, _res, next) {
|
|
@@ -2489,8 +2489,43 @@ router4.post("/", createRoleAssignmentRoute);
|
|
|
2489
2489
|
router4.put("/:id", updateRoleAssignmentRoute);
|
|
2490
2490
|
router4.delete("/:id", deleteRoleAssignmentRoute);
|
|
2491
2491
|
|
|
2492
|
-
// src/data/rest-api/routes/control/
|
|
2492
|
+
// src/data/rest-api/routes/control/runtime-config/runtime-config.ts
|
|
2493
2493
|
import express5 from "express";
|
|
2494
|
+
var ENV_VAR_NAMES = [
|
|
2495
|
+
"OPENHI_RUNTIME_CONFIG_COGNITO_USER_POOL_ID",
|
|
2496
|
+
"OPENHI_RUNTIME_CONFIG_COGNITO_USER_POOL_CLIENT_ID",
|
|
2497
|
+
"OPENHI_RUNTIME_CONFIG_COGNITO_DOMAIN",
|
|
2498
|
+
"OPENHI_RUNTIME_CONFIG_COGNITO_REDIRECT_URI",
|
|
2499
|
+
"OPENHI_RUNTIME_CONFIG_API_BASE_URL"
|
|
2500
|
+
];
|
|
2501
|
+
var CACHE_CONTROL_HEADER = "public, max-age=300, s-maxage=300";
|
|
2502
|
+
function runtimeConfigGetRoute(_req, res) {
|
|
2503
|
+
const missing = ENV_VAR_NAMES.filter(
|
|
2504
|
+
(name) => !isNonEmptyString(process.env[name])
|
|
2505
|
+
);
|
|
2506
|
+
if (missing.length > 0) {
|
|
2507
|
+
const message = `Missing runtime config env vars: ${missing.join(", ")}`;
|
|
2508
|
+
console.warn(`GET /control/runtime-config: ${message}`);
|
|
2509
|
+
return res.status(500).json({ error: message });
|
|
2510
|
+
}
|
|
2511
|
+
const body = {
|
|
2512
|
+
cognitoUserPoolId: process.env.OPENHI_RUNTIME_CONFIG_COGNITO_USER_POOL_ID,
|
|
2513
|
+
cognitoUserPoolClientId: process.env.OPENHI_RUNTIME_CONFIG_COGNITO_USER_POOL_CLIENT_ID,
|
|
2514
|
+
cognitoDomain: process.env.OPENHI_RUNTIME_CONFIG_COGNITO_DOMAIN,
|
|
2515
|
+
cognitoRedirectUri: process.env.OPENHI_RUNTIME_CONFIG_COGNITO_REDIRECT_URI,
|
|
2516
|
+
apiBaseUrl: process.env.OPENHI_RUNTIME_CONFIG_API_BASE_URL
|
|
2517
|
+
};
|
|
2518
|
+
res.setHeader("Cache-Control", CACHE_CONTROL_HEADER);
|
|
2519
|
+
return res.json(body);
|
|
2520
|
+
}
|
|
2521
|
+
function isNonEmptyString(value) {
|
|
2522
|
+
return typeof value === "string" && value.trim().length > 0;
|
|
2523
|
+
}
|
|
2524
|
+
var router5 = express5.Router();
|
|
2525
|
+
router5.get("/", runtimeConfigGetRoute);
|
|
2526
|
+
|
|
2527
|
+
// src/data/rest-api/routes/control/tenant/tenant.ts
|
|
2528
|
+
import express6 from "express";
|
|
2494
2529
|
|
|
2495
2530
|
// src/data/rest-api/routes/control/tenant/tenant-create-route.ts
|
|
2496
2531
|
async function createTenantRoute(req, res) {
|
|
@@ -2702,15 +2737,15 @@ async function updateTenantRoute(req, res) {
|
|
|
2702
2737
|
}
|
|
2703
2738
|
|
|
2704
2739
|
// src/data/rest-api/routes/control/tenant/tenant.ts
|
|
2705
|
-
var
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2740
|
+
var router6 = express6.Router();
|
|
2741
|
+
router6.get("/", listTenantsRoute);
|
|
2742
|
+
router6.get("/:id", getTenantByIdRoute);
|
|
2743
|
+
router6.post("/", createTenantRoute);
|
|
2744
|
+
router6.put("/:id", updateTenantRoute);
|
|
2745
|
+
router6.delete("/:id", deleteTenantRoute);
|
|
2711
2746
|
|
|
2712
2747
|
// src/data/rest-api/routes/control/user/user.ts
|
|
2713
|
-
import
|
|
2748
|
+
import express7 from "express";
|
|
2714
2749
|
|
|
2715
2750
|
// src/data/rest-api/routes/control/user/user-create-route.ts
|
|
2716
2751
|
async function createUserRoute(req, res) {
|
|
@@ -3600,18 +3635,18 @@ async function updateUserRoute(req, res) {
|
|
|
3600
3635
|
}
|
|
3601
3636
|
|
|
3602
3637
|
// src/data/rest-api/routes/control/user/user.ts
|
|
3603
|
-
var
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3638
|
+
var router7 = express7.Router();
|
|
3639
|
+
router7.get("/", listUsersRoute);
|
|
3640
|
+
router7.get("/:id", getUserByIdRoute);
|
|
3641
|
+
router7.post("/", createUserRoute);
|
|
3642
|
+
router7.put("/:id", updateUserRoute);
|
|
3643
|
+
router7.delete("/:id", deleteUserRoute);
|
|
3644
|
+
router7.get("/:id/Membership", listUserMembershipsRoute);
|
|
3645
|
+
router7.get("/:id/RoleAssignment", listUserRoleAssignmentsRoute);
|
|
3646
|
+
router7.get("/:id/Configuration", listUserConfigurationsRoute);
|
|
3612
3647
|
|
|
3613
3648
|
// src/data/rest-api/routes/control/user/user-operations.ts
|
|
3614
|
-
import
|
|
3649
|
+
import express8 from "express";
|
|
3615
3650
|
|
|
3616
3651
|
// src/data/rest-api/routes/control/user/user-operation-helpers.ts
|
|
3617
3652
|
import { getCurrentInvoke as getCurrentInvoke2 } from "@codegenie/serverless-express";
|
|
@@ -4018,12 +4053,12 @@ function sendInvalid(res, diagnostics) {
|
|
|
4018
4053
|
}
|
|
4019
4054
|
|
|
4020
4055
|
// src/data/rest-api/routes/control/user/user-operations.ts
|
|
4021
|
-
var
|
|
4022
|
-
|
|
4023
|
-
|
|
4056
|
+
var router8 = express8.Router();
|
|
4057
|
+
router8.get("/$current", userCurrentRoute);
|
|
4058
|
+
router8.post("/$switch", userSwitchRoute);
|
|
4024
4059
|
|
|
4025
4060
|
// src/data/rest-api/routes/control/workspace/workspace.ts
|
|
4026
|
-
import
|
|
4061
|
+
import express9 from "express";
|
|
4027
4062
|
|
|
4028
4063
|
// src/data/rest-api/routes/control/workspace/workspace-create-route.ts
|
|
4029
4064
|
async function createWorkspaceRoute(req, res) {
|
|
@@ -4455,18 +4490,18 @@ async function updateWorkspaceRoute(req, res) {
|
|
|
4455
4490
|
}
|
|
4456
4491
|
|
|
4457
4492
|
// src/data/rest-api/routes/control/workspace/workspace.ts
|
|
4458
|
-
var
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4493
|
+
var router9 = express9.Router();
|
|
4494
|
+
router9.get("/", listWorkspacesRoute);
|
|
4495
|
+
router9.get("/:id", getWorkspaceByIdRoute);
|
|
4496
|
+
router9.post("/", createWorkspaceRoute);
|
|
4497
|
+
router9.put("/:id", updateWorkspaceRoute);
|
|
4498
|
+
router9.delete("/:id", deleteWorkspaceRoute);
|
|
4499
|
+
router9.get("/:id/Membership", listWorkspaceMembershipsRoute);
|
|
4500
|
+
router9.get("/:id/RoleAssignment", listWorkspaceRoleAssignmentsRoute);
|
|
4501
|
+
router9.get("/:id/Configuration", listWorkspaceConfigurationsRoute);
|
|
4467
4502
|
|
|
4468
4503
|
// src/data/rest-api/routes/data/account/account.ts
|
|
4469
|
-
import
|
|
4504
|
+
import express10 from "express";
|
|
4470
4505
|
|
|
4471
4506
|
// src/data/rest-api/routes/data/account/account-create-route.ts
|
|
4472
4507
|
async function createAccountRoute(req, res) {
|
|
@@ -4623,15 +4658,15 @@ async function updateAccountRoute(req, res) {
|
|
|
4623
4658
|
}
|
|
4624
4659
|
|
|
4625
4660
|
// src/data/rest-api/routes/data/account/account.ts
|
|
4626
|
-
var
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4661
|
+
var router10 = express10.Router();
|
|
4662
|
+
router10.get("/", listAccountsRoute);
|
|
4663
|
+
router10.get("/:id", getAccountByIdRoute);
|
|
4664
|
+
router10.post("/", createAccountRoute);
|
|
4665
|
+
router10.put("/:id", updateAccountRoute);
|
|
4666
|
+
router10.delete("/:id", deleteAccountRoute);
|
|
4632
4667
|
|
|
4633
4668
|
// src/data/rest-api/routes/data/activitydefinition/activitydefinition.ts
|
|
4634
|
-
import
|
|
4669
|
+
import express11 from "express";
|
|
4635
4670
|
|
|
4636
4671
|
// src/data/operations/data/activitydefinition/activitydefinition-create-operation.ts
|
|
4637
4672
|
import { ulid as ulid2 } from "ulid";
|
|
@@ -4830,15 +4865,15 @@ async function updateActivityDefinitionRoute(req, res) {
|
|
|
4830
4865
|
}
|
|
4831
4866
|
|
|
4832
4867
|
// src/data/rest-api/routes/data/activitydefinition/activitydefinition.ts
|
|
4833
|
-
var
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4868
|
+
var router11 = express11.Router();
|
|
4869
|
+
router11.get("/", listActivityDefinitionsRoute);
|
|
4870
|
+
router11.get("/:id", getActivityDefinitionByIdRoute);
|
|
4871
|
+
router11.post("/", createActivityDefinitionRoute);
|
|
4872
|
+
router11.put("/:id", updateActivityDefinitionRoute);
|
|
4873
|
+
router11.delete("/:id", deleteActivityDefinitionRoute);
|
|
4839
4874
|
|
|
4840
4875
|
// src/data/rest-api/routes/data/adverseevent/adverseevent.ts
|
|
4841
|
-
import
|
|
4876
|
+
import express12 from "express";
|
|
4842
4877
|
|
|
4843
4878
|
// src/data/operations/data/adverseevent/adverseevent-create-operation.ts
|
|
4844
4879
|
import { ulid as ulid3 } from "ulid";
|
|
@@ -5030,15 +5065,15 @@ async function updateAdverseEventRoute(req, res) {
|
|
|
5030
5065
|
}
|
|
5031
5066
|
|
|
5032
5067
|
// src/data/rest-api/routes/data/adverseevent/adverseevent.ts
|
|
5033
|
-
var
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5068
|
+
var router12 = express12.Router();
|
|
5069
|
+
router12.get("/", listAdverseEventsRoute);
|
|
5070
|
+
router12.get("/:id", getAdverseEventByIdRoute);
|
|
5071
|
+
router12.post("/", createAdverseEventRoute);
|
|
5072
|
+
router12.put("/:id", updateAdverseEventRoute);
|
|
5073
|
+
router12.delete("/:id", deleteAdverseEventRoute);
|
|
5039
5074
|
|
|
5040
5075
|
// src/data/rest-api/routes/data/allergyintolerance/allergyintolerance.ts
|
|
5041
|
-
import
|
|
5076
|
+
import express13 from "express";
|
|
5042
5077
|
|
|
5043
5078
|
// src/data/operations/data/allergyintolerance/allergyintolerance-create-operation.ts
|
|
5044
5079
|
import { ulid as ulid4 } from "ulid";
|
|
@@ -5237,15 +5272,15 @@ async function updateAllergyIntoleranceRoute(req, res) {
|
|
|
5237
5272
|
}
|
|
5238
5273
|
|
|
5239
5274
|
// src/data/rest-api/routes/data/allergyintolerance/allergyintolerance.ts
|
|
5240
|
-
var
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5275
|
+
var router13 = express13.Router();
|
|
5276
|
+
router13.get("/", listAllergyIntolerancesRoute);
|
|
5277
|
+
router13.get("/:id", getAllergyIntoleranceByIdRoute);
|
|
5278
|
+
router13.post("/", createAllergyIntoleranceRoute);
|
|
5279
|
+
router13.put("/:id", updateAllergyIntoleranceRoute);
|
|
5280
|
+
router13.delete("/:id", deleteAllergyIntoleranceRoute);
|
|
5246
5281
|
|
|
5247
5282
|
// src/data/rest-api/routes/data/appointment/appointment.ts
|
|
5248
|
-
import
|
|
5283
|
+
import express14 from "express";
|
|
5249
5284
|
|
|
5250
5285
|
// src/data/operations/data/appointment/appointment-create-operation.ts
|
|
5251
5286
|
import { ulid as ulid5 } from "ulid";
|
|
@@ -6070,15 +6105,15 @@ async function updateAppointmentRoute(req, res) {
|
|
|
6070
6105
|
}
|
|
6071
6106
|
|
|
6072
6107
|
// src/data/rest-api/routes/data/appointment/appointment.ts
|
|
6073
|
-
var
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6108
|
+
var router14 = express14.Router();
|
|
6109
|
+
router14.get("/", listAppointmentsRoute);
|
|
6110
|
+
router14.get("/:id", getAppointmentByIdRoute);
|
|
6111
|
+
router14.post("/", createAppointmentRoute);
|
|
6112
|
+
router14.put("/:id", updateAppointmentRoute);
|
|
6113
|
+
router14.delete("/:id", deleteAppointmentRoute);
|
|
6079
6114
|
|
|
6080
6115
|
// src/data/rest-api/routes/data/appointmentresponse/appointmentresponse.ts
|
|
6081
|
-
import
|
|
6116
|
+
import express15 from "express";
|
|
6082
6117
|
|
|
6083
6118
|
// src/data/operations/data/appointmentresponse/appointmentresponse-create-operation.ts
|
|
6084
6119
|
import { ulid as ulid6 } from "ulid";
|
|
@@ -6277,15 +6312,15 @@ async function updateAppointmentResponseRoute(req, res) {
|
|
|
6277
6312
|
}
|
|
6278
6313
|
|
|
6279
6314
|
// src/data/rest-api/routes/data/appointmentresponse/appointmentresponse.ts
|
|
6280
|
-
var
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6315
|
+
var router15 = express15.Router();
|
|
6316
|
+
router15.get("/", listAppointmentResponsesRoute);
|
|
6317
|
+
router15.get("/:id", getAppointmentResponseByIdRoute);
|
|
6318
|
+
router15.post("/", createAppointmentResponseRoute);
|
|
6319
|
+
router15.put("/:id", updateAppointmentResponseRoute);
|
|
6320
|
+
router15.delete("/:id", deleteAppointmentResponseRoute);
|
|
6286
6321
|
|
|
6287
6322
|
// src/data/rest-api/routes/data/auditevent/auditevent.ts
|
|
6288
|
-
import
|
|
6323
|
+
import express16 from "express";
|
|
6289
6324
|
|
|
6290
6325
|
// src/data/operations/data/auditevent/auditevent-create-operation.ts
|
|
6291
6326
|
import { ulid as ulid7 } from "ulid";
|
|
@@ -6477,15 +6512,15 @@ async function updateAuditEventRoute(req, res) {
|
|
|
6477
6512
|
}
|
|
6478
6513
|
|
|
6479
6514
|
// src/data/rest-api/routes/data/auditevent/auditevent.ts
|
|
6480
|
-
var
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6515
|
+
var router16 = express16.Router();
|
|
6516
|
+
router16.get("/", listAuditEventsRoute);
|
|
6517
|
+
router16.get("/:id", getAuditEventByIdRoute);
|
|
6518
|
+
router16.post("/", createAuditEventRoute);
|
|
6519
|
+
router16.put("/:id", updateAuditEventRoute);
|
|
6520
|
+
router16.delete("/:id", deleteAuditEventRoute);
|
|
6486
6521
|
|
|
6487
6522
|
// src/data/rest-api/routes/data/basic/basic.ts
|
|
6488
|
-
import
|
|
6523
|
+
import express17 from "express";
|
|
6489
6524
|
|
|
6490
6525
|
// src/data/operations/data/basic/basic-create-operation.ts
|
|
6491
6526
|
import { ulid as ulid8 } from "ulid";
|
|
@@ -6677,15 +6712,15 @@ async function updateBasicRoute(req, res) {
|
|
|
6677
6712
|
}
|
|
6678
6713
|
|
|
6679
6714
|
// src/data/rest-api/routes/data/basic/basic.ts
|
|
6680
|
-
var
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6715
|
+
var router17 = express17.Router();
|
|
6716
|
+
router17.get("/", listBasicsRoute);
|
|
6717
|
+
router17.get("/:id", getBasicByIdRoute);
|
|
6718
|
+
router17.post("/", createBasicRoute);
|
|
6719
|
+
router17.put("/:id", updateBasicRoute);
|
|
6720
|
+
router17.delete("/:id", deleteBasicRoute);
|
|
6686
6721
|
|
|
6687
6722
|
// src/data/rest-api/routes/data/biologicallyderivedproduct/biologicallyderivedproduct.ts
|
|
6688
|
-
import
|
|
6723
|
+
import express18 from "express";
|
|
6689
6724
|
|
|
6690
6725
|
// src/data/operations/data/biologicallyderivedproduct/biologicallyderivedproduct-create-operation.ts
|
|
6691
6726
|
import { ulid as ulid9 } from "ulid";
|
|
@@ -6896,15 +6931,15 @@ async function updateBiologicallyDerivedProductRoute(req, res) {
|
|
|
6896
6931
|
}
|
|
6897
6932
|
|
|
6898
6933
|
// src/data/rest-api/routes/data/biologicallyderivedproduct/biologicallyderivedproduct.ts
|
|
6899
|
-
var
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6934
|
+
var router18 = express18.Router();
|
|
6935
|
+
router18.get("/", listBiologicallyDerivedProductsRoute);
|
|
6936
|
+
router18.get("/:id", getBiologicallyDerivedProductByIdRoute);
|
|
6937
|
+
router18.post("/", createBiologicallyDerivedProductRoute);
|
|
6938
|
+
router18.put("/:id", updateBiologicallyDerivedProductRoute);
|
|
6939
|
+
router18.delete("/:id", deleteBiologicallyDerivedProductRoute);
|
|
6905
6940
|
|
|
6906
6941
|
// src/data/rest-api/routes/data/bodystructure/bodystructure.ts
|
|
6907
|
-
import
|
|
6942
|
+
import express19 from "express";
|
|
6908
6943
|
|
|
6909
6944
|
// src/data/operations/data/bodystructure/bodystructure-create-operation.ts
|
|
6910
6945
|
import { ulid as ulid10 } from "ulid";
|
|
@@ -7096,15 +7131,15 @@ async function updateBodyStructureRoute(req, res) {
|
|
|
7096
7131
|
}
|
|
7097
7132
|
|
|
7098
7133
|
// src/data/rest-api/routes/data/bodystructure/bodystructure.ts
|
|
7099
|
-
var
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7134
|
+
var router19 = express19.Router();
|
|
7135
|
+
router19.get("/", listBodyStructuresRoute);
|
|
7136
|
+
router19.get("/:id", getBodyStructureByIdRoute);
|
|
7137
|
+
router19.post("/", createBodyStructureRoute);
|
|
7138
|
+
router19.put("/:id", updateBodyStructureRoute);
|
|
7139
|
+
router19.delete("/:id", deleteBodyStructureRoute);
|
|
7105
7140
|
|
|
7106
7141
|
// src/data/rest-api/routes/data/capabilitystatement/capabilitystatement.ts
|
|
7107
|
-
import
|
|
7142
|
+
import express20 from "express";
|
|
7108
7143
|
|
|
7109
7144
|
// src/data/operations/data/capabilitystatement/capabilitystatement-create-operation.ts
|
|
7110
7145
|
import { ulid as ulid11 } from "ulid";
|
|
@@ -7303,15 +7338,15 @@ async function updateCapabilityStatementRoute(req, res) {
|
|
|
7303
7338
|
}
|
|
7304
7339
|
|
|
7305
7340
|
// src/data/rest-api/routes/data/capabilitystatement/capabilitystatement.ts
|
|
7306
|
-
var
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7341
|
+
var router20 = express20.Router();
|
|
7342
|
+
router20.get("/", listCapabilityStatementsRoute);
|
|
7343
|
+
router20.get("/:id", getCapabilityStatementByIdRoute);
|
|
7344
|
+
router20.post("/", createCapabilityStatementRoute);
|
|
7345
|
+
router20.put("/:id", updateCapabilityStatementRoute);
|
|
7346
|
+
router20.delete("/:id", deleteCapabilityStatementRoute);
|
|
7312
7347
|
|
|
7313
7348
|
// src/data/rest-api/routes/data/careplan/careplan.ts
|
|
7314
|
-
import
|
|
7349
|
+
import express21 from "express";
|
|
7315
7350
|
|
|
7316
7351
|
// src/data/operations/data/careplan/careplan-create-operation.ts
|
|
7317
7352
|
import { ulid as ulid12 } from "ulid";
|
|
@@ -7503,15 +7538,15 @@ async function updateCarePlanRoute(req, res) {
|
|
|
7503
7538
|
}
|
|
7504
7539
|
|
|
7505
7540
|
// src/data/rest-api/routes/data/careplan/careplan.ts
|
|
7506
|
-
var
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7541
|
+
var router21 = express21.Router();
|
|
7542
|
+
router21.get("/", listCarePlansRoute);
|
|
7543
|
+
router21.get("/:id", getCarePlanByIdRoute);
|
|
7544
|
+
router21.post("/", createCarePlanRoute);
|
|
7545
|
+
router21.put("/:id", updateCarePlanRoute);
|
|
7546
|
+
router21.delete("/:id", deleteCarePlanRoute);
|
|
7512
7547
|
|
|
7513
7548
|
// src/data/rest-api/routes/data/careteam/careteam.ts
|
|
7514
|
-
import
|
|
7549
|
+
import express22 from "express";
|
|
7515
7550
|
|
|
7516
7551
|
// src/data/operations/data/careteam/careteam-create-operation.ts
|
|
7517
7552
|
import { ulid as ulid13 } from "ulid";
|
|
@@ -7703,15 +7738,15 @@ async function updateCareTeamRoute(req, res) {
|
|
|
7703
7738
|
}
|
|
7704
7739
|
|
|
7705
7740
|
// src/data/rest-api/routes/data/careteam/careteam.ts
|
|
7706
|
-
var
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7741
|
+
var router22 = express22.Router();
|
|
7742
|
+
router22.get("/", listCareTeamsRoute);
|
|
7743
|
+
router22.get("/:id", getCareTeamByIdRoute);
|
|
7744
|
+
router22.post("/", createCareTeamRoute);
|
|
7745
|
+
router22.put("/:id", updateCareTeamRoute);
|
|
7746
|
+
router22.delete("/:id", deleteCareTeamRoute);
|
|
7712
7747
|
|
|
7713
7748
|
// src/data/rest-api/routes/data/catalogentry/catalogentry.ts
|
|
7714
|
-
import
|
|
7749
|
+
import express23 from "express";
|
|
7715
7750
|
|
|
7716
7751
|
// src/data/operations/data/catalogentry/catalogentry-create-operation.ts
|
|
7717
7752
|
import { ulid as ulid14 } from "ulid";
|
|
@@ -7903,15 +7938,15 @@ async function updateCatalogEntryRoute(req, res) {
|
|
|
7903
7938
|
}
|
|
7904
7939
|
|
|
7905
7940
|
// src/data/rest-api/routes/data/catalogentry/catalogentry.ts
|
|
7906
|
-
var
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7941
|
+
var router23 = express23.Router();
|
|
7942
|
+
router23.get("/", listCatalogEntrysRoute);
|
|
7943
|
+
router23.get("/:id", getCatalogEntryByIdRoute);
|
|
7944
|
+
router23.post("/", createCatalogEntryRoute);
|
|
7945
|
+
router23.put("/:id", updateCatalogEntryRoute);
|
|
7946
|
+
router23.delete("/:id", deleteCatalogEntryRoute);
|
|
7912
7947
|
|
|
7913
7948
|
// src/data/rest-api/routes/data/chargeitem/chargeitem.ts
|
|
7914
|
-
import
|
|
7949
|
+
import express24 from "express";
|
|
7915
7950
|
|
|
7916
7951
|
// src/data/operations/data/chargeitem/chargeitem-create-operation.ts
|
|
7917
7952
|
import { ulid as ulid15 } from "ulid";
|
|
@@ -8103,15 +8138,15 @@ async function updateChargeItemRoute(req, res) {
|
|
|
8103
8138
|
}
|
|
8104
8139
|
|
|
8105
8140
|
// src/data/rest-api/routes/data/chargeitem/chargeitem.ts
|
|
8106
|
-
var
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
|
|
8110
|
-
|
|
8111
|
-
|
|
8141
|
+
var router24 = express24.Router();
|
|
8142
|
+
router24.get("/", listChargeItemsRoute);
|
|
8143
|
+
router24.get("/:id", getChargeItemByIdRoute);
|
|
8144
|
+
router24.post("/", createChargeItemRoute);
|
|
8145
|
+
router24.put("/:id", updateChargeItemRoute);
|
|
8146
|
+
router24.delete("/:id", deleteChargeItemRoute);
|
|
8112
8147
|
|
|
8113
8148
|
// src/data/rest-api/routes/data/chargeitemdefinition/chargeitemdefinition.ts
|
|
8114
|
-
import
|
|
8149
|
+
import express25 from "express";
|
|
8115
8150
|
|
|
8116
8151
|
// src/data/operations/data/chargeitemdefinition/chargeitemdefinition-create-operation.ts
|
|
8117
8152
|
import { ulid as ulid16 } from "ulid";
|
|
@@ -8314,15 +8349,15 @@ async function updateChargeItemDefinitionRoute(req, res) {
|
|
|
8314
8349
|
}
|
|
8315
8350
|
|
|
8316
8351
|
// src/data/rest-api/routes/data/chargeitemdefinition/chargeitemdefinition.ts
|
|
8317
|
-
var
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
|
|
8321
|
-
|
|
8322
|
-
|
|
8352
|
+
var router25 = express25.Router();
|
|
8353
|
+
router25.get("/", listChargeItemDefinitionsRoute);
|
|
8354
|
+
router25.get("/:id", getChargeItemDefinitionByIdRoute);
|
|
8355
|
+
router25.post("/", createChargeItemDefinitionRoute);
|
|
8356
|
+
router25.put("/:id", updateChargeItemDefinitionRoute);
|
|
8357
|
+
router25.delete("/:id", deleteChargeItemDefinitionRoute);
|
|
8323
8358
|
|
|
8324
8359
|
// src/data/rest-api/routes/data/claim/claim.ts
|
|
8325
|
-
import
|
|
8360
|
+
import express26 from "express";
|
|
8326
8361
|
|
|
8327
8362
|
// src/data/operations/data/claim/claim-create-operation.ts
|
|
8328
8363
|
import { ulid as ulid17 } from "ulid";
|
|
@@ -8514,15 +8549,15 @@ async function updateClaimRoute(req, res) {
|
|
|
8514
8549
|
}
|
|
8515
8550
|
|
|
8516
8551
|
// src/data/rest-api/routes/data/claim/claim.ts
|
|
8517
|
-
var
|
|
8518
|
-
|
|
8519
|
-
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8552
|
+
var router26 = express26.Router();
|
|
8553
|
+
router26.get("/", listClaimsRoute);
|
|
8554
|
+
router26.get("/:id", getClaimByIdRoute);
|
|
8555
|
+
router26.post("/", createClaimRoute);
|
|
8556
|
+
router26.put("/:id", updateClaimRoute);
|
|
8557
|
+
router26.delete("/:id", deleteClaimRoute);
|
|
8523
8558
|
|
|
8524
8559
|
// src/data/rest-api/routes/data/claimresponse/claimresponse.ts
|
|
8525
|
-
import
|
|
8560
|
+
import express27 from "express";
|
|
8526
8561
|
|
|
8527
8562
|
// src/data/operations/data/claimresponse/claimresponse-create-operation.ts
|
|
8528
8563
|
import { ulid as ulid18 } from "ulid";
|
|
@@ -8714,15 +8749,15 @@ async function updateClaimResponseRoute(req, res) {
|
|
|
8714
8749
|
}
|
|
8715
8750
|
|
|
8716
8751
|
// src/data/rest-api/routes/data/claimresponse/claimresponse.ts
|
|
8717
|
-
var
|
|
8718
|
-
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8752
|
+
var router27 = express27.Router();
|
|
8753
|
+
router27.get("/", listClaimResponsesRoute);
|
|
8754
|
+
router27.get("/:id", getClaimResponseByIdRoute);
|
|
8755
|
+
router27.post("/", createClaimResponseRoute);
|
|
8756
|
+
router27.put("/:id", updateClaimResponseRoute);
|
|
8757
|
+
router27.delete("/:id", deleteClaimResponseRoute);
|
|
8723
8758
|
|
|
8724
8759
|
// src/data/rest-api/routes/data/clinicalimpression/clinicalimpression.ts
|
|
8725
|
-
import
|
|
8760
|
+
import express28 from "express";
|
|
8726
8761
|
|
|
8727
8762
|
// src/data/operations/data/clinicalimpression/clinicalimpression-create-operation.ts
|
|
8728
8763
|
import { ulid as ulid19 } from "ulid";
|
|
@@ -8921,15 +8956,15 @@ async function updateClinicalImpressionRoute(req, res) {
|
|
|
8921
8956
|
}
|
|
8922
8957
|
|
|
8923
8958
|
// src/data/rest-api/routes/data/clinicalimpression/clinicalimpression.ts
|
|
8924
|
-
var
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8959
|
+
var router28 = express28.Router();
|
|
8960
|
+
router28.get("/", listClinicalImpressionsRoute);
|
|
8961
|
+
router28.get("/:id", getClinicalImpressionByIdRoute);
|
|
8962
|
+
router28.post("/", createClinicalImpressionRoute);
|
|
8963
|
+
router28.put("/:id", updateClinicalImpressionRoute);
|
|
8964
|
+
router28.delete("/:id", deleteClinicalImpressionRoute);
|
|
8930
8965
|
|
|
8931
8966
|
// src/data/rest-api/routes/data/codesystem/codesystem.ts
|
|
8932
|
-
import
|
|
8967
|
+
import express29 from "express";
|
|
8933
8968
|
|
|
8934
8969
|
// src/data/operations/data/codesystem/codesystem-create-operation.ts
|
|
8935
8970
|
import { ulid as ulid20 } from "ulid";
|
|
@@ -9121,15 +9156,15 @@ async function updateCodeSystemRoute(req, res) {
|
|
|
9121
9156
|
}
|
|
9122
9157
|
|
|
9123
9158
|
// src/data/rest-api/routes/data/codesystem/codesystem.ts
|
|
9124
|
-
var
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9159
|
+
var router29 = express29.Router();
|
|
9160
|
+
router29.get("/", listCodeSystemsRoute);
|
|
9161
|
+
router29.get("/:id", getCodeSystemByIdRoute);
|
|
9162
|
+
router29.post("/", createCodeSystemRoute);
|
|
9163
|
+
router29.put("/:id", updateCodeSystemRoute);
|
|
9164
|
+
router29.delete("/:id", deleteCodeSystemRoute);
|
|
9130
9165
|
|
|
9131
9166
|
// src/data/rest-api/routes/data/communication/communication.ts
|
|
9132
|
-
import
|
|
9167
|
+
import express30 from "express";
|
|
9133
9168
|
|
|
9134
9169
|
// src/data/operations/data/communication/communication-create-operation.ts
|
|
9135
9170
|
import { ulid as ulid21 } from "ulid";
|
|
@@ -9321,15 +9356,15 @@ async function updateCommunicationRoute(req, res) {
|
|
|
9321
9356
|
}
|
|
9322
9357
|
|
|
9323
9358
|
// src/data/rest-api/routes/data/communication/communication.ts
|
|
9324
|
-
var
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9359
|
+
var router30 = express30.Router();
|
|
9360
|
+
router30.get("/", listCommunicationsRoute);
|
|
9361
|
+
router30.get("/:id", getCommunicationByIdRoute);
|
|
9362
|
+
router30.post("/", createCommunicationRoute);
|
|
9363
|
+
router30.put("/:id", updateCommunicationRoute);
|
|
9364
|
+
router30.delete("/:id", deleteCommunicationRoute);
|
|
9330
9365
|
|
|
9331
9366
|
// src/data/rest-api/routes/data/communicationrequest/communicationrequest.ts
|
|
9332
|
-
import
|
|
9367
|
+
import express31 from "express";
|
|
9333
9368
|
|
|
9334
9369
|
// src/data/operations/data/communicationrequest/communicationrequest-create-operation.ts
|
|
9335
9370
|
import { ulid as ulid22 } from "ulid";
|
|
@@ -9532,15 +9567,15 @@ async function updateCommunicationRequestRoute(req, res) {
|
|
|
9532
9567
|
}
|
|
9533
9568
|
|
|
9534
9569
|
// src/data/rest-api/routes/data/communicationrequest/communicationrequest.ts
|
|
9535
|
-
var
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9570
|
+
var router31 = express31.Router();
|
|
9571
|
+
router31.get("/", listCommunicationRequestsRoute);
|
|
9572
|
+
router31.get("/:id", getCommunicationRequestByIdRoute);
|
|
9573
|
+
router31.post("/", createCommunicationRequestRoute);
|
|
9574
|
+
router31.put("/:id", updateCommunicationRequestRoute);
|
|
9575
|
+
router31.delete("/:id", deleteCommunicationRequestRoute);
|
|
9541
9576
|
|
|
9542
9577
|
// src/data/rest-api/routes/data/compartmentdefinition/compartmentdefinition.ts
|
|
9543
|
-
import
|
|
9578
|
+
import express32 from "express";
|
|
9544
9579
|
|
|
9545
9580
|
// src/data/operations/data/compartmentdefinition/compartmentdefinition-create-operation.ts
|
|
9546
9581
|
import { ulid as ulid23 } from "ulid";
|
|
@@ -9751,15 +9786,15 @@ async function updateCompartmentDefinitionRoute(req, res) {
|
|
|
9751
9786
|
}
|
|
9752
9787
|
|
|
9753
9788
|
// src/data/rest-api/routes/data/compartmentdefinition/compartmentdefinition.ts
|
|
9754
|
-
var
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9759
|
-
|
|
9789
|
+
var router32 = express32.Router();
|
|
9790
|
+
router32.get("/", listCompartmentDefinitionsRoute);
|
|
9791
|
+
router32.get("/:id", getCompartmentDefinitionByIdRoute);
|
|
9792
|
+
router32.post("/", createCompartmentDefinitionRoute);
|
|
9793
|
+
router32.put("/:id", updateCompartmentDefinitionRoute);
|
|
9794
|
+
router32.delete("/:id", deleteCompartmentDefinitionRoute);
|
|
9760
9795
|
|
|
9761
9796
|
// src/data/rest-api/routes/data/composition/composition.ts
|
|
9762
|
-
import
|
|
9797
|
+
import express33 from "express";
|
|
9763
9798
|
|
|
9764
9799
|
// src/data/operations/data/composition/composition-create-operation.ts
|
|
9765
9800
|
import { ulid as ulid24 } from "ulid";
|
|
@@ -9951,15 +9986,15 @@ async function updateCompositionRoute(req, res) {
|
|
|
9951
9986
|
}
|
|
9952
9987
|
|
|
9953
9988
|
// src/data/rest-api/routes/data/composition/composition.ts
|
|
9954
|
-
var
|
|
9955
|
-
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9989
|
+
var router33 = express33.Router();
|
|
9990
|
+
router33.get("/", listCompositionsRoute);
|
|
9991
|
+
router33.get("/:id", getCompositionByIdRoute);
|
|
9992
|
+
router33.post("/", createCompositionRoute);
|
|
9993
|
+
router33.put("/:id", updateCompositionRoute);
|
|
9994
|
+
router33.delete("/:id", deleteCompositionRoute);
|
|
9960
9995
|
|
|
9961
9996
|
// src/data/rest-api/routes/data/conceptmap/conceptmap.ts
|
|
9962
|
-
import
|
|
9997
|
+
import express34 from "express";
|
|
9963
9998
|
|
|
9964
9999
|
// src/data/operations/data/conceptmap/conceptmap-create-operation.ts
|
|
9965
10000
|
import { ulid as ulid25 } from "ulid";
|
|
@@ -10151,15 +10186,15 @@ async function updateConceptMapRoute(req, res) {
|
|
|
10151
10186
|
}
|
|
10152
10187
|
|
|
10153
10188
|
// src/data/rest-api/routes/data/conceptmap/conceptmap.ts
|
|
10154
|
-
var
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10189
|
+
var router34 = express34.Router();
|
|
10190
|
+
router34.get("/", listConceptMapsRoute);
|
|
10191
|
+
router34.get("/:id", getConceptMapByIdRoute);
|
|
10192
|
+
router34.post("/", createConceptMapRoute);
|
|
10193
|
+
router34.put("/:id", updateConceptMapRoute);
|
|
10194
|
+
router34.delete("/:id", deleteConceptMapRoute);
|
|
10160
10195
|
|
|
10161
10196
|
// src/data/rest-api/routes/data/condition/condition.ts
|
|
10162
|
-
import
|
|
10197
|
+
import express35 from "express";
|
|
10163
10198
|
|
|
10164
10199
|
// src/data/operations/data/condition/condition-create-operation.ts
|
|
10165
10200
|
import { ulid as ulid26 } from "ulid";
|
|
@@ -10351,15 +10386,15 @@ async function updateConditionRoute(req, res) {
|
|
|
10351
10386
|
}
|
|
10352
10387
|
|
|
10353
10388
|
// src/data/rest-api/routes/data/condition/condition.ts
|
|
10354
|
-
var
|
|
10355
|
-
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
|
|
10389
|
+
var router35 = express35.Router();
|
|
10390
|
+
router35.get("/", listConditionsRoute);
|
|
10391
|
+
router35.get("/:id", getConditionByIdRoute);
|
|
10392
|
+
router35.post("/", createConditionRoute);
|
|
10393
|
+
router35.put("/:id", updateConditionRoute);
|
|
10394
|
+
router35.delete("/:id", deleteConditionRoute);
|
|
10360
10395
|
|
|
10361
10396
|
// src/data/rest-api/routes/data/consent/consent.ts
|
|
10362
|
-
import
|
|
10397
|
+
import express36 from "express";
|
|
10363
10398
|
|
|
10364
10399
|
// src/data/operations/data/consent/consent-create-operation.ts
|
|
10365
10400
|
import { ulid as ulid27 } from "ulid";
|
|
@@ -10551,15 +10586,15 @@ async function updateConsentRoute(req, res) {
|
|
|
10551
10586
|
}
|
|
10552
10587
|
|
|
10553
10588
|
// src/data/rest-api/routes/data/consent/consent.ts
|
|
10554
|
-
var
|
|
10555
|
-
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10589
|
+
var router36 = express36.Router();
|
|
10590
|
+
router36.get("/", listConsentsRoute);
|
|
10591
|
+
router36.get("/:id", getConsentByIdRoute);
|
|
10592
|
+
router36.post("/", createConsentRoute);
|
|
10593
|
+
router36.put("/:id", updateConsentRoute);
|
|
10594
|
+
router36.delete("/:id", deleteConsentRoute);
|
|
10560
10595
|
|
|
10561
10596
|
// src/data/rest-api/routes/data/contract/contract.ts
|
|
10562
|
-
import
|
|
10597
|
+
import express37 from "express";
|
|
10563
10598
|
|
|
10564
10599
|
// src/data/operations/data/contract/contract-create-operation.ts
|
|
10565
10600
|
import { ulid as ulid28 } from "ulid";
|
|
@@ -10751,15 +10786,15 @@ async function updateContractRoute(req, res) {
|
|
|
10751
10786
|
}
|
|
10752
10787
|
|
|
10753
10788
|
// src/data/rest-api/routes/data/contract/contract.ts
|
|
10754
|
-
var
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10789
|
+
var router37 = express37.Router();
|
|
10790
|
+
router37.get("/", listContractsRoute);
|
|
10791
|
+
router37.get("/:id", getContractByIdRoute);
|
|
10792
|
+
router37.post("/", createContractRoute);
|
|
10793
|
+
router37.put("/:id", updateContractRoute);
|
|
10794
|
+
router37.delete("/:id", deleteContractRoute);
|
|
10760
10795
|
|
|
10761
10796
|
// src/data/rest-api/routes/data/coverage/coverage.ts
|
|
10762
|
-
import
|
|
10797
|
+
import express38 from "express";
|
|
10763
10798
|
|
|
10764
10799
|
// src/data/operations/data/coverage/coverage-create-operation.ts
|
|
10765
10800
|
import { ulid as ulid29 } from "ulid";
|
|
@@ -10954,15 +10989,15 @@ async function updateCoverageRoute(req, res) {
|
|
|
10954
10989
|
}
|
|
10955
10990
|
|
|
10956
10991
|
// src/data/rest-api/routes/data/coverage/coverage.ts
|
|
10957
|
-
var
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10992
|
+
var router38 = express38.Router();
|
|
10993
|
+
router38.get("/", listCoveragesRoute);
|
|
10994
|
+
router38.get("/:id", getCoverageByIdRoute);
|
|
10995
|
+
router38.post("/", createCoverageRoute);
|
|
10996
|
+
router38.put("/:id", updateCoverageRoute);
|
|
10997
|
+
router38.delete("/:id", deleteCoverageRoute);
|
|
10963
10998
|
|
|
10964
10999
|
// src/data/rest-api/routes/data/coverageeligibilityrequest/coverageeligibilityrequest.ts
|
|
10965
|
-
import
|
|
11000
|
+
import express39 from "express";
|
|
10966
11001
|
|
|
10967
11002
|
// src/data/operations/data/coverageeligibilityrequest/coverageeligibilityrequest-create-operation.ts
|
|
10968
11003
|
import { ulid as ulid30 } from "ulid";
|
|
@@ -11173,15 +11208,15 @@ async function updateCoverageEligibilityRequestRoute(req, res) {
|
|
|
11173
11208
|
}
|
|
11174
11209
|
|
|
11175
11210
|
// src/data/rest-api/routes/data/coverageeligibilityrequest/coverageeligibilityrequest.ts
|
|
11176
|
-
var
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11211
|
+
var router39 = express39.Router();
|
|
11212
|
+
router39.get("/", listCoverageEligibilityRequestsRoute);
|
|
11213
|
+
router39.get("/:id", getCoverageEligibilityRequestByIdRoute);
|
|
11214
|
+
router39.post("/", createCoverageEligibilityRequestRoute);
|
|
11215
|
+
router39.put("/:id", updateCoverageEligibilityRequestRoute);
|
|
11216
|
+
router39.delete("/:id", deleteCoverageEligibilityRequestRoute);
|
|
11182
11217
|
|
|
11183
11218
|
// src/data/rest-api/routes/data/coverageeligibilityresponse/coverageeligibilityresponse.ts
|
|
11184
|
-
import
|
|
11219
|
+
import express40 from "express";
|
|
11185
11220
|
|
|
11186
11221
|
// src/data/operations/data/coverageeligibilityresponse/coverageeligibilityresponse-create-operation.ts
|
|
11187
11222
|
import { ulid as ulid31 } from "ulid";
|
|
@@ -11392,15 +11427,15 @@ async function updateCoverageEligibilityResponseRoute(req, res) {
|
|
|
11392
11427
|
}
|
|
11393
11428
|
|
|
11394
11429
|
// src/data/rest-api/routes/data/coverageeligibilityresponse/coverageeligibilityresponse.ts
|
|
11395
|
-
var
|
|
11396
|
-
|
|
11397
|
-
|
|
11398
|
-
|
|
11399
|
-
|
|
11400
|
-
|
|
11430
|
+
var router40 = express40.Router();
|
|
11431
|
+
router40.get("/", listCoverageEligibilityResponsesRoute);
|
|
11432
|
+
router40.get("/:id", getCoverageEligibilityResponseByIdRoute);
|
|
11433
|
+
router40.post("/", createCoverageEligibilityResponseRoute);
|
|
11434
|
+
router40.put("/:id", updateCoverageEligibilityResponseRoute);
|
|
11435
|
+
router40.delete("/:id", deleteCoverageEligibilityResponseRoute);
|
|
11401
11436
|
|
|
11402
11437
|
// src/data/rest-api/routes/data/detectedissue/detectedissue.ts
|
|
11403
|
-
import
|
|
11438
|
+
import express41 from "express";
|
|
11404
11439
|
|
|
11405
11440
|
// src/data/operations/data/detectedissue/detectedissue-create-operation.ts
|
|
11406
11441
|
import { ulid as ulid32 } from "ulid";
|
|
@@ -11592,15 +11627,15 @@ async function updateDetectedIssueRoute(req, res) {
|
|
|
11592
11627
|
}
|
|
11593
11628
|
|
|
11594
11629
|
// src/data/rest-api/routes/data/detectedissue/detectedissue.ts
|
|
11595
|
-
var
|
|
11596
|
-
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11630
|
+
var router41 = express41.Router();
|
|
11631
|
+
router41.get("/", listDetectedIssuesRoute);
|
|
11632
|
+
router41.get("/:id", getDetectedIssueByIdRoute);
|
|
11633
|
+
router41.post("/", createDetectedIssueRoute);
|
|
11634
|
+
router41.put("/:id", updateDetectedIssueRoute);
|
|
11635
|
+
router41.delete("/:id", deleteDetectedIssueRoute);
|
|
11601
11636
|
|
|
11602
11637
|
// src/data/rest-api/routes/data/device/device.ts
|
|
11603
|
-
import
|
|
11638
|
+
import express42 from "express";
|
|
11604
11639
|
|
|
11605
11640
|
// src/data/operations/data/device/device-create-operation.ts
|
|
11606
11641
|
import { ulid as ulid33 } from "ulid";
|
|
@@ -11792,15 +11827,15 @@ async function updateDeviceRoute(req, res) {
|
|
|
11792
11827
|
}
|
|
11793
11828
|
|
|
11794
11829
|
// src/data/rest-api/routes/data/device/device.ts
|
|
11795
|
-
var
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
11830
|
+
var router42 = express42.Router();
|
|
11831
|
+
router42.get("/", listDevicesRoute);
|
|
11832
|
+
router42.get("/:id", getDeviceByIdRoute);
|
|
11833
|
+
router42.post("/", createDeviceRoute);
|
|
11834
|
+
router42.put("/:id", updateDeviceRoute);
|
|
11835
|
+
router42.delete("/:id", deleteDeviceRoute);
|
|
11801
11836
|
|
|
11802
11837
|
// src/data/rest-api/routes/data/devicedefinition/devicedefinition.ts
|
|
11803
|
-
import
|
|
11838
|
+
import express43 from "express";
|
|
11804
11839
|
|
|
11805
11840
|
// src/data/operations/data/devicedefinition/devicedefinition-create-operation.ts
|
|
11806
11841
|
import { ulid as ulid34 } from "ulid";
|
|
@@ -11992,15 +12027,15 @@ async function updateDeviceDefinitionRoute(req, res) {
|
|
|
11992
12027
|
}
|
|
11993
12028
|
|
|
11994
12029
|
// src/data/rest-api/routes/data/devicedefinition/devicedefinition.ts
|
|
11995
|
-
var
|
|
11996
|
-
|
|
11997
|
-
|
|
11998
|
-
|
|
11999
|
-
|
|
12000
|
-
|
|
12030
|
+
var router43 = express43.Router();
|
|
12031
|
+
router43.get("/", listDeviceDefinitionsRoute);
|
|
12032
|
+
router43.get("/:id", getDeviceDefinitionByIdRoute);
|
|
12033
|
+
router43.post("/", createDeviceDefinitionRoute);
|
|
12034
|
+
router43.put("/:id", updateDeviceDefinitionRoute);
|
|
12035
|
+
router43.delete("/:id", deleteDeviceDefinitionRoute);
|
|
12001
12036
|
|
|
12002
12037
|
// src/data/rest-api/routes/data/devicemetric/devicemetric.ts
|
|
12003
|
-
import
|
|
12038
|
+
import express44 from "express";
|
|
12004
12039
|
|
|
12005
12040
|
// src/data/operations/data/devicemetric/devicemetric-create-operation.ts
|
|
12006
12041
|
import { ulid as ulid35 } from "ulid";
|
|
@@ -12192,15 +12227,15 @@ async function updateDeviceMetricRoute(req, res) {
|
|
|
12192
12227
|
}
|
|
12193
12228
|
|
|
12194
12229
|
// src/data/rest-api/routes/data/devicemetric/devicemetric.ts
|
|
12195
|
-
var
|
|
12196
|
-
|
|
12197
|
-
|
|
12198
|
-
|
|
12199
|
-
|
|
12200
|
-
|
|
12230
|
+
var router44 = express44.Router();
|
|
12231
|
+
router44.get("/", listDeviceMetricsRoute);
|
|
12232
|
+
router44.get("/:id", getDeviceMetricByIdRoute);
|
|
12233
|
+
router44.post("/", createDeviceMetricRoute);
|
|
12234
|
+
router44.put("/:id", updateDeviceMetricRoute);
|
|
12235
|
+
router44.delete("/:id", deleteDeviceMetricRoute);
|
|
12201
12236
|
|
|
12202
12237
|
// src/data/rest-api/routes/data/devicerequest/devicerequest.ts
|
|
12203
|
-
import
|
|
12238
|
+
import express45 from "express";
|
|
12204
12239
|
|
|
12205
12240
|
// src/data/operations/data/devicerequest/devicerequest-create-operation.ts
|
|
12206
12241
|
import { ulid as ulid36 } from "ulid";
|
|
@@ -12392,15 +12427,15 @@ async function updateDeviceRequestRoute(req, res) {
|
|
|
12392
12427
|
}
|
|
12393
12428
|
|
|
12394
12429
|
// src/data/rest-api/routes/data/devicerequest/devicerequest.ts
|
|
12395
|
-
var
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12430
|
+
var router45 = express45.Router();
|
|
12431
|
+
router45.get("/", listDeviceRequestsRoute);
|
|
12432
|
+
router45.get("/:id", getDeviceRequestByIdRoute);
|
|
12433
|
+
router45.post("/", createDeviceRequestRoute);
|
|
12434
|
+
router45.put("/:id", updateDeviceRequestRoute);
|
|
12435
|
+
router45.delete("/:id", deleteDeviceRequestRoute);
|
|
12401
12436
|
|
|
12402
12437
|
// src/data/rest-api/routes/data/deviceusestatement/deviceusestatement.ts
|
|
12403
|
-
import
|
|
12438
|
+
import express46 from "express";
|
|
12404
12439
|
|
|
12405
12440
|
// src/data/operations/data/deviceusestatement/deviceusestatement-create-operation.ts
|
|
12406
12441
|
import { ulid as ulid37 } from "ulid";
|
|
@@ -12599,15 +12634,15 @@ async function updateDeviceUseStatementRoute(req, res) {
|
|
|
12599
12634
|
}
|
|
12600
12635
|
|
|
12601
12636
|
// src/data/rest-api/routes/data/deviceusestatement/deviceusestatement.ts
|
|
12602
|
-
var
|
|
12603
|
-
|
|
12604
|
-
|
|
12605
|
-
|
|
12606
|
-
|
|
12607
|
-
|
|
12637
|
+
var router46 = express46.Router();
|
|
12638
|
+
router46.get("/", listDeviceUseStatementsRoute);
|
|
12639
|
+
router46.get("/:id", getDeviceUseStatementByIdRoute);
|
|
12640
|
+
router46.post("/", createDeviceUseStatementRoute);
|
|
12641
|
+
router46.put("/:id", updateDeviceUseStatementRoute);
|
|
12642
|
+
router46.delete("/:id", deleteDeviceUseStatementRoute);
|
|
12608
12643
|
|
|
12609
12644
|
// src/data/rest-api/routes/data/diagnosticreport/diagnosticreport.ts
|
|
12610
|
-
import
|
|
12645
|
+
import express47 from "express";
|
|
12611
12646
|
|
|
12612
12647
|
// src/data/operations/data/diagnosticreport/diagnosticreport-create-operation.ts
|
|
12613
12648
|
import { ulid as ulid38 } from "ulid";
|
|
@@ -12799,15 +12834,15 @@ async function updateDiagnosticReportRoute(req, res) {
|
|
|
12799
12834
|
}
|
|
12800
12835
|
|
|
12801
12836
|
// src/data/rest-api/routes/data/diagnosticreport/diagnosticreport.ts
|
|
12802
|
-
var
|
|
12803
|
-
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
|
|
12837
|
+
var router47 = express47.Router();
|
|
12838
|
+
router47.get("/", listDiagnosticReportsRoute);
|
|
12839
|
+
router47.get("/:id", getDiagnosticReportByIdRoute);
|
|
12840
|
+
router47.post("/", createDiagnosticReportRoute);
|
|
12841
|
+
router47.put("/:id", updateDiagnosticReportRoute);
|
|
12842
|
+
router47.delete("/:id", deleteDiagnosticReportRoute);
|
|
12808
12843
|
|
|
12809
12844
|
// src/data/rest-api/routes/data/documentmanifest/documentmanifest.ts
|
|
12810
|
-
import
|
|
12845
|
+
import express48 from "express";
|
|
12811
12846
|
|
|
12812
12847
|
// src/data/operations/data/documentmanifest/documentmanifest-create-operation.ts
|
|
12813
12848
|
import { ulid as ulid39 } from "ulid";
|
|
@@ -12999,15 +13034,15 @@ async function updateDocumentManifestRoute(req, res) {
|
|
|
12999
13034
|
}
|
|
13000
13035
|
|
|
13001
13036
|
// src/data/rest-api/routes/data/documentmanifest/documentmanifest.ts
|
|
13002
|
-
var
|
|
13003
|
-
|
|
13004
|
-
|
|
13005
|
-
|
|
13006
|
-
|
|
13007
|
-
|
|
13037
|
+
var router48 = express48.Router();
|
|
13038
|
+
router48.get("/", listDocumentManifestsRoute);
|
|
13039
|
+
router48.get("/:id", getDocumentManifestByIdRoute);
|
|
13040
|
+
router48.post("/", createDocumentManifestRoute);
|
|
13041
|
+
router48.put("/:id", updateDocumentManifestRoute);
|
|
13042
|
+
router48.delete("/:id", deleteDocumentManifestRoute);
|
|
13008
13043
|
|
|
13009
13044
|
// src/data/rest-api/routes/data/documentreference/documentreference.ts
|
|
13010
|
-
import
|
|
13045
|
+
import express49 from "express";
|
|
13011
13046
|
|
|
13012
13047
|
// src/data/operations/data/documentreference/documentreference-create-operation.ts
|
|
13013
13048
|
import { ulid as ulid40 } from "ulid";
|
|
@@ -13202,15 +13237,15 @@ async function updateDocumentReferenceRoute(req, res) {
|
|
|
13202
13237
|
}
|
|
13203
13238
|
|
|
13204
13239
|
// src/data/rest-api/routes/data/documentreference/documentreference.ts
|
|
13205
|
-
var
|
|
13206
|
-
|
|
13207
|
-
|
|
13208
|
-
|
|
13209
|
-
|
|
13210
|
-
|
|
13240
|
+
var router49 = express49.Router();
|
|
13241
|
+
router49.get("/", listDocumentReferencesRoute);
|
|
13242
|
+
router49.get("/:id", getDocumentReferenceByIdRoute);
|
|
13243
|
+
router49.post("/", createDocumentReferenceRoute);
|
|
13244
|
+
router49.put("/:id", updateDocumentReferenceRoute);
|
|
13245
|
+
router49.delete("/:id", deleteDocumentReferenceRoute);
|
|
13211
13246
|
|
|
13212
13247
|
// src/data/rest-api/routes/data/effectevidencesynthesis/effectevidencesynthesis.ts
|
|
13213
|
-
import
|
|
13248
|
+
import express50 from "express";
|
|
13214
13249
|
|
|
13215
13250
|
// src/data/operations/data/effectevidencesynthesis/effectevidencesynthesis-create-operation.ts
|
|
13216
13251
|
import { ulid as ulid41 } from "ulid";
|
|
@@ -13421,15 +13456,15 @@ async function updateEffectEvidenceSynthesisRoute(req, res) {
|
|
|
13421
13456
|
}
|
|
13422
13457
|
|
|
13423
13458
|
// src/data/rest-api/routes/data/effectevidencesynthesis/effectevidencesynthesis.ts
|
|
13424
|
-
var
|
|
13425
|
-
|
|
13426
|
-
|
|
13427
|
-
|
|
13428
|
-
|
|
13429
|
-
|
|
13459
|
+
var router50 = express50.Router();
|
|
13460
|
+
router50.get("/", listEffectEvidenceSynthesissRoute);
|
|
13461
|
+
router50.get("/:id", getEffectEvidenceSynthesisByIdRoute);
|
|
13462
|
+
router50.post("/", createEffectEvidenceSynthesisRoute);
|
|
13463
|
+
router50.put("/:id", updateEffectEvidenceSynthesisRoute);
|
|
13464
|
+
router50.delete("/:id", deleteEffectEvidenceSynthesisRoute);
|
|
13430
13465
|
|
|
13431
13466
|
// src/data/rest-api/routes/data/encounter/encounter.ts
|
|
13432
|
-
import
|
|
13467
|
+
import express51 from "express";
|
|
13433
13468
|
|
|
13434
13469
|
// src/data/rest-api/routes/data/encounter/encounter-create-route.ts
|
|
13435
13470
|
async function createEncounterRoute(req, res) {
|
|
@@ -13816,15 +13851,15 @@ async function updateEncounterRoute(req, res) {
|
|
|
13816
13851
|
}
|
|
13817
13852
|
|
|
13818
13853
|
// src/data/rest-api/routes/data/encounter/encounter.ts
|
|
13819
|
-
var
|
|
13820
|
-
|
|
13821
|
-
|
|
13822
|
-
|
|
13823
|
-
|
|
13824
|
-
|
|
13854
|
+
var router51 = express51.Router();
|
|
13855
|
+
router51.get("/", listEncountersRoute);
|
|
13856
|
+
router51.get("/:id", getEncounterByIdRoute);
|
|
13857
|
+
router51.post("/", createEncounterRoute);
|
|
13858
|
+
router51.put("/:id", updateEncounterRoute);
|
|
13859
|
+
router51.delete("/:id", deleteEncounterRoute);
|
|
13825
13860
|
|
|
13826
13861
|
// src/data/rest-api/routes/data/endpoint/endpoint.ts
|
|
13827
|
-
import
|
|
13862
|
+
import express52 from "express";
|
|
13828
13863
|
|
|
13829
13864
|
// src/data/operations/data/endpoint/endpoint-create-operation.ts
|
|
13830
13865
|
import { ulid as ulid42 } from "ulid";
|
|
@@ -14016,15 +14051,15 @@ async function updateEndpointRoute(req, res) {
|
|
|
14016
14051
|
}
|
|
14017
14052
|
|
|
14018
14053
|
// src/data/rest-api/routes/data/endpoint/endpoint.ts
|
|
14019
|
-
var
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14054
|
+
var router52 = express52.Router();
|
|
14055
|
+
router52.get("/", listEndpointsRoute);
|
|
14056
|
+
router52.get("/:id", getEndpointByIdRoute);
|
|
14057
|
+
router52.post("/", createEndpointRoute);
|
|
14058
|
+
router52.put("/:id", updateEndpointRoute);
|
|
14059
|
+
router52.delete("/:id", deleteEndpointRoute);
|
|
14025
14060
|
|
|
14026
14061
|
// src/data/rest-api/routes/data/enrollmentrequest/enrollmentrequest.ts
|
|
14027
|
-
import
|
|
14062
|
+
import express53 from "express";
|
|
14028
14063
|
|
|
14029
14064
|
// src/data/operations/data/enrollmentrequest/enrollmentrequest-create-operation.ts
|
|
14030
14065
|
import { ulid as ulid43 } from "ulid";
|
|
@@ -14219,15 +14254,15 @@ async function updateEnrollmentRequestRoute(req, res) {
|
|
|
14219
14254
|
}
|
|
14220
14255
|
|
|
14221
14256
|
// src/data/rest-api/routes/data/enrollmentrequest/enrollmentrequest.ts
|
|
14222
|
-
var
|
|
14223
|
-
|
|
14224
|
-
|
|
14225
|
-
|
|
14226
|
-
|
|
14227
|
-
|
|
14257
|
+
var router53 = express53.Router();
|
|
14258
|
+
router53.get("/", listEnrollmentRequestsRoute);
|
|
14259
|
+
router53.get("/:id", getEnrollmentRequestByIdRoute);
|
|
14260
|
+
router53.post("/", createEnrollmentRequestRoute);
|
|
14261
|
+
router53.put("/:id", updateEnrollmentRequestRoute);
|
|
14262
|
+
router53.delete("/:id", deleteEnrollmentRequestRoute);
|
|
14228
14263
|
|
|
14229
14264
|
// src/data/rest-api/routes/data/enrollmentresponse/enrollmentresponse.ts
|
|
14230
|
-
import
|
|
14265
|
+
import express54 from "express";
|
|
14231
14266
|
|
|
14232
14267
|
// src/data/operations/data/enrollmentresponse/enrollmentresponse-create-operation.ts
|
|
14233
14268
|
import { ulid as ulid44 } from "ulid";
|
|
@@ -14426,15 +14461,15 @@ async function updateEnrollmentResponseRoute(req, res) {
|
|
|
14426
14461
|
}
|
|
14427
14462
|
|
|
14428
14463
|
// src/data/rest-api/routes/data/enrollmentresponse/enrollmentresponse.ts
|
|
14429
|
-
var
|
|
14430
|
-
|
|
14431
|
-
|
|
14432
|
-
|
|
14433
|
-
|
|
14434
|
-
|
|
14464
|
+
var router54 = express54.Router();
|
|
14465
|
+
router54.get("/", listEnrollmentResponsesRoute);
|
|
14466
|
+
router54.get("/:id", getEnrollmentResponseByIdRoute);
|
|
14467
|
+
router54.post("/", createEnrollmentResponseRoute);
|
|
14468
|
+
router54.put("/:id", updateEnrollmentResponseRoute);
|
|
14469
|
+
router54.delete("/:id", deleteEnrollmentResponseRoute);
|
|
14435
14470
|
|
|
14436
14471
|
// src/data/rest-api/routes/data/episodeofcare/episodeofcare.ts
|
|
14437
|
-
import
|
|
14472
|
+
import express55 from "express";
|
|
14438
14473
|
|
|
14439
14474
|
// src/data/operations/data/episodeofcare/episodeofcare-create-operation.ts
|
|
14440
14475
|
import { ulid as ulid45 } from "ulid";
|
|
@@ -14626,15 +14661,15 @@ async function updateEpisodeOfCareRoute(req, res) {
|
|
|
14626
14661
|
}
|
|
14627
14662
|
|
|
14628
14663
|
// src/data/rest-api/routes/data/episodeofcare/episodeofcare.ts
|
|
14629
|
-
var
|
|
14630
|
-
|
|
14631
|
-
|
|
14632
|
-
|
|
14633
|
-
|
|
14634
|
-
|
|
14664
|
+
var router55 = express55.Router();
|
|
14665
|
+
router55.get("/", listEpisodeOfCaresRoute);
|
|
14666
|
+
router55.get("/:id", getEpisodeOfCareByIdRoute);
|
|
14667
|
+
router55.post("/", createEpisodeOfCareRoute);
|
|
14668
|
+
router55.put("/:id", updateEpisodeOfCareRoute);
|
|
14669
|
+
router55.delete("/:id", deleteEpisodeOfCareRoute);
|
|
14635
14670
|
|
|
14636
14671
|
// src/data/rest-api/routes/data/eventdefinition/eventdefinition.ts
|
|
14637
|
-
import
|
|
14672
|
+
import express56 from "express";
|
|
14638
14673
|
|
|
14639
14674
|
// src/data/operations/data/eventdefinition/eventdefinition-create-operation.ts
|
|
14640
14675
|
import { ulid as ulid46 } from "ulid";
|
|
@@ -14826,15 +14861,15 @@ async function updateEventDefinitionRoute(req, res) {
|
|
|
14826
14861
|
}
|
|
14827
14862
|
|
|
14828
14863
|
// src/data/rest-api/routes/data/eventdefinition/eventdefinition.ts
|
|
14829
|
-
var
|
|
14830
|
-
|
|
14831
|
-
|
|
14832
|
-
|
|
14833
|
-
|
|
14834
|
-
|
|
14864
|
+
var router56 = express56.Router();
|
|
14865
|
+
router56.get("/", listEventDefinitionsRoute);
|
|
14866
|
+
router56.get("/:id", getEventDefinitionByIdRoute);
|
|
14867
|
+
router56.post("/", createEventDefinitionRoute);
|
|
14868
|
+
router56.put("/:id", updateEventDefinitionRoute);
|
|
14869
|
+
router56.delete("/:id", deleteEventDefinitionRoute);
|
|
14835
14870
|
|
|
14836
14871
|
// src/data/rest-api/routes/data/evidence/evidence.ts
|
|
14837
|
-
import
|
|
14872
|
+
import express57 from "express";
|
|
14838
14873
|
|
|
14839
14874
|
// src/data/operations/data/evidence/evidence-create-operation.ts
|
|
14840
14875
|
import { ulid as ulid47 } from "ulid";
|
|
@@ -15026,15 +15061,15 @@ async function updateEvidenceRoute(req, res) {
|
|
|
15026
15061
|
}
|
|
15027
15062
|
|
|
15028
15063
|
// src/data/rest-api/routes/data/evidence/evidence.ts
|
|
15029
|
-
var
|
|
15030
|
-
|
|
15031
|
-
|
|
15032
|
-
|
|
15033
|
-
|
|
15034
|
-
|
|
15064
|
+
var router57 = express57.Router();
|
|
15065
|
+
router57.get("/", listEvidencesRoute);
|
|
15066
|
+
router57.get("/:id", getEvidenceByIdRoute);
|
|
15067
|
+
router57.post("/", createEvidenceRoute);
|
|
15068
|
+
router57.put("/:id", updateEvidenceRoute);
|
|
15069
|
+
router57.delete("/:id", deleteEvidenceRoute);
|
|
15035
15070
|
|
|
15036
15071
|
// src/data/rest-api/routes/data/evidencevariable/evidencevariable.ts
|
|
15037
|
-
import
|
|
15072
|
+
import express58 from "express";
|
|
15038
15073
|
|
|
15039
15074
|
// src/data/operations/data/evidencevariable/evidencevariable-create-operation.ts
|
|
15040
15075
|
import { ulid as ulid48 } from "ulid";
|
|
@@ -15226,15 +15261,15 @@ async function updateEvidenceVariableRoute(req, res) {
|
|
|
15226
15261
|
}
|
|
15227
15262
|
|
|
15228
15263
|
// src/data/rest-api/routes/data/evidencevariable/evidencevariable.ts
|
|
15229
|
-
var
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
|
|
15233
|
-
|
|
15234
|
-
|
|
15264
|
+
var router58 = express58.Router();
|
|
15265
|
+
router58.get("/", listEvidenceVariablesRoute);
|
|
15266
|
+
router58.get("/:id", getEvidenceVariableByIdRoute);
|
|
15267
|
+
router58.post("/", createEvidenceVariableRoute);
|
|
15268
|
+
router58.put("/:id", updateEvidenceVariableRoute);
|
|
15269
|
+
router58.delete("/:id", deleteEvidenceVariableRoute);
|
|
15235
15270
|
|
|
15236
15271
|
// src/data/rest-api/routes/data/examplescenario/examplescenario.ts
|
|
15237
|
-
import
|
|
15272
|
+
import express59 from "express";
|
|
15238
15273
|
|
|
15239
15274
|
// src/data/operations/data/examplescenario/examplescenario-create-operation.ts
|
|
15240
15275
|
import { ulid as ulid49 } from "ulid";
|
|
@@ -15426,15 +15461,15 @@ async function updateExampleScenarioRoute(req, res) {
|
|
|
15426
15461
|
}
|
|
15427
15462
|
|
|
15428
15463
|
// src/data/rest-api/routes/data/examplescenario/examplescenario.ts
|
|
15429
|
-
var
|
|
15430
|
-
|
|
15431
|
-
|
|
15432
|
-
|
|
15433
|
-
|
|
15434
|
-
|
|
15464
|
+
var router59 = express59.Router();
|
|
15465
|
+
router59.get("/", listExampleScenariosRoute);
|
|
15466
|
+
router59.get("/:id", getExampleScenarioByIdRoute);
|
|
15467
|
+
router59.post("/", createExampleScenarioRoute);
|
|
15468
|
+
router59.put("/:id", updateExampleScenarioRoute);
|
|
15469
|
+
router59.delete("/:id", deleteExampleScenarioRoute);
|
|
15435
15470
|
|
|
15436
15471
|
// src/data/rest-api/routes/data/explanationofbenefit/explanationofbenefit.ts
|
|
15437
|
-
import
|
|
15472
|
+
import express60 from "express";
|
|
15438
15473
|
|
|
15439
15474
|
// src/data/operations/data/explanationofbenefit/explanationofbenefit-create-operation.ts
|
|
15440
15475
|
import { ulid as ulid50 } from "ulid";
|
|
@@ -15637,15 +15672,15 @@ async function updateExplanationOfBenefitRoute(req, res) {
|
|
|
15637
15672
|
}
|
|
15638
15673
|
|
|
15639
15674
|
// src/data/rest-api/routes/data/explanationofbenefit/explanationofbenefit.ts
|
|
15640
|
-
var
|
|
15641
|
-
|
|
15642
|
-
|
|
15643
|
-
|
|
15644
|
-
|
|
15645
|
-
|
|
15675
|
+
var router60 = express60.Router();
|
|
15676
|
+
router60.get("/", listExplanationOfBenefitsRoute);
|
|
15677
|
+
router60.get("/:id", getExplanationOfBenefitByIdRoute);
|
|
15678
|
+
router60.post("/", createExplanationOfBenefitRoute);
|
|
15679
|
+
router60.put("/:id", updateExplanationOfBenefitRoute);
|
|
15680
|
+
router60.delete("/:id", deleteExplanationOfBenefitRoute);
|
|
15646
15681
|
|
|
15647
15682
|
// src/data/rest-api/routes/data/familymemberhistory/familymemberhistory.ts
|
|
15648
|
-
import
|
|
15683
|
+
import express61 from "express";
|
|
15649
15684
|
|
|
15650
15685
|
// src/data/operations/data/familymemberhistory/familymemberhistory-create-operation.ts
|
|
15651
15686
|
import { ulid as ulid51 } from "ulid";
|
|
@@ -15844,15 +15879,15 @@ async function updateFamilyMemberHistoryRoute(req, res) {
|
|
|
15844
15879
|
}
|
|
15845
15880
|
|
|
15846
15881
|
// src/data/rest-api/routes/data/familymemberhistory/familymemberhistory.ts
|
|
15847
|
-
var
|
|
15848
|
-
|
|
15849
|
-
|
|
15850
|
-
|
|
15851
|
-
|
|
15852
|
-
|
|
15882
|
+
var router61 = express61.Router();
|
|
15883
|
+
router61.get("/", listFamilyMemberHistorysRoute);
|
|
15884
|
+
router61.get("/:id", getFamilyMemberHistoryByIdRoute);
|
|
15885
|
+
router61.post("/", createFamilyMemberHistoryRoute);
|
|
15886
|
+
router61.put("/:id", updateFamilyMemberHistoryRoute);
|
|
15887
|
+
router61.delete("/:id", deleteFamilyMemberHistoryRoute);
|
|
15853
15888
|
|
|
15854
15889
|
// src/data/rest-api/routes/data/flag/flag.ts
|
|
15855
|
-
import
|
|
15890
|
+
import express62 from "express";
|
|
15856
15891
|
|
|
15857
15892
|
// src/data/operations/data/flag/flag-create-operation.ts
|
|
15858
15893
|
import { ulid as ulid52 } from "ulid";
|
|
@@ -16044,15 +16079,15 @@ async function updateFlagRoute(req, res) {
|
|
|
16044
16079
|
}
|
|
16045
16080
|
|
|
16046
16081
|
// src/data/rest-api/routes/data/flag/flag.ts
|
|
16047
|
-
var
|
|
16048
|
-
|
|
16049
|
-
|
|
16050
|
-
|
|
16051
|
-
|
|
16052
|
-
|
|
16082
|
+
var router62 = express62.Router();
|
|
16083
|
+
router62.get("/", listFlagsRoute);
|
|
16084
|
+
router62.get("/:id", getFlagByIdRoute);
|
|
16085
|
+
router62.post("/", createFlagRoute);
|
|
16086
|
+
router62.put("/:id", updateFlagRoute);
|
|
16087
|
+
router62.delete("/:id", deleteFlagRoute);
|
|
16053
16088
|
|
|
16054
16089
|
// src/data/rest-api/routes/data/goal/goal.ts
|
|
16055
|
-
import
|
|
16090
|
+
import express63 from "express";
|
|
16056
16091
|
|
|
16057
16092
|
// src/data/operations/data/goal/goal-create-operation.ts
|
|
16058
16093
|
import { ulid as ulid53 } from "ulid";
|
|
@@ -16244,15 +16279,15 @@ async function updateGoalRoute(req, res) {
|
|
|
16244
16279
|
}
|
|
16245
16280
|
|
|
16246
16281
|
// src/data/rest-api/routes/data/goal/goal.ts
|
|
16247
|
-
var
|
|
16248
|
-
|
|
16249
|
-
|
|
16250
|
-
|
|
16251
|
-
|
|
16252
|
-
|
|
16282
|
+
var router63 = express63.Router();
|
|
16283
|
+
router63.get("/", listGoalsRoute);
|
|
16284
|
+
router63.get("/:id", getGoalByIdRoute);
|
|
16285
|
+
router63.post("/", createGoalRoute);
|
|
16286
|
+
router63.put("/:id", updateGoalRoute);
|
|
16287
|
+
router63.delete("/:id", deleteGoalRoute);
|
|
16253
16288
|
|
|
16254
16289
|
// src/data/rest-api/routes/data/graphdefinition/graphdefinition.ts
|
|
16255
|
-
import
|
|
16290
|
+
import express64 from "express";
|
|
16256
16291
|
|
|
16257
16292
|
// src/data/operations/data/graphdefinition/graphdefinition-create-operation.ts
|
|
16258
16293
|
import { ulid as ulid54 } from "ulid";
|
|
@@ -16444,15 +16479,15 @@ async function updateGraphDefinitionRoute(req, res) {
|
|
|
16444
16479
|
}
|
|
16445
16480
|
|
|
16446
16481
|
// src/data/rest-api/routes/data/graphdefinition/graphdefinition.ts
|
|
16447
|
-
var
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16482
|
+
var router64 = express64.Router();
|
|
16483
|
+
router64.get("/", listGraphDefinitionsRoute);
|
|
16484
|
+
router64.get("/:id", getGraphDefinitionByIdRoute);
|
|
16485
|
+
router64.post("/", createGraphDefinitionRoute);
|
|
16486
|
+
router64.put("/:id", updateGraphDefinitionRoute);
|
|
16487
|
+
router64.delete("/:id", deleteGraphDefinitionRoute);
|
|
16453
16488
|
|
|
16454
16489
|
// src/data/rest-api/routes/data/group/group.ts
|
|
16455
|
-
import
|
|
16490
|
+
import express65 from "express";
|
|
16456
16491
|
|
|
16457
16492
|
// src/data/operations/data/group/group-create-operation.ts
|
|
16458
16493
|
import { ulid as ulid55 } from "ulid";
|
|
@@ -16644,15 +16679,15 @@ async function updateGroupRoute(req, res) {
|
|
|
16644
16679
|
}
|
|
16645
16680
|
|
|
16646
16681
|
// src/data/rest-api/routes/data/group/group.ts
|
|
16647
|
-
var
|
|
16648
|
-
|
|
16649
|
-
|
|
16650
|
-
|
|
16651
|
-
|
|
16652
|
-
|
|
16682
|
+
var router65 = express65.Router();
|
|
16683
|
+
router65.get("/", listGroupsRoute);
|
|
16684
|
+
router65.get("/:id", getGroupByIdRoute);
|
|
16685
|
+
router65.post("/", createGroupRoute);
|
|
16686
|
+
router65.put("/:id", updateGroupRoute);
|
|
16687
|
+
router65.delete("/:id", deleteGroupRoute);
|
|
16653
16688
|
|
|
16654
16689
|
// src/data/rest-api/routes/data/guidanceresponse/guidanceresponse.ts
|
|
16655
|
-
import
|
|
16690
|
+
import express66 from "express";
|
|
16656
16691
|
|
|
16657
16692
|
// src/data/operations/data/guidanceresponse/guidanceresponse-create-operation.ts
|
|
16658
16693
|
import { ulid as ulid56 } from "ulid";
|
|
@@ -16844,15 +16879,15 @@ async function updateGuidanceResponseRoute(req, res) {
|
|
|
16844
16879
|
}
|
|
16845
16880
|
|
|
16846
16881
|
// src/data/rest-api/routes/data/guidanceresponse/guidanceresponse.ts
|
|
16847
|
-
var
|
|
16848
|
-
|
|
16849
|
-
|
|
16850
|
-
|
|
16851
|
-
|
|
16852
|
-
|
|
16882
|
+
var router66 = express66.Router();
|
|
16883
|
+
router66.get("/", listGuidanceResponsesRoute);
|
|
16884
|
+
router66.get("/:id", getGuidanceResponseByIdRoute);
|
|
16885
|
+
router66.post("/", createGuidanceResponseRoute);
|
|
16886
|
+
router66.put("/:id", updateGuidanceResponseRoute);
|
|
16887
|
+
router66.delete("/:id", deleteGuidanceResponseRoute);
|
|
16853
16888
|
|
|
16854
16889
|
// src/data/rest-api/routes/data/healthcareservice/healthcareservice.ts
|
|
16855
|
-
import
|
|
16890
|
+
import express67 from "express";
|
|
16856
16891
|
|
|
16857
16892
|
// src/data/operations/data/healthcareservice/healthcareservice-create-operation.ts
|
|
16858
16893
|
import { ulid as ulid57 } from "ulid";
|
|
@@ -17047,15 +17082,15 @@ async function updateHealthcareServiceRoute(req, res) {
|
|
|
17047
17082
|
}
|
|
17048
17083
|
|
|
17049
17084
|
// src/data/rest-api/routes/data/healthcareservice/healthcareservice.ts
|
|
17050
|
-
var
|
|
17051
|
-
|
|
17052
|
-
|
|
17053
|
-
|
|
17054
|
-
|
|
17055
|
-
|
|
17085
|
+
var router67 = express67.Router();
|
|
17086
|
+
router67.get("/", listHealthcareServicesRoute);
|
|
17087
|
+
router67.get("/:id", getHealthcareServiceByIdRoute);
|
|
17088
|
+
router67.post("/", createHealthcareServiceRoute);
|
|
17089
|
+
router67.put("/:id", updateHealthcareServiceRoute);
|
|
17090
|
+
router67.delete("/:id", deleteHealthcareServiceRoute);
|
|
17056
17091
|
|
|
17057
17092
|
// src/data/rest-api/routes/data/imagingstudy/imagingstudy.ts
|
|
17058
|
-
import
|
|
17093
|
+
import express68 from "express";
|
|
17059
17094
|
|
|
17060
17095
|
// src/data/operations/data/imagingstudy/imagingstudy-create-operation.ts
|
|
17061
17096
|
import { ulid as ulid58 } from "ulid";
|
|
@@ -17247,15 +17282,15 @@ async function updateImagingStudyRoute(req, res) {
|
|
|
17247
17282
|
}
|
|
17248
17283
|
|
|
17249
17284
|
// src/data/rest-api/routes/data/imagingstudy/imagingstudy.ts
|
|
17250
|
-
var
|
|
17251
|
-
|
|
17252
|
-
|
|
17253
|
-
|
|
17254
|
-
|
|
17255
|
-
|
|
17285
|
+
var router68 = express68.Router();
|
|
17286
|
+
router68.get("/", listImagingStudysRoute);
|
|
17287
|
+
router68.get("/:id", getImagingStudyByIdRoute);
|
|
17288
|
+
router68.post("/", createImagingStudyRoute);
|
|
17289
|
+
router68.put("/:id", updateImagingStudyRoute);
|
|
17290
|
+
router68.delete("/:id", deleteImagingStudyRoute);
|
|
17256
17291
|
|
|
17257
17292
|
// src/data/rest-api/routes/data/immunization/immunization.ts
|
|
17258
|
-
import
|
|
17293
|
+
import express69 from "express";
|
|
17259
17294
|
|
|
17260
17295
|
// src/data/operations/data/immunization/immunization-create-operation.ts
|
|
17261
17296
|
import { ulid as ulid59 } from "ulid";
|
|
@@ -17447,15 +17482,15 @@ async function updateImmunizationRoute(req, res) {
|
|
|
17447
17482
|
}
|
|
17448
17483
|
|
|
17449
17484
|
// src/data/rest-api/routes/data/immunization/immunization.ts
|
|
17450
|
-
var
|
|
17451
|
-
|
|
17452
|
-
|
|
17453
|
-
|
|
17454
|
-
|
|
17455
|
-
|
|
17485
|
+
var router69 = express69.Router();
|
|
17486
|
+
router69.get("/", listImmunizationsRoute);
|
|
17487
|
+
router69.get("/:id", getImmunizationByIdRoute);
|
|
17488
|
+
router69.post("/", createImmunizationRoute);
|
|
17489
|
+
router69.put("/:id", updateImmunizationRoute);
|
|
17490
|
+
router69.delete("/:id", deleteImmunizationRoute);
|
|
17456
17491
|
|
|
17457
17492
|
// src/data/rest-api/routes/data/immunizationevaluation/immunizationevaluation.ts
|
|
17458
|
-
import
|
|
17493
|
+
import express70 from "express";
|
|
17459
17494
|
|
|
17460
17495
|
// src/data/operations/data/immunizationevaluation/immunizationevaluation-create-operation.ts
|
|
17461
17496
|
import { ulid as ulid60 } from "ulid";
|
|
@@ -17666,15 +17701,15 @@ async function updateImmunizationEvaluationRoute(req, res) {
|
|
|
17666
17701
|
}
|
|
17667
17702
|
|
|
17668
17703
|
// src/data/rest-api/routes/data/immunizationevaluation/immunizationevaluation.ts
|
|
17669
|
-
var
|
|
17670
|
-
|
|
17671
|
-
|
|
17672
|
-
|
|
17673
|
-
|
|
17674
|
-
|
|
17704
|
+
var router70 = express70.Router();
|
|
17705
|
+
router70.get("/", listImmunizationEvaluationsRoute);
|
|
17706
|
+
router70.get("/:id", getImmunizationEvaluationByIdRoute);
|
|
17707
|
+
router70.post("/", createImmunizationEvaluationRoute);
|
|
17708
|
+
router70.put("/:id", updateImmunizationEvaluationRoute);
|
|
17709
|
+
router70.delete("/:id", deleteImmunizationEvaluationRoute);
|
|
17675
17710
|
|
|
17676
17711
|
// src/data/rest-api/routes/data/immunizationrecommendation/immunizationrecommendation.ts
|
|
17677
|
-
import
|
|
17712
|
+
import express71 from "express";
|
|
17678
17713
|
|
|
17679
17714
|
// src/data/operations/data/immunizationrecommendation/immunizationrecommendation-create-operation.ts
|
|
17680
17715
|
import { ulid as ulid61 } from "ulid";
|
|
@@ -17885,15 +17920,15 @@ async function updateImmunizationRecommendationRoute(req, res) {
|
|
|
17885
17920
|
}
|
|
17886
17921
|
|
|
17887
17922
|
// src/data/rest-api/routes/data/immunizationrecommendation/immunizationrecommendation.ts
|
|
17888
|
-
var
|
|
17889
|
-
|
|
17890
|
-
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
|
|
17923
|
+
var router71 = express71.Router();
|
|
17924
|
+
router71.get("/", listImmunizationRecommendationsRoute);
|
|
17925
|
+
router71.get("/:id", getImmunizationRecommendationByIdRoute);
|
|
17926
|
+
router71.post("/", createImmunizationRecommendationRoute);
|
|
17927
|
+
router71.put("/:id", updateImmunizationRecommendationRoute);
|
|
17928
|
+
router71.delete("/:id", deleteImmunizationRecommendationRoute);
|
|
17894
17929
|
|
|
17895
17930
|
// src/data/rest-api/routes/data/implementationguide/implementationguide.ts
|
|
17896
|
-
import
|
|
17931
|
+
import express72 from "express";
|
|
17897
17932
|
|
|
17898
17933
|
// src/data/operations/data/implementationguide/implementationguide-create-operation.ts
|
|
17899
17934
|
import { ulid as ulid62 } from "ulid";
|
|
@@ -18092,15 +18127,15 @@ async function updateImplementationGuideRoute(req, res) {
|
|
|
18092
18127
|
}
|
|
18093
18128
|
|
|
18094
18129
|
// src/data/rest-api/routes/data/implementationguide/implementationguide.ts
|
|
18095
|
-
var
|
|
18096
|
-
|
|
18097
|
-
|
|
18098
|
-
|
|
18099
|
-
|
|
18100
|
-
|
|
18130
|
+
var router72 = express72.Router();
|
|
18131
|
+
router72.get("/", listImplementationGuidesRoute);
|
|
18132
|
+
router72.get("/:id", getImplementationGuideByIdRoute);
|
|
18133
|
+
router72.post("/", createImplementationGuideRoute);
|
|
18134
|
+
router72.put("/:id", updateImplementationGuideRoute);
|
|
18135
|
+
router72.delete("/:id", deleteImplementationGuideRoute);
|
|
18101
18136
|
|
|
18102
18137
|
// src/data/rest-api/routes/data/insuranceplan/insuranceplan.ts
|
|
18103
|
-
import
|
|
18138
|
+
import express73 from "express";
|
|
18104
18139
|
|
|
18105
18140
|
// src/data/operations/data/insuranceplan/insuranceplan-create-operation.ts
|
|
18106
18141
|
import { ulid as ulid63 } from "ulid";
|
|
@@ -18292,15 +18327,15 @@ async function updateInsurancePlanRoute(req, res) {
|
|
|
18292
18327
|
}
|
|
18293
18328
|
|
|
18294
18329
|
// src/data/rest-api/routes/data/insuranceplan/insuranceplan.ts
|
|
18295
|
-
var
|
|
18296
|
-
|
|
18297
|
-
|
|
18298
|
-
|
|
18299
|
-
|
|
18300
|
-
|
|
18330
|
+
var router73 = express73.Router();
|
|
18331
|
+
router73.get("/", listInsurancePlansRoute);
|
|
18332
|
+
router73.get("/:id", getInsurancePlanByIdRoute);
|
|
18333
|
+
router73.post("/", createInsurancePlanRoute);
|
|
18334
|
+
router73.put("/:id", updateInsurancePlanRoute);
|
|
18335
|
+
router73.delete("/:id", deleteInsurancePlanRoute);
|
|
18301
18336
|
|
|
18302
18337
|
// src/data/rest-api/routes/data/invoice/invoice.ts
|
|
18303
|
-
import
|
|
18338
|
+
import express74 from "express";
|
|
18304
18339
|
|
|
18305
18340
|
// src/data/operations/data/invoice/invoice-create-operation.ts
|
|
18306
18341
|
import { ulid as ulid64 } from "ulid";
|
|
@@ -18492,15 +18527,15 @@ async function updateInvoiceRoute(req, res) {
|
|
|
18492
18527
|
}
|
|
18493
18528
|
|
|
18494
18529
|
// src/data/rest-api/routes/data/invoice/invoice.ts
|
|
18495
|
-
var
|
|
18496
|
-
|
|
18497
|
-
|
|
18498
|
-
|
|
18499
|
-
|
|
18500
|
-
|
|
18530
|
+
var router74 = express74.Router();
|
|
18531
|
+
router74.get("/", listInvoicesRoute);
|
|
18532
|
+
router74.get("/:id", getInvoiceByIdRoute);
|
|
18533
|
+
router74.post("/", createInvoiceRoute);
|
|
18534
|
+
router74.put("/:id", updateInvoiceRoute);
|
|
18535
|
+
router74.delete("/:id", deleteInvoiceRoute);
|
|
18501
18536
|
|
|
18502
18537
|
// src/data/rest-api/routes/data/library/library.ts
|
|
18503
|
-
import
|
|
18538
|
+
import express75 from "express";
|
|
18504
18539
|
|
|
18505
18540
|
// src/data/operations/data/library/library-create-operation.ts
|
|
18506
18541
|
import { ulid as ulid65 } from "ulid";
|
|
@@ -18692,15 +18727,15 @@ async function updateLibraryRoute(req, res) {
|
|
|
18692
18727
|
}
|
|
18693
18728
|
|
|
18694
18729
|
// src/data/rest-api/routes/data/library/library.ts
|
|
18695
|
-
var
|
|
18696
|
-
|
|
18697
|
-
|
|
18698
|
-
|
|
18699
|
-
|
|
18700
|
-
|
|
18730
|
+
var router75 = express75.Router();
|
|
18731
|
+
router75.get("/", listLibrarysRoute);
|
|
18732
|
+
router75.get("/:id", getLibraryByIdRoute);
|
|
18733
|
+
router75.post("/", createLibraryRoute);
|
|
18734
|
+
router75.put("/:id", updateLibraryRoute);
|
|
18735
|
+
router75.delete("/:id", deleteLibraryRoute);
|
|
18701
18736
|
|
|
18702
18737
|
// src/data/rest-api/routes/data/linkage/linkage.ts
|
|
18703
|
-
import
|
|
18738
|
+
import express76 from "express";
|
|
18704
18739
|
|
|
18705
18740
|
// src/data/operations/data/linkage/linkage-create-operation.ts
|
|
18706
18741
|
import { ulid as ulid66 } from "ulid";
|
|
@@ -18892,15 +18927,15 @@ async function updateLinkageRoute(req, res) {
|
|
|
18892
18927
|
}
|
|
18893
18928
|
|
|
18894
18929
|
// src/data/rest-api/routes/data/linkage/linkage.ts
|
|
18895
|
-
var
|
|
18896
|
-
|
|
18897
|
-
|
|
18898
|
-
|
|
18899
|
-
|
|
18900
|
-
|
|
18930
|
+
var router76 = express76.Router();
|
|
18931
|
+
router76.get("/", listLinkagesRoute);
|
|
18932
|
+
router76.get("/:id", getLinkageByIdRoute);
|
|
18933
|
+
router76.post("/", createLinkageRoute);
|
|
18934
|
+
router76.put("/:id", updateLinkageRoute);
|
|
18935
|
+
router76.delete("/:id", deleteLinkageRoute);
|
|
18901
18936
|
|
|
18902
18937
|
// src/data/rest-api/routes/data/list/list.ts
|
|
18903
|
-
import
|
|
18938
|
+
import express77 from "express";
|
|
18904
18939
|
|
|
18905
18940
|
// src/data/operations/data/list/list-create-operation.ts
|
|
18906
18941
|
import { ulid as ulid67 } from "ulid";
|
|
@@ -19092,15 +19127,15 @@ async function updateListRoute(req, res) {
|
|
|
19092
19127
|
}
|
|
19093
19128
|
|
|
19094
19129
|
// src/data/rest-api/routes/data/list/list.ts
|
|
19095
|
-
var
|
|
19096
|
-
|
|
19097
|
-
|
|
19098
|
-
|
|
19099
|
-
|
|
19100
|
-
|
|
19130
|
+
var router77 = express77.Router();
|
|
19131
|
+
router77.get("/", listListsRoute);
|
|
19132
|
+
router77.get("/:id", getListByIdRoute);
|
|
19133
|
+
router77.post("/", createListRoute);
|
|
19134
|
+
router77.put("/:id", updateListRoute);
|
|
19135
|
+
router77.delete("/:id", deleteListRoute);
|
|
19101
19136
|
|
|
19102
19137
|
// src/data/rest-api/routes/data/location/location.ts
|
|
19103
|
-
import
|
|
19138
|
+
import express78 from "express";
|
|
19104
19139
|
|
|
19105
19140
|
// src/data/operations/data/location/location-create-operation.ts
|
|
19106
19141
|
import { ulid as ulid68 } from "ulid";
|
|
@@ -19292,15 +19327,15 @@ async function updateLocationRoute(req, res) {
|
|
|
19292
19327
|
}
|
|
19293
19328
|
|
|
19294
19329
|
// src/data/rest-api/routes/data/location/location.ts
|
|
19295
|
-
var
|
|
19296
|
-
|
|
19297
|
-
|
|
19298
|
-
|
|
19299
|
-
|
|
19300
|
-
|
|
19330
|
+
var router78 = express78.Router();
|
|
19331
|
+
router78.get("/", listLocationsRoute);
|
|
19332
|
+
router78.get("/:id", getLocationByIdRoute);
|
|
19333
|
+
router78.post("/", createLocationRoute);
|
|
19334
|
+
router78.put("/:id", updateLocationRoute);
|
|
19335
|
+
router78.delete("/:id", deleteLocationRoute);
|
|
19301
19336
|
|
|
19302
19337
|
// src/data/rest-api/routes/data/measure/measure.ts
|
|
19303
|
-
import
|
|
19338
|
+
import express79 from "express";
|
|
19304
19339
|
|
|
19305
19340
|
// src/data/operations/data/measure/measure-create-operation.ts
|
|
19306
19341
|
import { ulid as ulid69 } from "ulid";
|
|
@@ -19492,15 +19527,15 @@ async function updateMeasureRoute(req, res) {
|
|
|
19492
19527
|
}
|
|
19493
19528
|
|
|
19494
19529
|
// src/data/rest-api/routes/data/measure/measure.ts
|
|
19495
|
-
var
|
|
19496
|
-
|
|
19497
|
-
|
|
19498
|
-
|
|
19499
|
-
|
|
19500
|
-
|
|
19530
|
+
var router79 = express79.Router();
|
|
19531
|
+
router79.get("/", listMeasuresRoute);
|
|
19532
|
+
router79.get("/:id", getMeasureByIdRoute);
|
|
19533
|
+
router79.post("/", createMeasureRoute);
|
|
19534
|
+
router79.put("/:id", updateMeasureRoute);
|
|
19535
|
+
router79.delete("/:id", deleteMeasureRoute);
|
|
19501
19536
|
|
|
19502
19537
|
// src/data/rest-api/routes/data/measurereport/measurereport.ts
|
|
19503
|
-
import
|
|
19538
|
+
import express80 from "express";
|
|
19504
19539
|
|
|
19505
19540
|
// src/data/operations/data/measurereport/measurereport-create-operation.ts
|
|
19506
19541
|
import { ulid as ulid70 } from "ulid";
|
|
@@ -19692,15 +19727,15 @@ async function updateMeasureReportRoute(req, res) {
|
|
|
19692
19727
|
}
|
|
19693
19728
|
|
|
19694
19729
|
// src/data/rest-api/routes/data/measurereport/measurereport.ts
|
|
19695
|
-
var
|
|
19696
|
-
|
|
19697
|
-
|
|
19698
|
-
|
|
19699
|
-
|
|
19700
|
-
|
|
19730
|
+
var router80 = express80.Router();
|
|
19731
|
+
router80.get("/", listMeasureReportsRoute);
|
|
19732
|
+
router80.get("/:id", getMeasureReportByIdRoute);
|
|
19733
|
+
router80.post("/", createMeasureReportRoute);
|
|
19734
|
+
router80.put("/:id", updateMeasureReportRoute);
|
|
19735
|
+
router80.delete("/:id", deleteMeasureReportRoute);
|
|
19701
19736
|
|
|
19702
19737
|
// src/data/rest-api/routes/data/media/media.ts
|
|
19703
|
-
import
|
|
19738
|
+
import express81 from "express";
|
|
19704
19739
|
|
|
19705
19740
|
// src/data/operations/data/media/media-create-operation.ts
|
|
19706
19741
|
import { ulid as ulid71 } from "ulid";
|
|
@@ -19892,15 +19927,15 @@ async function updateMediaRoute(req, res) {
|
|
|
19892
19927
|
}
|
|
19893
19928
|
|
|
19894
19929
|
// src/data/rest-api/routes/data/media/media.ts
|
|
19895
|
-
var
|
|
19896
|
-
|
|
19897
|
-
|
|
19898
|
-
|
|
19899
|
-
|
|
19900
|
-
|
|
19930
|
+
var router81 = express81.Router();
|
|
19931
|
+
router81.get("/", listMediasRoute);
|
|
19932
|
+
router81.get("/:id", getMediaByIdRoute);
|
|
19933
|
+
router81.post("/", createMediaRoute);
|
|
19934
|
+
router81.put("/:id", updateMediaRoute);
|
|
19935
|
+
router81.delete("/:id", deleteMediaRoute);
|
|
19901
19936
|
|
|
19902
19937
|
// src/data/rest-api/routes/data/medication/medication.ts
|
|
19903
|
-
import
|
|
19938
|
+
import express82 from "express";
|
|
19904
19939
|
|
|
19905
19940
|
// src/data/operations/data/medication/medication-create-operation.ts
|
|
19906
19941
|
import { ulid as ulid72 } from "ulid";
|
|
@@ -20092,15 +20127,15 @@ async function updateMedicationRoute(req, res) {
|
|
|
20092
20127
|
}
|
|
20093
20128
|
|
|
20094
20129
|
// src/data/rest-api/routes/data/medication/medication.ts
|
|
20095
|
-
var
|
|
20096
|
-
|
|
20097
|
-
|
|
20098
|
-
|
|
20099
|
-
|
|
20100
|
-
|
|
20130
|
+
var router82 = express82.Router();
|
|
20131
|
+
router82.get("/", listMedicationsRoute);
|
|
20132
|
+
router82.get("/:id", getMedicationByIdRoute);
|
|
20133
|
+
router82.post("/", createMedicationRoute);
|
|
20134
|
+
router82.put("/:id", updateMedicationRoute);
|
|
20135
|
+
router82.delete("/:id", deleteMedicationRoute);
|
|
20101
20136
|
|
|
20102
20137
|
// src/data/rest-api/routes/data/medicationadministration/medicationadministration.ts
|
|
20103
|
-
import
|
|
20138
|
+
import express83 from "express";
|
|
20104
20139
|
|
|
20105
20140
|
// src/data/operations/data/medicationadministration/medicationadministration-create-operation.ts
|
|
20106
20141
|
import { ulid as ulid73 } from "ulid";
|
|
@@ -20311,15 +20346,15 @@ async function updateMedicationAdministrationRoute(req, res) {
|
|
|
20311
20346
|
}
|
|
20312
20347
|
|
|
20313
20348
|
// src/data/rest-api/routes/data/medicationadministration/medicationadministration.ts
|
|
20314
|
-
var
|
|
20315
|
-
|
|
20316
|
-
|
|
20317
|
-
|
|
20318
|
-
|
|
20319
|
-
|
|
20349
|
+
var router83 = express83.Router();
|
|
20350
|
+
router83.get("/", listMedicationAdministrationsRoute);
|
|
20351
|
+
router83.get("/:id", getMedicationAdministrationByIdRoute);
|
|
20352
|
+
router83.post("/", createMedicationAdministrationRoute);
|
|
20353
|
+
router83.put("/:id", updateMedicationAdministrationRoute);
|
|
20354
|
+
router83.delete("/:id", deleteMedicationAdministrationRoute);
|
|
20320
20355
|
|
|
20321
20356
|
// src/data/rest-api/routes/data/medicationdispense/medicationdispense.ts
|
|
20322
|
-
import
|
|
20357
|
+
import express84 from "express";
|
|
20323
20358
|
|
|
20324
20359
|
// src/data/operations/data/medicationdispense/medicationdispense-create-operation.ts
|
|
20325
20360
|
import { ulid as ulid74 } from "ulid";
|
|
@@ -20518,15 +20553,15 @@ async function updateMedicationDispenseRoute(req, res) {
|
|
|
20518
20553
|
}
|
|
20519
20554
|
|
|
20520
20555
|
// src/data/rest-api/routes/data/medicationdispense/medicationdispense.ts
|
|
20521
|
-
var
|
|
20522
|
-
|
|
20523
|
-
|
|
20524
|
-
|
|
20525
|
-
|
|
20526
|
-
|
|
20556
|
+
var router84 = express84.Router();
|
|
20557
|
+
router84.get("/", listMedicationDispensesRoute);
|
|
20558
|
+
router84.get("/:id", getMedicationDispenseByIdRoute);
|
|
20559
|
+
router84.post("/", createMedicationDispenseRoute);
|
|
20560
|
+
router84.put("/:id", updateMedicationDispenseRoute);
|
|
20561
|
+
router84.delete("/:id", deleteMedicationDispenseRoute);
|
|
20527
20562
|
|
|
20528
20563
|
// src/data/rest-api/routes/data/medicationknowledge/medicationknowledge.ts
|
|
20529
|
-
import
|
|
20564
|
+
import express85 from "express";
|
|
20530
20565
|
|
|
20531
20566
|
// src/data/operations/data/medicationknowledge/medicationknowledge-create-operation.ts
|
|
20532
20567
|
import { ulid as ulid75 } from "ulid";
|
|
@@ -20725,15 +20760,15 @@ async function updateMedicationKnowledgeRoute(req, res) {
|
|
|
20725
20760
|
}
|
|
20726
20761
|
|
|
20727
20762
|
// src/data/rest-api/routes/data/medicationknowledge/medicationknowledge.ts
|
|
20728
|
-
var
|
|
20729
|
-
|
|
20730
|
-
|
|
20731
|
-
|
|
20732
|
-
|
|
20733
|
-
|
|
20763
|
+
var router85 = express85.Router();
|
|
20764
|
+
router85.get("/", listMedicationKnowledgesRoute);
|
|
20765
|
+
router85.get("/:id", getMedicationKnowledgeByIdRoute);
|
|
20766
|
+
router85.post("/", createMedicationKnowledgeRoute);
|
|
20767
|
+
router85.put("/:id", updateMedicationKnowledgeRoute);
|
|
20768
|
+
router85.delete("/:id", deleteMedicationKnowledgeRoute);
|
|
20734
20769
|
|
|
20735
20770
|
// src/data/rest-api/routes/data/medicationrequest/medicationrequest.ts
|
|
20736
|
-
import
|
|
20771
|
+
import express86 from "express";
|
|
20737
20772
|
|
|
20738
20773
|
// src/data/operations/data/medicationrequest/medicationrequest-create-operation.ts
|
|
20739
20774
|
import { ulid as ulid76 } from "ulid";
|
|
@@ -20928,15 +20963,15 @@ async function updateMedicationRequestRoute(req, res) {
|
|
|
20928
20963
|
}
|
|
20929
20964
|
|
|
20930
20965
|
// src/data/rest-api/routes/data/medicationrequest/medicationrequest.ts
|
|
20931
|
-
var
|
|
20932
|
-
|
|
20933
|
-
|
|
20934
|
-
|
|
20935
|
-
|
|
20936
|
-
|
|
20966
|
+
var router86 = express86.Router();
|
|
20967
|
+
router86.get("/", listMedicationRequestsRoute);
|
|
20968
|
+
router86.get("/:id", getMedicationRequestByIdRoute);
|
|
20969
|
+
router86.post("/", createMedicationRequestRoute);
|
|
20970
|
+
router86.put("/:id", updateMedicationRequestRoute);
|
|
20971
|
+
router86.delete("/:id", deleteMedicationRequestRoute);
|
|
20937
20972
|
|
|
20938
20973
|
// src/data/rest-api/routes/data/medicationstatement/medicationstatement.ts
|
|
20939
|
-
import
|
|
20974
|
+
import express87 from "express";
|
|
20940
20975
|
|
|
20941
20976
|
// src/data/operations/data/medicationstatement/medicationstatement-create-operation.ts
|
|
20942
20977
|
import { ulid as ulid77 } from "ulid";
|
|
@@ -21135,15 +21170,15 @@ async function updateMedicationStatementRoute(req, res) {
|
|
|
21135
21170
|
}
|
|
21136
21171
|
|
|
21137
21172
|
// src/data/rest-api/routes/data/medicationstatement/medicationstatement.ts
|
|
21138
|
-
var
|
|
21139
|
-
|
|
21140
|
-
|
|
21141
|
-
|
|
21142
|
-
|
|
21143
|
-
|
|
21173
|
+
var router87 = express87.Router();
|
|
21174
|
+
router87.get("/", listMedicationStatementsRoute);
|
|
21175
|
+
router87.get("/:id", getMedicationStatementByIdRoute);
|
|
21176
|
+
router87.post("/", createMedicationStatementRoute);
|
|
21177
|
+
router87.put("/:id", updateMedicationStatementRoute);
|
|
21178
|
+
router87.delete("/:id", deleteMedicationStatementRoute);
|
|
21144
21179
|
|
|
21145
21180
|
// src/data/rest-api/routes/data/medicinalproduct/medicinalproduct.ts
|
|
21146
|
-
import
|
|
21181
|
+
import express88 from "express";
|
|
21147
21182
|
|
|
21148
21183
|
// src/data/operations/data/medicinalproduct/medicinalproduct-create-operation.ts
|
|
21149
21184
|
import { ulid as ulid78 } from "ulid";
|
|
@@ -21335,15 +21370,15 @@ async function updateMedicinalProductRoute(req, res) {
|
|
|
21335
21370
|
}
|
|
21336
21371
|
|
|
21337
21372
|
// src/data/rest-api/routes/data/medicinalproduct/medicinalproduct.ts
|
|
21338
|
-
var
|
|
21339
|
-
|
|
21340
|
-
|
|
21341
|
-
|
|
21342
|
-
|
|
21343
|
-
|
|
21373
|
+
var router88 = express88.Router();
|
|
21374
|
+
router88.get("/", listMedicinalProductsRoute);
|
|
21375
|
+
router88.get("/:id", getMedicinalProductByIdRoute);
|
|
21376
|
+
router88.post("/", createMedicinalProductRoute);
|
|
21377
|
+
router88.put("/:id", updateMedicinalProductRoute);
|
|
21378
|
+
router88.delete("/:id", deleteMedicinalProductRoute);
|
|
21344
21379
|
|
|
21345
21380
|
// src/data/rest-api/routes/data/medicinalproductauthorization/medicinalproductauthorization.ts
|
|
21346
|
-
import
|
|
21381
|
+
import express89 from "express";
|
|
21347
21382
|
|
|
21348
21383
|
// src/data/operations/data/medicinalproductauthorization/medicinalproductauthorization-create-operation.ts
|
|
21349
21384
|
import { ulid as ulid79 } from "ulid";
|
|
@@ -21554,15 +21589,15 @@ async function updateMedicinalProductAuthorizationRoute(req, res) {
|
|
|
21554
21589
|
}
|
|
21555
21590
|
|
|
21556
21591
|
// src/data/rest-api/routes/data/medicinalproductauthorization/medicinalproductauthorization.ts
|
|
21557
|
-
var
|
|
21558
|
-
|
|
21559
|
-
|
|
21560
|
-
|
|
21561
|
-
|
|
21562
|
-
|
|
21592
|
+
var router89 = express89.Router();
|
|
21593
|
+
router89.get("/", listMedicinalProductAuthorizationsRoute);
|
|
21594
|
+
router89.get("/:id", getMedicinalProductAuthorizationByIdRoute);
|
|
21595
|
+
router89.post("/", createMedicinalProductAuthorizationRoute);
|
|
21596
|
+
router89.put("/:id", updateMedicinalProductAuthorizationRoute);
|
|
21597
|
+
router89.delete("/:id", deleteMedicinalProductAuthorizationRoute);
|
|
21563
21598
|
|
|
21564
21599
|
// src/data/rest-api/routes/data/medicinalproductcontraindication/medicinalproductcontraindication.ts
|
|
21565
|
-
import
|
|
21600
|
+
import express90 from "express";
|
|
21566
21601
|
|
|
21567
21602
|
// src/data/operations/data/medicinalproductcontraindication/medicinalproductcontraindication-create-operation.ts
|
|
21568
21603
|
import { ulid as ulid80 } from "ulid";
|
|
@@ -21779,15 +21814,15 @@ async function updateMedicinalProductContraindicationRoute(req, res) {
|
|
|
21779
21814
|
}
|
|
21780
21815
|
|
|
21781
21816
|
// src/data/rest-api/routes/data/medicinalproductcontraindication/medicinalproductcontraindication.ts
|
|
21782
|
-
var
|
|
21783
|
-
|
|
21784
|
-
|
|
21785
|
-
|
|
21786
|
-
|
|
21787
|
-
|
|
21817
|
+
var router90 = express90.Router();
|
|
21818
|
+
router90.get("/", listMedicinalProductContraindicationsRoute);
|
|
21819
|
+
router90.get("/:id", getMedicinalProductContraindicationByIdRoute);
|
|
21820
|
+
router90.post("/", createMedicinalProductContraindicationRoute);
|
|
21821
|
+
router90.put("/:id", updateMedicinalProductContraindicationRoute);
|
|
21822
|
+
router90.delete("/:id", deleteMedicinalProductContraindicationRoute);
|
|
21788
21823
|
|
|
21789
21824
|
// src/data/rest-api/routes/data/medicinalproductindication/medicinalproductindication.ts
|
|
21790
|
-
import
|
|
21825
|
+
import express91 from "express";
|
|
21791
21826
|
|
|
21792
21827
|
// src/data/operations/data/medicinalproductindication/medicinalproductindication-create-operation.ts
|
|
21793
21828
|
import { ulid as ulid81 } from "ulid";
|
|
@@ -21998,15 +22033,15 @@ async function updateMedicinalProductIndicationRoute(req, res) {
|
|
|
21998
22033
|
}
|
|
21999
22034
|
|
|
22000
22035
|
// src/data/rest-api/routes/data/medicinalproductindication/medicinalproductindication.ts
|
|
22001
|
-
var
|
|
22002
|
-
|
|
22003
|
-
|
|
22004
|
-
|
|
22005
|
-
|
|
22006
|
-
|
|
22036
|
+
var router91 = express91.Router();
|
|
22037
|
+
router91.get("/", listMedicinalProductIndicationsRoute);
|
|
22038
|
+
router91.get("/:id", getMedicinalProductIndicationByIdRoute);
|
|
22039
|
+
router91.post("/", createMedicinalProductIndicationRoute);
|
|
22040
|
+
router91.put("/:id", updateMedicinalProductIndicationRoute);
|
|
22041
|
+
router91.delete("/:id", deleteMedicinalProductIndicationRoute);
|
|
22007
22042
|
|
|
22008
22043
|
// src/data/rest-api/routes/data/medicinalproductingredient/medicinalproductingredient.ts
|
|
22009
|
-
import
|
|
22044
|
+
import express92 from "express";
|
|
22010
22045
|
|
|
22011
22046
|
// src/data/operations/data/medicinalproductingredient/medicinalproductingredient-create-operation.ts
|
|
22012
22047
|
import { ulid as ulid82 } from "ulid";
|
|
@@ -22217,15 +22252,15 @@ async function updateMedicinalProductIngredientRoute(req, res) {
|
|
|
22217
22252
|
}
|
|
22218
22253
|
|
|
22219
22254
|
// src/data/rest-api/routes/data/medicinalproductingredient/medicinalproductingredient.ts
|
|
22220
|
-
var
|
|
22221
|
-
|
|
22222
|
-
|
|
22223
|
-
|
|
22224
|
-
|
|
22225
|
-
|
|
22255
|
+
var router92 = express92.Router();
|
|
22256
|
+
router92.get("/", listMedicinalProductIngredientsRoute);
|
|
22257
|
+
router92.get("/:id", getMedicinalProductIngredientByIdRoute);
|
|
22258
|
+
router92.post("/", createMedicinalProductIngredientRoute);
|
|
22259
|
+
router92.put("/:id", updateMedicinalProductIngredientRoute);
|
|
22260
|
+
router92.delete("/:id", deleteMedicinalProductIngredientRoute);
|
|
22226
22261
|
|
|
22227
22262
|
// src/data/rest-api/routes/data/medicinalproductinteraction/medicinalproductinteraction.ts
|
|
22228
|
-
import
|
|
22263
|
+
import express93 from "express";
|
|
22229
22264
|
|
|
22230
22265
|
// src/data/operations/data/medicinalproductinteraction/medicinalproductinteraction-create-operation.ts
|
|
22231
22266
|
import { ulid as ulid83 } from "ulid";
|
|
@@ -22436,15 +22471,15 @@ async function updateMedicinalProductInteractionRoute(req, res) {
|
|
|
22436
22471
|
}
|
|
22437
22472
|
|
|
22438
22473
|
// src/data/rest-api/routes/data/medicinalproductinteraction/medicinalproductinteraction.ts
|
|
22439
|
-
var
|
|
22440
|
-
|
|
22441
|
-
|
|
22442
|
-
|
|
22443
|
-
|
|
22444
|
-
|
|
22474
|
+
var router93 = express93.Router();
|
|
22475
|
+
router93.get("/", listMedicinalProductInteractionsRoute);
|
|
22476
|
+
router93.get("/:id", getMedicinalProductInteractionByIdRoute);
|
|
22477
|
+
router93.post("/", createMedicinalProductInteractionRoute);
|
|
22478
|
+
router93.put("/:id", updateMedicinalProductInteractionRoute);
|
|
22479
|
+
router93.delete("/:id", deleteMedicinalProductInteractionRoute);
|
|
22445
22480
|
|
|
22446
22481
|
// src/data/rest-api/routes/data/medicinalproductmanufactured/medicinalproductmanufactured.ts
|
|
22447
|
-
import
|
|
22482
|
+
import express94 from "express";
|
|
22448
22483
|
|
|
22449
22484
|
// src/data/operations/data/medicinalproductmanufactured/medicinalproductmanufactured-create-operation.ts
|
|
22450
22485
|
import { ulid as ulid84 } from "ulid";
|
|
@@ -22655,15 +22690,15 @@ async function updateMedicinalProductManufacturedRoute(req, res) {
|
|
|
22655
22690
|
}
|
|
22656
22691
|
|
|
22657
22692
|
// src/data/rest-api/routes/data/medicinalproductmanufactured/medicinalproductmanufactured.ts
|
|
22658
|
-
var
|
|
22659
|
-
|
|
22660
|
-
|
|
22661
|
-
|
|
22662
|
-
|
|
22663
|
-
|
|
22693
|
+
var router94 = express94.Router();
|
|
22694
|
+
router94.get("/", listMedicinalProductManufacturedsRoute);
|
|
22695
|
+
router94.get("/:id", getMedicinalProductManufacturedByIdRoute);
|
|
22696
|
+
router94.post("/", createMedicinalProductManufacturedRoute);
|
|
22697
|
+
router94.put("/:id", updateMedicinalProductManufacturedRoute);
|
|
22698
|
+
router94.delete("/:id", deleteMedicinalProductManufacturedRoute);
|
|
22664
22699
|
|
|
22665
22700
|
// src/data/rest-api/routes/data/medicinalproductpackaged/medicinalproductpackaged.ts
|
|
22666
|
-
import
|
|
22701
|
+
import express95 from "express";
|
|
22667
22702
|
|
|
22668
22703
|
// src/data/operations/data/medicinalproductpackaged/medicinalproductpackaged-create-operation.ts
|
|
22669
22704
|
import { ulid as ulid85 } from "ulid";
|
|
@@ -22874,15 +22909,15 @@ async function updateMedicinalProductPackagedRoute(req, res) {
|
|
|
22874
22909
|
}
|
|
22875
22910
|
|
|
22876
22911
|
// src/data/rest-api/routes/data/medicinalproductpackaged/medicinalproductpackaged.ts
|
|
22877
|
-
var
|
|
22878
|
-
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
|
-
|
|
22882
|
-
|
|
22912
|
+
var router95 = express95.Router();
|
|
22913
|
+
router95.get("/", listMedicinalProductPackagedsRoute);
|
|
22914
|
+
router95.get("/:id", getMedicinalProductPackagedByIdRoute);
|
|
22915
|
+
router95.post("/", createMedicinalProductPackagedRoute);
|
|
22916
|
+
router95.put("/:id", updateMedicinalProductPackagedRoute);
|
|
22917
|
+
router95.delete("/:id", deleteMedicinalProductPackagedRoute);
|
|
22883
22918
|
|
|
22884
22919
|
// src/data/rest-api/routes/data/medicinalproductpharmaceutical/medicinalproductpharmaceutical.ts
|
|
22885
|
-
import
|
|
22920
|
+
import express96 from "express";
|
|
22886
22921
|
|
|
22887
22922
|
// src/data/operations/data/medicinalproductpharmaceutical/medicinalproductpharmaceutical-create-operation.ts
|
|
22888
22923
|
import { ulid as ulid86 } from "ulid";
|
|
@@ -23099,15 +23134,15 @@ async function updateMedicinalProductPharmaceuticalRoute(req, res) {
|
|
|
23099
23134
|
}
|
|
23100
23135
|
|
|
23101
23136
|
// src/data/rest-api/routes/data/medicinalproductpharmaceutical/medicinalproductpharmaceutical.ts
|
|
23102
|
-
var
|
|
23103
|
-
|
|
23104
|
-
|
|
23105
|
-
|
|
23106
|
-
|
|
23107
|
-
|
|
23137
|
+
var router96 = express96.Router();
|
|
23138
|
+
router96.get("/", listMedicinalProductPharmaceuticalsRoute);
|
|
23139
|
+
router96.get("/:id", getMedicinalProductPharmaceuticalByIdRoute);
|
|
23140
|
+
router96.post("/", createMedicinalProductPharmaceuticalRoute);
|
|
23141
|
+
router96.put("/:id", updateMedicinalProductPharmaceuticalRoute);
|
|
23142
|
+
router96.delete("/:id", deleteMedicinalProductPharmaceuticalRoute);
|
|
23108
23143
|
|
|
23109
23144
|
// src/data/rest-api/routes/data/medicinalproductundesirableeffect/medicinalproductundesirableeffect.ts
|
|
23110
|
-
import
|
|
23145
|
+
import express97 from "express";
|
|
23111
23146
|
|
|
23112
23147
|
// src/data/operations/data/medicinalproductundesirableeffect/medicinalproductundesirableeffect-create-operation.ts
|
|
23113
23148
|
import { ulid as ulid87 } from "ulid";
|
|
@@ -23327,15 +23362,15 @@ async function updateMedicinalProductUndesirableEffectRoute(req, res) {
|
|
|
23327
23362
|
}
|
|
23328
23363
|
|
|
23329
23364
|
// src/data/rest-api/routes/data/medicinalproductundesirableeffect/medicinalproductundesirableeffect.ts
|
|
23330
|
-
var
|
|
23331
|
-
|
|
23332
|
-
|
|
23333
|
-
|
|
23334
|
-
|
|
23335
|
-
|
|
23365
|
+
var router97 = express97.Router();
|
|
23366
|
+
router97.get("/", listMedicinalProductUndesirableEffectsRoute);
|
|
23367
|
+
router97.get("/:id", getMedicinalProductUndesirableEffectByIdRoute);
|
|
23368
|
+
router97.post("/", createMedicinalProductUndesirableEffectRoute);
|
|
23369
|
+
router97.put("/:id", updateMedicinalProductUndesirableEffectRoute);
|
|
23370
|
+
router97.delete("/:id", deleteMedicinalProductUndesirableEffectRoute);
|
|
23336
23371
|
|
|
23337
23372
|
// src/data/rest-api/routes/data/messagedefinition/messagedefinition.ts
|
|
23338
|
-
import
|
|
23373
|
+
import express98 from "express";
|
|
23339
23374
|
|
|
23340
23375
|
// src/data/operations/data/messagedefinition/messagedefinition-create-operation.ts
|
|
23341
23376
|
import { ulid as ulid88 } from "ulid";
|
|
@@ -23530,15 +23565,15 @@ async function updateMessageDefinitionRoute(req, res) {
|
|
|
23530
23565
|
}
|
|
23531
23566
|
|
|
23532
23567
|
// src/data/rest-api/routes/data/messagedefinition/messagedefinition.ts
|
|
23533
|
-
var
|
|
23534
|
-
|
|
23535
|
-
|
|
23536
|
-
|
|
23537
|
-
|
|
23538
|
-
|
|
23568
|
+
var router98 = express98.Router();
|
|
23569
|
+
router98.get("/", listMessageDefinitionsRoute);
|
|
23570
|
+
router98.get("/:id", getMessageDefinitionByIdRoute);
|
|
23571
|
+
router98.post("/", createMessageDefinitionRoute);
|
|
23572
|
+
router98.put("/:id", updateMessageDefinitionRoute);
|
|
23573
|
+
router98.delete("/:id", deleteMessageDefinitionRoute);
|
|
23539
23574
|
|
|
23540
23575
|
// src/data/rest-api/routes/data/messageheader/messageheader.ts
|
|
23541
|
-
import
|
|
23576
|
+
import express99 from "express";
|
|
23542
23577
|
|
|
23543
23578
|
// src/data/operations/data/messageheader/messageheader-create-operation.ts
|
|
23544
23579
|
import { ulid as ulid89 } from "ulid";
|
|
@@ -23730,15 +23765,15 @@ async function updateMessageHeaderRoute(req, res) {
|
|
|
23730
23765
|
}
|
|
23731
23766
|
|
|
23732
23767
|
// src/data/rest-api/routes/data/messageheader/messageheader.ts
|
|
23733
|
-
var
|
|
23734
|
-
|
|
23735
|
-
|
|
23736
|
-
|
|
23737
|
-
|
|
23738
|
-
|
|
23768
|
+
var router99 = express99.Router();
|
|
23769
|
+
router99.get("/", listMessageHeadersRoute);
|
|
23770
|
+
router99.get("/:id", getMessageHeaderByIdRoute);
|
|
23771
|
+
router99.post("/", createMessageHeaderRoute);
|
|
23772
|
+
router99.put("/:id", updateMessageHeaderRoute);
|
|
23773
|
+
router99.delete("/:id", deleteMessageHeaderRoute);
|
|
23739
23774
|
|
|
23740
23775
|
// src/data/rest-api/routes/data/molecularsequence/molecularsequence.ts
|
|
23741
|
-
import
|
|
23776
|
+
import express100 from "express";
|
|
23742
23777
|
|
|
23743
23778
|
// src/data/operations/data/molecularsequence/molecularsequence-create-operation.ts
|
|
23744
23779
|
import { ulid as ulid90 } from "ulid";
|
|
@@ -23933,15 +23968,15 @@ async function updateMolecularSequenceRoute(req, res) {
|
|
|
23933
23968
|
}
|
|
23934
23969
|
|
|
23935
23970
|
// src/data/rest-api/routes/data/molecularsequence/molecularsequence.ts
|
|
23936
|
-
var
|
|
23937
|
-
|
|
23938
|
-
|
|
23939
|
-
|
|
23940
|
-
|
|
23941
|
-
|
|
23971
|
+
var router100 = express100.Router();
|
|
23972
|
+
router100.get("/", listMolecularSequencesRoute);
|
|
23973
|
+
router100.get("/:id", getMolecularSequenceByIdRoute);
|
|
23974
|
+
router100.post("/", createMolecularSequenceRoute);
|
|
23975
|
+
router100.put("/:id", updateMolecularSequenceRoute);
|
|
23976
|
+
router100.delete("/:id", deleteMolecularSequenceRoute);
|
|
23942
23977
|
|
|
23943
23978
|
// src/data/rest-api/routes/data/namingsystem/namingsystem.ts
|
|
23944
|
-
import
|
|
23979
|
+
import express101 from "express";
|
|
23945
23980
|
|
|
23946
23981
|
// src/data/operations/data/namingsystem/namingsystem-create-operation.ts
|
|
23947
23982
|
import { ulid as ulid91 } from "ulid";
|
|
@@ -24133,15 +24168,15 @@ async function updateNamingSystemRoute(req, res) {
|
|
|
24133
24168
|
}
|
|
24134
24169
|
|
|
24135
24170
|
// src/data/rest-api/routes/data/namingsystem/namingsystem.ts
|
|
24136
|
-
var
|
|
24137
|
-
|
|
24138
|
-
|
|
24139
|
-
|
|
24140
|
-
|
|
24141
|
-
|
|
24171
|
+
var router101 = express101.Router();
|
|
24172
|
+
router101.get("/", listNamingSystemsRoute);
|
|
24173
|
+
router101.get("/:id", getNamingSystemByIdRoute);
|
|
24174
|
+
router101.post("/", createNamingSystemRoute);
|
|
24175
|
+
router101.put("/:id", updateNamingSystemRoute);
|
|
24176
|
+
router101.delete("/:id", deleteNamingSystemRoute);
|
|
24142
24177
|
|
|
24143
24178
|
// src/data/rest-api/routes/data/nutritionorder/nutritionorder.ts
|
|
24144
|
-
import
|
|
24179
|
+
import express102 from "express";
|
|
24145
24180
|
|
|
24146
24181
|
// src/data/operations/data/nutritionorder/nutritionorder-create-operation.ts
|
|
24147
24182
|
import { ulid as ulid92 } from "ulid";
|
|
@@ -24333,15 +24368,15 @@ async function updateNutritionOrderRoute(req, res) {
|
|
|
24333
24368
|
}
|
|
24334
24369
|
|
|
24335
24370
|
// src/data/rest-api/routes/data/nutritionorder/nutritionorder.ts
|
|
24336
|
-
var
|
|
24337
|
-
|
|
24338
|
-
|
|
24339
|
-
|
|
24340
|
-
|
|
24341
|
-
|
|
24371
|
+
var router102 = express102.Router();
|
|
24372
|
+
router102.get("/", listNutritionOrdersRoute);
|
|
24373
|
+
router102.get("/:id", getNutritionOrderByIdRoute);
|
|
24374
|
+
router102.post("/", createNutritionOrderRoute);
|
|
24375
|
+
router102.put("/:id", updateNutritionOrderRoute);
|
|
24376
|
+
router102.delete("/:id", deleteNutritionOrderRoute);
|
|
24342
24377
|
|
|
24343
24378
|
// src/data/rest-api/routes/data/observation/observation.ts
|
|
24344
|
-
import
|
|
24379
|
+
import express103 from "express";
|
|
24345
24380
|
|
|
24346
24381
|
// src/data/rest-api/routes/data/observation/observation-create-route.ts
|
|
24347
24382
|
async function createObservationRoute(req, res) {
|
|
@@ -24498,15 +24533,15 @@ async function updateObservationRoute(req, res) {
|
|
|
24498
24533
|
}
|
|
24499
24534
|
|
|
24500
24535
|
// src/data/rest-api/routes/data/observation/observation.ts
|
|
24501
|
-
var
|
|
24502
|
-
|
|
24503
|
-
|
|
24504
|
-
|
|
24505
|
-
|
|
24506
|
-
|
|
24536
|
+
var router103 = express103.Router();
|
|
24537
|
+
router103.get("/", listObservationsRoute);
|
|
24538
|
+
router103.get("/:id", getObservationByIdRoute);
|
|
24539
|
+
router103.post("/", createObservationRoute);
|
|
24540
|
+
router103.put("/:id", updateObservationRoute);
|
|
24541
|
+
router103.delete("/:id", deleteObservationRoute);
|
|
24507
24542
|
|
|
24508
24543
|
// src/data/rest-api/routes/data/observationdefinition/observationdefinition.ts
|
|
24509
|
-
import
|
|
24544
|
+
import express104 from "express";
|
|
24510
24545
|
|
|
24511
24546
|
// src/data/operations/data/observationdefinition/observationdefinition-create-operation.ts
|
|
24512
24547
|
import { ulid as ulid93 } from "ulid";
|
|
@@ -24717,15 +24752,15 @@ async function updateObservationDefinitionRoute(req, res) {
|
|
|
24717
24752
|
}
|
|
24718
24753
|
|
|
24719
24754
|
// src/data/rest-api/routes/data/observationdefinition/observationdefinition.ts
|
|
24720
|
-
var
|
|
24721
|
-
|
|
24722
|
-
|
|
24723
|
-
|
|
24724
|
-
|
|
24725
|
-
|
|
24755
|
+
var router104 = express104.Router();
|
|
24756
|
+
router104.get("/", listObservationDefinitionsRoute);
|
|
24757
|
+
router104.get("/:id", getObservationDefinitionByIdRoute);
|
|
24758
|
+
router104.post("/", createObservationDefinitionRoute);
|
|
24759
|
+
router104.put("/:id", updateObservationDefinitionRoute);
|
|
24760
|
+
router104.delete("/:id", deleteObservationDefinitionRoute);
|
|
24726
24761
|
|
|
24727
24762
|
// src/data/rest-api/routes/data/operationdefinition/operationdefinition.ts
|
|
24728
|
-
import
|
|
24763
|
+
import express105 from "express";
|
|
24729
24764
|
|
|
24730
24765
|
// src/data/operations/data/operationdefinition/operationdefinition-create-operation.ts
|
|
24731
24766
|
import { ulid as ulid94 } from "ulid";
|
|
@@ -24924,15 +24959,15 @@ async function updateOperationDefinitionRoute(req, res) {
|
|
|
24924
24959
|
}
|
|
24925
24960
|
|
|
24926
24961
|
// src/data/rest-api/routes/data/operationdefinition/operationdefinition.ts
|
|
24927
|
-
var
|
|
24928
|
-
|
|
24929
|
-
|
|
24930
|
-
|
|
24931
|
-
|
|
24932
|
-
|
|
24962
|
+
var router105 = express105.Router();
|
|
24963
|
+
router105.get("/", listOperationDefinitionsRoute);
|
|
24964
|
+
router105.get("/:id", getOperationDefinitionByIdRoute);
|
|
24965
|
+
router105.post("/", createOperationDefinitionRoute);
|
|
24966
|
+
router105.put("/:id", updateOperationDefinitionRoute);
|
|
24967
|
+
router105.delete("/:id", deleteOperationDefinitionRoute);
|
|
24933
24968
|
|
|
24934
24969
|
// src/data/rest-api/routes/data/organization/organization.ts
|
|
24935
|
-
import
|
|
24970
|
+
import express106 from "express";
|
|
24936
24971
|
|
|
24937
24972
|
// src/data/operations/data/organization/organization-create-operation.ts
|
|
24938
24973
|
import { ulid as ulid95 } from "ulid";
|
|
@@ -25097,15 +25132,15 @@ async function updateOrganizationRoute(req, res) {
|
|
|
25097
25132
|
}
|
|
25098
25133
|
|
|
25099
25134
|
// src/data/rest-api/routes/data/organization/organization.ts
|
|
25100
|
-
var
|
|
25101
|
-
|
|
25102
|
-
|
|
25103
|
-
|
|
25104
|
-
|
|
25105
|
-
|
|
25135
|
+
var router106 = express106.Router();
|
|
25136
|
+
router106.get("/", listOrganizationsRoute);
|
|
25137
|
+
router106.get("/:id", getOrganizationByIdRoute);
|
|
25138
|
+
router106.post("/", createOrganizationRoute);
|
|
25139
|
+
router106.put("/:id", updateOrganizationRoute);
|
|
25140
|
+
router106.delete("/:id", deleteOrganizationRoute);
|
|
25106
25141
|
|
|
25107
25142
|
// src/data/rest-api/routes/data/organizationaffiliation/organizationaffiliation.ts
|
|
25108
|
-
import
|
|
25143
|
+
import express107 from "express";
|
|
25109
25144
|
|
|
25110
25145
|
// src/data/operations/data/organizationaffiliation/organizationaffiliation-create-operation.ts
|
|
25111
25146
|
import { ulid as ulid96 } from "ulid";
|
|
@@ -25316,15 +25351,15 @@ async function updateOrganizationAffiliationRoute(req, res) {
|
|
|
25316
25351
|
}
|
|
25317
25352
|
|
|
25318
25353
|
// src/data/rest-api/routes/data/organizationaffiliation/organizationaffiliation.ts
|
|
25319
|
-
var
|
|
25320
|
-
|
|
25321
|
-
|
|
25322
|
-
|
|
25323
|
-
|
|
25324
|
-
|
|
25354
|
+
var router107 = express107.Router();
|
|
25355
|
+
router107.get("/", listOrganizationAffiliationsRoute);
|
|
25356
|
+
router107.get("/:id", getOrganizationAffiliationByIdRoute);
|
|
25357
|
+
router107.post("/", createOrganizationAffiliationRoute);
|
|
25358
|
+
router107.put("/:id", updateOrganizationAffiliationRoute);
|
|
25359
|
+
router107.delete("/:id", deleteOrganizationAffiliationRoute);
|
|
25325
25360
|
|
|
25326
25361
|
// src/data/rest-api/routes/data/patient/patient.ts
|
|
25327
|
-
import
|
|
25362
|
+
import express108 from "express";
|
|
25328
25363
|
|
|
25329
25364
|
// src/data/rest-api/routes/data/patient/patient-create-route.ts
|
|
25330
25365
|
async function createPatientRoute(req, res) {
|
|
@@ -25564,15 +25599,15 @@ async function updatePatientRoute(req, res) {
|
|
|
25564
25599
|
}
|
|
25565
25600
|
|
|
25566
25601
|
// src/data/rest-api/routes/data/patient/patient.ts
|
|
25567
|
-
var
|
|
25568
|
-
|
|
25569
|
-
|
|
25570
|
-
|
|
25571
|
-
|
|
25572
|
-
|
|
25602
|
+
var router108 = express108.Router();
|
|
25603
|
+
router108.get("/", listPatientsRoute);
|
|
25604
|
+
router108.get("/:id", getPatientByIdRoute);
|
|
25605
|
+
router108.post("/", createPatientRoute);
|
|
25606
|
+
router108.put("/:id", updatePatientRoute);
|
|
25607
|
+
router108.delete("/:id", deletePatientRoute);
|
|
25573
25608
|
|
|
25574
25609
|
// src/data/rest-api/routes/data/paymentnotice/paymentnotice.ts
|
|
25575
|
-
import
|
|
25610
|
+
import express109 from "express";
|
|
25576
25611
|
|
|
25577
25612
|
// src/data/operations/data/paymentnotice/paymentnotice-create-operation.ts
|
|
25578
25613
|
import { ulid as ulid97 } from "ulid";
|
|
@@ -25764,15 +25799,15 @@ async function updatePaymentNoticeRoute(req, res) {
|
|
|
25764
25799
|
}
|
|
25765
25800
|
|
|
25766
25801
|
// src/data/rest-api/routes/data/paymentnotice/paymentnotice.ts
|
|
25767
|
-
var
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25771
|
-
|
|
25772
|
-
|
|
25802
|
+
var router109 = express109.Router();
|
|
25803
|
+
router109.get("/", listPaymentNoticesRoute);
|
|
25804
|
+
router109.get("/:id", getPaymentNoticeByIdRoute);
|
|
25805
|
+
router109.post("/", createPaymentNoticeRoute);
|
|
25806
|
+
router109.put("/:id", updatePaymentNoticeRoute);
|
|
25807
|
+
router109.delete("/:id", deletePaymentNoticeRoute);
|
|
25773
25808
|
|
|
25774
25809
|
// src/data/rest-api/routes/data/paymentreconciliation/paymentreconciliation.ts
|
|
25775
|
-
import
|
|
25810
|
+
import express110 from "express";
|
|
25776
25811
|
|
|
25777
25812
|
// src/data/operations/data/paymentreconciliation/paymentreconciliation-create-operation.ts
|
|
25778
25813
|
import { ulid as ulid98 } from "ulid";
|
|
@@ -25983,15 +26018,15 @@ async function updatePaymentReconciliationRoute(req, res) {
|
|
|
25983
26018
|
}
|
|
25984
26019
|
|
|
25985
26020
|
// src/data/rest-api/routes/data/paymentreconciliation/paymentreconciliation.ts
|
|
25986
|
-
var
|
|
25987
|
-
|
|
25988
|
-
|
|
25989
|
-
|
|
25990
|
-
|
|
25991
|
-
|
|
26021
|
+
var router110 = express110.Router();
|
|
26022
|
+
router110.get("/", listPaymentReconciliationsRoute);
|
|
26023
|
+
router110.get("/:id", getPaymentReconciliationByIdRoute);
|
|
26024
|
+
router110.post("/", createPaymentReconciliationRoute);
|
|
26025
|
+
router110.put("/:id", updatePaymentReconciliationRoute);
|
|
26026
|
+
router110.delete("/:id", deletePaymentReconciliationRoute);
|
|
25992
26027
|
|
|
25993
26028
|
// src/data/rest-api/routes/data/person/person.ts
|
|
25994
|
-
import
|
|
26029
|
+
import express111 from "express";
|
|
25995
26030
|
|
|
25996
26031
|
// src/data/operations/data/person/person-create-operation.ts
|
|
25997
26032
|
import { ulid as ulid99 } from "ulid";
|
|
@@ -26183,15 +26218,15 @@ async function updatePersonRoute(req, res) {
|
|
|
26183
26218
|
}
|
|
26184
26219
|
|
|
26185
26220
|
// src/data/rest-api/routes/data/person/person.ts
|
|
26186
|
-
var
|
|
26187
|
-
|
|
26188
|
-
|
|
26189
|
-
|
|
26190
|
-
|
|
26191
|
-
|
|
26221
|
+
var router111 = express111.Router();
|
|
26222
|
+
router111.get("/", listPersonsRoute);
|
|
26223
|
+
router111.get("/:id", getPersonByIdRoute);
|
|
26224
|
+
router111.post("/", createPersonRoute);
|
|
26225
|
+
router111.put("/:id", updatePersonRoute);
|
|
26226
|
+
router111.delete("/:id", deletePersonRoute);
|
|
26192
26227
|
|
|
26193
26228
|
// src/data/rest-api/routes/data/plandefinition/plandefinition.ts
|
|
26194
|
-
import
|
|
26229
|
+
import express112 from "express";
|
|
26195
26230
|
|
|
26196
26231
|
// src/data/operations/data/plandefinition/plandefinition-create-operation.ts
|
|
26197
26232
|
import { ulid as ulid100 } from "ulid";
|
|
@@ -26383,15 +26418,15 @@ async function updatePlanDefinitionRoute(req, res) {
|
|
|
26383
26418
|
}
|
|
26384
26419
|
|
|
26385
26420
|
// src/data/rest-api/routes/data/plandefinition/plandefinition.ts
|
|
26386
|
-
var
|
|
26387
|
-
|
|
26388
|
-
|
|
26389
|
-
|
|
26390
|
-
|
|
26391
|
-
|
|
26421
|
+
var router112 = express112.Router();
|
|
26422
|
+
router112.get("/", listPlanDefinitionsRoute);
|
|
26423
|
+
router112.get("/:id", getPlanDefinitionByIdRoute);
|
|
26424
|
+
router112.post("/", createPlanDefinitionRoute);
|
|
26425
|
+
router112.put("/:id", updatePlanDefinitionRoute);
|
|
26426
|
+
router112.delete("/:id", deletePlanDefinitionRoute);
|
|
26392
26427
|
|
|
26393
26428
|
// src/data/rest-api/routes/data/practitioner/practitioner.ts
|
|
26394
|
-
import
|
|
26429
|
+
import express113 from "express";
|
|
26395
26430
|
|
|
26396
26431
|
// src/data/rest-api/routes/data/practitioner/practitioner-create-route.ts
|
|
26397
26432
|
async function createPractitionerRoute(req, res) {
|
|
@@ -26553,15 +26588,15 @@ async function updatePractitionerRoute(req, res) {
|
|
|
26553
26588
|
}
|
|
26554
26589
|
|
|
26555
26590
|
// src/data/rest-api/routes/data/practitioner/practitioner.ts
|
|
26556
|
-
var
|
|
26557
|
-
|
|
26558
|
-
|
|
26559
|
-
|
|
26560
|
-
|
|
26561
|
-
|
|
26591
|
+
var router113 = express113.Router();
|
|
26592
|
+
router113.get("/", listPractitionersRoute);
|
|
26593
|
+
router113.get("/:id", getPractitionerByIdRoute);
|
|
26594
|
+
router113.post("/", createPractitionerRoute);
|
|
26595
|
+
router113.put("/:id", updatePractitionerRoute);
|
|
26596
|
+
router113.delete("/:id", deletePractitionerRoute);
|
|
26562
26597
|
|
|
26563
26598
|
// src/data/rest-api/routes/data/practitionerrole/practitionerrole.ts
|
|
26564
|
-
import
|
|
26599
|
+
import express114 from "express";
|
|
26565
26600
|
|
|
26566
26601
|
// src/data/rest-api/routes/data/practitionerrole/practitionerrole-create-route.ts
|
|
26567
26602
|
async function createPractitionerRoleRoute(req, res) {
|
|
@@ -26692,15 +26727,15 @@ async function updatePractitionerRoleRoute(req, res) {
|
|
|
26692
26727
|
}
|
|
26693
26728
|
|
|
26694
26729
|
// src/data/rest-api/routes/data/practitionerrole/practitionerrole.ts
|
|
26695
|
-
var
|
|
26696
|
-
|
|
26697
|
-
|
|
26698
|
-
|
|
26699
|
-
|
|
26700
|
-
|
|
26730
|
+
var router114 = express114.Router();
|
|
26731
|
+
router114.get("/", listPractitionerRolesRoute);
|
|
26732
|
+
router114.get("/:id", getPractitionerRoleByIdRoute);
|
|
26733
|
+
router114.post("/", createPractitionerRoleRoute);
|
|
26734
|
+
router114.put("/:id", updatePractitionerRoleRoute);
|
|
26735
|
+
router114.delete("/:id", deletePractitionerRoleRoute);
|
|
26701
26736
|
|
|
26702
26737
|
// src/data/rest-api/routes/data/procedure/procedure.ts
|
|
26703
|
-
import
|
|
26738
|
+
import express115 from "express";
|
|
26704
26739
|
|
|
26705
26740
|
// src/data/operations/data/procedure/procedure-create-operation.ts
|
|
26706
26741
|
import { ulid as ulid101 } from "ulid";
|
|
@@ -26892,15 +26927,15 @@ async function updateProcedureRoute(req, res) {
|
|
|
26892
26927
|
}
|
|
26893
26928
|
|
|
26894
26929
|
// src/data/rest-api/routes/data/procedure/procedure.ts
|
|
26895
|
-
var
|
|
26896
|
-
|
|
26897
|
-
|
|
26898
|
-
|
|
26899
|
-
|
|
26900
|
-
|
|
26930
|
+
var router115 = express115.Router();
|
|
26931
|
+
router115.get("/", listProceduresRoute);
|
|
26932
|
+
router115.get("/:id", getProcedureByIdRoute);
|
|
26933
|
+
router115.post("/", createProcedureRoute);
|
|
26934
|
+
router115.put("/:id", updateProcedureRoute);
|
|
26935
|
+
router115.delete("/:id", deleteProcedureRoute);
|
|
26901
26936
|
|
|
26902
26937
|
// src/data/rest-api/routes/data/provenance/provenance.ts
|
|
26903
|
-
import
|
|
26938
|
+
import express116 from "express";
|
|
26904
26939
|
|
|
26905
26940
|
// src/data/operations/data/provenance/provenance-create-operation.ts
|
|
26906
26941
|
import { ulid as ulid102 } from "ulid";
|
|
@@ -27092,15 +27127,15 @@ async function updateProvenanceRoute(req, res) {
|
|
|
27092
27127
|
}
|
|
27093
27128
|
|
|
27094
27129
|
// src/data/rest-api/routes/data/provenance/provenance.ts
|
|
27095
|
-
var
|
|
27096
|
-
|
|
27097
|
-
|
|
27098
|
-
|
|
27099
|
-
|
|
27100
|
-
|
|
27130
|
+
var router116 = express116.Router();
|
|
27131
|
+
router116.get("/", listProvenancesRoute);
|
|
27132
|
+
router116.get("/:id", getProvenanceByIdRoute);
|
|
27133
|
+
router116.post("/", createProvenanceRoute);
|
|
27134
|
+
router116.put("/:id", updateProvenanceRoute);
|
|
27135
|
+
router116.delete("/:id", deleteProvenanceRoute);
|
|
27101
27136
|
|
|
27102
27137
|
// src/data/rest-api/routes/data/questionnaire/questionnaire.ts
|
|
27103
|
-
import
|
|
27138
|
+
import express117 from "express";
|
|
27104
27139
|
|
|
27105
27140
|
// src/data/operations/data/questionnaire/questionnaire-create-operation.ts
|
|
27106
27141
|
import { ulid as ulid103 } from "ulid";
|
|
@@ -27292,15 +27327,15 @@ async function updateQuestionnaireRoute(req, res) {
|
|
|
27292
27327
|
}
|
|
27293
27328
|
|
|
27294
27329
|
// src/data/rest-api/routes/data/questionnaire/questionnaire.ts
|
|
27295
|
-
var
|
|
27296
|
-
|
|
27297
|
-
|
|
27298
|
-
|
|
27299
|
-
|
|
27300
|
-
|
|
27330
|
+
var router117 = express117.Router();
|
|
27331
|
+
router117.get("/", listQuestionnairesRoute);
|
|
27332
|
+
router117.get("/:id", getQuestionnaireByIdRoute);
|
|
27333
|
+
router117.post("/", createQuestionnaireRoute);
|
|
27334
|
+
router117.put("/:id", updateQuestionnaireRoute);
|
|
27335
|
+
router117.delete("/:id", deleteQuestionnaireRoute);
|
|
27301
27336
|
|
|
27302
27337
|
// src/data/rest-api/routes/data/questionnaireresponse/questionnaireresponse.ts
|
|
27303
|
-
import
|
|
27338
|
+
import express118 from "express";
|
|
27304
27339
|
|
|
27305
27340
|
// src/data/operations/data/questionnaireresponse/questionnaireresponse-create-operation.ts
|
|
27306
27341
|
import { ulid as ulid104 } from "ulid";
|
|
@@ -27511,15 +27546,15 @@ async function updateQuestionnaireResponseRoute(req, res) {
|
|
|
27511
27546
|
}
|
|
27512
27547
|
|
|
27513
27548
|
// src/data/rest-api/routes/data/questionnaireresponse/questionnaireresponse.ts
|
|
27514
|
-
var
|
|
27515
|
-
|
|
27516
|
-
|
|
27517
|
-
|
|
27518
|
-
|
|
27519
|
-
|
|
27549
|
+
var router118 = express118.Router();
|
|
27550
|
+
router118.get("/", listQuestionnaireResponsesRoute);
|
|
27551
|
+
router118.get("/:id", getQuestionnaireResponseByIdRoute);
|
|
27552
|
+
router118.post("/", createQuestionnaireResponseRoute);
|
|
27553
|
+
router118.put("/:id", updateQuestionnaireResponseRoute);
|
|
27554
|
+
router118.delete("/:id", deleteQuestionnaireResponseRoute);
|
|
27520
27555
|
|
|
27521
27556
|
// src/data/rest-api/routes/data/relatedperson/relatedperson.ts
|
|
27522
|
-
import
|
|
27557
|
+
import express119 from "express";
|
|
27523
27558
|
|
|
27524
27559
|
// src/data/operations/data/relatedperson/relatedperson-create-operation.ts
|
|
27525
27560
|
import { ulid as ulid105 } from "ulid";
|
|
@@ -27711,15 +27746,15 @@ async function updateRelatedPersonRoute(req, res) {
|
|
|
27711
27746
|
}
|
|
27712
27747
|
|
|
27713
27748
|
// src/data/rest-api/routes/data/relatedperson/relatedperson.ts
|
|
27714
|
-
var
|
|
27715
|
-
|
|
27716
|
-
|
|
27717
|
-
|
|
27718
|
-
|
|
27719
|
-
|
|
27749
|
+
var router119 = express119.Router();
|
|
27750
|
+
router119.get("/", listRelatedPersonsRoute);
|
|
27751
|
+
router119.get("/:id", getRelatedPersonByIdRoute);
|
|
27752
|
+
router119.post("/", createRelatedPersonRoute);
|
|
27753
|
+
router119.put("/:id", updateRelatedPersonRoute);
|
|
27754
|
+
router119.delete("/:id", deleteRelatedPersonRoute);
|
|
27720
27755
|
|
|
27721
27756
|
// src/data/rest-api/routes/data/requestgroup/requestgroup.ts
|
|
27722
|
-
import
|
|
27757
|
+
import express120 from "express";
|
|
27723
27758
|
|
|
27724
27759
|
// src/data/operations/data/requestgroup/requestgroup-create-operation.ts
|
|
27725
27760
|
import { ulid as ulid106 } from "ulid";
|
|
@@ -27911,15 +27946,15 @@ async function updateRequestGroupRoute(req, res) {
|
|
|
27911
27946
|
}
|
|
27912
27947
|
|
|
27913
27948
|
// src/data/rest-api/routes/data/requestgroup/requestgroup.ts
|
|
27914
|
-
var
|
|
27915
|
-
|
|
27916
|
-
|
|
27917
|
-
|
|
27918
|
-
|
|
27919
|
-
|
|
27949
|
+
var router120 = express120.Router();
|
|
27950
|
+
router120.get("/", listRequestGroupsRoute);
|
|
27951
|
+
router120.get("/:id", getRequestGroupByIdRoute);
|
|
27952
|
+
router120.post("/", createRequestGroupRoute);
|
|
27953
|
+
router120.put("/:id", updateRequestGroupRoute);
|
|
27954
|
+
router120.delete("/:id", deleteRequestGroupRoute);
|
|
27920
27955
|
|
|
27921
27956
|
// src/data/rest-api/routes/data/researchdefinition/researchdefinition.ts
|
|
27922
|
-
import
|
|
27957
|
+
import express121 from "express";
|
|
27923
27958
|
|
|
27924
27959
|
// src/data/operations/data/researchdefinition/researchdefinition-create-operation.ts
|
|
27925
27960
|
import { ulid as ulid107 } from "ulid";
|
|
@@ -28118,15 +28153,15 @@ async function updateResearchDefinitionRoute(req, res) {
|
|
|
28118
28153
|
}
|
|
28119
28154
|
|
|
28120
28155
|
// src/data/rest-api/routes/data/researchdefinition/researchdefinition.ts
|
|
28121
|
-
var
|
|
28122
|
-
|
|
28123
|
-
|
|
28124
|
-
|
|
28125
|
-
|
|
28126
|
-
|
|
28156
|
+
var router121 = express121.Router();
|
|
28157
|
+
router121.get("/", listResearchDefinitionsRoute);
|
|
28158
|
+
router121.get("/:id", getResearchDefinitionByIdRoute);
|
|
28159
|
+
router121.post("/", createResearchDefinitionRoute);
|
|
28160
|
+
router121.put("/:id", updateResearchDefinitionRoute);
|
|
28161
|
+
router121.delete("/:id", deleteResearchDefinitionRoute);
|
|
28127
28162
|
|
|
28128
28163
|
// src/data/rest-api/routes/data/researchelementdefinition/researchelementdefinition.ts
|
|
28129
|
-
import
|
|
28164
|
+
import express122 from "express";
|
|
28130
28165
|
|
|
28131
28166
|
// src/data/operations/data/researchelementdefinition/researchelementdefinition-create-operation.ts
|
|
28132
28167
|
import { ulid as ulid108 } from "ulid";
|
|
@@ -28337,15 +28372,15 @@ async function updateResearchElementDefinitionRoute(req, res) {
|
|
|
28337
28372
|
}
|
|
28338
28373
|
|
|
28339
28374
|
// src/data/rest-api/routes/data/researchelementdefinition/researchelementdefinition.ts
|
|
28340
|
-
var
|
|
28341
|
-
|
|
28342
|
-
|
|
28343
|
-
|
|
28344
|
-
|
|
28345
|
-
|
|
28375
|
+
var router122 = express122.Router();
|
|
28376
|
+
router122.get("/", listResearchElementDefinitionsRoute);
|
|
28377
|
+
router122.get("/:id", getResearchElementDefinitionByIdRoute);
|
|
28378
|
+
router122.post("/", createResearchElementDefinitionRoute);
|
|
28379
|
+
router122.put("/:id", updateResearchElementDefinitionRoute);
|
|
28380
|
+
router122.delete("/:id", deleteResearchElementDefinitionRoute);
|
|
28346
28381
|
|
|
28347
28382
|
// src/data/rest-api/routes/data/researchstudy/researchstudy.ts
|
|
28348
|
-
import
|
|
28383
|
+
import express123 from "express";
|
|
28349
28384
|
|
|
28350
28385
|
// src/data/operations/data/researchstudy/researchstudy-create-operation.ts
|
|
28351
28386
|
import { ulid as ulid109 } from "ulid";
|
|
@@ -28537,15 +28572,15 @@ async function updateResearchStudyRoute(req, res) {
|
|
|
28537
28572
|
}
|
|
28538
28573
|
|
|
28539
28574
|
// src/data/rest-api/routes/data/researchstudy/researchstudy.ts
|
|
28540
|
-
var
|
|
28541
|
-
|
|
28542
|
-
|
|
28543
|
-
|
|
28544
|
-
|
|
28545
|
-
|
|
28575
|
+
var router123 = express123.Router();
|
|
28576
|
+
router123.get("/", listResearchStudysRoute);
|
|
28577
|
+
router123.get("/:id", getResearchStudyByIdRoute);
|
|
28578
|
+
router123.post("/", createResearchStudyRoute);
|
|
28579
|
+
router123.put("/:id", updateResearchStudyRoute);
|
|
28580
|
+
router123.delete("/:id", deleteResearchStudyRoute);
|
|
28546
28581
|
|
|
28547
28582
|
// src/data/rest-api/routes/data/researchsubject/researchsubject.ts
|
|
28548
|
-
import
|
|
28583
|
+
import express124 from "express";
|
|
28549
28584
|
|
|
28550
28585
|
// src/data/operations/data/researchsubject/researchsubject-create-operation.ts
|
|
28551
28586
|
import { ulid as ulid110 } from "ulid";
|
|
@@ -28737,15 +28772,15 @@ async function updateResearchSubjectRoute(req, res) {
|
|
|
28737
28772
|
}
|
|
28738
28773
|
|
|
28739
28774
|
// src/data/rest-api/routes/data/researchsubject/researchsubject.ts
|
|
28740
|
-
var
|
|
28741
|
-
|
|
28742
|
-
|
|
28743
|
-
|
|
28744
|
-
|
|
28745
|
-
|
|
28775
|
+
var router124 = express124.Router();
|
|
28776
|
+
router124.get("/", listResearchSubjectsRoute);
|
|
28777
|
+
router124.get("/:id", getResearchSubjectByIdRoute);
|
|
28778
|
+
router124.post("/", createResearchSubjectRoute);
|
|
28779
|
+
router124.put("/:id", updateResearchSubjectRoute);
|
|
28780
|
+
router124.delete("/:id", deleteResearchSubjectRoute);
|
|
28746
28781
|
|
|
28747
28782
|
// src/data/rest-api/routes/data/riskassessment/riskassessment.ts
|
|
28748
|
-
import
|
|
28783
|
+
import express125 from "express";
|
|
28749
28784
|
|
|
28750
28785
|
// src/data/operations/data/riskassessment/riskassessment-create-operation.ts
|
|
28751
28786
|
import { ulid as ulid111 } from "ulid";
|
|
@@ -28937,15 +28972,15 @@ async function updateRiskAssessmentRoute(req, res) {
|
|
|
28937
28972
|
}
|
|
28938
28973
|
|
|
28939
28974
|
// src/data/rest-api/routes/data/riskassessment/riskassessment.ts
|
|
28940
|
-
var
|
|
28941
|
-
|
|
28942
|
-
|
|
28943
|
-
|
|
28944
|
-
|
|
28945
|
-
|
|
28975
|
+
var router125 = express125.Router();
|
|
28976
|
+
router125.get("/", listRiskAssessmentsRoute);
|
|
28977
|
+
router125.get("/:id", getRiskAssessmentByIdRoute);
|
|
28978
|
+
router125.post("/", createRiskAssessmentRoute);
|
|
28979
|
+
router125.put("/:id", updateRiskAssessmentRoute);
|
|
28980
|
+
router125.delete("/:id", deleteRiskAssessmentRoute);
|
|
28946
28981
|
|
|
28947
28982
|
// src/data/rest-api/routes/data/riskevidencesynthesis/riskevidencesynthesis.ts
|
|
28948
|
-
import
|
|
28983
|
+
import express126 from "express";
|
|
28949
28984
|
|
|
28950
28985
|
// src/data/operations/data/riskevidencesynthesis/riskevidencesynthesis-create-operation.ts
|
|
28951
28986
|
import { ulid as ulid112 } from "ulid";
|
|
@@ -29156,15 +29191,15 @@ async function updateRiskEvidenceSynthesisRoute(req, res) {
|
|
|
29156
29191
|
}
|
|
29157
29192
|
|
|
29158
29193
|
// src/data/rest-api/routes/data/riskevidencesynthesis/riskevidencesynthesis.ts
|
|
29159
|
-
var
|
|
29160
|
-
|
|
29161
|
-
|
|
29162
|
-
|
|
29163
|
-
|
|
29164
|
-
|
|
29194
|
+
var router126 = express126.Router();
|
|
29195
|
+
router126.get("/", listRiskEvidenceSynthesissRoute);
|
|
29196
|
+
router126.get("/:id", getRiskEvidenceSynthesisByIdRoute);
|
|
29197
|
+
router126.post("/", createRiskEvidenceSynthesisRoute);
|
|
29198
|
+
router126.put("/:id", updateRiskEvidenceSynthesisRoute);
|
|
29199
|
+
router126.delete("/:id", deleteRiskEvidenceSynthesisRoute);
|
|
29165
29200
|
|
|
29166
29201
|
// src/data/rest-api/routes/data/schedule/schedule.ts
|
|
29167
|
-
import
|
|
29202
|
+
import express127 from "express";
|
|
29168
29203
|
|
|
29169
29204
|
// src/data/operations/data/schedule/schedule-create-operation.ts
|
|
29170
29205
|
import { ulid as ulid113 } from "ulid";
|
|
@@ -29438,15 +29473,15 @@ async function updateScheduleRoute(req, res) {
|
|
|
29438
29473
|
}
|
|
29439
29474
|
|
|
29440
29475
|
// src/data/rest-api/routes/data/schedule/schedule.ts
|
|
29441
|
-
var
|
|
29442
|
-
|
|
29443
|
-
|
|
29444
|
-
|
|
29445
|
-
|
|
29446
|
-
|
|
29476
|
+
var router127 = express127.Router();
|
|
29477
|
+
router127.get("/", listSchedulesRoute);
|
|
29478
|
+
router127.get("/:id", getScheduleByIdRoute);
|
|
29479
|
+
router127.post("/", createScheduleRoute);
|
|
29480
|
+
router127.put("/:id", updateScheduleRoute);
|
|
29481
|
+
router127.delete("/:id", deleteScheduleRoute);
|
|
29447
29482
|
|
|
29448
29483
|
// src/data/rest-api/routes/data/searchparameter/searchparameter.ts
|
|
29449
|
-
import
|
|
29484
|
+
import express128 from "express";
|
|
29450
29485
|
|
|
29451
29486
|
// src/data/operations/data/searchparameter/searchparameter-create-operation.ts
|
|
29452
29487
|
import { ulid as ulid114 } from "ulid";
|
|
@@ -29638,15 +29673,15 @@ async function updateSearchParameterRoute(req, res) {
|
|
|
29638
29673
|
}
|
|
29639
29674
|
|
|
29640
29675
|
// src/data/rest-api/routes/data/searchparameter/searchparameter.ts
|
|
29641
|
-
var
|
|
29642
|
-
|
|
29643
|
-
|
|
29644
|
-
|
|
29645
|
-
|
|
29646
|
-
|
|
29676
|
+
var router128 = express128.Router();
|
|
29677
|
+
router128.get("/", listSearchParametersRoute);
|
|
29678
|
+
router128.get("/:id", getSearchParameterByIdRoute);
|
|
29679
|
+
router128.post("/", createSearchParameterRoute);
|
|
29680
|
+
router128.put("/:id", updateSearchParameterRoute);
|
|
29681
|
+
router128.delete("/:id", deleteSearchParameterRoute);
|
|
29647
29682
|
|
|
29648
29683
|
// src/data/rest-api/routes/data/servicerequest/servicerequest.ts
|
|
29649
|
-
import
|
|
29684
|
+
import express129 from "express";
|
|
29650
29685
|
|
|
29651
29686
|
// src/data/operations/data/servicerequest/servicerequest-create-operation.ts
|
|
29652
29687
|
import { ulid as ulid115 } from "ulid";
|
|
@@ -29838,15 +29873,15 @@ async function updateServiceRequestRoute(req, res) {
|
|
|
29838
29873
|
}
|
|
29839
29874
|
|
|
29840
29875
|
// src/data/rest-api/routes/data/servicerequest/servicerequest.ts
|
|
29841
|
-
var
|
|
29842
|
-
|
|
29843
|
-
|
|
29844
|
-
|
|
29845
|
-
|
|
29846
|
-
|
|
29876
|
+
var router129 = express129.Router();
|
|
29877
|
+
router129.get("/", listServiceRequestsRoute);
|
|
29878
|
+
router129.get("/:id", getServiceRequestByIdRoute);
|
|
29879
|
+
router129.post("/", createServiceRequestRoute);
|
|
29880
|
+
router129.put("/:id", updateServiceRequestRoute);
|
|
29881
|
+
router129.delete("/:id", deleteServiceRequestRoute);
|
|
29847
29882
|
|
|
29848
29883
|
// src/data/rest-api/routes/data/slot/slot.ts
|
|
29849
|
-
import
|
|
29884
|
+
import express130 from "express";
|
|
29850
29885
|
|
|
29851
29886
|
// src/data/operations/data/slot/slot-create-operation.ts
|
|
29852
29887
|
import { ulid as ulid116 } from "ulid";
|
|
@@ -30038,15 +30073,15 @@ async function updateSlotRoute(req, res) {
|
|
|
30038
30073
|
}
|
|
30039
30074
|
|
|
30040
30075
|
// src/data/rest-api/routes/data/slot/slot.ts
|
|
30041
|
-
var
|
|
30042
|
-
|
|
30043
|
-
|
|
30044
|
-
|
|
30045
|
-
|
|
30046
|
-
|
|
30076
|
+
var router130 = express130.Router();
|
|
30077
|
+
router130.get("/", listSlotsRoute);
|
|
30078
|
+
router130.get("/:id", getSlotByIdRoute);
|
|
30079
|
+
router130.post("/", createSlotRoute);
|
|
30080
|
+
router130.put("/:id", updateSlotRoute);
|
|
30081
|
+
router130.delete("/:id", deleteSlotRoute);
|
|
30047
30082
|
|
|
30048
30083
|
// src/data/rest-api/routes/data/specimen/specimen.ts
|
|
30049
|
-
import
|
|
30084
|
+
import express131 from "express";
|
|
30050
30085
|
|
|
30051
30086
|
// src/data/operations/data/specimen/specimen-create-operation.ts
|
|
30052
30087
|
import { ulid as ulid117 } from "ulid";
|
|
@@ -30238,15 +30273,15 @@ async function updateSpecimenRoute(req, res) {
|
|
|
30238
30273
|
}
|
|
30239
30274
|
|
|
30240
30275
|
// src/data/rest-api/routes/data/specimen/specimen.ts
|
|
30241
|
-
var
|
|
30242
|
-
|
|
30243
|
-
|
|
30244
|
-
|
|
30245
|
-
|
|
30246
|
-
|
|
30276
|
+
var router131 = express131.Router();
|
|
30277
|
+
router131.get("/", listSpecimensRoute);
|
|
30278
|
+
router131.get("/:id", getSpecimenByIdRoute);
|
|
30279
|
+
router131.post("/", createSpecimenRoute);
|
|
30280
|
+
router131.put("/:id", updateSpecimenRoute);
|
|
30281
|
+
router131.delete("/:id", deleteSpecimenRoute);
|
|
30247
30282
|
|
|
30248
30283
|
// src/data/rest-api/routes/data/specimendefinition/specimendefinition.ts
|
|
30249
|
-
import
|
|
30284
|
+
import express132 from "express";
|
|
30250
30285
|
|
|
30251
30286
|
// src/data/operations/data/specimendefinition/specimendefinition-create-operation.ts
|
|
30252
30287
|
import { ulid as ulid118 } from "ulid";
|
|
@@ -30445,15 +30480,15 @@ async function updateSpecimenDefinitionRoute(req, res) {
|
|
|
30445
30480
|
}
|
|
30446
30481
|
|
|
30447
30482
|
// src/data/rest-api/routes/data/specimendefinition/specimendefinition.ts
|
|
30448
|
-
var
|
|
30449
|
-
|
|
30450
|
-
|
|
30451
|
-
|
|
30452
|
-
|
|
30453
|
-
|
|
30483
|
+
var router132 = express132.Router();
|
|
30484
|
+
router132.get("/", listSpecimenDefinitionsRoute);
|
|
30485
|
+
router132.get("/:id", getSpecimenDefinitionByIdRoute);
|
|
30486
|
+
router132.post("/", createSpecimenDefinitionRoute);
|
|
30487
|
+
router132.put("/:id", updateSpecimenDefinitionRoute);
|
|
30488
|
+
router132.delete("/:id", deleteSpecimenDefinitionRoute);
|
|
30454
30489
|
|
|
30455
30490
|
// src/data/rest-api/routes/data/structuredefinition/structuredefinition.ts
|
|
30456
|
-
import
|
|
30491
|
+
import express133 from "express";
|
|
30457
30492
|
|
|
30458
30493
|
// src/data/operations/data/structuredefinition/structuredefinition-create-operation.ts
|
|
30459
30494
|
import { ulid as ulid119 } from "ulid";
|
|
@@ -30652,15 +30687,15 @@ async function updateStructureDefinitionRoute(req, res) {
|
|
|
30652
30687
|
}
|
|
30653
30688
|
|
|
30654
30689
|
// src/data/rest-api/routes/data/structuredefinition/structuredefinition.ts
|
|
30655
|
-
var
|
|
30656
|
-
|
|
30657
|
-
|
|
30658
|
-
|
|
30659
|
-
|
|
30660
|
-
|
|
30690
|
+
var router133 = express133.Router();
|
|
30691
|
+
router133.get("/", listStructureDefinitionsRoute);
|
|
30692
|
+
router133.get("/:id", getStructureDefinitionByIdRoute);
|
|
30693
|
+
router133.post("/", createStructureDefinitionRoute);
|
|
30694
|
+
router133.put("/:id", updateStructureDefinitionRoute);
|
|
30695
|
+
router133.delete("/:id", deleteStructureDefinitionRoute);
|
|
30661
30696
|
|
|
30662
30697
|
// src/data/rest-api/routes/data/structuremap/structuremap.ts
|
|
30663
|
-
import
|
|
30698
|
+
import express134 from "express";
|
|
30664
30699
|
|
|
30665
30700
|
// src/data/operations/data/structuremap/structuremap-create-operation.ts
|
|
30666
30701
|
import { ulid as ulid120 } from "ulid";
|
|
@@ -30852,15 +30887,15 @@ async function updateStructureMapRoute(req, res) {
|
|
|
30852
30887
|
}
|
|
30853
30888
|
|
|
30854
30889
|
// src/data/rest-api/routes/data/structuremap/structuremap.ts
|
|
30855
|
-
var
|
|
30856
|
-
|
|
30857
|
-
|
|
30858
|
-
|
|
30859
|
-
|
|
30860
|
-
|
|
30890
|
+
var router134 = express134.Router();
|
|
30891
|
+
router134.get("/", listStructureMapsRoute);
|
|
30892
|
+
router134.get("/:id", getStructureMapByIdRoute);
|
|
30893
|
+
router134.post("/", createStructureMapRoute);
|
|
30894
|
+
router134.put("/:id", updateStructureMapRoute);
|
|
30895
|
+
router134.delete("/:id", deleteStructureMapRoute);
|
|
30861
30896
|
|
|
30862
30897
|
// src/data/rest-api/routes/data/subscription/subscription.ts
|
|
30863
|
-
import
|
|
30898
|
+
import express135 from "express";
|
|
30864
30899
|
|
|
30865
30900
|
// src/data/operations/data/subscription/subscription-create-operation.ts
|
|
30866
30901
|
import { ulid as ulid121 } from "ulid";
|
|
@@ -31052,15 +31087,15 @@ async function updateSubscriptionRoute(req, res) {
|
|
|
31052
31087
|
}
|
|
31053
31088
|
|
|
31054
31089
|
// src/data/rest-api/routes/data/subscription/subscription.ts
|
|
31055
|
-
var
|
|
31056
|
-
|
|
31057
|
-
|
|
31058
|
-
|
|
31059
|
-
|
|
31060
|
-
|
|
31090
|
+
var router135 = express135.Router();
|
|
31091
|
+
router135.get("/", listSubscriptionsRoute);
|
|
31092
|
+
router135.get("/:id", getSubscriptionByIdRoute);
|
|
31093
|
+
router135.post("/", createSubscriptionRoute);
|
|
31094
|
+
router135.put("/:id", updateSubscriptionRoute);
|
|
31095
|
+
router135.delete("/:id", deleteSubscriptionRoute);
|
|
31061
31096
|
|
|
31062
31097
|
// src/data/rest-api/routes/data/substance/substance.ts
|
|
31063
|
-
import
|
|
31098
|
+
import express136 from "express";
|
|
31064
31099
|
|
|
31065
31100
|
// src/data/operations/data/substance/substance-create-operation.ts
|
|
31066
31101
|
import { ulid as ulid122 } from "ulid";
|
|
@@ -31252,15 +31287,15 @@ async function updateSubstanceRoute(req, res) {
|
|
|
31252
31287
|
}
|
|
31253
31288
|
|
|
31254
31289
|
// src/data/rest-api/routes/data/substance/substance.ts
|
|
31255
|
-
var
|
|
31256
|
-
|
|
31257
|
-
|
|
31258
|
-
|
|
31259
|
-
|
|
31260
|
-
|
|
31290
|
+
var router136 = express136.Router();
|
|
31291
|
+
router136.get("/", listSubstancesRoute);
|
|
31292
|
+
router136.get("/:id", getSubstanceByIdRoute);
|
|
31293
|
+
router136.post("/", createSubstanceRoute);
|
|
31294
|
+
router136.put("/:id", updateSubstanceRoute);
|
|
31295
|
+
router136.delete("/:id", deleteSubstanceRoute);
|
|
31261
31296
|
|
|
31262
31297
|
// src/data/rest-api/routes/data/substancenucleicacid/substancenucleicacid.ts
|
|
31263
|
-
import
|
|
31298
|
+
import express137 from "express";
|
|
31264
31299
|
|
|
31265
31300
|
// src/data/operations/data/substancenucleicacid/substancenucleicacid-create-operation.ts
|
|
31266
31301
|
import { ulid as ulid123 } from "ulid";
|
|
@@ -31463,15 +31498,15 @@ async function updateSubstanceNucleicAcidRoute(req, res) {
|
|
|
31463
31498
|
}
|
|
31464
31499
|
|
|
31465
31500
|
// src/data/rest-api/routes/data/substancenucleicacid/substancenucleicacid.ts
|
|
31466
|
-
var
|
|
31467
|
-
|
|
31468
|
-
|
|
31469
|
-
|
|
31470
|
-
|
|
31471
|
-
|
|
31501
|
+
var router137 = express137.Router();
|
|
31502
|
+
router137.get("/", listSubstanceNucleicAcidsRoute);
|
|
31503
|
+
router137.get("/:id", getSubstanceNucleicAcidByIdRoute);
|
|
31504
|
+
router137.post("/", createSubstanceNucleicAcidRoute);
|
|
31505
|
+
router137.put("/:id", updateSubstanceNucleicAcidRoute);
|
|
31506
|
+
router137.delete("/:id", deleteSubstanceNucleicAcidRoute);
|
|
31472
31507
|
|
|
31473
31508
|
// src/data/rest-api/routes/data/substancepolymer/substancepolymer.ts
|
|
31474
|
-
import
|
|
31509
|
+
import express138 from "express";
|
|
31475
31510
|
|
|
31476
31511
|
// src/data/operations/data/substancepolymer/substancepolymer-create-operation.ts
|
|
31477
31512
|
import { ulid as ulid124 } from "ulid";
|
|
@@ -31663,15 +31698,15 @@ async function updateSubstancePolymerRoute(req, res) {
|
|
|
31663
31698
|
}
|
|
31664
31699
|
|
|
31665
31700
|
// src/data/rest-api/routes/data/substancepolymer/substancepolymer.ts
|
|
31666
|
-
var
|
|
31667
|
-
|
|
31668
|
-
|
|
31669
|
-
|
|
31670
|
-
|
|
31671
|
-
|
|
31701
|
+
var router138 = express138.Router();
|
|
31702
|
+
router138.get("/", listSubstancePolymersRoute);
|
|
31703
|
+
router138.get("/:id", getSubstancePolymerByIdRoute);
|
|
31704
|
+
router138.post("/", createSubstancePolymerRoute);
|
|
31705
|
+
router138.put("/:id", updateSubstancePolymerRoute);
|
|
31706
|
+
router138.delete("/:id", deleteSubstancePolymerRoute);
|
|
31672
31707
|
|
|
31673
31708
|
// src/data/rest-api/routes/data/substanceprotein/substanceprotein.ts
|
|
31674
|
-
import
|
|
31709
|
+
import express139 from "express";
|
|
31675
31710
|
|
|
31676
31711
|
// src/data/operations/data/substanceprotein/substanceprotein-create-operation.ts
|
|
31677
31712
|
import { ulid as ulid125 } from "ulid";
|
|
@@ -31863,15 +31898,15 @@ async function updateSubstanceProteinRoute(req, res) {
|
|
|
31863
31898
|
}
|
|
31864
31899
|
|
|
31865
31900
|
// src/data/rest-api/routes/data/substanceprotein/substanceprotein.ts
|
|
31866
|
-
var
|
|
31867
|
-
|
|
31868
|
-
|
|
31869
|
-
|
|
31870
|
-
|
|
31871
|
-
|
|
31901
|
+
var router139 = express139.Router();
|
|
31902
|
+
router139.get("/", listSubstanceProteinsRoute);
|
|
31903
|
+
router139.get("/:id", getSubstanceProteinByIdRoute);
|
|
31904
|
+
router139.post("/", createSubstanceProteinRoute);
|
|
31905
|
+
router139.put("/:id", updateSubstanceProteinRoute);
|
|
31906
|
+
router139.delete("/:id", deleteSubstanceProteinRoute);
|
|
31872
31907
|
|
|
31873
31908
|
// src/data/rest-api/routes/data/substancereferenceinformation/substancereferenceinformation.ts
|
|
31874
|
-
import
|
|
31909
|
+
import express140 from "express";
|
|
31875
31910
|
|
|
31876
31911
|
// src/data/operations/data/substancereferenceinformation/substancereferenceinformation-create-operation.ts
|
|
31877
31912
|
import { ulid as ulid126 } from "ulid";
|
|
@@ -32082,15 +32117,15 @@ async function updateSubstanceReferenceInformationRoute(req, res) {
|
|
|
32082
32117
|
}
|
|
32083
32118
|
|
|
32084
32119
|
// src/data/rest-api/routes/data/substancereferenceinformation/substancereferenceinformation.ts
|
|
32085
|
-
var
|
|
32086
|
-
|
|
32087
|
-
|
|
32088
|
-
|
|
32089
|
-
|
|
32090
|
-
|
|
32120
|
+
var router140 = express140.Router();
|
|
32121
|
+
router140.get("/", listSubstanceReferenceInformationsRoute);
|
|
32122
|
+
router140.get("/:id", getSubstanceReferenceInformationByIdRoute);
|
|
32123
|
+
router140.post("/", createSubstanceReferenceInformationRoute);
|
|
32124
|
+
router140.put("/:id", updateSubstanceReferenceInformationRoute);
|
|
32125
|
+
router140.delete("/:id", deleteSubstanceReferenceInformationRoute);
|
|
32091
32126
|
|
|
32092
32127
|
// src/data/rest-api/routes/data/substancesourcematerial/substancesourcematerial.ts
|
|
32093
|
-
import
|
|
32128
|
+
import express141 from "express";
|
|
32094
32129
|
|
|
32095
32130
|
// src/data/operations/data/substancesourcematerial/substancesourcematerial-create-operation.ts
|
|
32096
32131
|
import { ulid as ulid127 } from "ulid";
|
|
@@ -32301,15 +32336,15 @@ async function updateSubstanceSourceMaterialRoute(req, res) {
|
|
|
32301
32336
|
}
|
|
32302
32337
|
|
|
32303
32338
|
// src/data/rest-api/routes/data/substancesourcematerial/substancesourcematerial.ts
|
|
32304
|
-
var
|
|
32305
|
-
|
|
32306
|
-
|
|
32307
|
-
|
|
32308
|
-
|
|
32309
|
-
|
|
32339
|
+
var router141 = express141.Router();
|
|
32340
|
+
router141.get("/", listSubstanceSourceMaterialsRoute);
|
|
32341
|
+
router141.get("/:id", getSubstanceSourceMaterialByIdRoute);
|
|
32342
|
+
router141.post("/", createSubstanceSourceMaterialRoute);
|
|
32343
|
+
router141.put("/:id", updateSubstanceSourceMaterialRoute);
|
|
32344
|
+
router141.delete("/:id", deleteSubstanceSourceMaterialRoute);
|
|
32310
32345
|
|
|
32311
32346
|
// src/data/rest-api/routes/data/substancespecification/substancespecification.ts
|
|
32312
|
-
import
|
|
32347
|
+
import express142 from "express";
|
|
32313
32348
|
|
|
32314
32349
|
// src/data/operations/data/substancespecification/substancespecification-create-operation.ts
|
|
32315
32350
|
import { ulid as ulid128 } from "ulid";
|
|
@@ -32520,15 +32555,15 @@ async function updateSubstanceSpecificationRoute(req, res) {
|
|
|
32520
32555
|
}
|
|
32521
32556
|
|
|
32522
32557
|
// src/data/rest-api/routes/data/substancespecification/substancespecification.ts
|
|
32523
|
-
var
|
|
32524
|
-
|
|
32525
|
-
|
|
32526
|
-
|
|
32527
|
-
|
|
32528
|
-
|
|
32558
|
+
var router142 = express142.Router();
|
|
32559
|
+
router142.get("/", listSubstanceSpecificationsRoute);
|
|
32560
|
+
router142.get("/:id", getSubstanceSpecificationByIdRoute);
|
|
32561
|
+
router142.post("/", createSubstanceSpecificationRoute);
|
|
32562
|
+
router142.put("/:id", updateSubstanceSpecificationRoute);
|
|
32563
|
+
router142.delete("/:id", deleteSubstanceSpecificationRoute);
|
|
32529
32564
|
|
|
32530
32565
|
// src/data/rest-api/routes/data/supplydelivery/supplydelivery.ts
|
|
32531
|
-
import
|
|
32566
|
+
import express143 from "express";
|
|
32532
32567
|
|
|
32533
32568
|
// src/data/operations/data/supplydelivery/supplydelivery-create-operation.ts
|
|
32534
32569
|
import { ulid as ulid129 } from "ulid";
|
|
@@ -32720,15 +32755,15 @@ async function updateSupplyDeliveryRoute(req, res) {
|
|
|
32720
32755
|
}
|
|
32721
32756
|
|
|
32722
32757
|
// src/data/rest-api/routes/data/supplydelivery/supplydelivery.ts
|
|
32723
|
-
var
|
|
32724
|
-
|
|
32725
|
-
|
|
32726
|
-
|
|
32727
|
-
|
|
32728
|
-
|
|
32758
|
+
var router143 = express143.Router();
|
|
32759
|
+
router143.get("/", listSupplyDeliverysRoute);
|
|
32760
|
+
router143.get("/:id", getSupplyDeliveryByIdRoute);
|
|
32761
|
+
router143.post("/", createSupplyDeliveryRoute);
|
|
32762
|
+
router143.put("/:id", updateSupplyDeliveryRoute);
|
|
32763
|
+
router143.delete("/:id", deleteSupplyDeliveryRoute);
|
|
32729
32764
|
|
|
32730
32765
|
// src/data/rest-api/routes/data/supplyrequest/supplyrequest.ts
|
|
32731
|
-
import
|
|
32766
|
+
import express144 from "express";
|
|
32732
32767
|
|
|
32733
32768
|
// src/data/operations/data/supplyrequest/supplyrequest-create-operation.ts
|
|
32734
32769
|
import { ulid as ulid130 } from "ulid";
|
|
@@ -32920,15 +32955,15 @@ async function updateSupplyRequestRoute(req, res) {
|
|
|
32920
32955
|
}
|
|
32921
32956
|
|
|
32922
32957
|
// src/data/rest-api/routes/data/supplyrequest/supplyrequest.ts
|
|
32923
|
-
var
|
|
32924
|
-
|
|
32925
|
-
|
|
32926
|
-
|
|
32927
|
-
|
|
32928
|
-
|
|
32958
|
+
var router144 = express144.Router();
|
|
32959
|
+
router144.get("/", listSupplyRequestsRoute);
|
|
32960
|
+
router144.get("/:id", getSupplyRequestByIdRoute);
|
|
32961
|
+
router144.post("/", createSupplyRequestRoute);
|
|
32962
|
+
router144.put("/:id", updateSupplyRequestRoute);
|
|
32963
|
+
router144.delete("/:id", deleteSupplyRequestRoute);
|
|
32929
32964
|
|
|
32930
32965
|
// src/data/rest-api/routes/data/task/task.ts
|
|
32931
|
-
import
|
|
32966
|
+
import express145 from "express";
|
|
32932
32967
|
|
|
32933
32968
|
// src/data/operations/data/task/task-create-operation.ts
|
|
32934
32969
|
import { ulid as ulid131 } from "ulid";
|
|
@@ -33276,15 +33311,15 @@ async function updateTaskRoute(req, res) {
|
|
|
33276
33311
|
}
|
|
33277
33312
|
|
|
33278
33313
|
// src/data/rest-api/routes/data/task/task.ts
|
|
33279
|
-
var
|
|
33280
|
-
|
|
33281
|
-
|
|
33282
|
-
|
|
33283
|
-
|
|
33284
|
-
|
|
33314
|
+
var router145 = express145.Router();
|
|
33315
|
+
router145.get("/", listTasksRoute);
|
|
33316
|
+
router145.get("/:id", getTaskByIdRoute);
|
|
33317
|
+
router145.post("/", createTaskRoute);
|
|
33318
|
+
router145.put("/:id", updateTaskRoute);
|
|
33319
|
+
router145.delete("/:id", deleteTaskRoute);
|
|
33285
33320
|
|
|
33286
33321
|
// src/data/rest-api/routes/data/terminologycapabilities/terminologycapabilities.ts
|
|
33287
|
-
import
|
|
33322
|
+
import express146 from "express";
|
|
33288
33323
|
|
|
33289
33324
|
// src/data/operations/data/terminologycapabilities/terminologycapabilities-create-operation.ts
|
|
33290
33325
|
import { ulid as ulid132 } from "ulid";
|
|
@@ -33495,15 +33530,15 @@ async function updateTerminologyCapabilitiesRoute(req, res) {
|
|
|
33495
33530
|
}
|
|
33496
33531
|
|
|
33497
33532
|
// src/data/rest-api/routes/data/terminologycapabilities/terminologycapabilities.ts
|
|
33498
|
-
var
|
|
33499
|
-
|
|
33500
|
-
|
|
33501
|
-
|
|
33502
|
-
|
|
33503
|
-
|
|
33533
|
+
var router146 = express146.Router();
|
|
33534
|
+
router146.get("/", listTerminologyCapabilitiessRoute);
|
|
33535
|
+
router146.get("/:id", getTerminologyCapabilitiesByIdRoute);
|
|
33536
|
+
router146.post("/", createTerminologyCapabilitiesRoute);
|
|
33537
|
+
router146.put("/:id", updateTerminologyCapabilitiesRoute);
|
|
33538
|
+
router146.delete("/:id", deleteTerminologyCapabilitiesRoute);
|
|
33504
33539
|
|
|
33505
33540
|
// src/data/rest-api/routes/data/testreport/testreport.ts
|
|
33506
|
-
import
|
|
33541
|
+
import express147 from "express";
|
|
33507
33542
|
|
|
33508
33543
|
// src/data/operations/data/testreport/testreport-create-operation.ts
|
|
33509
33544
|
import { ulid as ulid133 } from "ulid";
|
|
@@ -33695,15 +33730,15 @@ async function updateTestReportRoute(req, res) {
|
|
|
33695
33730
|
}
|
|
33696
33731
|
|
|
33697
33732
|
// src/data/rest-api/routes/data/testreport/testreport.ts
|
|
33698
|
-
var
|
|
33699
|
-
|
|
33700
|
-
|
|
33701
|
-
|
|
33702
|
-
|
|
33703
|
-
|
|
33733
|
+
var router147 = express147.Router();
|
|
33734
|
+
router147.get("/", listTestReportsRoute);
|
|
33735
|
+
router147.get("/:id", getTestReportByIdRoute);
|
|
33736
|
+
router147.post("/", createTestReportRoute);
|
|
33737
|
+
router147.put("/:id", updateTestReportRoute);
|
|
33738
|
+
router147.delete("/:id", deleteTestReportRoute);
|
|
33704
33739
|
|
|
33705
33740
|
// src/data/rest-api/routes/data/testscript/testscript.ts
|
|
33706
|
-
import
|
|
33741
|
+
import express148 from "express";
|
|
33707
33742
|
|
|
33708
33743
|
// src/data/operations/data/testscript/testscript-create-operation.ts
|
|
33709
33744
|
import { ulid as ulid134 } from "ulid";
|
|
@@ -33895,15 +33930,15 @@ async function updateTestScriptRoute(req, res) {
|
|
|
33895
33930
|
}
|
|
33896
33931
|
|
|
33897
33932
|
// src/data/rest-api/routes/data/testscript/testscript.ts
|
|
33898
|
-
var
|
|
33899
|
-
|
|
33900
|
-
|
|
33901
|
-
|
|
33902
|
-
|
|
33903
|
-
|
|
33933
|
+
var router148 = express148.Router();
|
|
33934
|
+
router148.get("/", listTestScriptsRoute);
|
|
33935
|
+
router148.get("/:id", getTestScriptByIdRoute);
|
|
33936
|
+
router148.post("/", createTestScriptRoute);
|
|
33937
|
+
router148.put("/:id", updateTestScriptRoute);
|
|
33938
|
+
router148.delete("/:id", deleteTestScriptRoute);
|
|
33904
33939
|
|
|
33905
33940
|
// src/data/rest-api/routes/data/valueset/valueset.ts
|
|
33906
|
-
import
|
|
33941
|
+
import express149 from "express";
|
|
33907
33942
|
|
|
33908
33943
|
// src/data/operations/data/valueset/valueset-create-operation.ts
|
|
33909
33944
|
import { ulid as ulid135 } from "ulid";
|
|
@@ -34095,15 +34130,15 @@ async function updateValueSetRoute(req, res) {
|
|
|
34095
34130
|
}
|
|
34096
34131
|
|
|
34097
34132
|
// src/data/rest-api/routes/data/valueset/valueset.ts
|
|
34098
|
-
var
|
|
34099
|
-
|
|
34100
|
-
|
|
34101
|
-
|
|
34102
|
-
|
|
34103
|
-
|
|
34133
|
+
var router149 = express149.Router();
|
|
34134
|
+
router149.get("/", listValueSetsRoute);
|
|
34135
|
+
router149.get("/:id", getValueSetByIdRoute);
|
|
34136
|
+
router149.post("/", createValueSetRoute);
|
|
34137
|
+
router149.put("/:id", updateValueSetRoute);
|
|
34138
|
+
router149.delete("/:id", deleteValueSetRoute);
|
|
34104
34139
|
|
|
34105
34140
|
// src/data/rest-api/routes/data/verificationresult/verificationresult.ts
|
|
34106
|
-
import
|
|
34141
|
+
import express150 from "express";
|
|
34107
34142
|
|
|
34108
34143
|
// src/data/operations/data/verificationresult/verificationresult-create-operation.ts
|
|
34109
34144
|
import { ulid as ulid136 } from "ulid";
|
|
@@ -34302,15 +34337,15 @@ async function updateVerificationResultRoute(req, res) {
|
|
|
34302
34337
|
}
|
|
34303
34338
|
|
|
34304
34339
|
// src/data/rest-api/routes/data/verificationresult/verificationresult.ts
|
|
34305
|
-
var
|
|
34306
|
-
|
|
34307
|
-
|
|
34308
|
-
|
|
34309
|
-
|
|
34310
|
-
|
|
34340
|
+
var router150 = express150.Router();
|
|
34341
|
+
router150.get("/", listVerificationResultsRoute);
|
|
34342
|
+
router150.get("/:id", getVerificationResultByIdRoute);
|
|
34343
|
+
router150.post("/", createVerificationResultRoute);
|
|
34344
|
+
router150.put("/:id", updateVerificationResultRoute);
|
|
34345
|
+
router150.delete("/:id", deleteVerificationResultRoute);
|
|
34311
34346
|
|
|
34312
34347
|
// src/data/rest-api/routes/data/visionprescription/visionprescription.ts
|
|
34313
|
-
import
|
|
34348
|
+
import express151 from "express";
|
|
34314
34349
|
|
|
34315
34350
|
// src/data/operations/data/visionprescription/visionprescription-create-operation.ts
|
|
34316
34351
|
import { ulid as ulid137 } from "ulid";
|
|
@@ -34509,24 +34544,25 @@ async function updateVisionPrescriptionRoute(req, res) {
|
|
|
34509
34544
|
}
|
|
34510
34545
|
|
|
34511
34546
|
// src/data/rest-api/routes/data/visionprescription/visionprescription.ts
|
|
34512
|
-
var
|
|
34513
|
-
|
|
34514
|
-
|
|
34515
|
-
|
|
34516
|
-
|
|
34517
|
-
|
|
34547
|
+
var router151 = express151.Router();
|
|
34548
|
+
router151.get("/", listVisionPrescriptionsRoute);
|
|
34549
|
+
router151.get("/:id", getVisionPrescriptionByIdRoute);
|
|
34550
|
+
router151.post("/", createVisionPrescriptionRoute);
|
|
34551
|
+
router151.put("/:id", updateVisionPrescriptionRoute);
|
|
34552
|
+
router151.delete("/:id", deleteVisionPrescriptionRoute);
|
|
34518
34553
|
|
|
34519
34554
|
// src/data/rest-api/rest-api.ts
|
|
34520
|
-
var app =
|
|
34555
|
+
var app = express152();
|
|
34521
34556
|
app.set("view engine", "ejs");
|
|
34522
34557
|
app.set("views", path.join(__dirname, "views"));
|
|
34523
|
-
app.use(
|
|
34524
|
-
app.use(
|
|
34558
|
+
app.use(express152.json());
|
|
34559
|
+
app.use(express152.urlencoded({ extended: true }));
|
|
34525
34560
|
app.use(normalizeJsonBodyMiddleware);
|
|
34526
34561
|
app.get("/", (_req, res) => {
|
|
34527
34562
|
return res.status(200).json({ message: "POC App is running" });
|
|
34528
34563
|
});
|
|
34529
|
-
app.use("/User",
|
|
34564
|
+
app.use("/User", router8);
|
|
34565
|
+
app.use("/control/runtime-config", router5);
|
|
34530
34566
|
app.use(
|
|
34531
34567
|
[
|
|
34532
34568
|
"/Account",
|
|
@@ -34681,164 +34717,164 @@ app.use(
|
|
|
34681
34717
|
],
|
|
34682
34718
|
openHiContextMiddleware
|
|
34683
34719
|
);
|
|
34684
|
-
app.use("/Account",
|
|
34685
|
-
app.use("/ActivityDefinition",
|
|
34686
|
-
app.use("/AdverseEvent",
|
|
34687
|
-
app.use("/AllergyIntolerance",
|
|
34688
|
-
app.use("/Appointment",
|
|
34689
|
-
app.use("/AppointmentResponse",
|
|
34690
|
-
app.use("/AuditEvent",
|
|
34691
|
-
app.use("/Basic",
|
|
34692
|
-
app.use("/BiologicallyDerivedProduct",
|
|
34693
|
-
app.use("/BodyStructure",
|
|
34694
|
-
app.use("/CapabilityStatement",
|
|
34695
|
-
app.use("/CarePlan",
|
|
34696
|
-
app.use("/CareTeam",
|
|
34697
|
-
app.use("/CatalogEntry",
|
|
34698
|
-
app.use("/ChargeItem",
|
|
34699
|
-
app.use("/ChargeItemDefinition",
|
|
34700
|
-
app.use("/Claim",
|
|
34701
|
-
app.use("/ClaimResponse",
|
|
34702
|
-
app.use("/ClinicalImpression",
|
|
34703
|
-
app.use("/CodeSystem",
|
|
34704
|
-
app.use("/CompartmentDefinition",
|
|
34705
|
-
app.use("/Communication",
|
|
34706
|
-
app.use("/CommunicationRequest",
|
|
34707
|
-
app.use("/Composition",
|
|
34708
|
-
app.use("/ConceptMap",
|
|
34709
|
-
app.use("/Condition",
|
|
34710
|
-
app.use("/Consent",
|
|
34711
|
-
app.use("/Contract",
|
|
34712
|
-
app.use("/Coverage",
|
|
34713
|
-
app.use("/CoverageEligibilityRequest",
|
|
34714
|
-
app.use("/CoverageEligibilityResponse",
|
|
34715
|
-
app.use("/DetectedIssue",
|
|
34716
|
-
app.use("/Device",
|
|
34717
|
-
app.use("/DeviceDefinition",
|
|
34718
|
-
app.use("/DeviceMetric",
|
|
34719
|
-
app.use("/DeviceRequest",
|
|
34720
|
-
app.use("/DeviceUseStatement",
|
|
34721
|
-
app.use("/DiagnosticReport",
|
|
34722
|
-
app.use("/DocumentManifest",
|
|
34723
|
-
app.use("/DocumentReference",
|
|
34724
|
-
app.use("/EffectEvidenceSynthesis",
|
|
34725
|
-
app.use("/Encounter",
|
|
34726
|
-
app.use("/Endpoint",
|
|
34727
|
-
app.use("/EnrollmentRequest",
|
|
34728
|
-
app.use("/EnrollmentResponse",
|
|
34729
|
-
app.use("/EpisodeOfCare",
|
|
34730
|
-
app.use("/EventDefinition",
|
|
34731
|
-
app.use("/Evidence",
|
|
34732
|
-
app.use("/EvidenceVariable",
|
|
34733
|
-
app.use("/ExampleScenario",
|
|
34734
|
-
app.use("/ExplanationOfBenefit",
|
|
34735
|
-
app.use("/FamilyMemberHistory",
|
|
34736
|
-
app.use("/Flag",
|
|
34737
|
-
app.use("/Goal",
|
|
34738
|
-
app.use("/GraphDefinition",
|
|
34739
|
-
app.use("/Group",
|
|
34740
|
-
app.use("/GuidanceResponse",
|
|
34741
|
-
app.use("/HealthcareService",
|
|
34742
|
-
app.use("/ImplementationGuide",
|
|
34743
|
-
app.use("/ImagingStudy",
|
|
34744
|
-
app.use("/Immunization",
|
|
34745
|
-
app.use("/ImmunizationEvaluation",
|
|
34746
|
-
app.use("/ImmunizationRecommendation",
|
|
34747
|
-
app.use("/InsurancePlan",
|
|
34748
|
-
app.use("/Invoice",
|
|
34749
|
-
app.use("/Library",
|
|
34750
|
-
app.use("/Linkage",
|
|
34751
|
-
app.use("/List",
|
|
34752
|
-
app.use("/Location",
|
|
34753
|
-
app.use("/Measure",
|
|
34754
|
-
app.use("/MeasureReport",
|
|
34755
|
-
app.use("/Media",
|
|
34756
|
-
app.use("/Medication",
|
|
34757
|
-
app.use("/MedicationAdministration",
|
|
34758
|
-
app.use("/MedicationDispense",
|
|
34759
|
-
app.use("/MedicationKnowledge",
|
|
34760
|
-
app.use("/MedicationRequest",
|
|
34761
|
-
app.use("/MedicationStatement",
|
|
34762
|
-
app.use("/MedicinalProduct",
|
|
34763
|
-
app.use("/MedicinalProductAuthorization",
|
|
34720
|
+
app.use("/Account", router10);
|
|
34721
|
+
app.use("/ActivityDefinition", router11);
|
|
34722
|
+
app.use("/AdverseEvent", router12);
|
|
34723
|
+
app.use("/AllergyIntolerance", router13);
|
|
34724
|
+
app.use("/Appointment", router14);
|
|
34725
|
+
app.use("/AppointmentResponse", router15);
|
|
34726
|
+
app.use("/AuditEvent", router16);
|
|
34727
|
+
app.use("/Basic", router17);
|
|
34728
|
+
app.use("/BiologicallyDerivedProduct", router18);
|
|
34729
|
+
app.use("/BodyStructure", router19);
|
|
34730
|
+
app.use("/CapabilityStatement", router20);
|
|
34731
|
+
app.use("/CarePlan", router21);
|
|
34732
|
+
app.use("/CareTeam", router22);
|
|
34733
|
+
app.use("/CatalogEntry", router23);
|
|
34734
|
+
app.use("/ChargeItem", router24);
|
|
34735
|
+
app.use("/ChargeItemDefinition", router25);
|
|
34736
|
+
app.use("/Claim", router26);
|
|
34737
|
+
app.use("/ClaimResponse", router27);
|
|
34738
|
+
app.use("/ClinicalImpression", router28);
|
|
34739
|
+
app.use("/CodeSystem", router29);
|
|
34740
|
+
app.use("/CompartmentDefinition", router32);
|
|
34741
|
+
app.use("/Communication", router30);
|
|
34742
|
+
app.use("/CommunicationRequest", router31);
|
|
34743
|
+
app.use("/Composition", router33);
|
|
34744
|
+
app.use("/ConceptMap", router34);
|
|
34745
|
+
app.use("/Condition", router35);
|
|
34746
|
+
app.use("/Consent", router36);
|
|
34747
|
+
app.use("/Contract", router37);
|
|
34748
|
+
app.use("/Coverage", router38);
|
|
34749
|
+
app.use("/CoverageEligibilityRequest", router39);
|
|
34750
|
+
app.use("/CoverageEligibilityResponse", router40);
|
|
34751
|
+
app.use("/DetectedIssue", router41);
|
|
34752
|
+
app.use("/Device", router42);
|
|
34753
|
+
app.use("/DeviceDefinition", router43);
|
|
34754
|
+
app.use("/DeviceMetric", router44);
|
|
34755
|
+
app.use("/DeviceRequest", router45);
|
|
34756
|
+
app.use("/DeviceUseStatement", router46);
|
|
34757
|
+
app.use("/DiagnosticReport", router47);
|
|
34758
|
+
app.use("/DocumentManifest", router48);
|
|
34759
|
+
app.use("/DocumentReference", router49);
|
|
34760
|
+
app.use("/EffectEvidenceSynthesis", router50);
|
|
34761
|
+
app.use("/Encounter", router51);
|
|
34762
|
+
app.use("/Endpoint", router52);
|
|
34763
|
+
app.use("/EnrollmentRequest", router53);
|
|
34764
|
+
app.use("/EnrollmentResponse", router54);
|
|
34765
|
+
app.use("/EpisodeOfCare", router55);
|
|
34766
|
+
app.use("/EventDefinition", router56);
|
|
34767
|
+
app.use("/Evidence", router57);
|
|
34768
|
+
app.use("/EvidenceVariable", router58);
|
|
34769
|
+
app.use("/ExampleScenario", router59);
|
|
34770
|
+
app.use("/ExplanationOfBenefit", router60);
|
|
34771
|
+
app.use("/FamilyMemberHistory", router61);
|
|
34772
|
+
app.use("/Flag", router62);
|
|
34773
|
+
app.use("/Goal", router63);
|
|
34774
|
+
app.use("/GraphDefinition", router64);
|
|
34775
|
+
app.use("/Group", router65);
|
|
34776
|
+
app.use("/GuidanceResponse", router66);
|
|
34777
|
+
app.use("/HealthcareService", router67);
|
|
34778
|
+
app.use("/ImplementationGuide", router72);
|
|
34779
|
+
app.use("/ImagingStudy", router68);
|
|
34780
|
+
app.use("/Immunization", router69);
|
|
34781
|
+
app.use("/ImmunizationEvaluation", router70);
|
|
34782
|
+
app.use("/ImmunizationRecommendation", router71);
|
|
34783
|
+
app.use("/InsurancePlan", router73);
|
|
34784
|
+
app.use("/Invoice", router74);
|
|
34785
|
+
app.use("/Library", router75);
|
|
34786
|
+
app.use("/Linkage", router76);
|
|
34787
|
+
app.use("/List", router77);
|
|
34788
|
+
app.use("/Location", router78);
|
|
34789
|
+
app.use("/Measure", router79);
|
|
34790
|
+
app.use("/MeasureReport", router80);
|
|
34791
|
+
app.use("/Media", router81);
|
|
34792
|
+
app.use("/Medication", router82);
|
|
34793
|
+
app.use("/MedicationAdministration", router83);
|
|
34794
|
+
app.use("/MedicationDispense", router84);
|
|
34795
|
+
app.use("/MedicationKnowledge", router85);
|
|
34796
|
+
app.use("/MedicationRequest", router86);
|
|
34797
|
+
app.use("/MedicationStatement", router87);
|
|
34798
|
+
app.use("/MedicinalProduct", router88);
|
|
34799
|
+
app.use("/MedicinalProductAuthorization", router89);
|
|
34764
34800
|
app.use(
|
|
34765
34801
|
"/MedicinalProductContraindication",
|
|
34766
|
-
|
|
34802
|
+
router90
|
|
34767
34803
|
);
|
|
34768
|
-
app.use("/MedicinalProductIngredient",
|
|
34769
|
-
app.use("/MedicinalProductIndication",
|
|
34770
|
-
app.use("/MedicinalProductInteraction",
|
|
34771
|
-
app.use("/MedicinalProductManufactured",
|
|
34772
|
-
app.use("/MedicinalProductPackaged",
|
|
34804
|
+
app.use("/MedicinalProductIngredient", router92);
|
|
34805
|
+
app.use("/MedicinalProductIndication", router91);
|
|
34806
|
+
app.use("/MedicinalProductInteraction", router93);
|
|
34807
|
+
app.use("/MedicinalProductManufactured", router94);
|
|
34808
|
+
app.use("/MedicinalProductPackaged", router95);
|
|
34773
34809
|
app.use(
|
|
34774
34810
|
"/MedicinalProductPharmaceutical",
|
|
34775
|
-
|
|
34811
|
+
router96
|
|
34776
34812
|
);
|
|
34777
34813
|
app.use(
|
|
34778
34814
|
"/MedicinalProductUndesirableEffect",
|
|
34779
|
-
|
|
34815
|
+
router97
|
|
34780
34816
|
);
|
|
34781
|
-
app.use("/MessageDefinition",
|
|
34782
|
-
app.use("/MessageHeader",
|
|
34783
|
-
app.use("/MolecularSequence",
|
|
34784
|
-
app.use("/NamingSystem",
|
|
34785
|
-
app.use("/NutritionOrder",
|
|
34786
|
-
app.use("/Observation",
|
|
34787
|
-
app.use("/ObservationDefinition",
|
|
34788
|
-
app.use("/OperationDefinition",
|
|
34789
|
-
app.use("/Organization",
|
|
34790
|
-
app.use("/OrganizationAffiliation",
|
|
34791
|
-
app.use("/Patient",
|
|
34792
|
-
app.use("/PaymentNotice",
|
|
34793
|
-
app.use("/PaymentReconciliation",
|
|
34794
|
-
app.use("/Person",
|
|
34795
|
-
app.use("/PlanDefinition",
|
|
34796
|
-
app.use("/Practitioner",
|
|
34797
|
-
app.use("/PractitionerRole",
|
|
34798
|
-
app.use("/Procedure",
|
|
34799
|
-
app.use("/Provenance",
|
|
34800
|
-
app.use("/Questionnaire",
|
|
34801
|
-
app.use("/QuestionnaireResponse",
|
|
34802
|
-
app.use("/RelatedPerson",
|
|
34803
|
-
app.use("/RequestGroup",
|
|
34804
|
-
app.use("/ResearchDefinition",
|
|
34805
|
-
app.use("/ResearchElementDefinition",
|
|
34806
|
-
app.use("/ResearchStudy",
|
|
34807
|
-
app.use("/ResearchSubject",
|
|
34808
|
-
app.use("/RiskAssessment",
|
|
34809
|
-
app.use("/RiskEvidenceSynthesis",
|
|
34810
|
-
app.use("/Schedule",
|
|
34811
|
-
app.use("/ServiceRequest",
|
|
34812
|
-
app.use("/SearchParameter",
|
|
34813
|
-
app.use("/Slot",
|
|
34814
|
-
app.use("/SpecimenDefinition",
|
|
34815
|
-
app.use("/Specimen",
|
|
34816
|
-
app.use("/StructureDefinition",
|
|
34817
|
-
app.use("/StructureMap",
|
|
34818
|
-
app.use("/Subscription",
|
|
34819
|
-
app.use("/Substance",
|
|
34820
|
-
app.use("/SubstanceNucleicAcid",
|
|
34821
|
-
app.use("/SubstancePolymer",
|
|
34822
|
-
app.use("/SubstanceProtein",
|
|
34823
|
-
app.use("/SubstanceReferenceInformation",
|
|
34824
|
-
app.use("/SubstanceSpecification",
|
|
34825
|
-
app.use("/SubstanceSourceMaterial",
|
|
34826
|
-
app.use("/SupplyDelivery",
|
|
34827
|
-
app.use("/SupplyRequest",
|
|
34828
|
-
app.use("/Task",
|
|
34829
|
-
app.use("/TerminologyCapabilities",
|
|
34830
|
-
app.use("/TestReport",
|
|
34831
|
-
app.use("/TestScript",
|
|
34832
|
-
app.use("/ValueSet",
|
|
34833
|
-
app.use("/VerificationResult",
|
|
34834
|
-
app.use("/VisionPrescription",
|
|
34817
|
+
app.use("/MessageDefinition", router98);
|
|
34818
|
+
app.use("/MessageHeader", router99);
|
|
34819
|
+
app.use("/MolecularSequence", router100);
|
|
34820
|
+
app.use("/NamingSystem", router101);
|
|
34821
|
+
app.use("/NutritionOrder", router102);
|
|
34822
|
+
app.use("/Observation", router103);
|
|
34823
|
+
app.use("/ObservationDefinition", router104);
|
|
34824
|
+
app.use("/OperationDefinition", router105);
|
|
34825
|
+
app.use("/Organization", router106);
|
|
34826
|
+
app.use("/OrganizationAffiliation", router107);
|
|
34827
|
+
app.use("/Patient", router108);
|
|
34828
|
+
app.use("/PaymentNotice", router109);
|
|
34829
|
+
app.use("/PaymentReconciliation", router110);
|
|
34830
|
+
app.use("/Person", router111);
|
|
34831
|
+
app.use("/PlanDefinition", router112);
|
|
34832
|
+
app.use("/Practitioner", router113);
|
|
34833
|
+
app.use("/PractitionerRole", router114);
|
|
34834
|
+
app.use("/Procedure", router115);
|
|
34835
|
+
app.use("/Provenance", router116);
|
|
34836
|
+
app.use("/Questionnaire", router117);
|
|
34837
|
+
app.use("/QuestionnaireResponse", router118);
|
|
34838
|
+
app.use("/RelatedPerson", router119);
|
|
34839
|
+
app.use("/RequestGroup", router120);
|
|
34840
|
+
app.use("/ResearchDefinition", router121);
|
|
34841
|
+
app.use("/ResearchElementDefinition", router122);
|
|
34842
|
+
app.use("/ResearchStudy", router123);
|
|
34843
|
+
app.use("/ResearchSubject", router124);
|
|
34844
|
+
app.use("/RiskAssessment", router125);
|
|
34845
|
+
app.use("/RiskEvidenceSynthesis", router126);
|
|
34846
|
+
app.use("/Schedule", router127);
|
|
34847
|
+
app.use("/ServiceRequest", router129);
|
|
34848
|
+
app.use("/SearchParameter", router128);
|
|
34849
|
+
app.use("/Slot", router130);
|
|
34850
|
+
app.use("/SpecimenDefinition", router132);
|
|
34851
|
+
app.use("/Specimen", router131);
|
|
34852
|
+
app.use("/StructureDefinition", router133);
|
|
34853
|
+
app.use("/StructureMap", router134);
|
|
34854
|
+
app.use("/Subscription", router135);
|
|
34855
|
+
app.use("/Substance", router136);
|
|
34856
|
+
app.use("/SubstanceNucleicAcid", router137);
|
|
34857
|
+
app.use("/SubstancePolymer", router138);
|
|
34858
|
+
app.use("/SubstanceProtein", router139);
|
|
34859
|
+
app.use("/SubstanceReferenceInformation", router140);
|
|
34860
|
+
app.use("/SubstanceSpecification", router142);
|
|
34861
|
+
app.use("/SubstanceSourceMaterial", router141);
|
|
34862
|
+
app.use("/SupplyDelivery", router143);
|
|
34863
|
+
app.use("/SupplyRequest", router144);
|
|
34864
|
+
app.use("/Task", router145);
|
|
34865
|
+
app.use("/TerminologyCapabilities", router146);
|
|
34866
|
+
app.use("/TestReport", router147);
|
|
34867
|
+
app.use("/TestScript", router148);
|
|
34868
|
+
app.use("/ValueSet", router149);
|
|
34869
|
+
app.use("/VerificationResult", router150);
|
|
34870
|
+
app.use("/VisionPrescription", router151);
|
|
34835
34871
|
app.use("/Configuration", router);
|
|
34836
34872
|
app.use("/Membership", router2);
|
|
34837
34873
|
app.use("/Role", router3);
|
|
34838
34874
|
app.use("/RoleAssignment", router4);
|
|
34839
|
-
app.use("/Tenant",
|
|
34840
|
-
app.use("/User",
|
|
34841
|
-
app.use("/Workspace",
|
|
34875
|
+
app.use("/Tenant", router6);
|
|
34876
|
+
app.use("/User", router7);
|
|
34877
|
+
app.use("/Workspace", router9);
|
|
34842
34878
|
app.use((_req, res) => {
|
|
34843
34879
|
res.status(404).json({
|
|
34844
34880
|
resourceType: "OperationOutcome",
|