@haste-health/generated-ops 0.12.3 → 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,98 +78,6 @@ export var HasteHealthEncrypt;
144
78
  ],
145
79
  });
146
80
  })(HasteHealthEncrypt || (HasteHealthEncrypt = {}));
147
- export var HasteHealthEvaluatePolicy;
148
- (function (HasteHealthEvaluatePolicy) {
149
- HasteHealthEvaluatePolicy.Op = new Operation({
150
- resourceType: "OperationDefinition",
151
- id: "haste-health-evaluate-policy",
152
- url: "https://haste.health/OperationDefinition/evaluate-policy",
153
- version: "4.0.1",
154
- name: "EvaluateAccessPolicy",
155
- status: "draft",
156
- kind: "operation",
157
- date: "2023-11-16T09:29:23+11:00",
158
- publisher: "HasteHealth",
159
- description: "Evaluate an Access Policy.",
160
- code: "evaluate-policy",
161
- system: false,
162
- type: false,
163
- instance: true,
164
- resource: ["AccessPolicyV2"],
165
- parameter: [
166
- {
167
- name: "user",
168
- use: "in",
169
- min: 0,
170
- max: "1",
171
- documentation: "The user to evaluate the policy against. Defaults to logged in user if not present.",
172
- type: "Reference",
173
- },
174
- {
175
- name: "request",
176
- use: "in",
177
- min: 1,
178
- max: "1",
179
- documentation: "The requests to evaluate against the policy.",
180
- type: "Bundle",
181
- },
182
- {
183
- name: "return",
184
- use: "out",
185
- min: 1,
186
- max: "1",
187
- documentation: "The result of the policy evaluation.",
188
- type: "OperationOutcome",
189
- },
190
- ],
191
- });
192
- })(HasteHealthEvaluatePolicy || (HasteHealthEvaluatePolicy = {}));
193
- export var HasteHealthIdpRegistrationInfo;
194
- (function (HasteHealthIdpRegistrationInfo) {
195
- HasteHealthIdpRegistrationInfo.Op = new Operation({
196
- resourceType: "OperationDefinition",
197
- id: "haste-health-idp-registration-info",
198
- url: "https://haste.health/OperationDefinition/identity-provider-registration-info",
199
- version: "4.0.1",
200
- name: "IdentityProviderRegistrationInformation",
201
- status: "draft",
202
- kind: "operation",
203
- publisher: "HasteHealth",
204
- description: "Get the registration information for an identity provider.",
205
- code: "registration-info",
206
- system: false,
207
- type: false,
208
- instance: true,
209
- resource: ["IdentityProvider"],
210
- parameter: [
211
- {
212
- name: "information",
213
- use: "out",
214
- min: 0,
215
- max: "*",
216
- documentation: "IdentityProviders registration information.",
217
- part: [
218
- {
219
- name: "name",
220
- use: "out",
221
- min: 1,
222
- max: "1",
223
- documentation: "The name of the property.",
224
- type: "string",
225
- },
226
- {
227
- name: "value",
228
- use: "out",
229
- min: 1,
230
- max: "1",
231
- documentation: "the value of the property.",
232
- type: "string",
233
- },
234
- ],
235
- },
236
- ],
237
- });
238
- })(HasteHealthIdpRegistrationInfo || (HasteHealthIdpRegistrationInfo = {}));
239
81
  export var HasteHealthInviteUser;
240
82
  (function (HasteHealthInviteUser) {
241
83
  HasteHealthInviteUser.Op = new Operation({
@@ -391,105 +233,565 @@ export var HasteHealthPasswordReset;
391
233
  ],
392
234
  });
393
235
  })(HasteHealthPasswordReset || (HasteHealthPasswordReset = {}));
