@icanbwell/bwell-sdk-ts 1.42.0 → 1.42.1-rc.1760514283

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.
@@ -1148,12 +1148,75 @@ export type ContactPointInput = {
1148
1148
  /** Can define enum */
1149
1149
  value?: InputMaybe<Scalars['String']['input']>;
1150
1150
  };
1151
+ export type Coverage = {
1152
+ __typename?: 'Coverage';
1153
+ beneficiary?: Maybe<CoverageBeneficiaryReference>;
1154
+ class?: Maybe<Array<Maybe<CoverageClass>>>;
1155
+ id: Scalars['ID']['output'];
1156
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
1157
+ meta?: Maybe<Meta>;
1158
+ payor?: Maybe<Array<Maybe<CoveragePayorReference>>>;
1159
+ period?: Maybe<Period>;
1160
+ policyHolder?: Maybe<CoveragePolicyHolderReference>;
1161
+ relationship?: Maybe<CodeableConcept>;
1162
+ resourceType?: Maybe<Scalars['String']['output']>;
1163
+ status?: Maybe<Scalars['Code']['output']>;
1164
+ subscriberId?: Maybe<Scalars['String']['output']>;
1165
+ type?: Maybe<CodeableConcept>;
1166
+ };
1167
+ export type CoverageBeneficiaryReference = {
1168
+ __typename?: 'CoverageBeneficiaryReference';
1169
+ display?: Maybe<Scalars['String']['output']>;
1170
+ id?: Maybe<Scalars['String']['output']>;
1171
+ identifier?: Maybe<Identifier>;
1172
+ reference?: Maybe<Scalars['String']['output']>;
1173
+ resource?: Maybe<Patient>;
1174
+ type?: Maybe<Scalars['URI']['output']>;
1175
+ };
1176
+ export type CoverageBundle = {
1177
+ __typename?: 'CoverageBundle';
1178
+ entry?: Maybe<Array<Maybe<CoverageBundleEntry>>>;
1179
+ id?: Maybe<Scalars['String']['output']>;
1180
+ meta?: Maybe<Meta>;
1181
+ total?: Maybe<Scalars['Int']['output']>;
1182
+ type?: Maybe<Scalars['Code']['output']>;
1183
+ };
1184
+ export type CoverageBundleEntry = {
1185
+ __typename?: 'CoverageBundleEntry';
1186
+ id?: Maybe<Scalars['String']['output']>;
1187
+ resource?: Maybe<Coverage>;
1188
+ };
1189
+ export type CoverageClass = {
1190
+ __typename?: 'CoverageClass';
1191
+ extension?: Maybe<Array<Maybe<FhirExtension>>>;
1192
+ id?: Maybe<Scalars['String']['output']>;
1193
+ name?: Maybe<Scalars['String']['output']>;
1194
+ type?: Maybe<CodeableConcept>;
1195
+ value?: Maybe<Scalars['String']['output']>;
1196
+ };
1197
+ export type CoveragePayorReference = {
1198
+ __typename?: 'CoveragePayorReference';
1199
+ display?: Maybe<Scalars['String']['output']>;
1200
+ id?: Maybe<Scalars['String']['output']>;
1201
+ identifier?: Maybe<Identifier>;
1202
+ reference?: Maybe<Scalars['String']['output']>;
1203
+ type?: Maybe<Scalars['URI']['output']>;
1204
+ };
1205
+ export type CoveragePolicyHolderReference = {
1206
+ __typename?: 'CoveragePolicyHolderReference';
1207
+ display?: Maybe<Scalars['String']['output']>;
1208
+ id?: Maybe<Scalars['String']['output']>;
1209
+ identifier?: Maybe<Identifier>;
1210
+ reference?: Maybe<Scalars['String']['output']>;
1211
+ type?: Maybe<Scalars['URI']['output']>;
1212
+ };
1151
1213
  /** Supported ISO 4217 CurrencyCodes */
1152
1214
  export declare enum CurrencyCode {
1153
1215
  Usd = "USD"
1154
1216
  }
1155
1217
  /** Defines the connection statuses */
