@icanbwell/bwell-sdk-ts 1.31.0 → 1.33.0-rc.1750778560

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.
Files changed (49) hide show
  1. package/README.md +7 -0
  2. package/dist/__version__.d.ts +1 -1
  3. package/dist/__version__.js +1 -1
  4. package/dist/api/base/api-provider.d.ts +2 -0
  5. package/dist/api/base/health-data/health-data-request.d.ts +7 -0
  6. package/dist/api/base/health-data/health-data-request.js +7 -0
  7. package/dist/api/base/health-data/health-manager.d.ts +23 -2
  8. package/dist/api/base/health-data/index.d.ts +2 -2
  9. package/dist/api/base/health-data/index.js +1 -1
  10. package/dist/api/base/health-space/appointments-request.d.ts +6 -1
  11. package/dist/api/base/health-space/appointments-request.js +8 -2
  12. package/dist/api/base/index.d.ts +1 -0
  13. package/dist/api/base/index.js +1 -0
  14. package/dist/api/base/questionnaire/index.d.ts +2 -0
  15. package/dist/api/base/questionnaire/index.js +1 -0
  16. package/dist/api/base/questionnaire/next-question-request.d.ts +18 -0
  17. package/dist/api/base/questionnaire/next-question-request.js +55 -0
  18. package/dist/api/base/questionnaire/questionnaire-manager.d.ts +19 -0
  19. package/dist/api/base/questionnaire/questionnaire-manager.js +1 -0
  20. package/dist/api/base/requests/search-token.d.ts +8 -4
  21. package/dist/api/base/requests/search-token.js +24 -2
  22. package/dist/api/base/search/index.d.ts +2 -1
  23. package/dist/api/base/search/index.js +1 -0
  24. package/dist/api/base/search/search-health-resources-request.d.ts +87 -0
  25. package/dist/api/base/search/search-health-resources-request.js +20 -0
  26. package/dist/api/base/search/search-manager.d.ts +14 -3
  27. package/dist/api/graphql-api/graphql-api-provider.d.ts +2 -0
  28. package/dist/api/graphql-api/graphql-api-provider.js +2 -0
  29. package/dist/api/graphql-api/health-space/appointments-request-factory.js +2 -1
  30. package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +3 -1
  31. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +34 -0
  32. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +19 -0
  33. package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +58 -0
  34. package/dist/api/graphql-api/questionnaire/index.d.ts +1 -0
  35. package/dist/api/graphql-api/questionnaire/index.js +1 -0
  36. package/dist/api/graphql-api/search/graphql-search-manager.d.ts +2 -1
  37. package/dist/api/graphql-api/search/graphql-search-manager.js +24 -3
  38. package/dist/api/graphql-api/search/search-health-resources-request-factory.d.ts +14 -0
  39. package/dist/api/graphql-api/search/search-health-resources-request-factory.js +28 -0
  40. package/dist/api/graphql-api/search/search-request-factory.d.ts +1 -1
  41. package/dist/api/graphql-api/search/search-request-factory.js +1 -1
  42. package/dist/bwell-sdk/bwell-sdk.d.ts +2 -0
  43. package/dist/bwell-sdk/bwell-sdk.js +3 -0
  44. package/dist/graphql/operations/index.d.ts +30 -2
  45. package/dist/graphql/operations/index.js +402 -1
  46. package/dist/graphql/operations/types.d.ts +3617 -826
  47. package/dist/graphql/schema.d.ts +408 -205
  48. package/dist/graphql/schema.js +18 -1
  49. package/package.json +2 -2
@@ -186,6 +186,12 @@ export type Address = {
186
186
  type?: Maybe<Scalars['Code']['output']>;
187
187
  use?: Maybe<Scalars['Code']['output']>;
188
188
  };