394
- export var HasteHealthDeleteRefreshToken;
395
- (function (HasteHealthDeleteRefreshToken) {
396
- HasteHealthDeleteRefreshToken.Op = new Operation({
397
- resourceType: "OperationDefinition",
398
- id: "haste-health-delete-refresh-token",
399
- url: "https://haste.health/OperationDefinition/delete-refresh-tokens",
400
- version: "4.0.1",
401
- name: "Delete refresh token",
402
- status: "draft",
403
- kind: "operation",
404
- date: "2023-11-16T09:29:23+11:00",
405
- publisher: "HasteHealth",
406
- description: "Delete refresh token from the user for the client.",
407
- code: "delete-refresh-token",
408
- system: true,
409
- type: false,
410
- instance: false,
411
- parameter: [
412
- {
413
- name: "client_id",
414
- use: "in",
415
- min: 1,
416
- max: "1",
417
- documentation: "Client id for refresh token to delete.",
418
- type: "id",
419
- },
420
- {
421
- name: "user_agent",
422
- use: "in",
423
- min: 0,
424
- max: "1",
425
- documentation: "User agent of the refresh token to delete.",
426
- type: "string",
427
- },
428
- {
429
- name: "return",
430
- use: "out",
431
- min: 1,
432
- max: "1",
433
- documentation: "Result of the delete operation.",
434
- type: "OperationOutcome",
435
- },
436
- ],
437
- });
438
- })(HasteHealthDeleteRefreshToken || (HasteHealthDeleteRefreshToken = {}));
439
- export var HasteHealthListRefreshTokens;
440
- (function (HasteHealthListRefreshTokens) {
441
- HasteHealthListRefreshTokens.Op = new Operation({
236
+ export var HasteHealthUsageStatistics;
237
+ (function (HasteHealthUsageStatistics) {
238
+ HasteHealthUsageStatistics.Op = new Operation({
442
239
  resourceType: "OperationDefinition",
443
- id: "haste-health-list-refresh-tokens",
444
- url: "https://haste-health.app/OperationDefinition/list-refresh-tokens",
240
+ id: "haste-health-usage-statistics",
241
+ url: "https://haste.health/OperationDefinition/usage-statistics",
445
242
  version: "4.0.1",
446
- name: "Show Refresh Tokens",
243
+ name: "HasteHealth Usage Statistics",
447
244
  status: "draft",
448
245
  kind: "operation",
449
- date: "2023-11-16T09:29:23+11:00",
246
+ date: "2024-05-16T09:29:23+11:00",
450
247
  publisher: "HasteHealth",
451
- description: "Show list of users refresh tokens.",
452
- code: "refresh-tokens",
248
+ description: "Get current tenants limitations and usage.",
249
+ code: "usage-statistics",
453
250
  system: true,
454
251
  type: false,
455
252
  instance: false,
456
253
  parameter: [
457
254
  {
458
- name: "refresh-tokens",
255
+ name: "statistics",
459
256
  use: "out",
460
257
  min: 0,
461
258
  max: "*",
462
259
  documentation: "The result of the operation.",
463
260
  part: [
464
261
  {
465
- name: "client_id",
262
+ name: "name",
466
263
  use: "out",
467
264
  min: 1,
468
265
  max: "1",
469
- documentation: "Client for refresh token.",
470
- type: "id",
266
+ documentation: "The name of the limit.",
267
+ type: "string",
471
268
  },
472
269
  {
473
- name: "user_agent",
270
+ name: "version",
474
271
  use: "out",
475
272
  min: 1,
476
273
  max: "1",
477
- documentation: "User agent of the refresh token.",
274
+ documentation: "The fhir version for the limit.",
478
275
  type: "string",
479
276
  },
480
277
  {
481
- name: "created_at",
278
+ name: "limit",
482
279
  use: "out",
483
280
  min: 1,
484
281
  max: "1",
485
- documentation: "When the refresh token was created.",
486
- type: "dateTime",
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",
487
300
  },
488
301
  ],
489
302
  },
490
303
  ],
491
304
  });
492
- })(HasteHealthListRefreshTokens || (HasteHealthListRefreshTokens = {}));
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,
718
+ max: "1",
719
+ documentation: "Client id for refresh token to delete.",
720
+ type: "id",
721
+ },
722
+ {
723
+ name: "user_agent",
724
+ use: "in",
725
+ min: 0,
726
+ max: "1",
727
+ documentation: "User agent of the refresh token to delete.",
728
+ type: "string",
729
+ },
730
+ {
731
+ name: "return",
732
+ use: "out",
733
+ min: 1,
734
+ max: "1",
735
+ documentation: "Result of the delete operation.",
736
+ type: "OperationOutcome",
737
+ },
738
+ ],
739
+ });
740
+ })(HasteHealthDeleteRefreshToken || (HasteHealthDeleteRefreshToken = {}));
741
+ export var HasteHealthListRefreshTokens;
742
+ (function (HasteHealthListRefreshTokens) {
743
+ HasteHealthListRefreshTokens.Op = new Operation({
744
+ resourceType: "OperationDefinition",
745
+ id: "haste-health-list-refresh-tokens",
746
+ url: "https://haste-health.app/OperationDefinition/list-refresh-tokens",
747
+ version: "4.0.1",
748
+ name: "Show Refresh Tokens",
749
+ status: "draft",
750
+ kind: "operation",
751
+ date: "2023-11-16T09:29:23+11:00",
752
+ publisher: "HasteHealth",
753
+ description: "Show list of users refresh tokens.",
754
+ code: "refresh-tokens",
755
+ system: true,
756
+ type: false,
757
+ instance: false,
758
+ parameter: [
759
+ {
760
+ name: "refresh-tokens",
761
+ use: "out",
762
+ min: 0,
763
+ max: "*",
764
+ documentation: "The result of the operation.",
765
+ part: [
766
+ {
767
+ name: "client_id",
768
+ use: "out",
769
+ min: 1,
770
+ max: "1",
771
+ documentation: "Client for refresh token.",
772
+ type: "id",
773
+ },
774
+ {
775
+ name: "user_agent",
776
+ use: "out",
777
+ min: 1,
778
+ max: "1",
779
+ documentation: "User agent of the refresh token.",
780
+ type: "string",
781
+ },
782
+ {
783
+ name: "created_at",
784
+ use: "out",
785
+ min: 1,
786
+ max: "1",
787
+ documentation: "When the refresh token was created.",
788
+ type: "dateTime",
789
+ },
790
+ ],
791
+ },
792
+ ],
793
+ });
794
+ })(HasteHealthListRefreshTokens || (HasteHealthListRefreshTokens = {}));
493
795
  export var HasteHealthDeleteScope;
