@haste-health/generated-ops 0.13.0 → 0.126.3

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/r4/ops.js CHANGED
@@ -1,70 +1,4 @@
1
1
  import { Operation } from "@haste-health/operation-execution";
2
- export var ProjectInformation;
3
- (function (ProjectInformation) {
4
- ProjectInformation.Op = new Operation({
5
- resourceType: "OperationDefinition",
6
- id: "project-information",
7
- url: "https://haste.health/OperationDefinition/project-information",
8
- version: "4.0.1",
9
- name: "Current Project Information",
10
- status: "draft",
11
- kind: "operation",
12
- date: "2023-11-16T09:29:23+11:00",
13
- publisher: "HasteHealth",
14
- description: "Get Project resource for the current project.",
15
- code: "current-project",
16
- system: true,
17
- type: false,
18
- instance: false,
19
- parameter: [
20
- {
21
- name: "project",
22
- use: "out",
23
- min: 1,
24
- max: "1",
25
- documentation: "Users current project.",
26
- type: "Project",
27
- },
28
- ],
29
- });
30
- })(ProjectInformation || (ProjectInformation = {}));
31
- export var TenantInformation;
32
- (function (TenantInformation) {
33
- TenantInformation.Op = new Operation({
34
- resourceType: "OperationDefinition",
35
- id: "tenant-information",
36
- url: "https://haste.health/OperationDefinition/tenant-information",
37
- version: "4.0.1",
38
- name: "Current Tenant Information",
39
- status: "draft",
40
- kind: "operation",
41
- date: "2023-11-16T09:29:23+11:00",
42
- publisher: "HasteHealth",
43
- description: "Get tenant information for the current tenant.",
44
- code: "current-tenant",
45
- system: true,
46
- type: false,
47
- instance: false,
48
- parameter: [
49
- {
50
- name: "id",
51
- use: "out",
52
- min: 1,
53
- max: "1",
54
- documentation: "tenant id",
55
- type: "string",
56
- },
57
- {
58
- name: "subscription",
59
- use: "out",
60
- min: 1,
61
- max: "1",
62
- documentation: "tenant subscription level",
63
- type: "code",
64
- },
65
- ],
66
- });
67
- })(TenantInformation || (TenantInformation = {}));
68
2
  export var HasteHealthDeployOperation;
69
3
  (function (HasteHealthDeployOperation) {
70
4
  HasteHealthDeployOperation.Op = new Operation({
@@ -144,175 +78,6 @@ export var HasteHealthEncrypt;
144
78
  ],
145
79
  });
146
80
  })(HasteHealthEncrypt || (HasteHealthEncrypt = {}));