189
+ export type AddressField = {
190
+ city: Scalars['String']['input'];
191
+ line: Scalars['String']['input'];
192
+ postalCode: Scalars['String']['input'];
193
+ state: Scalars['String']['input'];
194
+ };
189
195
  export type AddressG = {
190
196
  __typename?: 'AddressG';
191
197
  country: Scalars['String']['output'];
@@ -198,6 +204,8 @@ export type AddressInput = {
198
204
  city?: InputMaybe<Scalars['String']['input']>;
199
205
  country?: InputMaybe<Scalars['String']['input']>;
200
206
  district?: InputMaybe<Scalars['String']['input']>;
207
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
208
+ id?: InputMaybe<Scalars['String']['input']>;
201
209
  line?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
202
210
  postalCode?: InputMaybe<Scalars['String']['input']>;
203
211
  state?: InputMaybe<Scalars['String']['input']>;
@@ -331,15 +339,22 @@ export type ApiMap = {
331
339
  rest: Rest;
332
340
  user: Scalars['String']['output'];
333
341
  };
334
- export type Appointment = {
342
+ export type Appointment = Resource & {
335
343
  __typename?: 'Appointment';
336
344
  cancelationReason?: Maybe<CodeableConcept>;
345
+ comment?: Maybe<Scalars['String']['output']>;
337
346
  contained?: Maybe<Array<Maybe<Resource>>>;
338
347
  description?: Maybe<Scalars['String']['output']>;
339
348
  end?: Maybe<Scalars['Instant']['output']>;
349
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
340
350
  id: Scalars['ID']['output'];
341
351
  identifier?: Maybe<Array<Maybe<Identifier>>>;
352
+ implicitRules?: Maybe<Scalars['URI']['output']>;
353
+ language?: Maybe<Scalars['Code']['output']>;
354
+ meta?: Maybe<Meta>;
342
355
  participant?: Maybe<Array<Maybe<AppointmentParticipant>>>;
356
+ requestedPeriod?: Maybe<Array<Maybe<Period>>>;
357
+ resourceType?: Maybe<Scalars['String']['output']>;
343
358
  serviceType?: Maybe<Array<Maybe<CodeableConcept>>>;
344
359
  slot?: Maybe<Array<Maybe<AppointmentSlotReference>>>;
345
360
  start?: Maybe<Scalars['Instant']['output']>;
@@ -360,6 +375,7 @@ export type AppointmentParticipant = {
360
375
  __typename?: 'AppointmentParticipant';
361
376
  actor?: Maybe<AppointmentParticipantActorReference>;
362
377
  id?: Maybe<Scalars['String']['output']>;
378
+ status?: Maybe<Scalars['Code']['output']>;
363
379
  type?: Maybe<Array<Maybe<CodeableConcept>>>;
364
380
  };
365
381
  export type AppointmentParticipantActor = Location | Patient;
@@ -401,17 +417,20 @@ export type AppointmentSupportingInformationReference = {
401
417
  export type Asserter = Patient | Practitioner;
402
418
  export type Attachment = {
403
419
  __typename?: 'Attachment';
420
+ contentType?: Maybe<Scalars['Code']['output']>;
421
+ creation?: Maybe<Scalars['DateTime']['output']>;
404
422
  data?: Maybe<Scalars['Base64Binary']['output']>;
423
+ hash?: Maybe<Scalars['Base64Binary']['output']>;
424
+ id?: Maybe<Scalars['String']['output']>;
425
+ language?: Maybe<Scalars['Code']['output']>;
426
+ size?: Maybe<Scalars['Int']['output']>;
427
+ title?: Maybe<Scalars['String']['output']>;
428
+ url?: Maybe<Scalars['URL']['output']>;
405
429
  };
406
430
  export type AttachmentInput = {
407
431
  contentType?: InputMaybe<Scalars['Code']['input']>;
408
- creation?: InputMaybe<Scalars['DateTime']['input']>;
409
432
  data?: InputMaybe<Scalars['Base64Binary']['input']>;
410
- extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
411
- hash?: InputMaybe<Scalars['Base64Binary']['input']>;
412
433
  id: Scalars['String']['input'];
413
- language?: InputMaybe<Scalars['String']['input']>;
414
- size?: InputMaybe<Scalars['Int']['input']>;
415
434
  title?: InputMaybe<Scalars['String']['input']>;
416
435
  };
417
436
  export type AuthCode = {
@@ -594,6 +613,7 @@ export declare enum CategoryCode {
594
613
  DataSharing = "DATA_SHARING",
595
614
  HealthCircleAdolescent = "HEALTH_CIRCLE_ADOLESCENT",
596
615
  HealthCircleMinor = "HEALTH_CIRCLE_MINOR",
616
+ HealthMatch = "HEALTH_MATCH",
597
617
  IasImportRecords = "IAS_IMPORT_RECORDS",
598
618
  MobileCommunicationPreferences = "MOBILE_COMMUNICATION_PREFERENCES",
599
619
  PersonalizedHealthOffersAndAds = "PERSONALIZED_HEALTH_OFFERS_AND_ADS",
@@ -1104,9 +1124,9 @@ export type ConsentVerificationVerifiedWithReference = {
1104
1124
  reference?: Maybe<Scalars['String']['output']>;
1105
1125
  type?: Maybe<Scalars['URI']['output']>;
1106
1126
  };
1107
- export type ContactDetailInput = {
1108
- name?: InputMaybe<Scalars['String']['input']>;
1109
- telecom?: InputMaybe<Array<InputMaybe<ContactPointInput>>>;
1127
+ export type ContactField = {
1128
+ use: ContactUseType;
1129
+ value: Scalars['String']['input'];
1110
1130
  };
1111
1131
  export type ContactPoint = {
1112
1132
  __typename?: 'ContactPoint';
@@ -1121,6 +1141,8 @@ export type ContactPoint = {
1121
1141
  value?: Maybe<Scalars['String']['output']>;
1122
1142
  };
1123
1143
  export type ContactPointInput = {
1144
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
1145
+ id?: InputMaybe<Scalars['String']['input']>;
1124
1146
  /** Can define enum */
1125
1147
  rank?: InputMaybe<Scalars['Int']['input']>;
1126
1148
  system?: InputMaybe<Scalars['String']['input']>;
@@ -1128,14 +1150,12 @@ export type ContactPointInput = {
1128
1150
  /** Can define enum */
1129
1151
  value?: InputMaybe<Scalars['String']['input']>;
1130
1152
  };
1131
- export type ContainedResourceInput = {
1132
- healthcareService?: InputMaybe<HealthcareServiceInput>;
1133
- location?: InputMaybe<LocationInput>;
1134
- organization?: InputMaybe<OrganizationInput>;
1135
- patient?: InputMaybe<PatientInput>;
1136
- practitioner?: InputMaybe<PractitionerInput>;
1137
- questionnaire?: InputMaybe<QuestionnaireInput>;
1138
- };
1153
+ /** Contact.use options */
1154
+ export declare enum ContactUseType {
1155
+ Home = "home",
1156
+ Mobile = "mobile",
1157
+ Work = "work"
1158
+ }
1139
1159
  /** Supported ISO 4217 CurrencyCodes */
1140
1160
  export declare enum CurrencyCode {
1141
1161
  Usd = "USD"
@@ -1230,6 +1250,7 @@ export type DiagnosticReportBasedOnReference = {
1230
1250
  export type DiagnosticReportBundle = {
1231
1251
  __typename?: 'DiagnosticReportBundle';
1232
1252
  entry?: Maybe<Array<Maybe<DiagnosticReportBundleEntry>>>;
1253
+ total?: Maybe<Scalars['Int']['output']>;
1233
1254
  };
1234
1255
  export type DiagnosticReportBundleEntry = {
1235
1256
  __typename?: 'DiagnosticReportBundleEntry';
@@ -1240,6 +1261,36 @@ export type DiagnosticReportEncounterReference = {
1240
1261
  display?: Maybe<Scalars['String']['output']>;
1241
1262
  reference?: Maybe<Scalars['String']['output']>;
1242
1263
  };
1264
+ export type DiagnosticReportLabGroup = ResourceGroup & {
1265
+ __typename?: 'DiagnosticReportLabGroup';
1266
+ /** Coding representing the kind of Conditions in this ResourceGroup */
1267
+ coding?: Maybe<Coding>;
1268
+ /** The single point in time when the diagnostic-report/observation was made. */
1269
+ effectiveDateTime?: Maybe<Scalars['DateTime']['output']>;
1270
+ /** Unique identifier for the Group */
1271
+ id?: Maybe<Scalars['ID']['output']>;
1272
+ /** DateTime when the report was created or effective */
1273
+ issued?: Maybe<Scalars['DateTime']['output']>;
1274
+ /** Human readable name of the Lab */
1275
+ name?: Maybe<Scalars['String']['output']>;
1276
+ /** Who is responsible for the observation/diagnostic report */
1277
+ performer?: Maybe<Scalars['String']['output']>;
1278
+ /** Array of diagnostic reports and observation id references in the ResourceGroup */
1279
+ references?: Maybe<Array<Scalars['String']['output']>>;
1280
+ /** Array of Strings representing the source of the data */
1281
+ source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1282
+ /** Array of Strings representing the source of the data in a human readable format */
1283
+ sourceDisplay?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1284
+ };
1285
+ export type DiagnosticReportLabGroupQueryRequest = {
1286
+ page?: InputMaybe<Scalars['Int']['input']>;
1287
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1288
+ };
1289
+ export type DiagnosticReportLabGroupQueryResults = PagedQueryResults & {
1290
+ __typename?: 'DiagnosticReportLabGroupQueryResults';
1291
+ paging_info?: Maybe<PagingResults>;
1292
+ resources: Array<DiagnosticReportLabGroup>;
1293
+ };
1243
1294
  export type DiagnosticReportPerformerReference = {
1244
1295
  __typename?: 'DiagnosticReportPerformerReference';
1245
1296
  display?: Maybe<Scalars['String']['output']>;
@@ -1596,6 +1647,15 @@ export type Expression = {
1596
1647
  /** A URI that defines where the expression is found. */
1597
1648
  reference?: Maybe<Scalars['URI']['output']>;
1598
1649
  };
1650
+ export type ExpressionInput = {
1651
+ description?: InputMaybe<Scalars['String']['input']>;
1652
+ expression?: InputMaybe<Scalars['String']['input']>;
1653
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
1654
+ id?: InputMaybe<Scalars['String']['input']>;
1655
+ language?: InputMaybe<Scalars['Code']['input']>;
1656
+ name?: InputMaybe<Scalars['ID']['input']>;
1657
+ reference?: InputMaybe<Scalars['URI']['input']>;
1658
+ };
1599
1659
  /** Extension */
1600
1660
  export type Extension = {
1601
1661
  __typename?: 'Extension';
@@ -1611,6 +1671,14 @@ export type ExtensionInput = {
1611
1671
  id?: InputMaybe<Scalars['String']['input']>;
1612
1672
  valueCodeableConcept?: InputMaybe<CodeableConceptInput>;
1613
1673
  };
1674
+ /** ExtensionValueReferenceReference */
1675
+ export type ExtensionValueReferenceReference = {
1676
+ __typename?: 'ExtensionValueReferenceReference';
1677
+ display?: Maybe<Scalars['String']['output']>;
1678
+ id?: Maybe<Scalars['String']['output']>;
1679
+ reference?: Maybe<Scalars['String']['output']>;
1680
+ type?: Maybe<Scalars['URI']['output']>;
1681
+ };
1614
1682
  export declare enum FhirPersonGender {
1615
1683
  Female = "female",
1616
1684
  Male = "male",
@@ -1659,6 +1727,8 @@ export type FeatureFlagConfiguration = {
1659
1727
  export type FhirExtension = {
1660
1728
  __typename?: 'FhirExtension';
1661
1729
  /** None */
1730
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
1731
+ /** None */
1662
1732
  id?: Maybe<Scalars['String']['output']>;
1663
1733
  /**
1664
1734
  * A uri that identifies the source system of the resource. This provides a
@@ -1670,6 +1740,8 @@ export type FhirExtension = {
1670
1740
  /** None */
1671
1741
  valueBoolean?: Maybe<Scalars['Boolean']['output']>;
1672
1742
  /** None */
1743
+ valueCode?: Maybe<Scalars['Code']['output']>;
1744
+ /** None */
1673
1745
  valueCodeableConcept?: Maybe<CodeableConcept>;
1674
1746
  /** None */
1675
1747
  valueDateTime?: Maybe<Scalars['DateTime']['output']>;
@@ -1678,7 +1750,11 @@ export type FhirExtension = {
1678
1750
  /** None */
1679
1751
  valueInteger?: Maybe<Scalars['Int']['output']>;
1680
1752
  /** None */
1753
+ valueReference?: Maybe<ExtensionValueReferenceReference>;
1754
+ /** None */
1681
1755
  valueString?: Maybe<Scalars['String']['output']>;
1756
+ /** None */
1757
+ valueUri?: Maybe<Scalars['URI']['output']>;
1682
1758
  };
1683
1759
  export type FhirFormQuestionnaire = {
1684
1760
  __typename?: 'FhirFormQuestionnaire';
@@ -1744,6 +1820,13 @@ export declare enum GenderEnum {
1744
1820
  Other = "OTHER",
1745
1821
  Unknown = "UNKNOWN"
1746
1822
  }
1823
+ /** Gender options */
1824
+ export declare enum GenderType {
1825
+ Female = "female",
1826
+ Male = "male",
1827
+ Other = "other",
1828
+ Unknown = "unknown"
1829
+ }
1747
1830
  /** Generate an oauth url */
1748
1831
  export type GenerateUrl = {
1749
1832
  __typename?: 'GenerateUrl';
@@ -1758,6 +1841,15 @@ export type GetFhirSearchDateValue = {
1758
1841
  /** the value for the parameter in the resource is greater than the provided value */
1759
1842
  greaterThan?: InputMaybe<Scalars['Date']['input']>;
1760
1843
  };
1844
+ export type GetTokenFromDemographicsInput = {
1845
+ address: AddressField;
1846
+ birthDate: Scalars['String']['input'];
1847
+ email: Scalars['String']['input'];
1848
+ gender: GenderType;
1849
+ mobile: ContactField;
1850
+ name: NamedField;
1851
+ userIdentifier: Scalars['String']['input'];
1852
+ };
1761
1853
  export type GoogleGeo = {
1762
1854
  __typename?: 'GoogleGeo';
1763
1855
  key: Scalars['String']['output'];
@@ -1783,6 +1875,7 @@ export type GuestAccessToken = {
1783
1875
  export type HealthResourceSearchResult = {
1784
1876
  __typename?: 'HealthResourceSearchResult';
1785
1877
  content?: Maybe<Scalars['String']['output']>;
1878
+ endpoint?: Maybe<Array<Maybe<EndpointType>>>;
1786
1879
  gender?: Maybe<GenderEnum>;
1787
1880
  iconString?: Maybe<Scalars['String']['output']>;
1788
1881
  id?: Maybe<Scalars['String']['output']>;
@@ -1791,6 +1884,8 @@ export type HealthResourceSearchResult = {
1791
1884
  npi?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1792
1885
  organization?: Maybe<Array<Maybe<OrganizationTypeNew>>>;
1793
1886
  photo?: Maybe<Array<Maybe<ProviderAttachment>>>;
1887
+ score?: Maybe<Scalars['Float']['output']>;
1888
+ scores?: Maybe<Array<Maybe<Score>>>;
1794
1889
  specialty?: Maybe<Array<Maybe<ProviderCoding>>>;
1795
1890
  telecom?: Maybe<Array<Maybe<ProviderContactPoint>>>;
1796
1891
  type?: Maybe<SearchResultTypeEnum>;
@@ -1815,32 +1910,34 @@ export type HealthSummaryResource = {
1815
1910
  category?: Maybe<HealthSummaryCategory>;
1816
1911
  total?: Maybe<Scalars['Int']['output']>;
1817
1912
  };
1818
- export type HealthcareServiceAvailableTimeInput = {
1819
- allDay?: InputMaybe<Scalars['Boolean']['input']>;
1820
- availableEndTime?: InputMaybe<Scalars['String']['input']>;
1821
- availableStartTime?: InputMaybe<Scalars['String']['input']>;
1822
- daysOfWeek?: InputMaybe<Array<InputMaybe<Scalars['Code']['input']>>>;
1913
+ export type HealthcareService = Resource & {
1914
+ __typename?: 'HealthcareService';
1915
+ category?: Maybe<Array<Maybe<CodeableConcept>>>;
1916
+ eligibility?: Maybe<Array<Maybe<HealthcareServiceEligibility>>>;
1917
+ id: Scalars['ID']['output'];
1918
+ implicitRules?: Maybe<Scalars['URI']['output']>;
1919
+ language?: Maybe<Scalars['Code']['output']>;
1920
+ meta?: Maybe<Meta>;
1921
+ name?: Maybe<Scalars['String']['output']>;
1922
+ providedBy?: Maybe<HealthcareServiceProvidedByReference>;
1923
+ resourceType?: Maybe<Scalars['String']['output']>;
1924
+ type?: Maybe<Array<Maybe<CodeableConcept>>>;
1823
1925
  };
1824
- export type HealthcareServiceInput = {
1825
- active?: InputMaybe<Scalars['Boolean']['input']>;
1826
- availableTime?: InputMaybe<Array<InputMaybe<HealthcareServiceAvailableTimeInput>>>;
1827
- category?: InputMaybe<Array<InputMaybe<CodeableConceptInput>>>;
1828
- comment?: InputMaybe<Scalars['String']['input']>;
1829
- extraDetails?: InputMaybe<Scalars['String']['input']>;
1830
- id?: InputMaybe<Scalars['String']['input']>;
1831
- identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
1832
- location?: InputMaybe<Array<InputMaybe<ReferenceInput>>>;
1833
- name?: InputMaybe<Scalars['String']['input']>;
1834
- notAvailable?: InputMaybe<Array<InputMaybe<HealthcareServiceNotAvailableInput>>>;
1835
- providedBy?: InputMaybe<ReferenceInput>;
1836
- resourceType: Scalars['String']['input'];
1837
- service?: InputMaybe<Array<InputMaybe<CodeableConceptInput>>>;
1838
- telecom?: InputMaybe<Array<InputMaybe<ContactPointInput>>>;
1839
- type?: InputMaybe<Array<InputMaybe<CodeableConceptInput>>>;
1926
+ export type HealthcareServiceEligibility = {
1927
+ __typename?: 'HealthcareServiceEligibility';
1928
+ code?: Maybe<CodeableConcept>;
1929
+ comment?: Maybe<Scalars['Markdown']['output']>;
1930
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
1931
+ id?: Maybe<Scalars['String']['output']>;
1840
1932
  };
1841
- export type HealthcareServiceNotAvailableInput = {
1842
- description?: InputMaybe<Scalars['String']['input']>;
1843
- during?: InputMaybe<PeriodInput>;
1933
+ export type HealthcareServiceProvidedByReference = {
1934
+ __typename?: 'HealthcareServiceProvidedByReference';
1935
+ display?: Maybe<Scalars['String']['output']>;
1936
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
1937
+ id?: Maybe<Scalars['String']['output']>;
1938
+ identifier?: Maybe<Identifier>;
1939
+ reference?: Maybe<Scalars['String']['output']>;
1940
+ type?: Maybe<Scalars['URI']['output']>;
1844
1941
  };
1845
1942
  export type HttpClientConfig = {
1846
1943
  __typename?: 'HttpClientConfig';
@@ -1929,10 +2026,10 @@ export type Identifier = {
1929
2026
  value?: Maybe<Scalars['String']['output']>;
1930
2027
  };
1931
2028
  export type IdentifierInput = {
2029
+ id?: InputMaybe<Scalars['String']['input']>;
1932
2030
  system?: InputMaybe<Scalars['String']['input']>;
1933
2031
  /** Can define enum */
1934
2032
  type?: InputMaybe<CodeableConceptInput>;
1935
- use?: InputMaybe<Scalars['String']['input']>;
1936
2033
  value?: InputMaybe<Scalars['String']['input']>;
1937
2034
  };
1938
2035
  export declare enum IdentifierUseKind {
@@ -2274,34 +2371,10 @@ export type Location = Resource & {
2274
2371
  meta?: Maybe<Meta>;
2275
2372
  name?: Maybe<Scalars['String']['output']>;
2276
2373
  position?: Maybe<Position>;
2374
+ resourceType?: Maybe<Scalars['String']['output']>;
2277
2375
  telecom?: Maybe<Array<Maybe<ContactPoint>>>;
2278
2376
  type?: Maybe<Array<Maybe<CodeableConcept>>>;
2279
2377
  };
2280
- export type LocationHoursOfOperationInput = {
2281
- allDay?: InputMaybe<Scalars['Boolean']['input']>;
2282
- closingTime?: InputMaybe<Scalars['String']['input']>;
2283
- daysOfWeek?: InputMaybe<Array<InputMaybe<Scalars['Code']['input']>>>;
2284
- openingTime?: InputMaybe<Scalars['String']['input']>;
2285
- };
2286
- export type LocationInput = {
2287
- address?: InputMaybe<AddressInput>;
2288
- alias?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2289
- availabilityExceptions?: InputMaybe<Scalars['String']['input']>;
2290
- description?: InputMaybe<Scalars['String']['input']>;
2291
- hoursOfOperation?: InputMaybe<Array<InputMaybe<LocationHoursOfOperationInput>>>;
2292
- id?: InputMaybe<Scalars['String']['input']>;
2293
- identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
2294
- managingOrganization?: InputMaybe<ReferenceInput>;
2295
- name?: InputMaybe<Scalars['String']['input']>;
2296
- operationalStatus?: InputMaybe<CodingInput>;
2297
- partOf?: InputMaybe<ReferenceInput>;
2298
- physicalType?: InputMaybe<CodeableConceptInput>;
2299
- position?: InputMaybe<LocationPositionInput>;
2300
- resourceType: Scalars['String']['input'];
2301
- status?: InputMaybe<Scalars['Code']['input']>;
2302
- telecom?: InputMaybe<Array<InputMaybe<ContactPointInput>>>;
2303
- type?: InputMaybe<Array<InputMaybe<CodeableConceptInput>>>;
2304
- };
2305
2378
  export type LocationManagingOrganizationReference = {
2306
2379
  __typename?: 'LocationManagingOrganizationReference';
2307
2380
  display?: Maybe<Scalars['String']['output']>;
@@ -2309,11 +2382,6 @@ export type LocationManagingOrganizationReference = {
2309
2382
  identifier?: Maybe<Identifier>;
2310
2383
  reference?: Maybe<Scalars['String']['output']>;
2311
2384
  };
2312
- export type LocationPositionInput = {
2313
- altitude?: InputMaybe<Scalars['Float']['input']>;
2314
- latitude: Scalars['Float']['input'];
2315
- longitude: Scalars['Float']['input'];
2316
- };
2317
2385
  export type LogInResponse = {
2318
2386
  __typename?: 'LogInResponse';
2319
2387
  accessToken: AccessTokenPayload;
@@ -2689,209 +2757,210 @@ export type Mutation = {
2689
2757
  createQuestionnaireResponse?: Maybe<ConsentQuestionnaireResponse>;
2690
2758
  createVerificationUrl: Scalars['String']['output'];
2691
2759
  /**
2692
- * Deletes an AllergyIntolerance resource by its ID.
2760
+ * Initiates deletion of an AllergyIntolerance resource by its ID.
2693
2761
  *
2694
- * Note: This operation may create dangling references.
2762
+ * Note: This operation is asynchronous and may create dangling references.
2695
2763
  * A dangling reference occurs when other resources reference this AllergyIntolerance
2696
2764
  * after deletion. The system does not automatically clean up or invalidate these references.
2697
2765
  *
2698
- * Returns an OperationOutcome indicating success or failure of the deletion.
2766
+ * Returns an OperationOutcome for the delete operation.
2699
2767
  */
2700
2768
  deleteAllergyIntolerance: OperationOutcome;
2701
2769
  /**
2702
- * Deletes an Binary resource by its ID.
2770
+ * Initiates deletion of a Binary resource by its ID.
2703
2771
  *
2704
- * Note: This operation may create dangling references.
2772
+ * Note: This operation is asynchronous and may create dangling references.
2705
2773
  * A dangling reference occurs when other resources reference this Binary
2706
2774
  * after deletion. The system does not automatically clean up or invalidate these references.
2707
2775
  *
2708
- * Returns an OperationOutcome indicating success or failure of the deletion.
2776
+ * Returns an OperationOutcome for the delete operation.
2709
2777
  */
2710
2778
  deleteBinary: OperationOutcome;
2711
2779
  /**
2712
- * Deletes a CarePlan resource by its ID.
2780
+ * Initiates deletion of a CarePlan resource by its ID.
2713
2781
  *
2714
- * Note: This operation may create dangling references.
2782
+ * Note: This operation is asynchronous and may create dangling references.
2715
2783
  * A dangling reference occurs when other resources reference this CarePlan
2716
2784
  * after deletion. The system does not automatically clean up or invalidate these references.
2717
2785
  *
2718
- * Returns an OperationOutcome indicating success or failure of the deletion.
2786
+ * Returns an OperationOutcome for the delete operation.
2719
2787
  */
2720
2788
  deleteCarePlan: OperationOutcome;
2721
2789
  /**
2722
- * Deletes a Condition resource by its ID.
2790
+ * Initiates deletion of a Condition resource by its ID.
2723
2791
  *
2724
- * Note: This operation may create dangling references.
2792
+ * Note: This operation is asynchronous and may create dangling references.
2725
2793
  * A dangling reference occurs when other resources reference this Condition
2726
2794
  * after deletion. The system does not automatically clean up or invalidate these references.
2727
2795
  *
2728
- * Returns an OperationOutcome indicating success or failure of the deletion.
2796
+ * Returns an OperationOutcome for the delete operation.
2729
2797
  */
2730
2798
  deleteCondition: OperationOutcome;
2731
2799
  /** Delete a connection */
2732
2800
  deleteConnection: ConnectionStatusUpdate;
2733
2801
  /**
2734
- * Deletes a DiagnosticReport resource by its ID.
2802
+ * Initiates deletion of a DiagnosticReport resource by its ID.
2735
2803
  *
2736
- * Note: This operation may create dangling references.
2804
+ * Note: This operation is asynchronous and may create dangling references.
2737
2805
  * A dangling reference occurs when other resources reference this DiagnosticReport
2738
2806
  * after deletion. The system does not automatically clean up or invalidate these references.
2739
2807
  *
2740
- * Returns an OperationOutcome indicating success or failure of the deletion.
2808
+ * Returns an OperationOutcome for the delete operation.
2741
2809
  */
2742
2810
  deleteDiagnosticReport: OperationOutcome;
2743
2811
  /**
2744
- * Deletes a DocumentReference resource by its ID.
2812
+ * Initiates deletion of a DocumentReference resource by its ID.
2745
2813
  *
2746
- * Note: This operation may create dangling references.
2814
+ * Note: This operation is asynchronous and may create dangling references.
2747
2815
  * A dangling reference occurs when other resources reference this DocumentReference
2748
2816
  * after deletion. The system does not automatically clean up or invalidate these references.
2749
2817
  *
2750
- * Returns an OperationOutcome indicating success or failure of the deletion.
2818
+ * Returns an OperationOutcome for the delete operation.
2751
2819
  */
2752
2820
  deleteDocumentReference: OperationOutcome;
2753
2821
  /**
2754
- * Deletes a Encounter resource by its ID.
2822
+ * Initiates deletion of an Encounter resource by its ID.
2755
2823
  *
2756
- * Note: This operation may create dangling references.
2824
+ * Note: This operation is asynchronous and may create dangling references.
2757
2825
  * A dangling reference occurs when other resources reference this Encounter
2758
2826
  * after deletion. The system does not automatically clean up or invalidate these references.
2759
2827
  *
2760
- * Returns an OperationOutcome indicating success or failure of the deletion.
2828
+ * Returns an OperationOutcome for the delete operation.
2761
2829
  */
2762
2830
  deleteEncounter: OperationOutcome;
2763
2831
  /**
2764
- * Deletes an ExplanationOfBenefit resource by its ID.
2832
+ * Initiates deletion of an ExplanationOfBenefit resource by its ID.
2765
2833
  *
2766
- * Note: This operation may create dangling references.
2834
+ * Note: This operation is asynchronous and may create dangling references.
2767
2835
  * A dangling reference occurs when other resources reference this ExplanationOfBenefit
2768
2836
  * after deletion. The system does not automatically clean up or invalidate these references.
2769
2837
  *
2770
- * Returns an OperationOutcome indicating success or failure of the deletion.
2838
+ * Returns an OperationOutcome for the delete operation.
2771
2839
  */
2772
2840
  deleteExplanationOfBenefit: OperationOutcome;
2773
2841
  /**
2774
- * Deletes a Goal resource by its ID.
2842
+ * Initiates deletion of a Goal resource by its ID.
2775
2843
  *
2776
- * Note: This operation may create dangling references.
2844
+ * Note: This operation is asynchronous and may create dangling references.
2777
2845
  * A dangling reference occurs when other resources reference this Goal
2778
2846
  * after deletion. The system does not automatically clean up or invalidate these references.
2779
2847
  *
2780
- * Returns an OperationOutcome indicating success or failure of the deletion.
2848
+ * Returns an OperationOutcome for the delete operation.
2781
2849
  */
2782
2850
  deleteGoal: OperationOutcome;
2783
2851
  /**
2784
- * Deletes an ImagingStudy resource by its ID.
2852
+ * Initiates deletion of an ImagingStudy resource by its ID.
2785
2853
  *
2786
- * Note: This operation may create dangling references.
2854
+ * Note: This operation is asynchronous and may create dangling references.
2787
2855
  * A dangling reference occurs when other resources reference this ImagingStudy
2788
2856
  * after deletion. The system does not automatically clean up or invalidate these references.
2789
2857
  *
2790
- * Returns an OperationOutcome indicating success or failure of the deletion.
2858
+ * Returns an OperationOutcome for the delete operation.
2791
2859
  */
2792
2860
  deleteImagingStudy: OperationOutcome;
2793
2861
  /**
2794
- * Deletes a Immunization resource by its ID.
2862
+ * Initiates deletion of an Immunization resource by its ID.
2795
2863
  *
2796
- * Note: This operation may create dangling references.
2864
+ * Note: This operation is asynchronous and may create dangling references.
2797
2865
  * A dangling reference occurs when other resources reference this Immunization
2798
2866
  * after deletion. The system does not automatically clean up or invalidate these references.
2799
2867
  *
2800
- * Returns an OperationOutcome indicating success or failure of the deletion.
2868
+ * Returns an OperationOutcome for the delete operation.
2801
2869
  */
2802
2870
  deleteImmunization: OperationOutcome;
2803
2871
  /**
2804
- * Deletes a MedicationAdministration resource by its ID.
2872
+ * Initiates deletion of a MedicationAdministration resource by its ID.
2805
2873
  *
2806
- * Note: This operation may create dangling references.
2874
+ * Note: This operation is asynchronous and may create dangling references.
2807
2875
  * A dangling reference occurs when other resources reference this MedicationAdministration
2808
2876
  * after deletion. The system does not automatically clean up or invalidate these references.
2809
2877
  *
2810
- * Returns an OperationOutcome indicating success or failure of the deletion.
2878
+ * Returns an OperationOutcome for the delete operation.
2811
2879
  */
2812
2880
  deleteMedicationAdministration: OperationOutcome;
2813
2881
  /**
2814
- * Deletes a MedicationDispense resource by its ID.
2882
+ * Initiates deletion of a MedicationDispense resource by its ID.
2815
2883
  *
2816
- * Note: This operation may create dangling references.
2884
+ * Note: This operation is asynchronous and may create dangling references.
2817
2885
  * A dangling reference occurs when other resources reference this MedicationDispense
2818
2886
  * after deletion. The system does not automatically clean up or invalidate these references.
2819
2887
  *
2820
- * Returns an OperationOutcome indicating success or failure of the deletion.
2888
+ * Returns an OperationOutcome for the delete operation.
2821
2889
  */
2822
2890
  deleteMedicationDispense: OperationOutcome;
2823
2891
  /**
2824
- * Deletes a MedicationRequest resource by its ID.
2892
+ * Initiates deletion of a MedicationRequest resource by its ID.
2825
2893
  *
2826
- * Note: This operation may create dangling references.
2894
+ * Note: This operation is asynchronous and may create dangling references.
2827
2895
  * A dangling reference occurs when other resources reference this MedicationRequest
2828
2896
  * after deletion. The system does not automatically clean up or invalidate these references.
2829
2897
  *
2830
- * Returns an OperationOutcome indicating success or failure of the deletion.
2898
+ * Returns an OperationOutcome for the delete operation.
2831
2899
  */
2832
2900
  deleteMedicationRequest: OperationOutcome;
2833
2901
  /**
2834
- * Deletes a MedicationStatement resource by its ID.
2902
+ * Initiates deletion of a MedicationStatement resource by its ID.
2835
2903
  *
2836
- * Note: This operation may create dangling references.
2837
- * A dangling reference occurs when other resources reference this MedicationStatement
2904
+ * Note: This operation is asynchronous and may create dangling references.
2905
+ * A dangling reference occurs when other resources reference this Medication
2838
2906
  * after deletion. The system does not automatically clean up or invalidate these references.
2839
2907
  *
2840
- * Returns an OperationOutcome indicating success or failure of the deletion.
2908
+ * Returns an OperationOutcome for the delete operation.
2841
2909
  */
2842
2910
  deleteMedicationStatement: OperationOutcome;
2843
2911
  /**
2844
- * Deletes a Observation resource by its ID.
2912
+ * Initiates deletion of an Observation resource by its ID.
2845
2913
  *
2846
- * Note: This operation may create dangling references.
2914
+ * Note: This operation is asynchronous and may create dangling references.
2847
2915
  * A dangling reference occurs when other resources reference this Observation
2848
2916
  * after deletion. The system does not automatically clean up or invalidate these references.
2849
2917
  *
2850
- * Returns an OperationOutcome indicating success or failure of the deletion.
2918
+ * Returns an OperationOutcome for the delete operation.
2851
2919
  */
2852
2920
  deleteObservation: OperationOutcome;
2853
2921
  deletePersonAndPatient?: Maybe<UpdatedPersonMetadata>;
2854
2922
  /**
2855
- * Deletes a Procedure resource by its ID.
2923
+ * Initiates deletion of a Procedure resource by its ID.
2856
2924
  *
2857
- * Note: This operation may create dangling references.
2925
+ * Note: This operation is asynchronous and may create dangling references.
2858
2926
  * A dangling reference occurs when other resources reference this Procedure
2859
2927
  * after deletion. The system does not automatically clean up or invalidate these references.
2860
2928
  *
2861
- * Returns an OperationOutcome indicating success or failure of the deletion.
2929
+ * Returns an OperationOutcome for the delete operation.
2862
2930
  */
2863
2931
  deleteProcedure: OperationOutcome;
2864
2932
  /**
2865
- * Deletes a ServiceRequest resource by its ID.
2933
+ * Initiates deletion of a ServiceRequest resource by its ID.
2866
2934
  *
2867
- * Note: This operation may create dangling references.
2935
+ * Note: This operation is asynchronous and may create dangling references.
2868
2936
  * A dangling reference occurs when other resources reference this ServiceRequest
2869
2937
  * after deletion. The system does not automatically clean up or invalidate these references.
2870
2938
  *
2871
- * Returns an OperationOutcome indicating success or failure of the deletion.
2939
+ * Returns an OperationOutcome for the delete operation.
2872
2940
  */
2873
2941
  deleteServiceRequest: OperationOutcome;
2874
2942
  /**
2875
- * Deletes a Specimen resource by its ID.
2943
+ * Initiates deletion of a Specimen resource by its ID.
2876
2944
  *
2877
- * Note: This operation may create dangling references.
2945
+ * Note: This operation is asynchronous and may create dangling references.
2878
2946
  * A dangling reference occurs when other resources reference this Specimen
2879
2947
  * after deletion. The system does not automatically clean up or invalidate these references.
2880
2948
  *
2881
- * Returns an OperationOutcome indicating success or failure of the deletion.
2949
+ * Returns an OperationOutcome for the delete operation.
2882
2950
  */
2883
2951
  deleteSpecimen: OperationOutcome;
2884
2952
  /** Disconnection a connection */
2885
2953
  disconnectConnection: DisconnectConnection;
2886
2954
  exchangeAuthCode: AuthTokens;
2887
2955
  findOrCreatePatient?: Maybe<Patient>;
2956
+ getTokenFromDemographics: AuthTokens;
2888
2957
  interacted?: Maybe<Scalars['Boolean']['output']>;
2889
2958
  itemInteracted?: Maybe<Scalars['Boolean']['output']>;
2890
2959
  /**
2891
2960
  * Utilizes the Adaptive Questionnaire workflow to determine the next question
2892
2961
  * and contains the questionnaire within the QuestionnaireResponse
2893
2962
  */
2894
- nextQuestion: QuestionnaireResponse;
2963
+ nextQuestion?: Maybe<QuestionnaireResponse>;
2895
2964
  patchUpdatePersonAndPatient?: Maybe<Array<Maybe<Person>>>;
2896
2965
  processConsentTasks?: Maybe<Array<Maybe<Job>>>;
2897
2966
  publishEvent?: Maybe<OperationOutcome>;
@@ -3032,6 +3101,9 @@ export type MutationFindOrCreatePatientArgs = {
3032
3101
  clientSlug?: InputMaybe<Scalars['String']['input']>;
3033
3102
  patient?: InputMaybe<PatientInput>;
3034
3103
  };
3104
+ export type MutationGetTokenFromDemographicsArgs = {
3105
+ userInfo: GetTokenFromDemographicsInput;
3106
+ };
3035
3107
  export type MutationInteractedArgs = {
3036
3108
  interaction?: InputMaybe<InteractionType>;
3037
3109
  result_id?: InputMaybe<Scalars['String']['input']>;
@@ -3138,6 +3210,11 @@ export type NameInput = {
3138
3210
  text?: InputMaybe<Scalars['String']['input']>;
3139
3211
  use?: InputMaybe<Scalars['String']['input']>;
3140
3212
  };
3213
+ export type NamedField = {
3214
+ firstName: Scalars['String']['input'];
3215
+ lastName: Scalars['String']['input'];
3216
+ middleName?: InputMaybe<Scalars['String']['input']>;
3217
+ };
3141
3218
  export type Narrative = {
3142
3219
  __typename?: 'Narrative';
3143
3220
  div?: Maybe<Scalars['XHTML']['output']>;
@@ -3385,17 +3462,6 @@ export type Organization = {
3385
3462
  resourceType?: Maybe<Scalars['String']['output']>;
3386
3463
  telecom?: Maybe<Array<ContactPoint>>;
3387
3464
  };
3388
- export type OrganizationInput = {
3389
- active?: InputMaybe<Scalars['Boolean']['input']>;
3390
- address?: InputMaybe<Array<InputMaybe<AddressInput>>>;
3391
- alias?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
3392
- id?: InputMaybe<Scalars['String']['input']>;
3393
- identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
3394
- name?: InputMaybe<Scalars['String']['input']>;
3395
- resourceType: Scalars['String']['input'];
3396
- telecom?: InputMaybe<Array<InputMaybe<ContactPointInput>>>;
3397
- type?: InputMaybe<Array<InputMaybe<CodeableConceptInput>>>;
3398
- };
3399
3465
  export declare enum OrganizationType {
3400
3466
  C19Vaccine = "C19Vaccine",
3401
3467
  Device = "Device",
@@ -3548,14 +3614,20 @@ export type PatientInput = {
3548
3614
  address?: InputMaybe<Array<AddressInput>>;
3549
3615
  /** The birth date of the patient. */
3550
3616
  birthDate?: InputMaybe<Scalars['Date']['input']>;
3617
+ /** The communication preferences of the patient. */
3618
+ communication?: InputMaybe<Array<PatientCommunicationInput>>;
3619
+ /** Extensions related to the patient. */
3620
+ extension?: InputMaybe<Array<ExtensionInput>>;
3551
3621
  /** The gender of the patient. */
3552
3622
  gender?: InputMaybe<Scalars['String']['input']>;
3553
3623
  /** The identifier(s) of the patient. */
3554
3624
  identifier?: InputMaybe<Array<IdentifierInput>>;
3625
+ /** The metadata of the patient. */
3626
+ meta?: InputMaybe<PatientMetaInput>;
3555
3627
  /** The name(s) of the patient. */
3556
3628
  name?: InputMaybe<Array<PatientHumanNameInput>>;
3557
3629
  /** The resource type (Patient, Person, etc.). */
3558
- resourceType: Scalars['String']['input'];
3630
+ resourceType?: InputMaybe<Scalars['String']['input']>;
3559
3631
  /** The telecom details (phone, email, etc.) of the patient. */
3560
3632
  telecom?: InputMaybe<Array<ContactPointInput>>;
3561
3633
  };
@@ -3770,22 +3842,6 @@ export type Practitioner = {
3770
3842
  name?: Maybe<Array<Maybe<HumanName>>>;
3771
3843
  resourceType?: Maybe<Scalars['String']['output']>;
3772
3844
  };
3773
- export type PractitionerInput = {
3774
- active?: InputMaybe<Scalars['Boolean']['input']>;
3775
- address?: InputMaybe<Array<InputMaybe<AddressInput>>>;
3776
- id?: InputMaybe<Scalars['String']['input']>;
3777
- identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
3778
- name?: InputMaybe<Array<InputMaybe<HumanNameInput>>>;
3779
- qualification?: InputMaybe<Array<InputMaybe<PractitionerQualificationInput>>>;
3780
- resourceType: Scalars['String']['input'];
3781
- telecom?: InputMaybe<Array<InputMaybe<ContactPointInput>>>;
3782
- };
3783
- export type PractitionerQualificationInput = {
3784
- code?: InputMaybe<CodeableConceptInput>;
3785
- identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
3786
- issuer?: InputMaybe<ReferenceInput>;
3787
- period?: InputMaybe<PeriodInput>;
3788
- };
3789
3845
  /** A reference to a practitioner who may be involved in an encounter. */
3790
3846
  export type PractitionerReference = {
3791
3847
  __typename?: 'PractitionerReference';
@@ -4151,6 +4207,8 @@ export type QuantityInput = {
4151
4207
  export type Query = {
4152
4208
  __typename?: 'Query';
4153
4209
  Empi?: Maybe<PersonBundleLite>;
4210
+ /** @deprecated Minimal schema placeholder. Could be expanded in future. */
4211
+ _empty?: Maybe<Scalars['String']['output']>;
4154
4212
  accountDeletionStatusByClientPerson?: Maybe<Identity_Task>;
4155
4213
  appointments?: Maybe<AppointmentBundle>;
4156
4214
  bootstrap: BootstrapConfiguration;
@@ -4174,6 +4232,7 @@ export type Query = {
4174
4232
  getConsentJob?: Maybe<Job>;
4175
4233
  /** Data source information */
4176
4234
  getDataSource: DataSource;
4235
+ getDiagnosticReportLabGroups: DiagnosticReportLabGroupQueryResults;
4177
4236
  getDocumentReferences: DocumentReferenceQueryResults;
4178
4237
  getEncounterGroups: EncounterGroupQueryResults;
4179
4238
  /** Retrieves a list of Encounter resources based on the provided search criteria. */
@@ -4281,6 +4340,7 @@ export type QueryConsentAsyncTasksArgs = {
4281
4340
  export type QueryDiagnosticReportsArgs = {
4282
4341
  _count?: InputMaybe<Scalars['Int']['input']>;
4283
4342
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
4343
+ _total?: InputMaybe<TotalType>;
4284
4344
  id?: InputMaybe<SearchString>;
4285
4345
  };
4286
4346
  export type QueryFindPersonWithClientSlugAndIdArgs = {
@@ -4316,6 +4376,9 @@ export type QueryGetConsentJobArgs = {
4316
4376
  export type QueryGetDataSourceArgs = {
4317
4377
  connectionId: Scalars['String']['input'];
4318
4378
  };
4379
+ export type QueryGetDiagnosticReportLabGroupsArgs = {
4380
+ request?: InputMaybe<DiagnosticReportLabGroupQueryRequest>;
4381
+ };
4319
4382
  export type QueryGetDocumentReferencesArgs = {
4320
4383
  request?: InputMaybe<DocumentReferenceRequest>;
4321
4384
  };
@@ -4454,48 +4517,118 @@ export type QuerySubscription_SubscriptionArgs = {
4454
4517
  _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4455
4518
  _total?: InputMaybe<TotalType>;
4456
4519
  };
4457
- export type QuestionnaireInput = {
4458
- date?: InputMaybe<Scalars['DateTime']['input']>;
4459
- description?: InputMaybe<Scalars['String']['input']>;
4460
- id?: InputMaybe<Scalars['String']['input']>;
4461
- identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
4462
- item?: InputMaybe<Array<InputMaybe<QuestionnaireItemInput>>>;
4463
- name?: InputMaybe<Scalars['String']['input']>;
4464
- purpose?: InputMaybe<Scalars['String']['input']>;
4465
- resourceType: Scalars['String']['input'];
4466
- status?: InputMaybe<Scalars['String']['input']>;
4467
- title?: InputMaybe<Scalars['String']['input']>;
4468
- url?: InputMaybe<Scalars['URI']['input']>;
4520
+ export type Questionnaire = Resource & {
4521
+ __typename?: 'Questionnaire';
4522
+ contained?: Maybe<Array<Maybe<Resource>>>;
4523
+ date?: Maybe<Scalars['DateTime']['output']>;
4524
+ description?: Maybe<Scalars['Markdown']['output']>;
4525
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4526
+ id: Scalars['ID']['output'];
4527
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
4528
+ implicitRules?: Maybe<Scalars['URI']['output']>;
4529
+ item?: Maybe<Array<Maybe<QuestionnaireItem>>>;
4530
+ language?: Maybe<Scalars['Code']['output']>;
4531
+ meta?: Maybe<Meta>;
4532
+ name?: Maybe<Scalars['String']['output']>;
4533
+ resourceType?: Maybe<Scalars['String']['output']>;
4534
+ status?: Maybe<Scalars['Code']['output']>;
4535
+ title?: Maybe<Scalars['String']['output']>;
4536
+ url?: Maybe<Scalars['URI']['output']>;
4537
+ version?: Maybe<Scalars['String']['output']>;
4469
4538
  };
4470
- export type QuestionnaireItemAnswerOptionInput = {
4471
- valueCoding?: InputMaybe<CodingInput>;
4472
- valueDate?: InputMaybe<Scalars['Date']['input']>;
4473
- valueInt?: InputMaybe<Scalars['Int']['input']>;
4474
- valueReference?: InputMaybe<ReferenceInput>;
4475
- valueString?: InputMaybe<Scalars['String']['input']>;
4539
+ export type QuestionnaireAnswerOption = {
4540
+ __typename?: 'QuestionnaireAnswerOption';
4541
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4542
+ id?: Maybe<Scalars['String']['output']>;
4543
+ initialSelected?: Maybe<Scalars['Boolean']['output']>;
4544
+ valueCoding?: Maybe<Coding>;
4545
+ valueDate?: Maybe<Scalars['Date']['output']>;
4546
+ valueInteger?: Maybe<Scalars['Int']['output']>;
4547
+ valueReference?: Maybe<QuestionnaireAnswerOptionValueReferenceReference>;
4548
+ valueString?: Maybe<Scalars['String']['output']>;
4549
+ valueTime?: Maybe<Scalars['Time']['output']>;
4476
4550
  };
4477
- export type QuestionnaireItemInitialInput = {
4478
- valueBoolean?: InputMaybe<Scalars['Boolean']['input']>;
4479
- valueCoding?: InputMaybe<CodingInput>;
4480
- valueDate?: InputMaybe<Scalars['Date']['input']>;
4481
- valueDateTime?: InputMaybe<Scalars['DateTime']['input']>;
4482
- valueDecimal?: InputMaybe<Scalars['Float']['input']>;
4483
- valueInt?: InputMaybe<Scalars['Int']['input']>;
4484
- valueQuantity?: InputMaybe<QuantityInput>;
4485
- valueReference?: InputMaybe<ReferenceInput>;
4486
- valueString?: InputMaybe<Scalars['String']['input']>;
4487
- valueTime?: InputMaybe<Scalars['String']['input']>;
4551
+ export type QuestionnaireAnswerOptionValueReferenceReference = {
4552
+ __typename?: 'QuestionnaireAnswerOptionValueReferenceReference';
4553
+ display?: Maybe<Scalars['String']['output']>;
4554
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4555
+ id?: Maybe<Scalars['String']['output']>;
4556
+ identifier?: Maybe<Identifier>;
4557
+ reference?: Maybe<Scalars['String']['output']>;
4558
+ type?: Maybe<Scalars['URI']['output']>;
4488
4559
  };
4489
- export type QuestionnaireItemInput = {
4490
- answerOption?: InputMaybe<Array<InputMaybe<QuestionnaireItemAnswerOptionInput>>>;
4491
- initial?: InputMaybe<Array<InputMaybe<QuestionnaireItemInitialInput>>>;
4492
- item?: InputMaybe<Array<InputMaybe<QuestionnaireItemInput>>>;
4493
- linkId: Scalars['String']['input'];
4494
- readOnly?: InputMaybe<Scalars['Boolean']['input']>;
4495
- repeats?: InputMaybe<Scalars['Boolean']['input']>;
4496
- required?: InputMaybe<Scalars['Boolean']['input']>;
4497
- text?: InputMaybe<Scalars['String']['input']>;
4498
- type?: InputMaybe<Scalars['Code']['input']>;
4560
+ export type QuestionnaireEnableWhen = {
4561
+ __typename?: 'QuestionnaireEnableWhen';
4562
+ answerBoolean?: Maybe<Scalars['Boolean']['output']>;
4563
+ answerCoding?: Maybe<Coding>;
4564
+ answerDate?: Maybe<Scalars['Date']['output']>;
4565
+ answerDateTime?: Maybe<Scalars['DateTime']['output']>;
4566
+ answerDecimal?: Maybe<Scalars['Float']['output']>;
4567
+ answerInteger?: Maybe<Scalars['Int']['output']>;
4568
+ answerQuantity?: Maybe<Quantity>;
4569
+ answerReference?: Maybe<QuestionnaireEnableWhenAnswerReferenceReference>;
4570
+ answerString?: Maybe<Scalars['String']['output']>;
4571
+ answerTime?: Maybe<Scalars['Time']['output']>;
4572
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4573
+ id?: Maybe<Scalars['String']['output']>;
4574
+ operator?: Maybe<Scalars['Code']['output']>;
4575
+ question?: Maybe<Scalars['String']['output']>;
4576
+ };
4577
+ export type QuestionnaireEnableWhenAnswerReferenceReference = {
4578
+ __typename?: 'QuestionnaireEnableWhenAnswerReferenceReference';
4579
+ display?: Maybe<Scalars['String']['output']>;
4580
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4581
+ id?: Maybe<Scalars['String']['output']>;
4582
+ identifier?: Maybe<Identifier>;
4583
+ reference?: Maybe<Scalars['String']['output']>;
4584
+ type?: Maybe<Scalars['URI']['output']>;
4585
+ };
4586
+ export type QuestionnaireInitial = {
4587
+ __typename?: 'QuestionnaireInitial';
4588
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4589
+ id?: Maybe<Scalars['String']['output']>;
4590
+ valueAttachment?: Maybe<Attachment>;
4591
+ valueBoolean?: Maybe<Scalars['Boolean']['output']>;
4592
+ valueCoding?: Maybe<Coding>;
4593
+ valueDate?: Maybe<Scalars['Date']['output']>;
4594
+ valueDateTime?: Maybe<Scalars['DateTime']['output']>;
4595
+ valueDecimal?: Maybe<Scalars['Float']['output']>;
4596
+ valueInteger?: Maybe<Scalars['Int']['output']>;
4597
+ valueQuantity?: Maybe<Quantity>;
4598
+ valueReference?: Maybe<QuestionnaireInitialValueReferenceReference>;
4599
+ valueString?: Maybe<Scalars['String']['output']>;
4600
+ valueTime?: Maybe<Scalars['Time']['output']>;
4601
+ valueUri?: Maybe<Scalars['URI']['output']>;
4602
+ };
4603
+ export type QuestionnaireInitialValueReferenceReference = {
4604
+ __typename?: 'QuestionnaireInitialValueReferenceReference';
4605
+ display?: Maybe<Scalars['String']['output']>;
4606
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4607
+ id?: Maybe<Scalars['String']['output']>;
4608
+ identifier?: Maybe<Identifier>;
4609
+ reference?: Maybe<Scalars['String']['output']>;
4610
+ type?: Maybe<Scalars['URI']['output']>;
4611
+ };
4612
+ export type QuestionnaireItem = {
4613
+ __typename?: 'QuestionnaireItem';
4614
+ answerOption?: Maybe<Array<Maybe<QuestionnaireAnswerOption>>>;
4615
+ answerValueSet?: Maybe<Scalars['Canonical']['output']>;
4616
+ code?: Maybe<Array<Maybe<Coding>>>;
4617
+ definition?: Maybe<Scalars['URI']['output']>;
4618
+ enableBehavior?: Maybe<Scalars['Code']['output']>;
4619
+ enableWhen?: Maybe<Array<Maybe<QuestionnaireEnableWhen>>>;
4620
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4621
+ id?: Maybe<Scalars['String']['output']>;
4622
+ initial?: Maybe<Array<Maybe<QuestionnaireInitial>>>;
4623
+ item?: Maybe<Array<Maybe<QuestionnaireItem>>>;
4624
+ linkId?: Maybe<Scalars['String']['output']>;
4625
+ maxLength?: Maybe<Scalars['Int']['output']>;
4626
+ prefix?: Maybe<Scalars['String']['output']>;
4627
+ readOnly?: Maybe<Scalars['Boolean']['output']>;
4628
+ repeats?: Maybe<Scalars['Boolean']['output']>;
4629
+ required?: Maybe<Scalars['Boolean']['output']>;
4630
+ text?: Maybe<Scalars['String']['output']>;
4631
+ type?: Maybe<Scalars['Code']['output']>;
4499
4632
  };
4500
4633
  export type QuestionnaireModelItem = {
4501
4634
  __typename?: 'QuestionnaireModelItem';
@@ -4509,15 +4642,53 @@ export type QuestionnaireModelItem = {
4509
4642
  text?: Maybe<Scalars['String']['output']>;
4510
4643
  type?: Maybe<Scalars['Code']['output']>;
4511
4644
  };
4512
- export type QuestionnaireResponse = {
4645
+ export type QuestionnaireResponse = Resource & {
4513
4646
  __typename?: 'QuestionnaireResponse';
4647
+ authored?: Maybe<Scalars['DateTime']['output']>;
4648
+ contained?: Maybe<Array<Maybe<Resource>>>;
4649
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4514
4650
  id: Scalars['ID']['output'];
4651
+ identifier?: Maybe<Identifier>;
4652
+ implicitRules?: Maybe<Scalars['URI']['output']>;
4653
+ item?: Maybe<Array<Maybe<QuestionnaireResponseItem>>>;
4654
+ language?: Maybe<Scalars['Code']['output']>;
4655
+ meta?: Maybe<Meta>;
4656
+ questionnaire?: Maybe<Scalars['Canonical']['output']>;
4657
+ resourceType?: Maybe<Scalars['String']['output']>;
4658
+ status?: Maybe<Scalars['Code']['output']>;
4659
+ };
4660
+ export type QuestionnaireResponseAnswer = {
4661
+ __typename?: 'QuestionnaireResponseAnswer';
4662
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4663
+ id?: Maybe<Scalars['String']['output']>;
4664
+ item?: Maybe<Array<Maybe<QuestionnaireResponseItem>>>;
4665
+ valueAttachment?: Maybe<Attachment>;
4666
+ valueBoolean?: Maybe<Scalars['Boolean']['output']>;
4667
+ valueCoding?: Maybe<Coding>;
4668
+ valueDate?: Maybe<Scalars['Date']['output']>;
4669
+ valueDateTime?: Maybe<Scalars['DateTime']['output']>;
4670
+ valueDecimal?: Maybe<Scalars['Float']['output']>;
4671
+ valueInteger?: Maybe<Scalars['Int']['output']>;
4672
+ valueQuantity?: Maybe<Quantity>;
4673
+ valueReference?: Maybe<QuestionnaireResponseAnswerValueReferenceReference>;
4674
+ valueString?: Maybe<Scalars['String']['output']>;
4675
+ valueTime?: Maybe<Scalars['Time']['output']>;
4676
+ valueUri?: Maybe<Scalars['URI']['output']>;
4677
+ };
4678
+ export type QuestionnaireResponseAnswerValueReferenceReference = {
4679
+ __typename?: 'QuestionnaireResponseAnswerValueReferenceReference';
4680
+ display?: Maybe<Scalars['String']['output']>;
4681
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4682
+ id?: Maybe<Scalars['String']['output']>;
4683
+ identifier?: Maybe<Identifier>;
4684
+ reference?: Maybe<Scalars['String']['output']>;
4685
+ type?: Maybe<Scalars['URI']['output']>;
4515
4686
  };
4516
4687
  export type QuestionnaireResponseInput = {
4517
4688
  author?: InputMaybe<ReferenceInput>;
4518
4689
  authored?: InputMaybe<Scalars['DateTime']['input']>;
4519
4690
  basedOn?: InputMaybe<Array<InputMaybe<ReferenceInput>>>;
4520
- contained?: InputMaybe<Array<InputMaybe<ContainedResourceInput>>>;
4691
+ contained?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
4521
4692
  encounter?: InputMaybe<ReferenceInput>;
4522
4693
  id?: InputMaybe<Scalars['String']['input']>;
4523
4694
  identifier?: InputMaybe<Array<InputMaybe<IdentifierInput>>>;
@@ -4530,13 +4701,26 @@ export type QuestionnaireResponseInput = {
4530
4701
  status: Scalars['Code']['input'];
4531
4702
  subject?: InputMaybe<ReferenceInput>;
4532
4703
  };
4704
+ export type QuestionnaireResponseItem = {
4705
+ __typename?: 'QuestionnaireResponseItem';
4706
+ answer?: Maybe<Array<Maybe<QuestionnaireResponseAnswer>>>;
4707
+ definition?: Maybe<Scalars['URI']['output']>;
4708
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
4709
+ id?: Maybe<Scalars['String']['output']>;
4710
+ item?: Maybe<Array<Maybe<QuestionnaireResponseItem>>>;
4711
+ linkId?: Maybe<Scalars['String']['output']>;
4712
+ text?: Maybe<Scalars['String']['output']>;
4713
+ };
4533
4714
  export type QuestionnaireResponseItemAnswerInput = {
4534
4715
  item?: InputMaybe<Array<InputMaybe<QuestionnaireResponseItemInput>>>;
4716
+ valueAttachment?: InputMaybe<AttachmentInput>;
4535
4717
  valueBoolean?: InputMaybe<Scalars['Boolean']['input']>;
4718
+ valueCoding?: InputMaybe<CodingInput>;
4536
4719
  valueDate?: InputMaybe<Scalars['Date']['input']>;
4537
4720
  valueDateTime?: InputMaybe<Scalars['DateTime']['input']>;
4538
4721
  valueDecimal?: InputMaybe<Scalars['Float']['input']>;
4539
- valueInt?: InputMaybe<Scalars['Int']['input']>;
4722
+ valueInteger?: InputMaybe<Scalars['Int']['input']>;
4723
+ valueQuantity?: InputMaybe<QuantityInput>;
4540
4724
  valueReference?: InputMaybe<ReferenceInput>;
4541
4725
  valueString?: InputMaybe<Scalars['String']['input']>;
4542
4726
  valueUri?: InputMaybe<Scalars['URI']['input']>;
@@ -4616,6 +4800,7 @@ export type Reference = {
4616
4800
  };
4617
4801
  export type ReferenceInput = {
4618
4802
  display?: InputMaybe<Scalars['String']['input']>;
4803
+ extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
4619
4804
  identifier?: InputMaybe<IdentifierInput>;
4620
4805
  reference?: InputMaybe<Scalars['String']['input']>;
4621
4806
  type?: InputMaybe<Scalars['URI']['input']>;
@@ -4637,6 +4822,7 @@ export type RefreshToken = {
4637
4822
  __typename?: 'RefreshToken';
4638
4823
  accessToken: Scalars['String']['output'];
4639
4824
  idToken: Scalars['String']['output'];
4825
+ refreshToken?: Maybe<Scalars['String']['output']>;
4640
4826
  };
4641
4827
  export type RefreshTokenGql = {
4642
4828
  __typename?: 'RefreshTokenGQL';
@@ -4744,6 +4930,13 @@ export type Schema = {
4744
4930
  title?: Maybe<Scalars['String']['output']>;
4745
4931
  type?: Maybe<Scalars['String']['output']>;
4746
4932
  };
4933
+ /** Score type */
4934
+ export type Score = {
4935
+ __typename?: 'Score';
4936
+ calculation?: Maybe<Scalars['String']['output']>;
4937
+ description?: Maybe<Scalars['String']['output']>;
4938
+ value?: Maybe<Scalars['Float']['output']>;
4939
+ };
4747
4940
  export type SdkConfiguration = {
4748
4941
  __typename?: 'SdkConfiguration';
4749
4942
  graphQLClient: GraphQlClientConfig;
@@ -4790,12 +4983,12 @@ export type SearchFiltersInput = {
4790
4983
  includeInactive?: InputMaybe<Scalars['Boolean']['input']>;
4791
4984
  /** Return only results that have PROA connections */
4792
4985
  includePopulatedProaOnly?: InputMaybe<Scalars['Boolean']['input']>;
4793
- /** Return only results that are within `distance` of this location */
4794
- searchPosition?: InputMaybe<SearchPosition>;
4795
4986
  /** Return only these search result types */
4796
- type?: InputMaybe<SearchResultTypeEnum>;
4987
+ type?: InputMaybe<Array<InputMaybe<SearchResultTypeEnum>>>;
4797
4988
  };
4798
4989
  export type SearchHealthResourcesInput = {
4990
+ /** Information about the client configuration to use for this call to filter data and apply default settings */
4991
+ client?: InputMaybe<Array<InputMaybe<ClientInput>>>;
4799
4992
  /** A set of filters applied to search results */
4800
4993
  filters?: InputMaybe<SearchFiltersInput>;
4801
4994
  /** Order by these fields */
@@ -4804,6 +4997,9 @@ export type SearchHealthResourcesInput = {
4804
4997
  paging?: InputMaybe<PagingInfoInput>;
4805
4998
  /** A free form search text. */
4806
4999
  search?: InputMaybe<Scalars['String']['input']>;
5000
+ /** Return only results that are within `distance` of this location */
5001
+ searchLocation?: InputMaybe<SearchLocation>;
5002
+ user?: InputMaybe<UserInput>;
4807
5003
  };
4808
5004
  /** Unified search results type */
4809
5005
  export type SearchHealthResourcesResults = {
@@ -4812,6 +5008,12 @@ export type SearchHealthResourcesResults = {
4812
5008
  pagingInfo?: Maybe<PagingInfoType>;
4813
5009
  results?: Maybe<Array<Maybe<HealthResourceSearchResult>>>;
4814
5010
  };
5011
+ export type SearchLocation = {
5012
+ /** Location of the user making the request */
5013
+ lat: Scalars['Float']['input'];
5014
+ lon: Scalars['Float']['input'];
5015
+ zipCode?: InputMaybe<Scalars['String']['input']>;
5016
+ };
4815
5017
  export type SearchPosition = {
4816
5018
  distance?: InputMaybe<Scalars['Float']['input']>;
4817
5019
  /**
@@ -4911,7 +5113,7 @@ export type SearchReferenceValue = {
4911
5113
  };
4912
5114
  export declare enum SearchResultTypeEnum {
4913
5115
  Insurance = "INSURANCE",
4914
- Lab = "LAB",
5116
+ Laboratory = "LABORATORY",
4915
5117
  Pharmacy = "PHARMACY",
4916
5118
  Practice = "PRACTICE",
4917
5119
  Practitioner = "PRACTITIONER"
@@ -4975,6 +5177,7 @@ export declare enum SortField {
4975
5177
  */
4976
5178
  export declare enum SortFieldEnum {
4977
5179
  Content = "CONTENT",
5180
+ DataSourceRank = "DATA_SOURCE_RANK",
4978
5181
  Distance = "DISTANCE",
4979
5182
  Relevance = "RELEVANCE"
4980
5183
  }