1156
1218
  export declare enum DataConnectionStatus {
1219
+ AccessEnded = "ACCESS_ENDED",
1157
1220
  Connected = "CONNECTED",
1158
1221
  Deleted = "DELETED",
1159
1222
  Disconnected = "DISCONNECTED",
@@ -1205,6 +1268,35 @@ export type Detail = {
1205
1268
  status?: Maybe<Coding>;
1206
1269
  statusCoding?: Maybe<Coding>;
1207
1270
  };
1271
+ export type Device = {
1272
+ __typename?: 'Device';
1273
+ distinctIdentifier?: Maybe<Scalars['String']['output']>;
1274
+ expirationDate?: Maybe<Scalars['DateTime']['output']>;
1275
+ id: Scalars['ID']['output'];
1276
+ lotNumber?: Maybe<Scalars['String']['output']>;
1277
+ manufactureDate?: Maybe<Scalars['DateTime']['output']>;
1278
+ meta?: Maybe<Meta>;
1279
+ patient?: Maybe<DevicePatientReference>;
1280
+ resourceType?: Maybe<Scalars['String']['output']>;
1281
+ serialNumber?: Maybe<Scalars['String']['output']>;
1282
+ type?: Maybe<CodeableConcept>;
1283
+ udiCarrier?: Maybe<Array<Maybe<DeviceUdiCarrier>>>;
1284
+ };
1285
+ export type DeviceBundle = {
1286
+ __typename?: 'DeviceBundle';
1287
+ entry?: Maybe<Array<Maybe<DeviceBundleEntry>>>;
1288
+ total?: Maybe<Scalars['Int']['output']>;
1289
+ };
1290
+ export type DeviceBundleEntry = {
1291
+ __typename?: 'DeviceBundleEntry';
1292
+ resource?: Maybe<Device>;
1293
+ };
1294
+ export type DevicePatientReference = {
1295
+ __typename?: 'DevicePatientReference';
1296
+ display?: Maybe<Scalars['String']['output']>;
1297
+ reference?: Maybe<Scalars['String']['output']>;
1298
+ type?: Maybe<Scalars['URI']['output']>;
1299
+ };
1208
1300
  export type DeviceRequest = {
1209
1301
  __typename?: 'DeviceRequest';
1210
1302
  /**
@@ -1214,6 +1306,15 @@ export type DeviceRequest = {
1214
1306
  id: Scalars['ID']['output'];
1215
1307
  resourceType?: Maybe<Scalars['String']['output']>;
1216
1308
  };
1309
+ export type DeviceUdiCarrier = {
1310
+ __typename?: 'DeviceUdiCarrier';
1311
+ carrierAIDC?: Maybe<Scalars['Base64Binary']['output']>;
1312
+ carrierHRF?: Maybe<Scalars['String']['output']>;
1313
+ deviceIdentifier?: Maybe<Scalars['String']['output']>;
1314
+ entryType?: Maybe<Scalars['Code']['output']>;
1315
+ issuer?: Maybe<Scalars['URI']['output']>;
1316
+ jurisdiction?: Maybe<Scalars['URI']['output']>;
1317
+ };
1217
1318
  export type DiagnosticReport = Resource & {
1218
1319
  __typename?: 'DiagnosticReport';
1219
1320
  basedOn?: Maybe<Array<Maybe<DiagnosticReportBasedOnReference>>>;
@@ -1604,6 +1705,164 @@ export declare enum EventType {
1604
1705
  CustomEvent = "CUSTOM_EVENT",
1605
1706
  MobilePushOpen = "MOBILE_PUSH_OPEN"
1606
1707
  }
1708
+ export type ExplanationOfBenefit = {
1709
+ __typename?: 'ExplanationOfBenefit';
1710
+ adjudication?: Maybe<Array<Maybe<ExplanationOfBenefitAdjudication>>>;
1711
+ benefitPeriod?: Maybe<Period>;
1712
+ billablePeriod?: Maybe<Period>;
1713
+ careTeam?: Maybe<Array<Maybe<ExplanationOfBenefitCareTeam>>>;
1714
+ created?: Maybe<Scalars['DateTime']['output']>;
1715
+ diagnosis?: Maybe<Array<Maybe<ExplanationOfBenefitDiagnosis>>>;
1716
+ disposition?: Maybe<Scalars['String']['output']>;
1717
+ id: Scalars['ID']['output'];
1718
+ identifier?: Maybe<Array<Maybe<Identifier>>>;
1719
+ insurance?: Maybe<Array<Maybe<ExplanationOfBenefitInsurance>>>;
1720
+ insurer?: Maybe<ExplanationOfBenefitInsurerReference>;
1721
+ item?: Maybe<Array<Maybe<ExplanationOfBenefitItem>>>;
1722
+ meta?: Maybe<Meta>;
1723
+ outcome?: Maybe<Scalars['Code']['output']>;
1724
+ patient?: Maybe<ExplanationOfBenefitPatientReference>;
1725
+ payee?: Maybe<ExplanationOfBenefitPayee>;
1726
+ payment?: Maybe<ExplanationOfBenefitPayment>;
1727
+ provider?: Maybe<ExplanationOfBenefitProviderReference>;
1728
+ resourceType?: Maybe<Scalars['String']['output']>;
1729
+ status?: Maybe<Scalars['Code']['output']>;
1730
+ subType?: Maybe<CodeableConcept>;
1731
+ supportingInfo?: Maybe<Array<Maybe<ExplanationOfBenefitSupportingInfo>>>;
1732
+ total?: Maybe<Array<Maybe<ExplanationOfBenefitTotal>>>;
1733
+ type?: Maybe<CodeableConcept>;
1734
+ use?: Maybe<Scalars['Code']['output']>;
1735
+ };
1736
+ export type ExplanationOfBenefitAdjudication = {
1737
+ __typename?: 'ExplanationOfBenefitAdjudication';
1738
+ amount?: Maybe<Quantity>;
1739
+ category?: Maybe<CodeableConcept>;
1740
+ reason?: Maybe<CodeableConcept>;
1741
+ value?: Maybe<Scalars['Float']['output']>;
1742
+ };
1743
+ export type ExplanationOfBenefitBundle = {
1744
+ __typename?: 'ExplanationOfBenefitBundle';
1745
+ entry?: Maybe<Array<Maybe<ExplanationOfBenefitBundleEntry>>>;
1746
+ id?: Maybe<Scalars['String']['output']>;
1747
+ meta?: Maybe<Meta>;
1748
+ total?: Maybe<Scalars['Int']['output']>;
1749
+ type?: Maybe<Scalars['Code']['output']>;
1750
+ };
1751
+ export type ExplanationOfBenefitBundleEntry = {
1752
+ __typename?: 'ExplanationOfBenefitBundleEntry';
1753
+ id?: Maybe<Scalars['String']['output']>;
1754
+ resource?: Maybe<ExplanationOfBenefit>;
1755
+ };
1756
+ export type ExplanationOfBenefitCareTeam = {
1757
+ __typename?: 'ExplanationOfBenefitCareTeam';
1758
+ provider?: Maybe<ExplanationOfBenefitCareTeamProviderReference>;
1759
+ role?: Maybe<CodeableConcept>;
1760
+ sequence?: Maybe<Scalars['Int']['output']>;
1761
+ };
1762
+ export type ExplanationOfBenefitCareTeamProviderReference = {
1763
+ __typename?: 'ExplanationOfBenefitCareTeamProviderReference';
1764
+ display?: Maybe<Scalars['String']['output']>;
1765
+ reference?: Maybe<Scalars['String']['output']>;
1766
+ type?: Maybe<Scalars['URI']['output']>;
1767
+ };
1768
+ export type ExplanationOfBenefitCoverageReference = {
1769
+ __typename?: 'ExplanationOfBenefitCoverageReference';
1770
+ display?: Maybe<Scalars['String']['output']>;
1771
+ reference?: Maybe<Scalars['String']['output']>;
1772
+ type?: Maybe<Scalars['URI']['output']>;
1773
+ };
1774
+ export type ExplanationOfBenefitDiagnosis = {
1775
+ __typename?: 'ExplanationOfBenefitDiagnosis';
1776
+ diagnosisCodeableConcept?: Maybe<CodeableConcept>;
1777
+ diagnosisReference?: Maybe<ExplanationOfBenefitDiagnosisDiagnosisReference>;
1778
+ onAdmission?: Maybe<CodeableConcept>;
1779
+ packageCode?: Maybe<CodeableConcept>;
1780
+ sequence?: Maybe<Scalars['Int']['output']>;
1781
+ type?: Maybe<Array<Maybe<CodeableConcept>>>;
1782
+ };
1783
+ export type ExplanationOfBenefitDiagnosisDiagnosisReference = {
1784
+ __typename?: 'ExplanationOfBenefitDiagnosisDiagnosisReference';
1785
+ display?: Maybe<Scalars['String']['output']>;
1786
+ reference?: Maybe<Scalars['String']['output']>;
1787
+ type?: Maybe<Scalars['URI']['output']>;
1788
+ };
1789
+ export type ExplanationOfBenefitInsurance = {
1790
+ __typename?: 'ExplanationOfBenefitInsurance';
1791
+ coverage?: Maybe<ExplanationOfBenefitCoverageReference>;
1792
+ focal?: Maybe<Scalars['Boolean']['output']>;
1793
+ };
1794
+ export type ExplanationOfBenefitInsurerReference = {
1795
+ __typename?: 'ExplanationOfBenefitInsurerReference';
1796
+ display?: Maybe<Scalars['String']['output']>;
1797
+ reference?: Maybe<Scalars['String']['output']>;
1798
+ type?: Maybe<Scalars['URI']['output']>;
1799
+ };
1800
+ export type ExplanationOfBenefitItem = {
1801
+ __typename?: 'ExplanationOfBenefitItem';
1802
+ adjudication?: Maybe<Array<Maybe<ExplanationOfBenefitAdjudication>>>;
1803
+ noteNumber?: Maybe<Array<Maybe<Scalars['Int']['output']>>>;
1804
+ productOrService?: Maybe<CodeableConcept>;
1805
+ sequence?: Maybe<Scalars['Int']['output']>;
1806
+ };
1807
+ export type ExplanationOfBenefitPatientReference = {
1808
+ __typename?: 'ExplanationOfBenefitPatientReference';
1809
+ display?: Maybe<Scalars['String']['output']>;
1810
+ id?: Maybe<Scalars['String']['output']>;
1811
+ identifier?: Maybe<Identifier>;
1812
+ reference?: Maybe<Scalars['String']['output']>;
1813
+ type?: Maybe<Scalars['URI']['output']>;
1814
+ };
1815
+ export type ExplanationOfBenefitPayee = {
1816
+ __typename?: 'ExplanationOfBenefitPayee';
1817
+ id?: Maybe<Scalars['String']['output']>;
1818
+ party?: Maybe<ExplanationOfBenefitPayeePartyReference>;
1819
+ type?: Maybe<CodeableConcept>;
1820
+ };
1821
+ export type ExplanationOfBenefitPayeePartyReference = {
1822
+ __typename?: 'ExplanationOfBenefitPayeePartyReference';
1823
+ display?: Maybe<Scalars['String']['output']>;
1824
+ reference?: Maybe<Scalars['String']['output']>;
1825
+ type?: Maybe<Scalars['URI']['output']>;
1826
+ };
1827
+ export type ExplanationOfBenefitPayment = {
1828
+ __typename?: 'ExplanationOfBenefitPayment';
1829
+ adjustment?: Maybe<Quantity>;
1830
+ adjustmentReason?: Maybe<CodeableConcept>;
1831
+ amount?: Maybe<Quantity>;
1832
+ date?: Maybe<Scalars['Date']['output']>;
1833
+ type?: Maybe<CodeableConcept>;
1834
+ };
1835
+ export type ExplanationOfBenefitProviderReference = {
1836
+ __typename?: 'ExplanationOfBenefitProviderReference';
1837
+ display?: Maybe<Scalars['String']['output']>;
1838
+ reference?: Maybe<Scalars['String']['output']>;
1839
+ type?: Maybe<Scalars['URI']['output']>;
1840
+ };
1841
+ export type ExplanationOfBenefitSupportingInfo = {
1842
+ __typename?: 'ExplanationOfBenefitSupportingInfo';
1843
+ category?: Maybe<CodeableConcept>;
1844
+ code?: Maybe<CodeableConcept>;
1845
+ reason?: Maybe<Coding>;
1846
+ sequence?: Maybe<Scalars['Int']['output']>;
1847
+ timingDate?: Maybe<Scalars['Date']['output']>;
1848
+ timingPeriod?: Maybe<Period>;
1849
+ valueAttachment?: Maybe<Attachment>;
1850
+ valueBoolean?: Maybe<Scalars['Boolean']['output']>;
1851
+ valueQuantity?: Maybe<Quantity>;
1852
+ valueReference?: Maybe<ExplanationOfBenefitSupportingInfoValueReferenceReference>;
1853
+ valueString?: Maybe<Scalars['String']['output']>;
1854
+ };
1855
+ export type ExplanationOfBenefitSupportingInfoValueReferenceReference = {
1856
+ __typename?: 'ExplanationOfBenefitSupportingInfoValueReferenceReference';
1857
+ display?: Maybe<Scalars['String']['output']>;
1858
+ reference?: Maybe<Scalars['String']['output']>;
1859
+ type?: Maybe<Scalars['URI']['output']>;
1860
+ };
1861
+ export type ExplanationOfBenefitTotal = {
1862
+ __typename?: 'ExplanationOfBenefitTotal';
1863
+ amount?: Maybe<Quantity>;
1864
+ category?: Maybe<CodeableConcept>;
1865
+ };
1607
1866
  /**
1608
1867
  * Expression
1609
1868
  * A expression that is evaluated in a specified context and returns a value. The
@@ -1849,6 +2108,45 @@ export type GetFhirSearchDateValue = {
1849
2108
  /** the value for the parameter in the resource is greater than the provided value */
1850
2109
  greaterThan?: InputMaybe<Scalars['Date']['input']>;
1851
2110
  };
2111
+ export type Goal = {
2112
+ __typename?: 'Goal';
2113
+ description?: Maybe<CodeableConcept>;
2114
+ id: Scalars['ID']['output'];
2115
+ lifecycleStatus?: Maybe<Scalars['Code']['output']>;
2116
+ meta?: Maybe<Meta>;
2117
+ resourceType?: Maybe<Scalars['String']['output']>;
2118
+ startDate?: Maybe<Scalars['Date']['output']>;
2119
+ subject?: Maybe<GoalSubjectReference>;
2120
+ target?: Maybe<Array<Maybe<GoalTarget>>>;
2121
+ };
2122
+ export type GoalBundle = {
2123
+ __typename?: 'GoalBundle';
2124
+ entry?: Maybe<Array<Maybe<GoalBundleEntry>>>;
2125
+ total?: Maybe<Scalars['Int']['output']>;
2126
+ };
2127
+ export type GoalBundleEntry = {
2128
+ __typename?: 'GoalBundleEntry';
2129
+ resource?: Maybe<Goal>;
2130
+ };
2131
+ export type GoalSubjectReference = {
2132
+ __typename?: 'GoalSubjectReference';
2133
+ display?: Maybe<Scalars['String']['output']>;
2134
+ reference?: Maybe<Scalars['String']['output']>;
2135
+ type?: Maybe<Scalars['URI']['output']>;
2136
+ };
2137
+ export type GoalTarget = {
2138
+ __typename?: 'GoalTarget';
2139
+ detailBoolean?: Maybe<Scalars['Boolean']['output']>;
2140
+ detailCodeableConcept?: Maybe<CodeableConcept>;
2141
+ detailInteger?: Maybe<Scalars['Int']['output']>;
2142
+ detailQuantity?: Maybe<Quantity>;
2143
+ detailRange?: Maybe<Range>;
2144
+ detailRatio?: Maybe<Ratio>;
2145
+ detailString?: Maybe<Scalars['String']['output']>;
2146
+ dueDate?: Maybe<Scalars['Date']['output']>;
2147
+ dueDuration?: Maybe<Quantity>;
2148
+ measure?: Maybe<CodeableConcept>;
2149
+ };
1852
2150
  export type GoogleGeo = {
1853
2151
  __typename?: 'GoogleGeo';
1854
2152
  key: Scalars['String']['output'];
@@ -2978,7 +3276,6 @@ export type Mutation = {
2978
3276
  findOrCreatePatient?: Maybe<Patient>;
2979
3277
  interacted?: Maybe<Scalars['Boolean']['output']>;
2980
3278
  itemInteracted?: Maybe<Scalars['Boolean']['output']>;
2981
- makeOnboardingCompositionFinal?: Maybe<OnboardingComposition>;
2982
3279
  /**
2983
3280
  * Utilizes the Adaptive Questionnaire workflow to determine the next question
2984
3281
  * and contains the questionnaire within the QuestionnaireResponse
@@ -3354,26 +3651,6 @@ export type ObservationResource = {
3354
3651
  /** Various types of values that an Observation can have, only one of these would typically be populated. */
3355
3652
  value?: Maybe<Value>;
3356
3653
  };
3357
- export type OnboardingComposition = {
3358
- __typename?: 'OnboardingComposition';
3359
- id?: Maybe<Scalars['String']['output']>;
3360
- patientId?: Maybe<Scalars['String']['output']>;
3361
- sections?: Maybe<Array<Maybe<OnboardingSection>>>;
3362
- status?: Maybe<Scalars['String']['output']>;
3363
- };
3364
- export declare enum OnboardingCompositionStatus {
3365
- Amended = "amended",
3366
- EnteredInError = "entered_in_error",
3367
- Final = "final",
3368
- Preliminary = "preliminary"
3369
- }
3370
- export type OnboardingSection = {
3371
- __typename?: 'OnboardingSection';
3372
- id?: Maybe<Scalars['String']['output']>;
3373
- isStepCompleted?: Maybe<Scalars['Boolean']['output']>;
3374
- questionnaireResponseId?: Maybe<Scalars['String']['output']>;
3375
- title?: Maybe<Scalars['String']['output']>;
3376
- };
3377
3654
  export declare enum Operation {
3378
3655
  CancelDelete = "CANCEL_DELETE",
3379
3656
  ConfirmDelete = "CONFIRM_DELETE",
@@ -3499,7 +3776,7 @@ export type Organization = {
3499
3776
  address?: Maybe<Array<Maybe<Address>>>;
3500
3777
  alias?: Maybe<Scalars['String']['output']>;
3501
3778
  endpoint?: Maybe<Array<Maybe<Endpoint>>>;
3502
- id: Scalars['ID']['output'];
3779
+ id?: Maybe<Scalars['ID']['output']>;
3503
3780
  identifier?: Maybe<Array<Maybe<Identifier>>>;
3504
3781
  meta?: Maybe<Meta>;
3505
3782
  /** The name of the organization. */
@@ -3894,7 +4171,7 @@ export type Position = {
3894
4171
  /** Type representing a practitioner with a human name */
3895
4172
  export type Practitioner = {
3896
4173
  __typename?: 'Practitioner';
3897
- id: Scalars['ID']['output'];
4174
+ id?: Maybe<Scalars['ID']['output']>;
3898
4175
  /** The identifier of the practitioner. */
3899
4176
  identifier?: Maybe<Array<Maybe<Identifier>>>;
3900
4177
  /** The human name of the practitioner */
@@ -3916,9 +4193,9 @@ export type PractitionerRole = {
3916
4193
  active?: Maybe<Scalars['Boolean']['output']>;
3917
4194
  code?: Maybe<Array<CodeableConcept>>;
3918
4195
  endpoint?: Maybe<Array<Maybe<Endpoint>>>;
3919
- id: Scalars['ID']['output'];
4196
+ id?: Maybe<Scalars['ID']['output']>;
3920
4197
  identifier?: Maybe<Array<Maybe<Identifier>>>;
3921
- location?: Maybe<Location>;
4198
+ location?: Maybe<Array<Maybe<Location>>>;
3922
4199
  organization?: Maybe<Organization>;
3923
4200
  period?: Maybe<Period>;
3924
4201
  practitioner?: Maybe<Practitioner>;
@@ -4095,6 +4372,49 @@ export type ProtocolApplied = {
4095
4372
  /** A string representing the dose number. */
4096
4373
  doseNumberString?: Maybe<Scalars['String']['output']>;
4097
4374
  };
4375
+ export type Provenance = {
4376
+ __typename?: 'Provenance';
4377
+ agent?: Maybe<Array<Maybe<ProvenanceAgent>>>;
4378
+ id: Scalars['ID']['output'];
4379
+ meta?: Maybe<Meta>;
4380
+ recorded?: Maybe<Scalars['Instant']['output']>;
4381
+ resourceType?: Maybe<Scalars['String']['output']>;
4382
+ target?: Maybe<Array<Maybe<ProvenanceTargetReference>>>;
4383
+ };
4384
+ export type ProvenanceAgent = {
4385
+ __typename?: 'ProvenanceAgent';
4386
+ onBehalfOf?: Maybe<ProvenanceAgentOnBehalfOfReference>;
4387
+ role?: Maybe<Array<Maybe<CodeableConcept>>>;
4388
+ type?: Maybe<CodeableConcept>;
4389
+ who?: Maybe<ProvenanceAgentWhoReference>;
4390
+ };
4391
+ export type ProvenanceAgentOnBehalfOfReference = {
4392
+ __typename?: 'ProvenanceAgentOnBehalfOfReference';
4393
+ display?: Maybe<Scalars['String']['output']>;
4394
+ reference?: Maybe<Scalars['String']['output']>;
4395
+ type?: Maybe<Scalars['URI']['output']>;
4396
+ };
4397
+ export type ProvenanceAgentWhoReference = {
4398
+ __typename?: 'ProvenanceAgentWhoReference';
4399
+ display?: Maybe<Scalars['String']['output']>;
4400
+ reference?: Maybe<Scalars['String']['output']>;
4401
+ type?: Maybe<Scalars['URI']['output']>;
4402
+ };
4403
+ export type ProvenanceBundle = {
4404
+ __typename?: 'ProvenanceBundle';
4405
+ entry?: Maybe<Array<Maybe<ProvenanceBundleEntry>>>;
4406
+ total?: Maybe<Scalars['Int']['output']>;
4407
+ };
4408
+ export type ProvenanceBundleEntry = {
4409
+ __typename?: 'ProvenanceBundleEntry';
4410
+ resource?: Maybe<Provenance>;
4411
+ };
4412
+ export type ProvenanceTargetReference = {
4413
+ __typename?: 'ProvenanceTargetReference';
4414
+ display?: Maybe<Scalars['String']['output']>;
4415
+ reference?: Maybe<Scalars['String']['output']>;
4416
+ type?: Maybe<Scalars['URI']['output']>;
4417
+ };
4098
4418
  export type ProviderAddress = {
4099
4419
  __typename?: 'ProviderAddress';
4100
4420
  city?: Maybe<Scalars['String']['output']>;
@@ -4289,7 +4609,10 @@ export type Query = {
4289
4609
  cancelationReasons: CodeSystem;
4290
4610
  consent?: Maybe<Array<Maybe<LegacyConsent>>>;
4291
4611
  consentAsyncTasks?: Maybe<Array<Maybe<Job>>>;
4612
+ coverages?: Maybe<CoverageBundle>;
4613
+ devices?: Maybe<DeviceBundle>;
4292
4614
  diagnosticReports?: Maybe<DiagnosticReportBundle>;
4615
+ explanationOfBenefits?: Maybe<ExplanationOfBenefitBundle>;
4293
4616
  findPersonWithClientSlugAndId?: Maybe<PersonInfoForLogin>;
4294
4617
  getAllergyIntoleranceGroups: AllergyIntoleranceGroupQueryResults;
4295
4618
  /** Retrieves a list of AllergyIntolerance resources based on the provided search criteria. */
@@ -4346,13 +4669,14 @@ export type Query = {
4346
4669
  getVitalSignGroups: VitalSignGroupQueryResults;
4347
4670
  /** Retrieves a list of vital signs based on the provided request parameters. */
4348
4671
  getVitalSigns: ObservationQueryResults;
4672
+ goals?: Maybe<GoalBundle>;
4349
4673
  initSdk: SdkConfiguration;
4350
4674
  login: LogInResponse;
4351
- onboardingComposition?: Maybe<OnboardingComposition>;
4352
4675
  patients?: Maybe<PatientBundle>;
4353
4676
  person?: Maybe<Person>;
4354
4677
  placeholderQuery?: Maybe<Scalars['String']['output']>;
4355
4678
  profile?: Maybe<Profile>;
4679
+ provenances?: Maybe<ProvenanceBundle>;
4356
4680
  /**
4357
4681
  * Searches providers based on filters.
4358
4682
  * @deprecated Use searchProviders instead
@@ -4374,6 +4698,7 @@ export type Query = {
4374
4698
  searchProviders: SearchProvidersResults;
4375
4699
  status?: Maybe<Scalars['String']['output']>;
4376
4700
  subscription_subscription?: Maybe<Subscription_SubscriptionBundle>;
4701
+ temp?: Maybe<Temp>;
4377
4702
  userProfile?: Maybe<Person>;
4378
4703
  verificationStatus?: Maybe<VerificationResult>;
4379
4704
  who?: Maybe<Scalars['String']['output']>;
@@ -4415,6 +4740,25 @@ export type QueryConsentAsyncTasksArgs = {
4415
4740
  start?: InputMaybe<Scalars['Int']['input']>;
4416
4741
  status: Array<InputMaybe<Scalars['String']['input']>>;
4417
4742
  };
4743
+ export type QueryCoveragesArgs = {
4744
+ _count?: InputMaybe<Scalars['Int']['input']>;
4745
+ _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
4746
+ _lastUpdated?: InputMaybe<SearchDate>;
4747
+ _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4748
+ _total?: InputMaybe<TotalType>;
4749
+ beneficiary?: InputMaybe<SearchReference>;
4750
+ id?: InputMaybe<SearchString>;
4751
+ patient?: InputMaybe<SearchReference>;
4752
+ };
4753
+ export type QueryDevicesArgs = {
4754
+ _count?: InputMaybe<Scalars['Int']['input']>;
4755
+ _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
4756
+ _lastUpdated?: InputMaybe<SearchDate>;
4757
+ _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4758
+ _total?: InputMaybe<TotalType>;
4759
+ id?: InputMaybe<SearchString>;
4760
+ subject?: InputMaybe<SearchReference>;
4761
+ };
4418
4762
  export type QueryDiagnosticReportsArgs = {
4419
4763
  _count?: InputMaybe<Scalars['Int']['input']>;
4420
4764
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
@@ -4422,6 +4766,15 @@ export type QueryDiagnosticReportsArgs = {
4422
4766
  _total?: InputMaybe<TotalType>;
4423
4767
  id?: InputMaybe<SearchString>;
4424
4768
  };
4769
+ export type QueryExplanationOfBenefitsArgs = {
4770
+ _count?: InputMaybe<Scalars['Int']['input']>;
4771
+ _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
4772
+ _lastUpdated?: InputMaybe<SearchDate>;
4773
+ _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4774
+ _total?: InputMaybe<TotalType>;
4775
+ id?: InputMaybe<SearchString>;
4776
+ patient?: InputMaybe<SearchReference>;
4777
+ };
4425
4778
  export type QueryFindPersonWithClientSlugAndIdArgs = {
4426
4779
  input?: InputMaybe<ClientSlugAndIdentifierInput>;
4427
4780
  };
@@ -4534,6 +4887,15 @@ export type QueryGetVitalSignGroupsArgs = {
4534
4887
  export type QueryGetVitalSignsArgs = {
4535
4888
  request?: InputMaybe<VitalSignRequest>;
4536
4889
  };
4890
+ export type QueryGoalsArgs = {
4891
+ _count?: InputMaybe<Scalars['Int']['input']>;
4892
+ _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
4893
+ _lastUpdated?: InputMaybe<SearchDate>;
4894
+ _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4895
+ _total?: InputMaybe<TotalType>;
4896
+ id?: InputMaybe<SearchString>;
4897
+ subject?: InputMaybe<SearchReference>;
4898
+ };
4537
4899
  export type QueryInitSdkArgs = {
4538
4900
  clientKey: Scalars['String']['input'];
4539
4901
  organizationId?: InputMaybe<Scalars['String']['input']>;
@@ -4556,6 +4918,15 @@ export type QueryPersonArgs = {
4556
4918
  export type QueryProfileArgs = {
4557
4919
  id: Scalars['ID']['input'];
4558
4920
  };
4921
+ export type QueryProvenancesArgs = {
4922
+ _count?: InputMaybe<Scalars['Int']['input']>;
4923
+ _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
4924
+ _lastUpdated?: InputMaybe<SearchDate>;
4925
+ _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4926
+ _total?: InputMaybe<TotalType>;
4927
+ id?: InputMaybe<SearchString>;
4928
+ patient?: InputMaybe<SearchReference>;
4929
+ };
4559
4930
  export type QueryProvidersArgs = {
4560
4931
  client?: InputMaybe<Array<InputMaybe<Client>>>;
4561
4932
  filter_values?: InputMaybe<Array<InputMaybe<FilterField>>>;
@@ -4588,6 +4959,8 @@ export type QueryQuestionnaireResponsesArgs = {
4588
4959
  _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
4589
4960
  _lastUpdated?: InputMaybe<SearchDate>;
4590
4961
  _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4962
+ _tag?: InputMaybe<SearchToken>;
4963
+ _total?: InputMaybe<TotalType>;
4591
4964
  id?: InputMaybe<SearchString>;
4592
4965
  patient?: InputMaybe<SearchReference>;
4593
4966
  questionnaire?: InputMaybe<SearchReference>;
@@ -4623,6 +4996,9 @@ export type QuerySubscription_SubscriptionArgs = {
4623
4996
  _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4624
4997
  _total?: InputMaybe<TotalType>;
4625
4998
  };
4999
+ export type QueryTempArgs = {
5000
+ id: Scalars['ID']['input'];
5001
+ };
4626
5002
  export type Questionnaire = Resource & {
4627
5003
  __typename?: 'Questionnaire';
4628
5004
  contained?: Maybe<Array<Maybe<Resource>>>;
@@ -4751,6 +5127,7 @@ export type QuestionnaireModelItem = {
4751
5127
  };
4752
5128
  export type QuestionnaireResponse = Resource & {
4753
5129
  __typename?: 'QuestionnaireResponse';
5130
+ author?: Maybe<QuestionnaireResponseAuthorReference>;
4754
5131
  authored?: Maybe<Scalars['DateTime']['output']>;
4755
5132
  contained?: Maybe<Array<Maybe<Resource>>>;
4756
5133
  extension?: Maybe<Array<Maybe<FhirExtension>>>;
@@ -4792,9 +5169,17 @@ export type QuestionnaireResponseAnswerValueReferenceReference = {
4792
5169
  reference?: Maybe<Scalars['String']['output']>;
4793
5170
  type?: Maybe<Scalars['URI']['output']>;
4794
5171
  };
5172
+ export type QuestionnaireResponseAuthorReference = {
5173
+ __typename?: 'QuestionnaireResponseAuthorReference';
5174
+ display?: Maybe<Scalars['String']['output']>;
5175
+ identifier?: Maybe<Identifier>;
5176
+ reference?: Maybe<Scalars['String']['output']>;
5177
+ type?: Maybe<Scalars['URI']['output']>;
5178
+ };
4795
5179
  export type QuestionnaireResponseBundle = {
4796
5180
  __typename?: 'QuestionnaireResponseBundle';
4797
5181
  entry?: Maybe<Array<Maybe<QuestionnaireResponseBundleEntry>>>;
5182
+ total?: Maybe<Scalars['Int']['output']>;
4798
5183
  };
4799
5184
  export type QuestionnaireResponseBundleEntry = {
4800
5185
  __typename?: 'QuestionnaireResponseBundleEntry';
@@ -4967,11 +5352,11 @@ export type RelatedPerson = {
4967
5352
  __typename?: 'RelatedPerson';
4968
5353
  active?: Maybe<Scalars['Boolean']['output']>;
4969
5354
  address?: Maybe<Array<Maybe<Address>>>;
4970
- id: Scalars['ID']['output'];
5355
+ id?: Maybe<Scalars['ID']['output']>;
4971
5356
  identifier?: Maybe<Array<Maybe<Identifier>>>;
4972
5357
  meta?: Maybe<Meta>;
4973
5358
  name?: Maybe<Array<Maybe<HumanName>>>;
4974
- patient?: Maybe<RelatedPersonPatientReference>;
5359
+ patient?: Maybe<Patient>;
4975
5360
  relationship?: Maybe<Array<Maybe<CodeableConcept>>>;
4976
5361
  resourceType?: Maybe<Scalars['String']['output']>;
4977
5362
  telecom?: Maybe<Array<Maybe<ContactPoint>>>;
@@ -4985,10 +5370,6 @@ export type RelatedPersonBundleEntry = {
4985
5370
  __typename?: 'RelatedPersonBundleEntry';
4986
5371
  resource?: Maybe<RelatedPerson>;
4987
5372
  };
4988
- export type RelatedPersonPatientReference = {
4989
- __typename?: 'RelatedPersonPatientReference';
4990
- resource?: Maybe<Patient>;
4991
- };
4992
5373
  export type RequestConnectionInput = {
4993
5374
  bwellFhirPersonId?: InputMaybe<Scalars['String']['input']>;
4994
5375
  city?: InputMaybe<Scalars['String']['input']>;
@@ -5097,6 +5478,15 @@ export type SdkConfiguration = {
5097
5478
  logLevel?: Maybe<LogLevel>;
5098
5479
  telemetry: TelemetryConfig;
5099
5480
  };
5481
+ /**
5482
+ * SearchContext enum
5483
+ * Defines the context in which a search is being performed, which determines
5484
+ * which configurations and filters are applied to the search results.
5485
+ */
5486
+ export declare enum SearchContextEnum {
5487
+ CareSearch = "CARE_SEARCH",
5488
+ Proa = "PROA"
5489
+ }
5100
5490
  export type SearchDate = {
5101
5491
  missing?: InputMaybe<Scalars['Boolean']['input']>;
5102
5492
  searchType?: InputMaybe<Scalars['String']['input']>;
@@ -5150,6 +5540,8 @@ export type SearchHealthResourcesInput = {
5150
5540
  paging?: InputMaybe<PagingInfoInput>;
5151
5541
  /** A free form search text. */
5152
5542
  search?: InputMaybe<Scalars['String']['input']>;
5543
+ /** Context for the search that determines which PSS configurations to apply */
5544
+ searchContext?: InputMaybe<SearchContextEnum>;
5153
5545
  /** Return only results that are within `distance` of this location */
5154
5546
  searchLocation?: InputMaybe<SearchLocation>;
5155
5547
  user?: InputMaybe<UserInput>;
@@ -5609,6 +6001,10 @@ export type TelemetryConfig = {
5609
6001
  collectorUrl: Scalars['String']['output'];
5610
6002
  enabled?: Maybe<Scalars['Boolean']['output']>;
5611
6003
  };
6004
+ export type Temp = {
6005
+ __typename?: 'Temp';
6006
+ id: Scalars['ID']['output'];
6007
+ };
5612
6008
  export type Timing = {
5613
6009
  __typename?: 'Timing';
5614
6010
  code?: Maybe<CodeableConcept>;