494
796
  (function (HasteHealthDeleteScope) {
495
797
  HasteHealthDeleteScope.Op = new Operation({
@@ -581,76 +883,219 @@ export var HasteHealthListScopes;
581
883
  ],
582
884
  });
583
885
  })(HasteHealthListScopes || (HasteHealthListScopes = {}));
584
- export var HasteHealthUsageStatistics;
585
- (function (HasteHealthUsageStatistics) {
586
- HasteHealthUsageStatistics.Op = new Operation({
886
+ export var HasteHealthTenantCustomization;
887
+ (function (HasteHealthTenantCustomization) {
888
+ HasteHealthTenantCustomization.Op = new Operation({
587
889
  resourceType: "OperationDefinition",
588
- id: "haste-health-usage-statistics",
589
- url: "https://haste.health/OperationDefinition/usage-statistics",
890
+ id: "haste-health-tenant-customization",
891
+ url: "https://haste.health/OperationDefinition/tenant-customization",
590
892
  version: "4.0.1",
591
- name: "HasteHealth Usage Statistics",
893
+ name: "Tenant Customization",
592
894
  status: "draft",
593
895
  kind: "operation",
594
- date: "2024-05-16T09:29:23+11:00",
896
+ date: "2026-08-21T09:29:23+11:00",
595
897
  publisher: "HasteHealth",
596
- description: "Get current tenants limitations and usage.",
597
- code: "usage-statistics",
898
+ description: "Set display customization for the current tenant, such as its display name and logo.",
899
+ code: "tenant-customization",
598
900
  system: true,
599
901
  type: false,
600
902
  instance: false,
601
903
  parameter: [
602
904
  {
603
- 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",
604
943
  use: "out",
605
944
  min: 0,
606
- max: "*",
607
- documentation: "The result of the operation.",
608
- part: [
609
- {
610
- name: "name",
611
- use: "out",
612
- min: 1,
613
- max: "1",
614
- documentation: "The name of the limit.",
615
- type: "string",
616
- },
617
- {
618
- name: "version",
619
- use: "out",
620
- min: 1,
621
- max: "1",
622
- documentation: "The fhir version for the limit.",
623
- type: "string",
624
- },
625
- {
626
- name: "limit",
627
- use: "out",
628
- min: 1,
629
- max: "1",
630
- documentation: "Value of the limit.",
631
- type: "integer",
632
- },
633
- {
634
- name: "usage",
635
- use: "out",
636
- min: 1,
637
- max: "1",
638
- documentation: "The current usage.",
639
- type: "integer",
640
- },
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: [
641
987
  {
642
- name: "description",
643
- use: "out",
644
- min: 1,
645
- max: "1",
646
- documentation: "The description of the limit.",
647
- type: "string",
988
+ system: "http://unstats.un.org/unsd/methods/m49/m49.htm",
989
+ code: "001",
990
+ display: "World",
648
991
  },
649
992
  ],
650
993
  },
651
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
+ ],
652
1097
  });
653
- })(HasteHealthUsageStatistics || (HasteHealthUsageStatistics = {}));
1098
+ })(ViewDefinitionRun || (ViewDefinitionRun = {}));
654
1099
  export var ActivityDefinitionApply;
655
1100
  (function (ActivityDefinitionApply) {
656
1101
  ActivityDefinitionApply.Op = new Operation({