@icanbwell/bwell-sdk-ts 1.119.0 → 1.120.0

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.
@@ -1421,6 +1421,54 @@ export declare enum ConnectionCategory {
1421
1421
  Identity = "IDENTITY",
1422
1422
  Oauth = "OAUTH"
1423
1423
  }
1424
+ /** One data retrieval run for a connection, as the member's app renders it. */
1425
+ export type ConnectionRetrieval = {
1426
+ __typename?: 'ConnectionRetrieval';
1427
+ /** Id of this run, the `correlationId` on the connection and progress events. */
1428
+ correlationId: Scalars['String']['output'];
1429
+ /** Merge totals per resource type, ordered by resource type. */
1430
+ counts: Array<ResourceTypeCount>;
1431
+ /** Producer time of the newest event in the run. */
1432
+ lastEventAt: Scalars['DateTime']['output'];
1433
+ /** When the run began. */
1434
+ startedAt: Scalars['DateTime']['output'];
1435
+ state: ConnectionRetrievalState;
1436
+ /** The run's steps, ordered by time. */
1437
+ steps: Array<ConnectionRetrievalStep>;
1438
+ /** Increases on every change to the run. */
1439
+ version: Scalars['Int']['output'];
1440
+ };
1441
+ /**
1442
+ * Lifecycle of a run. Frozen against additions until generated SDK enums
1443
+ * tolerate unknown values.
1444
+ */
1445
+ export declare enum ConnectionRetrievalState {
1446
+ /** Finished without retrieving the member's data. */
1447
+ Failed = "FAILED",
1448
+ /** Retrieval is done and the data is being merged. */
1449
+ Merging = "MERGING",
1450
+ /** Finished, but some resource types failed. */
1451
+ Partial = "PARTIAL",
1452
+ /** Retrieving data. */
1453
+ Running = "RUNNING",
1454
+ /** Every resource type was retrieved and merged. */
1455
+ Succeeded = "SUCCEEDED",
1456
+ /** No event for long enough that the run is presumed stalled. */
1457
+ TimedOut = "TIMED_OUT"
1458
+ }
1459
+ /** One step of a run. */
1460
+ export type ConnectionRetrievalStep = {
1461
+ __typename?: 'ConnectionRetrievalStep';
1462
+ /** Stable key the client resolves to copy, such as `fetch.Observation.1`. The server never sends English. */
1463
+ key: Scalars['String']['output'];
1464
+ occurredAt: Scalars['DateTime']['output'];
1465
+ /**
1466
+ * Producer outcome for this step. A `String` because producers use two distinct
1467
+ * outcome vocabularies.
1468
+ */
1469
+ outcome?: Maybe<Scalars['String']['output']>;
1470
+ state: StepState;
1471
+ };
1424
1472
  /** Defines connection after making updates */