147
- export var TenantEndpointInformation;
148
- (function (TenantEndpointInformation) {
149
- TenantEndpointInformation.Op = new Operation({
150
- resourceType: "OperationDefinition",
151
- id: "tenant-endpoint-information",
152
- url: "https://haste.health/OperationDefinition/tenant-endpoint-information",
153
- version: "4.0.1",
154
- name: "Current Tenant Endpoint Information",
155
- status: "draft",
156
- kind: "operation",
157
- date: "2023-11-16T09:29:23+11:00",
158
- publisher: "HasteHealth",
159
- description: "Get tenant endpoint information for the current tenant.",
160
- code: "endpoints",
161
- system: true,
162
- type: false,
163
- instance: false,
164
- parameter: [
165
- {
166
- name: "fhir-r4-base-url",
167
- use: "out",
168
- min: 1,
169
- max: "1",
170
- documentation: "FHIR R4 Endpoint URL.",
171
- type: "uri",
172
- },
173
- {
174
- name: "fhir-r4-capabilities-url",
175
- use: "out",
176
- min: 1,
177
- max: "1",
178
- documentation: "FHIR R4 Capabilities URL.",
179
- type: "uri",
180
- },
181
- {
182
- name: "oidc-discovery-url",
183
- use: "out",
184
- min: 1,
185
- max: "1",
186
- documentation: "OIDC Discovery URL.",
187
- type: "uri",
188
- },
189
- {
190
- name: "oidc-token-endpoint",
191
- use: "out",
192
- min: 1,
193
- max: "1",
194
- documentation: "OIDC Token Endpoint.",
195
- type: "uri",
196
- },
197
- {
198
- name: "oidc-authorize-endpoint",
199
- use: "out",
200
- min: 1,
201
- max: "1",
202
- documentation: "OIDC Authorize Endpoint.",
203
- type: "uri",
204
- },
205
- {
206
- name: "oidc-jwks-endpoint",
207
- use: "out",
208
- min: 1,
209
- max: "1",
210
- documentation: "OIDC JWKS Endpoint.",
211
- type: "uri",
212
- },
213
- {
214
- name: "mcp-endpoint",
215
- use: "out",
216
- min: 1,
217
- max: "1",
218
- documentation: "Model context protocol endpoint.",
219
- type: "uri",
220
- },
221
- ],
222
- });
223
- })(TenantEndpointInformation || (TenantEndpointInformation = {}));
224
- export var HasteHealthEvaluatePolicy;
225
- (function (HasteHealthEvaluatePolicy) {
226
- HasteHealthEvaluatePolicy.Op = new Operation({
227
- resourceType: "OperationDefinition",
228
- id: "haste-health-evaluate-policy",
229
- url: "https://haste.health/OperationDefinition/evaluate-policy",
230
- version: "4.0.1",
231
- name: "EvaluateAccessPolicy",
232
- status: "draft",
233
- kind: "operation",
234
- date: "2023-11-16T09:29:23+11:00",
235
- publisher: "HasteHealth",
236
- description: "Evaluate an Access Policy.",
237
- code: "evaluate-policy",
238
- system: false,
239
- type: false,
240
- instance: true,
241
- resource: ["AccessPolicyV2"],
242
- parameter: [
243
- {
244
- name: "user",
245
- use: "in",
246
- min: 0,
247
- max: "1",
248
- documentation: "The user to evaluate the policy against. Defaults to logged in user if not present.",
249
- type: "Reference",
250
- },
251
- {
252
- name: "request",
253
- use: "in",
254
- min: 1,
255
- max: "1",
256
- documentation: "The requests to evaluate against the policy.",
257
- type: "Bundle",
258
- },
259
- {
260
- name: "return",
261
- use: "out",
262
- min: 1,
263
- max: "1",
264
- documentation: "The result of the policy evaluation.",
265
- type: "OperationOutcome",
266
- },
267
- ],
268
- });
269
- })(HasteHealthEvaluatePolicy || (HasteHealthEvaluatePolicy = {}));
270
- export var HasteHealthIdpRegistrationInfo;
271
- (function (HasteHealthIdpRegistrationInfo) {
272
- HasteHealthIdpRegistrationInfo.Op = new Operation({
273
- resourceType: "OperationDefinition",
274
- id: "haste-health-idp-registration-info",
275
- url: "https://haste.health/OperationDefinition/identity-provider-registration-info",
276
- version: "4.0.1",
277
- name: "IdentityProviderRegistrationInformation",
278
- status: "draft",
279
- kind: "operation",
280
- publisher: "HasteHealth",
281
- description: "Get the registration information for an identity provider.",
282
- code: "registration-info",
283
- system: false,
284
- type: false,
285
- instance: true,
286
- resource: ["IdentityProvider"],
287
- parameter: [
288
- {
289
- name: "information",
290
- use: "out",
291
- min: 0,
292
- max: "*",
293
- documentation: "IdentityProviders registration information.",
294
- part: [
295
- {
296
- name: "name",
297
- use: "out",
298
- min: 1,
299
- max: "1",
300
- documentation: "The name of the property.",
301
- type: "string",
302
- },
303
- {
304
- name: "value",
305
- use: "out",
306
- min: 1,
307
- max: "1",
308
- documentation: "the value of the property.",
309
- type: "string",
310
- },
311
- ],
312
- },
313
- ],
314
- });
315
- })(HasteHealthIdpRegistrationInfo || (HasteHealthIdpRegistrationInfo = {}));
316
81
  export var HasteHealthInviteUser;
317
82
  (function (HasteHealthInviteUser) {
318
83
  HasteHealthInviteUser.Op = new Operation({
@@ -468,28 +233,488 @@ export var HasteHealthPasswordReset;
468
233
  ],
469
234
  });
470
235
  })(HasteHealthPasswordReset || (HasteHealthPasswordReset = {}));