1425
1473
  export type ConnectionStatusUpdate = {
1426
1474
  __typename?: 'ConnectionStatusUpdate';
@@ -6208,6 +6256,12 @@ export type QuantityInput = {
6208
6256
  unit?: InputMaybe<Scalars['String']['input']>;
6209
6257
  value?: InputMaybe<Scalars['Float']['input']>;
6210
6258
  };
6259
+ /**
6260
+ * Read operations on FHIR Subscription notification streams.
6261
+ *
6262
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6263
+ * composition — a subscription-only schema is invalid.
6264
+ */
6211
6265
  export type Query = {
6212
6266
  __typename?: 'Query';
6213
6267
  Empi?: Maybe<PersonBundleLite>;
@@ -6218,6 +6272,16 @@ export type Query = {
6218
6272
  bootstrap: BootstrapConfiguration;
6219
6273
  cancelationReasons: CodeSystem;
6220
6274
  careTeamMembers?: Maybe<CareTeamMembersOutput>;
6275
+ /**
6276
+ * The latest data retrieval run for one of the caller's own connections, for a
6277
+ * live progress view after the member connects a data source.
6278
+ *
6279
+ * Null means no run is known: none in the retention window, or none the caller
6280
+ * may see. A run that has started but has no steps yet is a populated object in
6281
+ * state `RUNNING` with an empty step list, not null. The person is always the
6282
+ * caller's own, taken from their token, never from an argument.
6283
+ */
6284
+ connectionRetrieval?: Maybe<ConnectionRetrieval>;
6221
6285
  consent?: Maybe<Array<Maybe<LegacyConsent>>>;
6222
6286
  consentAsyncTasks?: Maybe<Array<Maybe<Job>>>;
6223
6287
  coverages?: Maybe<CoverageBundle>;
@@ -6386,18 +6450,48 @@ export type Query = {
6386
6450
  serviceRequests?: Maybe<ServiceRequestBundle>;
6387
6451
  specimens?: Maybe<SpecimenBundle>;
6388
6452
  status?: Maybe<Scalars['String']['output']>;
6453
+ /**
6454
+ * Where a FHIR Subscription's notification stream currently stands, without
6455
+ * opening it.
6456
+ *
6457
+ * This is the Subscriptions R5 Backport IG `$status` operation, hoisted. It is
6458
+ * how a client that has been offline reconciles its stored cursor: compare the
6459
+ * last `eventNumber` it persisted against `eventsSinceSubscriptionStart` here to
6460
+ * learn whether it missed anything before resubscribing. The serialised
6461
+ * `$status` Bundle itself is served by the REST route
6462
+ * `GET {fhir.subscription.base-url}/Subscription/{id}/$status`.
6463
+ */
6464
+ subscriptionStreamStatus: SubscriptionStreamStatus;
6389
6465
  subscription_subscription?: Maybe<Subscription_SubscriptionBundle>;
6390
6466
  userProfile?: Maybe<Person>;
6391
6467
  verificationStatus?: Maybe<VerificationResult>;
6392
6468
  who?: Maybe<Scalars['String']['output']>;
6393
6469
  };
6470
+ /**
6471
+ * Read operations on FHIR Subscription notification streams.
6472
+ *
6473
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6474
+ * composition — a subscription-only schema is invalid.
6475
+ */
6394
6476
  export type QueryEmpiArgs = {
6395
6477
  empiType?: InputMaybe<EmpiType>;
6396
6478
  id?: InputMaybe<Scalars['String']['input']>;
6397
6479
  };
6480
+ /**
6481
+ * Read operations on FHIR Subscription notification streams.
6482
+ *
6483
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6484
+ * composition — a subscription-only schema is invalid.
6485
+ */
6398
6486
  export type QueryAccountDeletionStatusByClientPersonArgs = {
6399
6487
  clientPersonId: Scalars['String']['input'];
6400
6488
  };
6489
+ /**
6490
+ * Read operations on FHIR Subscription notification streams.
6491
+ *
6492
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6493
+ * composition — a subscription-only schema is invalid.
6494
+ */
6401
6495
  export type QueryAppointmentsArgs = {
6402
6496
  _count?: InputMaybe<Scalars['Int']['input']>;
6403
6497
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6409,29 +6503,75 @@ export type QueryAppointmentsArgs = {
6409
6503
  status?: InputMaybe<SearchToken>;
6410
6504
  supporting_info?: InputMaybe<SearchReference>;
6411
6505
  };
6506
+ /**
6507
+ * Read operations on FHIR Subscription notification streams.
6508
+ *
6509
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6510
+ * composition — a subscription-only schema is invalid.
6511
+ */
6412
6512
  export type QueryBootstrapArgs = {
6413
6513
  clientKey: Scalars['String']['input'];
6414
6514
  organizationId?: InputMaybe<Scalars['String']['input']>;
6415
6515
  variant?: InputMaybe<BootstrapVariant>;
6416
6516
  };
6517
+ /**
6518
+ * Read operations on FHIR Subscription notification streams.
6519
+ *
6520
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6521
+ * composition — a subscription-only schema is invalid.
6522
+ */
6417
6523
  export type QueryCancelationReasonsArgs = {
6418
6524
  organization: SearchReference;
6419
6525
  };
6526
+ /**
6527
+ * Read operations on FHIR Subscription notification streams.
6528
+ *
6529
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6530
+ * composition — a subscription-only schema is invalid.
6531
+ */
6420
6532
  export type QueryCareTeamMembersArgs = {
6421
6533
  input?: InputMaybe<CareTeamMembersInput>;
6422
6534
  };
6535
+ /**
6536
+ * Read operations on FHIR Subscription notification streams.
6537
+ *
6538
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6539
+ * composition — a subscription-only schema is invalid.
6540
+ */
6541
+ export type QueryConnectionRetrievalArgs = {
6542
+ connectionId: Scalars['String']['input'];
6543
+ sinceVersion?: InputMaybe<Scalars['Int']['input']>;
6544
+ };
6545
+ /**
6546
+ * Read operations on FHIR Subscription notification streams.
6547
+ *
6548
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6549
+ * composition — a subscription-only schema is invalid.
6550
+ */
6423
6551
  export type QueryConsentArgs = {
6424
6552
  patientId?: InputMaybe<Scalars['String']['input']>;
6425
6553
  questionnaireId?: InputMaybe<Scalars['String']['input']>;
6426
6554
  questionnaireName?: InputMaybe<Scalars['String']['input']>;
6427
6555
  searchParams?: InputMaybe<Scalars['String']['input']>;
6428
6556
  };
6557
+ /**
6558
+ * Read operations on FHIR Subscription notification streams.
6559
+ *
6560
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6561
+ * composition — a subscription-only schema is invalid.
6562
+ */
6429
6563
  export type QueryConsentAsyncTasksArgs = {
6430
6564
  asc?: InputMaybe<Scalars['Boolean']['input']>;
6431
6565
  end?: InputMaybe<Scalars['Int']['input']>;
6432
6566
  start?: InputMaybe<Scalars['Int']['input']>;
6433
6567
  status: Array<InputMaybe<Scalars['String']['input']>>;
6434
6568
  };
6569
+ /**
6570
+ * Read operations on FHIR Subscription notification streams.
6571
+ *
6572
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6573
+ * composition — a subscription-only schema is invalid.
6574
+ */
6435
6575
  export type QueryCoveragesArgs = {
6436
6576
  _count?: InputMaybe<Scalars['Int']['input']>;
6437
6577
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6442,6 +6582,12 @@ export type QueryCoveragesArgs = {
6442
6582
  id?: InputMaybe<SearchString>;
6443
6583
  patient?: InputMaybe<SearchReference>;
6444
6584
  };
6585
+ /**
6586
+ * Read operations on FHIR Subscription notification streams.
6587
+ *
6588
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6589
+ * composition — a subscription-only schema is invalid.
6590
+ */
6445
6591
  export type QueryDevicesArgs = {
6446
6592
  _count?: InputMaybe<Scalars['Int']['input']>;
6447
6593
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6451,6 +6597,12 @@ export type QueryDevicesArgs = {
6451
6597
  id?: InputMaybe<SearchString>;
6452
6598
  patient?: InputMaybe<SearchReference>;
6453
6599
  };
6600
+ /**
6601
+ * Read operations on FHIR Subscription notification streams.
6602
+ *
6603
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6604
+ * composition — a subscription-only schema is invalid.
6605
+ */
6454
6606
  export type QueryDiagnosticReportsArgs = {
6455
6607
  _count?: InputMaybe<Scalars['Int']['input']>;
6456
6608
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6458,6 +6610,12 @@ export type QueryDiagnosticReportsArgs = {
6458
6610
  _total?: InputMaybe<TotalType>;
6459
6611
  id?: InputMaybe<SearchString>;
6460
6612
  };
6613
+ /**
6614
+ * Read operations on FHIR Subscription notification streams.
6615
+ *
6616
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6617
+ * composition — a subscription-only schema is invalid.
6618
+ */
6461
6619
  export type QueryExplanationOfBenefitsArgs = {
6462
6620
  _count?: InputMaybe<Scalars['Int']['input']>;
6463
6621
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6471,174 +6629,504 @@ export type QueryExplanationOfBenefitsArgs = {
6471
6629
  provider?: InputMaybe<SearchReference>;
6472
6630
  status?: InputMaybe<SearchToken>;
6473
6631
  };
6632
+ /**
6633
+ * Read operations on FHIR Subscription notification streams.
6634
+ *
6635
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6636
+ * composition — a subscription-only schema is invalid.
6637
+ */
6474
6638
  export type QueryFindAppointmentsArgs = {
6475
6639
  search: FindAppointmentsInput;
6476
6640
  };
6641
+ /**
6642
+ * Read operations on FHIR Subscription notification streams.
6643
+ *
6644
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6645
+ * composition — a subscription-only schema is invalid.
6646
+ */
6477
6647
  export type QueryFindLocationsArgs = {
6478
6648
  organization: FindLocationsInput;
6479
6649
  };
6650
+ /**
6651
+ * Read operations on FHIR Subscription notification streams.
6652
+ *
6653
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6654
+ * composition — a subscription-only schema is invalid.
6655
+ */
6480
6656
  export type QueryFindPersonWithClientSlugAndIdArgs = {
6481
6657
  input?: InputMaybe<ClientSlugAndIdentifierInput>;
6482
6658
  };
6659
+ /**
6660
+ * Read operations on FHIR Subscription notification streams.
6661
+ *
6662
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6663
+ * composition — a subscription-only schema is invalid.
6664
+ */
6483
6665
  export type QueryGetAllergyIntoleranceGroupsArgs = {
6484
6666
  request?: InputMaybe<AllergyIntoleranceGroupQueryRequest>;
6485
6667
  };
6668
+ /**
6669
+ * Read operations on FHIR Subscription notification streams.
6670
+ *
6671
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6672
+ * composition — a subscription-only schema is invalid.
6673
+ */
6486
6674
  export type QueryGetAllergyIntolerancesArgs = {
6487
6675
  request?: InputMaybe<AllergyIntolerancesRequest>;
6488
6676
  };
6677
+ /**
6678
+ * Read operations on FHIR Subscription notification streams.
6679
+ *
6680
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6681
+ * composition — a subscription-only schema is invalid.
6682
+ */
6489
6683
  export type QueryGetBinaryArgs = {
6490
6684
  request: BinaryRequest;
6491
6685
  };
6686
+ /**
6687
+ * Read operations on FHIR Subscription notification streams.
6688
+ *
6689
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6690
+ * composition — a subscription-only schema is invalid.
6691
+ */
6492
6692
  export type QueryGetBodySystemScoreArgs = {
6493
6693
  request: BodySystemScoreRequest;
6494
6694
  };
6695
+ /**
6696
+ * Read operations on FHIR Subscription notification streams.
6697
+ *
6698
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6699
+ * composition — a subscription-only schema is invalid.
6700
+ */
6495
6701
  export type QueryGetCarePlanGroupsArgs = {
6496
6702
  request?: InputMaybe<CarePlanGroupQueryRequest>;
6497
6703
  };
6704
+ /**
6705
+ * Read operations on FHIR Subscription notification streams.
6706
+ *
6707
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6708
+ * composition — a subscription-only schema is invalid.
6709
+ */
6498
6710
  export type QueryGetCarePlansArgs = {
6499
6711
  request?: InputMaybe<CarePlanRequest>;
6500
6712
  };
6713
+ /**
6714
+ * Read operations on FHIR Subscription notification streams.
6715
+ *
6716
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6717
+ * composition — a subscription-only schema is invalid.
6718
+ */
6501
6719
  export type QueryGetCareTeamsArgs = {
6502
6720
  request?: InputMaybe<CareTeamRequest>;
6503
6721
  };
6722
+ /**
6723
+ * Read operations on FHIR Subscription notification streams.
6724
+ *
6725
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6726
+ * composition — a subscription-only schema is invalid.
6727
+ */
6504
6728
  export type QueryGetClaimSummaryArgs = {
6505
6729
  request: ClaimSummaryQueryRequest;
6506
6730
  };
6731
+ /**
6732
+ * Read operations on FHIR Subscription notification streams.
6733
+ *
6734
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6735
+ * composition — a subscription-only schema is invalid.
6736
+ */
6507
6737
  export type QueryGetConditionGroupsArgs = {
6508
6738
  request?: InputMaybe<ConditionGroupQueryRequest>;
6509
6739
  };
6740
+ /**
6741
+ * Read operations on FHIR Subscription notification streams.
6742
+ *
6743
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6744
+ * composition — a subscription-only schema is invalid.
6745
+ */
6510
6746
  export type QueryGetConditionsArgs = {
6511
6747
  request?: InputMaybe<ConditionRequest>;
6512
6748
  };
6749
+ /**
6750
+ * Read operations on FHIR Subscription notification streams.
6751
+ *
6752
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6753
+ * composition — a subscription-only schema is invalid.
6754
+ */
6513
6755
  export type QueryGetConsentJobArgs = {
6514
6756
  jobID?: InputMaybe<Scalars['String']['input']>;
6515
6757
  };
6758
+ /**
6759
+ * Read operations on FHIR Subscription notification streams.
6760
+ *
6761
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6762
+ * composition — a subscription-only schema is invalid.
6763
+ */
6516
6764
  export type QueryGetCoverageSummaryArgs = {
6517
6765
  request?: InputMaybe<CoverageSummaryQueryRequest>;
6518
6766
  };
6767
+ /**
6768
+ * Read operations on FHIR Subscription notification streams.
6769
+ *
6770
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6771
+ * composition — a subscription-only schema is invalid.
6772
+ */
6519
6773
  export type QueryGetDataSourceArgs = {
6520
6774
  connectionId: Scalars['String']['input'];
6521
6775
  };
6776
+ /**
6777
+ * Read operations on FHIR Subscription notification streams.
6778
+ *
6779
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6780
+ * composition — a subscription-only schema is invalid.
6781
+ */
6522
6782
  export type QueryGetDataSourcesArgs = {
6523
6783
  connectionId: Scalars['String']['input'];
6524
6784
  };
6785
+ /**
6786
+ * Read operations on FHIR Subscription notification streams.
6787
+ *
6788
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6789
+ * composition — a subscription-only schema is invalid.
6790
+ */
6525
6791
  export type QueryGetDeviceMetricsArgs = {
6526
6792
  request?: InputMaybe<DeviceMetricsRequest>;
6527
6793
  };
6794
+ /**
6795
+ * Read operations on FHIR Subscription notification streams.
6796
+ *
6797
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6798
+ * composition — a subscription-only schema is invalid.
6799
+ */
6528
6800
  export type QueryGetDeviceMetricsGroupsArgs = {
6529
6801
  request?: InputMaybe<DeviceMetricsGroupQueryRequest>;
6530
6802
  };
6803
+ /**
6804
+ * Read operations on FHIR Subscription notification streams.
6805
+ *
6806
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6807
+ * composition — a subscription-only schema is invalid.
6808
+ */
6531
6809
  export type QueryGetDeviceProviderStatusArgs = {
6532
6810
  connectionId: Scalars['String']['input'];
6533
6811
  };
6812
+ /**
6813
+ * Read operations on FHIR Subscription notification streams.
6814
+ *
6815
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6816
+ * composition — a subscription-only schema is invalid.
6817
+ */
6534
6818
  export type QueryGetDeviceUserStatusArgs = {
6535
6819
  connectionId: Scalars['String']['input'];
6536
6820
  };
6821
+ /**
6822
+ * Read operations on FHIR Subscription notification streams.
6823
+ *
6824
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6825
+ * composition — a subscription-only schema is invalid.
6826
+ */
6537
6827
  export type QueryGetDiagnosticReportLabGroupsArgs = {
6538
6828
  request?: InputMaybe<DiagnosticReportLabGroupQueryRequest>;
6539
6829
  };
6830
+ /**
6831
+ * Read operations on FHIR Subscription notification streams.
6832
+ *
6833
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6834
+ * composition — a subscription-only schema is invalid.
6835
+ */
6540
6836
  export type QueryGetDocumentReferencesArgs = {
6541
6837
  request?: InputMaybe<DocumentReferenceRequest>;
6542
6838
  };
6839
+ /**
6840
+ * Read operations on FHIR Subscription notification streams.
6841
+ *
6842
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6843
+ * composition — a subscription-only schema is invalid.
6844
+ */
6543
6845
  export type QueryGetEobDocumentArgs = {
6544
6846
  claimId: Scalars['String']['input'];
6545
6847
  };
6848
+ /**
6849
+ * Read operations on FHIR Subscription notification streams.
6850
+ *
6851
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6852
+ * composition — a subscription-only schema is invalid.
6853
+ */
6546
6854
  export type QueryGetEncounterGroupsArgs = {
6547
6855
  request?: InputMaybe<EncounterGroupQueryRequest>;
6548
6856
  };
6857
+ /**
6858
+ * Read operations on FHIR Subscription notification streams.
6859
+ *
6860
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6861
+ * composition — a subscription-only schema is invalid.
6862
+ */
6549
6863
  export type QueryGetEncountersArgs = {
6550
6864
  request?: InputMaybe<EncounterRequest>;
6551
6865
  };
6866
+ /**
6867
+ * Read operations on FHIR Subscription notification streams.
6868
+ *
6869
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6870
+ * composition — a subscription-only schema is invalid.
6871
+ */
6552
6872
  export type QueryGetFhirArgs = {
6553
6873
  request: ResourceRequest;
6554
6874
  };
6875
+ /**
6876
+ * Read operations on FHIR Subscription notification streams.
6877
+ *
6878
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6879
+ * composition — a subscription-only schema is invalid.
6880
+ */
6555
6881
  export type QueryGetImmunizationGroupsArgs = {
6556
6882
  request?: InputMaybe<ImmunizationGroupQueryRequest>;
6557
6883
  };
6884
+ /**
6885
+ * Read operations on FHIR Subscription notification streams.
6886
+ *
6887
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6888
+ * composition — a subscription-only schema is invalid.
6889
+ */
6558
6890
  export type QueryGetImmunizationsArgs = {
6559
6891
  request?: InputMaybe<ImmunizationRequest>;
6560
6892
  };
6893
+ /**
6894
+ * Read operations on FHIR Subscription notification streams.
6895
+ *
6896
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6897
+ * composition — a subscription-only schema is invalid.
6898
+ */
6561
6899
  export type QueryGetLabGroupsArgs = {
6562
6900
  request?: InputMaybe<LabGroupQueryRequest>;
6563
6901
  };
6902
+ /**
6903
+ * Read operations on FHIR Subscription notification streams.
6904
+ *
6905
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6906
+ * composition — a subscription-only schema is invalid.
6907
+ */
6564
6908
  export type QueryGetLabKnowledgeArgs = {
6565
6909
  request?: InputMaybe<LabKnowledgeRequest>;
6566
6910
  };
6911
+ /**
6912
+ * Read operations on FHIR Subscription notification streams.
6913
+ *
6914
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6915
+ * composition — a subscription-only schema is invalid.
6916
+ */
6567
6917
  export type QueryGetLabsArgs = {
6568
6918
  request?: InputMaybe<LabRequest>;
6569
6919
  };
6920
+ /**
6921
+ * Read operations on FHIR Subscription notification streams.
6922
+ *
6923
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6924
+ * composition — a subscription-only schema is invalid.
6925
+ */
6570
6926
  export type QueryGetMedicationDispenseArgs = {
6571
6927
  request?: InputMaybe<MedicationDispenseQueryRequest>;
6572
6928
  };
6929
+ /**
6930
+ * Read operations on FHIR Subscription notification streams.
6931
+ *
6932
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6933
+ * composition — a subscription-only schema is invalid.
6934
+ */
6573
6935
  export type QueryGetMedicationGroupsArgs = {
6574
6936
  request?: InputMaybe<MedicationGroupQueryRequest>;
6575
6937
  };
6938
+ /**
6939
+ * Read operations on FHIR Subscription notification streams.
6940
+ *
6941
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6942
+ * composition — a subscription-only schema is invalid.
6943
+ */
6576
6944
  export type QueryGetMedicationKnowledgeArgs = {
6577
6945
  request?: InputMaybe<MedicationKnowledgeRequest>;
6578
6946
  };
6947
+ /**
6948
+ * Read operations on FHIR Subscription notification streams.
6949
+ *
6950
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6951
+ * composition — a subscription-only schema is invalid.
6952
+ */
6579
6953
  export type QueryGetMedicationPricingArgs = {
6580
6954
  request?: InputMaybe<MedicationPricingRequest>;
6581
6955
  };
6956
+ /**
6957
+ * Read operations on FHIR Subscription notification streams.
6958
+ *
6959
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6960
+ * composition — a subscription-only schema is invalid.
6961
+ */
6582
6962
  export type QueryGetMedicationRequestArgs = {
6583
6963
  request?: InputMaybe<MedicationRequestQueryRequest>;
6584
6964
  };
6965
+ /**
6966
+ * Read operations on FHIR Subscription notification streams.
6967
+ *
6968
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6969
+ * composition — a subscription-only schema is invalid.
6970
+ */
6585
6971
  export type QueryGetMedicationStatementsArgs = {
6586
6972
  request?: InputMaybe<MedicationStatementQueryRequest>;
6587
6973
  };
6974
+ /**
6975
+ * Read operations on FHIR Subscription notification streams.
6976
+ *
6977
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6978
+ * composition — a subscription-only schema is invalid.
6979
+ */
6588
6980
  export type QueryGetMemberConnectionsArgs = {
6589
6981
  integrationType?: InputMaybe<Array<Scalars['String']['input']>>;
6590
6982
  status?: InputMaybe<Array<Scalars['String']['input']>>;
6591
6983
  syncStatus?: InputMaybe<Array<Scalars['String']['input']>>;
6592
6984
  };
6985
+ /**
6986
+ * Read operations on FHIR Subscription notification streams.
6987
+ *
6988
+ * A `query` root is required by the GraphQL specification and by federated subgraph
6989
+ * composition — a subscription-only schema is invalid.
6990
+ */
6593
6991
  export type QueryGetOauthUrlArgs = {
6594
6992
  connectUrl?: InputMaybe<Scalars['String']['input']>;
6595
6993
  connectionId: Scalars['String']['input'];
6596
6994
  failureUrl?: InputMaybe<Scalars['String']['input']>;
6597
6995
  successUrl?: InputMaybe<Scalars['String']['input']>;
6598
6996
  };
6997
+ /**
6998
+ * Read operations on FHIR Subscription notification streams.
6999
+ *
7000
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7001
+ * composition — a subscription-only schema is invalid.
7002
+ */
6599
7003
  export type QueryGetObservationsArgs = {
6600
7004
  request?: InputMaybe<ObservationRequest>;
6601
7005
  };
7006
+ /**
7007
+ * Read operations on FHIR Subscription notification streams.
7008
+ *
7009
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7010
+ * composition — a subscription-only schema is invalid.
7011
+ */
6602
7012
  export type QueryGetPersonByIdArgs = {
6603
7013
  id: Scalars['ID']['input'];
6604
7014
  };
7015
+ /**
7016
+ * Read operations on FHIR Subscription notification streams.
7017
+ *
7018
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7019
+ * composition — a subscription-only schema is invalid.
7020
+ */
6605
7021
  export type QueryGetPersonByRegCodeArgs = {
6606
7022
  regCode?: InputMaybe<Scalars['String']['input']>;
6607
7023
  };
7024
+ /**
7025
+ * Read operations on FHIR Subscription notification streams.
7026
+ *
7027
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7028
+ * composition — a subscription-only schema is invalid.
7029
+ */
6608
7030
  export type QueryGetProcedureGroupsArgs = {
6609
7031
  request?: InputMaybe<ProcedureGroupQueryRequest>;
6610
7032
  };
7033
+ /**
7034
+ * Read operations on FHIR Subscription notification streams.
7035
+ *
7036
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7037
+ * composition — a subscription-only schema is invalid.
7038
+ */
6611
7039
  export type QueryGetProceduresArgs = {
6612
7040
  request?: InputMaybe<ProcedureRequest>;
6613
7041
  };
7042
+ /**
7043
+ * Read operations on FHIR Subscription notification streams.
7044
+ *
7045
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7046
+ * composition — a subscription-only schema is invalid.
7047
+ */
6614
7048
  export type QueryGetProvenancesArgs = {
6615
7049
  request?: InputMaybe<ProvenanceRequest>;
6616
7050
  };
7051
+ /**
7052
+ * Read operations on FHIR Subscription notification streams.
7053
+ *
7054
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7055
+ * composition — a subscription-only schema is invalid.
7056
+ */
6617
7057
  export type QueryGetSupportArticlesArgs = {
6618
7058
  input?: InputMaybe<SupportArticlesInput>;
6619
7059
  };
7060
+ /**
7061
+ * Read operations on FHIR Subscription notification streams.
7062
+ *
7063
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7064
+ * composition — a subscription-only schema is invalid.
7065
+ */
6620
7066
  export type QueryGetSupportAttachmentArgs = {
6621
7067
  input: SupportAttachmentInput;
6622
7068
  };
7069
+ /**
7070
+ * Read operations on FHIR Subscription notification streams.
7071
+ *
7072
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7073
+ * composition — a subscription-only schema is invalid.
7074
+ */
6623
7075
  export type QueryGetSupportCommentsArgs = {
6624
7076
  input: SupportCommentsInput;
6625
7077
  };
7078
+ /**
7079
+ * Read operations on FHIR Subscription notification streams.
7080
+ *
7081
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7082
+ * composition — a subscription-only schema is invalid.
7083
+ */
6626
7084
  export type QueryGetSupportRequestsArgs = {
6627
7085
  input?: InputMaybe<SupportRequestsInput>;
6628
7086
  };
7087
+ /**
7088
+ * Read operations on FHIR Subscription notification streams.
7089
+ *
7090
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7091
+ * composition — a subscription-only schema is invalid.
7092
+ */
6629
7093
  export type QueryGetTasksArgs = {
6630
7094
  request?: InputMaybe<TaskRequest>;
6631
7095
  };
7096
+ /**
7097
+ * Read operations on FHIR Subscription notification streams.
7098
+ *
7099
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7100
+ * composition — a subscription-only schema is invalid.
7101
+ */
6632
7102
  export type QueryGetUserDetailsFromCognitoArgs = {
6633
7103
  userPoolId: Scalars['String']['input'];
6634
7104
  username: Scalars['String']['input'];
6635
7105
  };
7106
+ /**
7107
+ * Read operations on FHIR Subscription notification streams.
7108
+ *
7109
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7110
+ * composition — a subscription-only schema is invalid.
7111
+ */
6636
7112
  export type QueryGetVitalSignGroupsArgs = {
6637
7113
  request?: InputMaybe<VitalSignGroupQueryRequest>;
6638
7114
  };
7115
+ /**
7116
+ * Read operations on FHIR Subscription notification streams.
7117
+ *
7118
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7119
+ * composition — a subscription-only schema is invalid.
7120
+ */
6639
7121
  export type QueryGetVitalSignsArgs = {
6640
7122
  request?: InputMaybe<VitalSignRequest>;
6641
7123
  };
7124
+ /**
7125
+ * Read operations on FHIR Subscription notification streams.
7126
+ *
7127
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7128
+ * composition — a subscription-only schema is invalid.
7129
+ */
6642
7130
  export type QueryGoalsArgs = {
6643
7131
  _count?: InputMaybe<Scalars['Int']['input']>;
6644
7132
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6648,23 +7136,59 @@ export type QueryGoalsArgs = {
6648
7136
  id?: InputMaybe<SearchString>;
6649
7137
  subject?: InputMaybe<SearchReference>;
6650
7138
  };
7139
+ /**
7140
+ * Read operations on FHIR Subscription notification streams.
7141
+ *
7142
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7143
+ * composition — a subscription-only schema is invalid.
7144
+ */
6651
7145
  export type QueryHealthLinksArgs = {
6652
7146
  input?: InputMaybe<HealthLinkFilter>;
6653
7147
  };
7148
+ /**
7149
+ * Read operations on FHIR Subscription notification streams.
7150
+ *
7151
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7152
+ * composition — a subscription-only schema is invalid.
7153
+ */
6654
7154
  export type QueryInitSdkArgs = {
6655
7155
  clientKey: Scalars['String']['input'];
6656
7156
  organizationId?: InputMaybe<Scalars['String']['input']>;
6657
7157
  };
7158
+ /**
7159
+ * Read operations on FHIR Subscription notification streams.
7160
+ *
7161
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7162
+ * composition — a subscription-only schema is invalid.
7163
+ */
6658
7164
  export type QueryLocationsArgs = {
6659
7165
  request: LocationsRequest;
6660
7166
  };
7167
+ /**
7168
+ * Read operations on FHIR Subscription notification streams.
7169
+ *
7170
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7171
+ * composition — a subscription-only schema is invalid.
7172
+ */
6661
7173
  export type QueryLoginArgs = {
6662
7174
  email: Scalars['String']['input'];
6663
7175
  password: Scalars['String']['input'];
6664
7176
  };
7177
+ /**
7178
+ * Read operations on FHIR Subscription notification streams.
7179
+ *
7180
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7181
+ * composition — a subscription-only schema is invalid.
7182
+ */
6665
7183
  export type QueryOrganizationsArgs = {
6666
7184
  request: OrganizationsRequest;
6667
7185
  };
7186
+ /**
7187
+ * Read operations on FHIR Subscription notification streams.
7188
+ *
7189
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7190
+ * composition — a subscription-only schema is invalid.
7191
+ */
6668
7192
  export type QueryPatientsArgs = {
6669
7193
  _count?: InputMaybe<Scalars['Int']['input']>;
6670
7194
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6673,18 +7197,48 @@ export type QueryPatientsArgs = {
6673
7197
  _total?: InputMaybe<TotalType>;
6674
7198
  id?: InputMaybe<SearchString>;
6675
7199
  };
7200
+ /**
7201
+ * Read operations on FHIR Subscription notification streams.
7202
+ *
7203
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7204
+ * composition — a subscription-only schema is invalid.
7205
+ */
6676
7206
  export type QueryPersonArgs = {
6677
7207
  id: Scalars['ID']['input'];
6678
7208
  };
7209
+ /**
7210
+ * Read operations on FHIR Subscription notification streams.
7211
+ *
7212
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7213
+ * composition — a subscription-only schema is invalid.
7214
+ */
6679
7215
  export type QueryPractitionerRolesArgs = {
6680
7216
  request: PractitionersRoleRequest;
6681
7217
  };
7218
+ /**
7219
+ * Read operations on FHIR Subscription notification streams.
7220
+ *
7221
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7222
+ * composition — a subscription-only schema is invalid.
7223
+ */
6682
7224
  export type QueryPractitionersArgs = {
6683
7225
  request: PractitionersRequest;
6684
7226
  };
7227
+ /**
7228
+ * Read operations on FHIR Subscription notification streams.
7229
+ *
7230
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7231
+ * composition — a subscription-only schema is invalid.
7232
+ */
6685
7233
  export type QueryProfileArgs = {
6686
7234
  id: Scalars['ID']['input'];
6687
7235
  };
7236
+ /**
7237
+ * Read operations on FHIR Subscription notification streams.
7238
+ *
7239
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7240
+ * composition — a subscription-only schema is invalid.
7241
+ */
6688
7242
  export type QueryProvenancesArgs = {
6689
7243
  _count?: InputMaybe<Scalars['Int']['input']>;
6690
7244
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6694,6 +7248,12 @@ export type QueryProvenancesArgs = {
6694
7248
  id?: InputMaybe<SearchString>;
6695
7249
  patient?: InputMaybe<SearchReference>;
6696
7250
  };
7251
+ /**
7252
+ * Read operations on FHIR Subscription notification streams.
7253
+ *
7254
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7255
+ * composition — a subscription-only schema is invalid.
7256
+ */
6697
7257
  export type QueryProvidersArgs = {
6698
7258
  client?: InputMaybe<Array<InputMaybe<Client>>>;
6699
7259
  filter_values?: InputMaybe<Array<InputMaybe<FilterField>>>;
@@ -6711,16 +7271,34 @@ export type QueryProvidersArgs = {
6711
7271
  specialty?: InputMaybe<Array<InputMaybe<InputCoding>>>;
6712
7272
  user?: InputMaybe<User>;
6713
7273
  };
7274
+ /**
7275
+ * Read operations on FHIR Subscription notification streams.
7276
+ *
7277
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7278
+ * composition — a subscription-only schema is invalid.
7279
+ */
6714
7280
  export type QueryQuestionnaireArgs = {
6715
7281
  id?: InputMaybe<Scalars['ID']['input']>;
6716
7282
  name?: InputMaybe<Scalars['String']['input']>;
6717
7283
  };
7284
+ /**
7285
+ * Read operations on FHIR Subscription notification streams.
7286
+ *
7287
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7288
+ * composition — a subscription-only schema is invalid.
7289
+ */
6718
7290
  export type QueryQuestionnaireResponseArgs = {
6719
7291
  patientId?: InputMaybe<Scalars['String']['input']>;
6720
7292
  questionnaireId?: InputMaybe<Scalars['String']['input']>;
6721
7293
  questionnaireName?: InputMaybe<Scalars['String']['input']>;
6722
7294
  searchParams?: InputMaybe<Scalars['String']['input']>;
6723
7295
  };
7296
+ /**
7297
+ * Read operations on FHIR Subscription notification streams.
7298
+ *
7299
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7300
+ * composition — a subscription-only schema is invalid.
7301
+ */
6724
7302
  export type QueryQuestionnaireResponsesArgs = {
6725
7303
  _count?: InputMaybe<Scalars['Int']['input']>;
6726
7304
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6733,9 +7311,21 @@ export type QueryQuestionnaireResponsesArgs = {
6733
7311
  questionnaire?: InputMaybe<SearchReference>;
6734
7312
  status?: InputMaybe<SearchToken>;
6735
7313
  };
7314
+ /**
7315
+ * Read operations on FHIR Subscription notification streams.
7316
+ *
7317
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7318
+ * composition — a subscription-only schema is invalid.
7319
+ */
6736
7320
  export type QueryQuestionnairesArgs = {
6737
7321
  parameters: QuestionnaireSearchParameters;
6738
7322
  };
7323
+ /**
7324
+ * Read operations on FHIR Subscription notification streams.
7325
+ *
7326
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7327
+ * composition — a subscription-only schema is invalid.
7328
+ */
6739
7329
  export type QueryRelatedPersonsArgs = {
6740
7330
  _count?: InputMaybe<Scalars['Int']['input']>;
6741
7331
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6745,18 +7335,48 @@ export type QueryRelatedPersonsArgs = {
6745
7335
  id?: InputMaybe<SearchString>;
6746
7336
  patient?: InputMaybe<SearchReference>;
6747
7337
  };
7338
+ /**
7339
+ * Read operations on FHIR Subscription notification streams.
7340
+ *
7341
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7342
+ * composition — a subscription-only schema is invalid.
7343
+ */
6748
7344
  export type QueryRequestConnectionArgs = {
6749
7345
  input?: InputMaybe<RequestConnectionInput>;
6750
7346
  };
7347
+ /**
7348
+ * Read operations on FHIR Subscription notification streams.
7349
+ *
7350
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7351
+ * composition — a subscription-only schema is invalid.
7352
+ */
6751
7353
  export type QuerySearchArgs = {
6752
7354
  params: ConsentSearch;
6753
7355
  };
7356
+ /**
7357
+ * Read operations on FHIR Subscription notification streams.
7358
+ *
7359
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7360
+ * composition — a subscription-only schema is invalid.
7361
+ */
6754
7362
  export type QuerySearchHealthResourcesArgs = {
6755
7363
  searchInput?: InputMaybe<SearchHealthResourcesInput>;
6756
7364
  };
7365
+ /**
7366
+ * Read operations on FHIR Subscription notification streams.
7367
+ *
7368
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7369
+ * composition — a subscription-only schema is invalid.
7370
+ */
6757
7371
  export type QuerySearchProvidersArgs = {
6758
7372
  searchProvidersInput?: InputMaybe<SearchProvidersInput>;
6759
7373
  };
7374
+ /**
7375
+ * Read operations on FHIR Subscription notification streams.
7376
+ *
7377
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7378
+ * composition — a subscription-only schema is invalid.
7379
+ */
6760
7380
  export type QueryServiceRequestsArgs = {
6761
7381
  _count?: InputMaybe<Scalars['Int']['input']>;
6762
7382
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6766,6 +7386,12 @@ export type QueryServiceRequestsArgs = {
6766
7386
  id?: InputMaybe<SearchString>;
6767
7387
  patient?: InputMaybe<SearchReference>;
6768
7388
  };
7389
+ /**
7390
+ * Read operations on FHIR Subscription notification streams.
7391
+ *
7392
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7393
+ * composition — a subscription-only schema is invalid.
7394
+ */
6769
7395
  export type QuerySpecimensArgs = {
6770
7396
  _count?: InputMaybe<Scalars['Int']['input']>;
6771
7397
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -6775,6 +7401,21 @@ export type QuerySpecimensArgs = {
6775
7401
  id?: InputMaybe<SearchString>;
6776
7402
  patient?: InputMaybe<SearchReference>;
6777
7403
  };
7404
+ /**
7405
+ * Read operations on FHIR Subscription notification streams.
7406
+ *
7407
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7408
+ * composition — a subscription-only schema is invalid.
7409
+ */
7410
+ export type QuerySubscriptionStreamStatusArgs = {
7411
+ subscriptionId: Scalars['ID']['input'];
7412
+ };
7413
+ /**
7414
+ * Read operations on FHIR Subscription notification streams.
7415
+ *
7416
+ * A `query` root is required by the GraphQL specification and by federated subgraph
7417
+ * composition — a subscription-only schema is invalid.
7418
+ */
6778
7419
  export type QuerySubscription_SubscriptionArgs = {
6779
7420
  _count?: InputMaybe<Scalars['Int']['input']>;
6780
7421
  _debug?: InputMaybe<Scalars['Boolean']['input']>;
@@ -7395,6 +8036,18 @@ export declare enum ResourceType {
7395
8036
  Observation = "OBSERVATION",
7396
8037
  Procedure = "PROCEDURE"
7397
8038
  }
8039
+ /** Running merge totals for one resource type. */
8040
+ export type ResourceTypeCount = {
8041
+ __typename?: 'ResourceTypeCount';
8042
+ /** Resources created so far. */
8043
+ added: Scalars['Int']['output'];
8044
+ /** Resources updated so far. */
8045
+ modified: Scalars['Int']['output'];
8046
+ /** Producer outcome: `success`, `unchanged` or `error`. */
8047
+ outcome: Scalars['String']['output'];
8048
+ /** FHIR resource type, such as `Observation`. */
8049
+ resourceType: Scalars['String']['output'];
8050
+ };
7398
8051
  export type Rest = {
7399
8052
  __typename?: 'Rest';
7400
8053
  endpoints: RestEndpoints;
@@ -8024,6 +8677,13 @@ export type SpecimenSubjectReference = {
8024
8677
  reference?: Maybe<Scalars['String']['output']>;
8025
8678
  type?: Maybe<Scalars['URI']['output']>;
8026
8679
  };
8680
+ /** State of one step. Frozen against additions, as `ConnectionRetrievalState`. */
8681
+ export declare enum StepState {
8682
+ Completed = "COMPLETED",
8683
+ Errored = "ERRORED",
8684
+ Skipped = "SKIPPED",
8685
+ Started = "STARTED"
8686
+ }
8027
8687
  /** Represents the subject (patient or group) of the care plan. */
8028
8688
  export type Subject = {
8029
8689
  __typename?: 'Subject';
@@ -8032,6 +8692,30 @@ export type Subject = {
8032
8692
  /** The unique identifier of the subject resource. */
8033
8693
  id?: Maybe<Scalars['ID']['output']>;
8034
8694
  };
8695
+ /**
8696
+ * The state of a FHIR Subscription's notification stream, as reported by the IG
8697
+ * `$status` operation.
8698
+ *
8699
+ * Deliberately not the FHIR `SubscriptionStatus` resource: fhir-server owns that
8700
+ * type on the federated graph. This is the operation's result, reduced to the
8701
+ * fields a resuming client needs.
8702
+ */
8703
+ export type SubscriptionStreamStatus = {
8704
+ __typename?: 'SubscriptionStreamStatus';
8705
+ /**
8706
+ * Total events recorded for this subscription since it started.
8707
+ *
8708
+ * Per the IG, gap detection is the subscriber's responsibility: compare this
8709
+ * against the highest `eventNumber` you have processed, using the same numeric
8710
+ * comparison rule documented on `eventNumber`. `String` for the same reason as
8711
+ * `eventsSinceNumber` — the underlying counter is `UInt64`.
8712
+ */
8713
+ eventsSinceSubscriptionStart: Scalars['String']['output'];
8714
+ /** IG subscription status: `requested`, `active`, `error` or `off`. */
8715
+ status: Scalars['String']['output'];
8716
+ /** Logical id of the FHIR Subscription resource. */
8717
+ subscriptionId: Scalars['ID']['output'];
8718
+ };
8035
8719
  export type Subscription_Subscription = {
8036
8720
  __typename?: 'Subscription_Subscription';
8037
8721
  client_person_id?: Maybe<Scalars['String']['output']>;