471
- export var HasteHealthDeleteRefreshToken;
472
- (function (HasteHealthDeleteRefreshToken) {
473
- HasteHealthDeleteRefreshToken.Op = new Operation({
236
+ export var HasteHealthUsageStatistics;
237
+ (function (HasteHealthUsageStatistics) {
238
+ HasteHealthUsageStatistics.Op = new Operation({
474
239
  resourceType: "OperationDefinition",
475
- id: "haste-health-delete-refresh-token",
476
- url: "https://haste.health/OperationDefinition/delete-refresh-tokens",
240
+ id: "haste-health-usage-statistics",
241
+ url: "https://haste.health/OperationDefinition/usage-statistics",
477
242
  version: "4.0.1",
478
- name: "Delete refresh token",
243
+ name: "HasteHealth Usage Statistics",
479
244
  status: "draft",
480
245
  kind: "operation",
481
- date: "2023-11-16T09:29:23+11:00",
246
+ date: "2024-05-16T09:29:23+11:00",
482
247
  publisher: "HasteHealth",
483
- description: "Delete refresh token from the user for the client.",
484
- code: "delete-refresh-token",
248
+ description: "Get current tenants limitations and usage.",
249
+ code: "usage-statistics",
485
250
  system: true,
486
251
  type: false,
487
252
  instance: false,
488
253
  parameter: [
489
254
  {
490
- name: "client_id",
491
- use: "in",
492
- min: 1,
255
+ name: "statistics",
256
+ use: "out",
257
+ min: 0,
258
+ max: "*",
259
+ documentation: "The result of the operation.",
260
+ part: [
261
+ {
262
+ name: "name",
263
+ use: "out",
264
+ min: 1,
265
+ max: "1",
266
+ documentation: "The name of the limit.",
267
+ type: "string",
268
+ },
269
+ {
270
+ name: "version",
271
+ use: "out",
272
+ min: 1,
273
+ max: "1",
274
+ documentation: "The fhir version for the limit.",
275
+ type: "string",
276
+ },
277
+ {
278
+ name: "limit",
279
+ use: "out",
280
+ min: 1,
281
+ max: "1",
282
+ documentation: "Value of the limit.",
283
+ type: "integer",
284
+ },
285
+ {
286
+ name: "usage",
287
+ use: "out",
288
+ min: 1,
289
+ max: "1",
290
+ documentation: "The current usage.",
291
+ type: "integer",
292
+ },
293
+ {
294
+ name: "description",
295
+ use: "out",
296
+ min: 1,
297
+ max: "1",
298
+ documentation: "The description of the limit.",
299
+ type: "string",
300
+ },
301
+ ],
302
+ },
303
+ ],
304
+ });
305
+ })(HasteHealthUsageStatistics || (HasteHealthUsageStatistics = {}));
306
+ export var ProjectInformation;
307
+ (function (ProjectInformation) {
308
+ ProjectInformation.Op = new Operation({
309
+ resourceType: "OperationDefinition",
310
+ id: "project-information",
311
+ url: "https://haste.health/OperationDefinition/project-information",
312
+ version: "4.0.1",
313
+ name: "Current Project Information",
314
+ status: "draft",
315
+ kind: "operation",
316
+ date: "2023-11-16T09:29:23+11:00",
317
+ publisher: "HasteHealth",
318
+ description: "Get Project resource for the current project.",
319
+ code: "current-project",
320
+ system: true,
321
+ type: false,
322
+ instance: false,
323
+ parameter: [
324
+ {
325
+ name: "project",
326
+ use: "out",
327
+ min: 1,
328
+ max: "1",
329
+ documentation: "Users current project.",
330
+ type: "Project",
331
+ },
332
+ ],
333
+ });
334
+ })(ProjectInformation || (ProjectInformation = {}));
335
+ export var TenantInformation;
336
+ (function (TenantInformation) {
337
+ TenantInformation.Op = new Operation({
338
+ resourceType: "OperationDefinition",
339
+ id: "tenant-information",
340
+ url: "https://haste.health/OperationDefinition/tenant-information",
341
+ version: "4.0.1",
342
+ name: "Current Tenant Information",
343
+ status: "draft",
344
+ kind: "operation",
345
+ date: "2023-11-16T09:29:23+11:00",
346
+ publisher: "HasteHealth",
347
+ description: "Get tenant information for the current tenant.",
348
+ code: "current-tenant",
349
+ system: true,
350
+ type: false,
351
+ instance: false,
352
+ parameter: [
353
+ {
354
+ name: "id",
355
+ use: "out",
356
+ min: 1,
357
+ max: "1",
358
+ documentation: "tenant id",
359
+ type: "string",
360
+ },
361
+ {
362
+ name: "subscription",
363
+ use: "out",
364
+ min: 1,
365
+ max: "1",
366
+ documentation: "tenant subscription level",
367
+ type: "code",
368
+ },
369
+ ],
370
+ });
371
+ })(TenantInformation || (TenantInformation = {}));
372
+ export var TenantEndpointInformation;
373
+ (function (TenantEndpointInformation) {
374
+ TenantEndpointInformation.Op = new Operation({
375
+ resourceType: "OperationDefinition",
376
+ id: "tenant-endpoint-information",
377
+ url: "https://haste.health/OperationDefinition/tenant-endpoint-information",
378
+ version: "4.0.1",
379
+ name: "Current Tenant Endpoint Information",
380
+ status: "draft",
381
+ kind: "operation",
382
+ date: "2023-11-16T09:29:23+11:00",
383
+ publisher: "HasteHealth",
384
+ description: "Get tenant endpoint information for the current tenant.",
385
+ code: "endpoints",
386
+ system: true,
387
+ type: false,
388
+ instance: false,
389
+ parameter: [
390
+ {
391
+ name: "fhir-r4-base-url",
392
+ use: "out",
393
+ min: 1,
394
+ max: "1",
395
+ documentation: "FHIR R4 Endpoint URL.",
396
+ type: "uri",
397
+ },
398
+ {
399
+ name: "fhir-r4-capabilities-url",
400
+ use: "out",
401
+ min: 1,
402
+ max: "1",
403
+ documentation: "FHIR R4 Capabilities URL.",
404
+ type: "uri",
405
+ },
406
+ {
407
+ name: "oidc-discovery-url",
408
+ use: "out",
409
+ min: 1,
410
+ max: "1",
411
+ documentation: "OIDC Discovery URL.",
412
+ type: "uri",
413
+ },
414
+ {
415
+ name: "oidc-token-endpoint",
416
+ use: "out",
417
+ min: 1,
418
+ max: "1",
419
+ documentation: "OIDC Token Endpoint.",
420
+ type: "uri",
421
+ },
422
+ {
423
+ name: "oidc-authorize-endpoint",
424
+ use: "out",
425
+ min: 1,
426
+ max: "1",
427
+ documentation: "OIDC Authorize Endpoint.",
428
+ type: "uri",
429
+ },
430
+ {
431
+ name: "oidc-jwks-endpoint",
432
+ use: "out",
433
+ min: 1,
434
+ max: "1",
435
+ documentation: "OIDC JWKS Endpoint.",
436
+ type: "uri",
437
+ },
438
+ {
439
+ name: "mcp-endpoint",
440
+ use: "out",
441
+ min: 1,
442
+ max: "1",
443
+ documentation: "Model context protocol endpoint.",
444
+ type: "uri",
445
+ },
446
+ ],
447
+ });
448
+ })(TenantEndpointInformation || (TenantEndpointInformation = {}));
449
+ export var HasteHealthEvaluatePolicy;
450
+ (function (HasteHealthEvaluatePolicy) {
451
+ HasteHealthEvaluatePolicy.Op = new Operation({
452
+ resourceType: "OperationDefinition",
453
+ id: "haste-health-evaluate-policy",
454
+ url: "https://haste.health/OperationDefinition/evaluate-policy",
455
+ version: "4.0.1",
456
+ name: "EvaluateAccessPolicy",
457
+ status: "draft",
458
+ kind: "operation",
459
+ date: "2023-11-16T09:29:23+11:00",
460
+ publisher: "HasteHealth",
461
+ description: "Evaluate an Access Policy.",
462
+ code: "evaluate-policy",
463
+ system: false,
464
+ type: false,
465
+ instance: true,
466
+ resource: ["AccessPolicyV2"],
467
+ parameter: [
468
+ {
469
+ name: "user",
470
+ use: "in",
471
+ min: 0,
472
+ max: "1",
473
+ documentation: "The user to evaluate the policy against. Defaults to logged in user if not present.",
474
+ type: "Reference",
475
+ },
476
+ {
477
+ name: "request",
478
+ use: "in",
479
+ min: 1,
480
+ max: "1",
481
+ documentation: "The requests to evaluate against the policy.",
482
+ type: "Bundle",
483
+ },
484
+ {
485
+ name: "return",
486
+ use: "out",
487
+ min: 1,
488
+ max: "1",
489
+ documentation: "The result of the policy evaluation.",
490
+ type: "OperationOutcome",
491
+ },
492
+ ],
493
+ });
494
+ })(HasteHealthEvaluatePolicy || (HasteHealthEvaluatePolicy = {}));
495
+ export var Hl7v2Parse;
496
+ (function (Hl7v2Parse) {
497
+ Hl7v2Parse.Op = new Operation({
498
+ resourceType: "OperationDefinition",
499
+ id: "hl7v2-parse",
500
+ url: "https://haste.health/OperationDefinition/hl7v2-parse",
501
+ version: "4.0.1",
502
+ name: "HL7v2 Parse",
503
+ status: "draft",
504
+ kind: "operation",
505
+ date: "2023-11-16T09:29:23+11:00",
506
+ publisher: "HasteHealth",
507
+ description: "Parse HL7v2 messages.",
508
+ code: "hl7v2-parse",
509
+ system: true,
510
+ type: false,
511
+ instance: false,
512
+ parameter: [
513
+ {
514
+ name: "hl7v2",
515
+ use: "in",
516
+ min: 1,
517
+ max: "1",
518
+ documentation: "HL7v2 message to be parsed.",
519
+ type: "string",
520
+ },
521
+ {
522
+ name: "hl7v2",
523
+ use: "out",
524
+ min: 1,
525
+ max: "1",
526
+ documentation: "Parsed HL7v2 message.",
527
+ type: "HL7V2",
528
+ },
529
+ ],
530
+ });
531
+ })(Hl7v2Parse || (Hl7v2Parse = {}));
532
+ export var HasteHealthIdpRegistrationInfo;
533
+ (function (HasteHealthIdpRegistrationInfo) {
534
+ HasteHealthIdpRegistrationInfo.Op = new Operation({
535
+ resourceType: "OperationDefinition",
536
+ id: "haste-health-idp-registration-info",
537
+ url: "https://haste.health/OperationDefinition/identity-provider-registration-info",
538
+ version: "4.0.1",
539
+ name: "IdentityProviderRegistrationInformation",
540
+ status: "draft",
541
+ kind: "operation",
542
+ publisher: "HasteHealth",
543
+ description: "Get the registration information for an identity provider.",
544
+ code: "registration-info",
545
+ system: false,
546
+ type: false,
547
+ instance: true,
548
+ resource: ["IdentityProvider"],
549
+ parameter: [
550
+ {
551
+ name: "information",
552
+ use: "out",
553
+ min: 0,
554
+ max: "*",
555
+ documentation: "IdentityProviders registration information.",
556
+ part: [
557
+ {
558
+ name: "name",
559
+ use: "out",
560
+ min: 1,
561
+ max: "1",
562
+ documentation: "The name of the property.",
563
+ type: "string",
564
+ },
565
+ {
566
+ name: "value",
567
+ use: "out",
568
+ min: 1,
569
+ max: "1",
570
+ documentation: "the value of the property.",
571
+ type: "string",
572
+ },
573
+ ],
574
+ },
575
+ ],
576
+ });
577
+ })(HasteHealthIdpRegistrationInfo || (HasteHealthIdpRegistrationInfo = {}));
578
+ export var HasteHealthIndexingErrors;
579
+ (function (HasteHealthIndexingErrors) {
580
+ HasteHealthIndexingErrors.Op = new Operation({
581
+ resourceType: "OperationDefinition",
582
+ id: "haste-health-indexing-errors",
583
+ url: "https://haste.health/OperationDefinition/indexing-errors",
584
+ version: "4.0.1",
585
+ name: "Show Indexing Errors",
586
+ status: "draft",
587
+ kind: "operation",
588
+ date: "2026-08-15T09:29:23+11:00",
589
+ publisher: "HasteHealth",
590
+ description: "Show resources that failed search indexing for the current tenant and project.",
591
+ code: "indexing-errors",
592
+ system: true,
593
+ type: false,
594
+ instance: false,
595
+ parameter: [
596
+ {
597
+ name: "resolve",
598
+ use: "in",
599
+ min: 0,
600
+ max: "1",
601
+ documentation: "If true, mark the indexing errors as resolved.",
602
+ type: "boolean",
603
+ },
604
+ {
605
+ name: "errors",
606
+ use: "out",
607
+ min: 0,
608
+ max: "*",
609
+ documentation: "The resources that failed search indexing.",
610
+ part: [
611
+ {
612
+ name: "id",
613
+ use: "out",
614
+ min: 1,
615
+ max: "1",
616
+ documentation: "Version id of the resource that failed to index.",
617
+ type: "id",
618
+ },
619
+ {
620
+ name: "version_id",
621
+ use: "out",
622
+ min: 1,
623
+ max: "1",
624
+ documentation: "Version id of the resource that failed to index.",
625
+ type: "id",
626
+ },
627
+ {
628
+ name: "resource_type",
629
+ use: "out",
630
+ min: 1,
631
+ max: "1",
632
+ documentation: "FHIR resource type of the resource that failed to index.",
633
+ type: "code",
634
+ },
635
+ {
636
+ name: "fhir_method",
637
+ use: "out",
638
+ min: 1,
639
+ max: "1",
640
+ documentation: "The operation (create, update or delete) that failed to index.",
641
+ type: "code",
642
+ },
643
+ {
644
+ name: "sequence",
645
+ use: "out",
646
+ min: 1,
647
+ max: "1",
648
+ documentation: "Sequence position of the resource in the indexing stream.",
649
+ type: "integer",
650
+ },
651
+ {
652
+ name: "attempt_count",
653
+ use: "out",
654
+ min: 1,
655
+ max: "1",
656
+ documentation: "Number of times indexing has been attempted for this resource.",
657
+ type: "integer",
658
+ },
659
+ {
660
+ name: "error_message",
661
+ use: "out",
662
+ min: 1,
663
+ max: "1",
664
+ documentation: "The error that occurred while indexing.",
665
+ type: "string",
666
+ },
667
+ {
668
+ name: "first_failed_at",
669
+ use: "out",
670
+ min: 1,
671
+ max: "1",
672
+ documentation: "When this resource first failed indexing.",
673
+ type: "dateTime",
674
+ },
675
+ {
676
+ name: "last_failed_at",
677
+ use: "out",
678
+ min: 1,
679
+ max: "1",
680
+ documentation: "When this resource most recently failed indexing.",
681
+ type: "dateTime",
682
+ },
683
+ {
684
+ name: "resolved_at",
685
+ use: "out",
686
+ min: 0,
687
+ max: "1",
688
+ documentation: "When this failure was marked resolved, if it has been.",
689
+ type: "dateTime",
690
+ },
691
+ ],
692
+ },
693
+ ],
694
+ });
695
+ })(HasteHealthIndexingErrors || (HasteHealthIndexingErrors = {}));
696
+ export var HasteHealthDeleteRefreshToken;
697
+ (function (HasteHealthDeleteRefreshToken) {
698
+ HasteHealthDeleteRefreshToken.Op = new Operation({
699
+ resourceType: "OperationDefinition",
700
+ id: "haste-health-delete-refresh-token",
701
+ url: "https://haste.health/OperationDefinition/delete-refresh-tokens",
702
+ version: "4.0.1",
703
+ name: "Delete refresh token",
704
+ status: "draft",
705
+ kind: "operation",
706
+ date: "2023-11-16T09:29:23+11:00",
707
+ publisher: "HasteHealth",
708
+ description: "Delete refresh token from the user for the client.",
709
+ code: "delete-refresh-token",
710
+ system: true,
711
+ type: false,
712
+ instance: false,
713
+ parameter: [
714
+ {
715
+ name: "client_id",
716
+ use: "in",
717
+ min: 1,
493
718
  max: "1",
494
719
  documentation: "Client id for refresh token to delete.",
495
720
  type: "id",
@@ -658,76 +883,219 @@ export var HasteHealthListScopes;
658
883
  ],
659
884
  });
660
885
  })(HasteHealthListScopes || (HasteHealthListScopes = {}));
661
- export var HasteHealthUsageStatistics;
662
- (function (HasteHealthUsageStatistics) {
663
- HasteHealthUsageStatistics.Op = new Operation({
886
+ export var HasteHealthTenantCustomization;
887
+ (function (HasteHealthTenantCustomization) {
888
+ HasteHealthTenantCustomization.Op = new Operation({
664
889
  resourceType: "OperationDefinition",
665
- id: "haste-health-usage-statistics",
666
- url: "https://haste.health/OperationDefinition/usage-statistics",
890
+ id: "haste-health-tenant-customization",
891
+ url: "https://haste.health/OperationDefinition/tenant-customization",
667
892
  version: "4.0.1",
668
- name: "HasteHealth Usage Statistics",
893
+ name: "Tenant Customization",
669
894
  status: "draft",
670
895
  kind: "operation",
671
- date: "2024-05-16T09:29:23+11:00",
896
+ date: "2026-08-21T09:29:23+11:00",
672
897
  publisher: "HasteHealth",
673
- description: "Get current tenants limitations and usage.",
674
- code: "usage-statistics",
898
+ description: "Set display customization for the current tenant, such as its display name and logo.",
899
+ code: "tenant-customization",
675
900
  system: true,
676
901
  type: false,
677
902
  instance: false,
678
903
  parameter: [
679
904
  {
680
- name: "statistics",
905
+ name: "name",
906
+ use: "in",
907
+ min: 0,
908
+ max: "1",
909
+ documentation: "Display name for the tenant. Omit to clear the tenant's display name.",
910
+ type: "string",
911
+ },
912
+ {
913
+ name: "logo",
914
+ use: "in",
915
+ min: 0,
916
+ max: "1",
917
+ documentation: "Logo for the tenant. Omit to clear the tenant's logo.",
918
+ type: "Attachment",
919
+ },
920
+ ],
921
+ });
922
+ })(HasteHealthTenantCustomization || (HasteHealthTenantCustomization = {}));
923
+ export var HasteHealthTenantBranding;
924
+ (function (HasteHealthTenantBranding) {
925
+ HasteHealthTenantBranding.Op = new Operation({
926
+ resourceType: "OperationDefinition",
927
+ id: "haste-health-tenant-branding",
928
+ url: "https://haste.health/OperationDefinition/tenant-branding",
929
+ version: "4.0.1",
930
+ name: "Tenant Branding",
931
+ status: "draft",
932
+ kind: "operation",
933
+ date: "2026-08-22T00:00:00+00:00",
934
+ publisher: "HasteHealth",
935
+ description: "Get the current tenant's display name and logo, if set.",
936
+ code: "tenant-branding",
937
+ system: true,
938
+ type: false,
939
+ instance: false,
940
+ parameter: [
941
+ {
942
+ name: "name",
681
943
  use: "out",
682
944
  min: 0,
683
- max: "*",
684
- documentation: "The result of the operation.",
685
- part: [
686
- {
687
- name: "name",
688
- use: "out",
689
- min: 1,
690
- max: "1",
691
- documentation: "The name of the limit.",
692
- type: "string",
693
- },
694
- {
695
- name: "version",
696
- use: "out",
697
- min: 1,
698
- max: "1",
699
- documentation: "The fhir version for the limit.",
700
- type: "string",
701
- },
702
- {
703
- name: "limit",
704
- use: "out",
705
- min: 1,
706
- max: "1",
707
- documentation: "Value of the limit.",
708
- type: "integer",
709
- },
710
- {
711
- name: "usage",
712
- use: "out",
713
- min: 1,
714
- max: "1",
715
- documentation: "The current usage.",
716
- type: "integer",
717
- },
945
+ max: "1",
946
+ documentation: "Display name for the tenant, if one has been set.",
947
+ type: "string",
948
+ },
949
+ {
950
+ name: "logo",
951
+ use: "out",
952
+ min: 0,
953
+ max: "1",
954
+ documentation: "Logo for the tenant, if one has been set.",
955
+ type: "Attachment",
956
+ },
957
+ ],
958
+ });
959
+ })(HasteHealthTenantBranding || (HasteHealthTenantBranding = {}));
960
+ export var ViewDefinitionRun;
961
+ (function (ViewDefinitionRun) {
962
+ ViewDefinitionRun.Op = new Operation({
963
+ resourceType: "OperationDefinition",
964
+ id: "ViewDefinitionRun",
965
+ text: {
966
+ status: "generated",
967
+ div: '<div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition ViewDefinitionRun</b></p><a name="ViewDefinitionRun"> </a><a name="hcViewDefinitionRun"> </a><p>URL: [base]/$viewdefinition-run</p><p>URL: [base]/CanonicalResource/$viewdefinition-run</p><p>URL: [base]/CanonicalResource/[id]/$viewdefinition-run</p><h3>Parameters</h3><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>_format</td><td>system, type, instance</td><td>0..1</td><td><a href="http://hl7.org/fhir/R5/datatypes.html#code">code</a></td><td><a href="ValueSet-OutputFormatCodes.html">Output Format Codes</a> (Extensible)</td><td><div><p>Output format for the result (for example json, ndjson, csv, parquet). Optional; if omitted, the server returns ndjson by default.</p>\n</div></td></tr><tr><td>IN</td><td>header</td><td>system, type, instance</td><td>0..1</td><td><a href="http://hl7.org/fhir/R5/datatypes.html#boolean">boolean</a></td><td/><td><div><p>Include CSV headers (default true). Applies only when csv output is requested.</p>\n</div></td></tr><tr><td>IN</td><td>viewReference</td><td>system, type</td><td>0..1</td><td><a href="http://hl7.org/fhir/R5/references.html#Reference">Reference</a></td><td/><td><div><p>Reference to a ViewDefinition stored on the server.</p>\n</div></td></tr><tr><td>IN</td><td>viewResource</td><td>system, type</td><td>0..1</td><td><a href="http://hl7.org/fhir/R5/canonicalresource.html">CanonicalResource</a> (<a href="StructureDefinition-ViewDefinition.html" title="https://sql-on-fhir.org/ig/StructureDefinition/ViewDefinition">View Definition</a>)</td><td/><td><div><p>Inline ViewDefinition resource to execute.</p>\n</div></td></tr><tr><td>IN</td><td>patient</td><td>system, type, instance</td><td>0..1</td><td><a href="http://hl7.org/fhir/R5/references.html#Reference">Reference</a></td><td/><td><div><p>Restrict execution to the specified patient.</p>\n</div></td></tr><tr><td>IN</td><td>group</td><td>system, type, instance</td><td>0..*</td><td><a href="http://hl7.org/fhir/R5/references.html#Reference">Reference</a></td><td/><td><div><p>Restrict execution to members of the given group(s).</p>\n</div></td></tr><tr><td>IN</td><td>source</td><td>system, type, instance</td><td>0..1</td><td><a href="http://hl7.org/fhir/R5/datatypes.html#string">string</a></td><td/><td><div><p>External data source to use (for example a URI or bucket name).</p>\n</div></td></tr><tr><td>IN</td><td>resource</td><td>system, type, instance</td><td>0..*</td><td><a href="http://hl7.org/fhir/R5/resource.html">Resource</a></td><td/><td><div><p>FHIR resources to transform instead of using server data.</p>\n</div></td></tr><tr><td>IN</td><td>_limit</td><td>system, type, instance</td><td>0..1</td><td><a href="http://hl7.org/fhir/R5/datatypes.html#integer">integer</a></td><td/><td><div><p>Maximum number of rows to return.</p>\n</div></td></tr><tr><td>IN</td><td>_since</td><td>system, type, instance</td><td>0..1</td><td><a href="http://hl7.org/fhir/R5/datatypes.html#instant">instant</a></td><td/><td><div><p>Include only resources modified after this instant.</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R5/binary.html">Binary</a></td><td/><td><div><p>Transformed data encoded in the requested output format.</p>\n</div></td></tr></table></div>',
968
+ },
969
+ url: "http://sql-on-fhir.org/OperationDefinition/$viewdefinition-run",
970
+ version: "2.1.0-pre",
971
+ name: "ViewDefinitionRun",
972
+ title: "ViewDefinition Run",
973
+ status: "active",
974
+ kind: "operation",
975
+ date: "2026-05-21T08:53:46+00:00",
976
+ publisher: "SQL on FHIR Working Group",
977
+ contact: [
978
+ {
979
+ name: "SQL on FHIR Working Group",
980
+ telecom: [{ system: "url", value: "https://sql-on-fhir.org" }],
981
+ },
982
+ ],
983
+ description: "Execute a view definition against supplied or server data.",
984
+ jurisdiction: [
985
+ {
986
+ coding: [
718
987
  {
719
- name: "description",
720
- use: "out",
721
- min: 1,
722
- max: "1",
723
- documentation: "The description of the limit.",
724
- type: "string",
988
+ system: "http://unstats.un.org/unsd/methods/m49/m49.htm",
989
+ code: "001",
990
+ display: "World",
725
991
  },
726
992
  ],
727
993
  },
728
994
  ],
995
+ code: "viewdefinition-run",
996
+ resource: ["ViewDefinition"],
997
+ system: true,
998
+ type: true,
999
+ instance: true,
1000
+ parameter: [
1001
+ {
1002
+ name: "_format",
1003
+ use: "in",
1004
+ min: 0,
1005
+ max: "1",
1006
+ documentation: "Output format for the result (for example json, ndjson, csv, parquet). Optional; if omitted, the server returns ndjson by default.",
1007
+ type: "code",
1008
+ binding: {
1009
+ strength: "extensible",
1010
+ valueSet: "https://sql-on-fhir.org/ig/ValueSet/OutputFormatCodes",
1011
+ },
1012
+ },
1013
+ {
1014
+ name: "header",
1015
+ use: "in",
1016
+ min: 0,
1017
+ max: "1",
1018
+ documentation: "Include CSV headers (default true). Applies only when csv output is requested.",
1019
+ type: "boolean",
1020
+ },
1021
+ {
1022
+ name: "viewReference",
1023
+ use: "in",
1024
+ min: 0,
1025
+ max: "1",
1026
+ documentation: "Reference to a ViewDefinition stored on the server.",
1027
+ type: "Reference",
1028
+ },
1029
+ {
1030
+ name: "viewResource",
1031
+ use: "in",
1032
+ min: 0,
1033
+ max: "1",
1034
+ documentation: "Inline ViewDefinition resource to execute.",
1035
+ type: "ViewDefinition",
1036
+ targetProfile: [
1037
+ "https://sql-on-fhir.org/ig/StructureDefinition/ViewDefinition",
1038
+ ],
1039
+ },
1040
+ {
1041
+ name: "patient",
1042
+ use: "in",
1043
+ min: 0,
1044
+ max: "1",
1045
+ documentation: "Restrict execution to the specified patient.",
1046
+ type: "Reference",
1047
+ },
1048
+ {
1049
+ name: "group",
1050
+ use: "in",
1051
+ min: 0,
1052
+ max: "*",
1053
+ documentation: "Restrict execution to members of the given group(s).",
1054
+ type: "Reference",
1055
+ },
1056
+ {
1057
+ name: "source",
1058
+ use: "in",
1059
+ min: 0,
1060
+ max: "1",
1061
+ documentation: "External data source to use (for example a URI or bucket name).",
1062
+ type: "string",
1063
+ },
1064
+ {
1065
+ name: "resource",
1066
+ use: "in",
1067
+ min: 0,
1068
+ max: "*",
1069
+ documentation: "FHIR resources to transform instead of using server data.",
1070
+ type: "Resource",
1071
+ },
1072
+ {
1073
+ name: "_limit",
1074
+ use: "in",
1075
+ min: 0,
1076
+ max: "1",
1077
+ documentation: "Maximum number of rows to return.",
1078
+ type: "integer",
1079
+ },
1080
+ {
1081
+ name: "_since",
1082
+ use: "in",
1083
+ min: 0,
1084
+ max: "1",
1085
+ documentation: "Include only resources modified after this instant.",
1086
+ type: "instant",
1087
+ },
1088
+ {
1089
+ name: "return",
1090
+ use: "out",
1091
+ min: 1,
1092
+ max: "1",
1093
+ documentation: "Transformed data encoded in the requested output format.",
1094
+ type: "Binary",
1095
+ },
1096
+ ],
729
1097
  });
730
- })(HasteHealthUsageStatistics || (HasteHealthUsageStatistics = {}));
1098
+ })(ViewDefinitionRun || (ViewDefinitionRun = {}));
731
1099
  export var ActivityDefinitionApply;
732
1100
  (function (ActivityDefinitionApply) {
733
1101
  ActivityDefinitionApply.Op = new Operation({