@icanbwell/bwell-sdk-ts 1.46.0 → 1.47.0-rc.1764872852
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/base/api-provider.d.ts +2 -0
- package/dist/api/base/financial/explanation-of-benefit.d.ts +32 -0
- package/dist/api/base/financial/explanation-of-benefit.js +66 -0
- package/dist/api/base/financial/financial-manager.d.ts +4 -1
- package/dist/api/base/health-data/health-manager.d.ts +13 -2
- package/dist/api/base/health-data/index.d.ts +2 -1
- package/dist/api/base/health-data/index.js +1 -0
- package/dist/api/base/health-data/medication-statement-request.d.ts +29 -0
- package/dist/api/base/health-data/medication-statement-request.js +35 -0
- package/dist/api/base/index.d.ts +1 -0
- package/dist/api/base/index.js +1 -0
- package/dist/api/base/support/get-support-requests-request.d.ts +16 -0
- package/dist/api/base/support/get-support-requests-request.js +14 -0
- package/dist/api/base/support/index.d.ts +2 -0
- package/dist/api/base/support/index.js +2 -0
- package/dist/api/base/support/support-manager.d.ts +16 -0
- package/dist/api/base/support/support-manager.js +1 -0
- package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.d.ts +9 -0
- package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.js +23 -0
- package/dist/api/graphql-api/financial/graphql-financial-manager.d.ts +3 -1
- package/dist/api/graphql-api/financial/graphql-financial-manager.js +20 -2
- package/dist/api/graphql-api/graphql-api-provider.d.ts +2 -0
- package/dist/api/graphql-api/graphql-api-provider.js +2 -0
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +4 -2
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +23 -4
- package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.js +11 -0
- package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.js +16 -0
- package/dist/api/graphql-api/support/graphql-support-manager.d.ts +15 -0
- package/dist/api/graphql-api/support/graphql-support-manager.js +54 -0
- package/dist/api/graphql-api/support/index.d.ts +1 -0
- package/dist/api/graphql-api/support/index.js +1 -0
- package/dist/bwell-sdk/bwell-sdk.d.ts +2 -0
- package/dist/bwell-sdk/bwell-sdk.js +3 -0
- package/dist/graphql/operations/index.d.ts +27 -1
- package/dist/graphql/operations/index.js +290 -6
- package/dist/graphql/operations/types.d.ts +475 -11
- package/dist/graphql/schema.d.ts +199 -5
- package/dist/graphql/schema.js +17 -0
- package/package.json +1 -1
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -432,6 +432,12 @@ export type AttachmentInput = {
|
|
|
432
432
|
id: Scalars['String']['input'];
|
|
433
433
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
434
434
|
};
|
|
435
|
+
export type AttachmentMetadata = {
|
|
436
|
+
__typename?: 'AttachmentMetadata';
|
|
437
|
+
contentType: Scalars['String']['output'];
|
|
438
|
+
fileName: Scalars['String']['output'];
|
|
439
|
+
size: Scalars['Int']['output'];
|
|
440
|
+
};
|
|
435
441
|
export type AuthCode = {
|
|
436
442
|
__typename?: 'AuthCode';
|
|
437
443
|
authCode: Scalars['String']['output'];
|
|
@@ -491,7 +497,6 @@ export type BootstrapConfiguration = {
|
|
|
491
497
|
frontendEnvironment: FrontendEnvironment;
|
|
492
498
|
googleGeo: GoogleGeo;
|
|
493
499
|
jwksKid: Scalars['String']['output'];
|
|
494
|
-
mcp: McpMap;
|
|
495
500
|
prefetchAssets: PrefetchAssets;
|
|
496
501
|
telemetry: Telemetry;
|
|
497
502
|
userProfileSvcUrl: Scalars['String']['output'];
|
|
@@ -846,6 +851,10 @@ export type CodingInput = {
|
|
|
846
851
|
display?: InputMaybe<Scalars['String']['input']>;
|
|
847
852
|
system?: InputMaybe<Scalars['String']['input']>;
|
|
848
853
|
};
|
|
854
|
+
export type CommentInput = {
|
|
855
|
+
body: Scalars['String']['input'];
|
|
856
|
+
uploads?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
857
|
+
};
|
|
849
858
|
export type Component = {
|
|
850
859
|
__typename?: 'Component';
|
|
851
860
|
/** The code that categorizes the observation. */
|
|
@@ -1277,6 +1286,17 @@ export type CreateHealthLinkInput = {
|
|
|
1277
1286
|
resources?: InputMaybe<Array<ResourceInput>>;
|
|
1278
1287
|
securityConfig: SecurityConfigInput;
|
|
1279
1288
|
};
|
|
1289
|
+
export type CreateSupportRequestInput = {
|
|
1290
|
+
comment: CommentInput;
|
|
1291
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
1292
|
+
fields: SupportRequestFieldsInput;
|
|
1293
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
1294
|
+
subject: Scalars['String']['input'];
|
|
1295
|
+
};
|
|
1296
|
+
export type CreateSupportRequestResponse = {
|
|
1297
|
+
__typename?: 'CreateSupportRequestResponse';
|
|
1298
|
+
data?: Maybe<SupportRequest>;
|
|
1299
|
+
};
|
|
1280
1300
|
/** Supported ISO 4217 CurrencyCodes */
|
|
1281
1301
|
export declare enum CurrencyCode {
|
|
1282
1302
|
Usd = "USD"
|
|
@@ -1326,6 +1346,16 @@ export type DataSource = {
|
|
|
1326
1346
|
/** Type of data source */
|
|
1327
1347
|
type: DataConnectionType;
|
|
1328
1348
|
};
|
|
1349
|
+
export type DeleteSupportAttachmentInput = {
|
|
1350
|
+
attachmentId: Scalars['String']['input'];
|
|
1351
|
+
};
|
|
1352
|
+
export type DeleteSupportAttachmentResponse = {
|
|
1353
|
+
__typename?: 'DeleteSupportAttachmentResponse';
|
|
1354
|
+
status: DeletionStatus;
|
|
1355
|
+
};
|
|
1356
|
+
export declare enum DeletionStatus {
|
|
1357
|
+
Deleted = "DELETED"
|
|
1358
|
+
}
|
|
1329
1359
|
export type Detail = {
|
|
1330
1360
|
__typename?: 'Detail';
|
|
1331
1361
|
code?: Maybe<CodeableConcept>;
|
|
@@ -1833,7 +1863,9 @@ export type ExplanationOfBenefit = {
|
|
|
1833
1863
|
patient?: Maybe<ExplanationOfBenefitPatientReference>;
|
|
1834
1864
|
payee?: Maybe<ExplanationOfBenefitPayee>;
|
|
1835
1865
|
payment?: Maybe<ExplanationOfBenefitPayment>;
|
|
1866
|
+
processNote?: Maybe<Array<Maybe<ExplanationOfBenefitProcessNote>>>;
|
|
1836
1867
|
provider?: Maybe<ExplanationOfBenefitProviderReference>;
|
|
1868
|
+
related?: Maybe<Array<Maybe<ExplanationOfBenefitRelated>>>;
|
|
1837
1869
|
resourceType?: Maybe<Scalars['String']['output']>;
|
|
1838
1870
|
status?: Maybe<Scalars['Code']['output']>;
|
|
1839
1871
|
subType?: Maybe<CodeableConcept>;
|
|
@@ -1846,6 +1878,7 @@ export type ExplanationOfBenefitAdjudication = {
|
|
|
1846
1878
|
__typename?: 'ExplanationOfBenefitAdjudication';
|
|
1847
1879
|
amount?: Maybe<Money>;
|
|
1848
1880
|
category?: Maybe<CodeableConcept>;
|
|
1881
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
1849
1882
|
reason?: Maybe<CodeableConcept>;
|
|
1850
1883
|
value?: Maybe<Scalars['Float']['output']>;
|
|
1851
1884
|
};
|
|
@@ -1864,7 +1897,9 @@ export type ExplanationOfBenefitBundleEntry = {
|
|
|
1864
1897
|
};
|
|
1865
1898
|
export type ExplanationOfBenefitCareTeam = {
|
|
1866
1899
|
__typename?: 'ExplanationOfBenefitCareTeam';
|
|
1900
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
1867
1901
|
provider?: Maybe<ExplanationOfBenefitCareTeamProviderReference>;
|
|
1902
|
+
qualification?: Maybe<CodeableConcept>;
|
|
1868
1903
|
role?: Maybe<CodeableConcept>;
|
|
1869
1904
|
sequence?: Maybe<Scalars['Int']['output']>;
|
|
1870
1905
|
};
|
|
@@ -1878,6 +1913,7 @@ export type ExplanationOfBenefitDiagnosis = {
|
|
|
1878
1913
|
__typename?: 'ExplanationOfBenefitDiagnosis';
|
|
1879
1914
|
diagnosisCodeableConcept?: Maybe<CodeableConcept>;
|
|
1880
1915
|
diagnosisReference?: Maybe<ExplanationOfBenefitDiagnosisDiagnosisReferenceReference>;
|
|
1916
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
1881
1917
|
onAdmission?: Maybe<CodeableConcept>;
|
|
1882
1918
|
packageCode?: Maybe<CodeableConcept>;
|
|
1883
1919
|
sequence?: Maybe<Scalars['Int']['output']>;
|
|
@@ -1909,9 +1945,18 @@ export type ExplanationOfBenefitInsurerReference = {
|
|
|
1909
1945
|
export type ExplanationOfBenefitItem = {
|
|
1910
1946
|
__typename?: 'ExplanationOfBenefitItem';
|
|
1911
1947
|
adjudication?: Maybe<Array<Maybe<ExplanationOfBenefitAdjudication>>>;
|
|
1948
|
+
bodySite?: Maybe<CodeableConcept>;
|
|
1949
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
1950
|
+
locationCodeableConcept?: Maybe<CodeableConcept>;
|
|
1951
|
+
modifier?: Maybe<Array<Maybe<CodeableConcept>>>;
|
|
1952
|
+
net?: Maybe<Money>;
|
|
1912
1953
|
noteNumber?: Maybe<Array<Maybe<Scalars['Int']['output']>>>;
|
|
1913
1954
|
productOrService?: Maybe<CodeableConcept>;
|
|
1955
|
+
quantity?: Maybe<Quantity>;
|
|
1956
|
+
revenue?: Maybe<CodeableConcept>;
|
|
1914
1957
|
sequence?: Maybe<Scalars['Int']['output']>;
|
|
1958
|
+
servicedDate?: Maybe<Scalars['Date']['output']>;
|
|
1959
|
+
servicedPeriod?: Maybe<Period>;
|
|
1915
1960
|
};
|
|
1916
1961
|
export type ExplanationOfBenefitPatientReference = {
|
|
1917
1962
|
__typename?: 'ExplanationOfBenefitPatientReference';
|
|
@@ -1939,14 +1984,25 @@ export type ExplanationOfBenefitPayment = {
|
|
|
1939
1984
|
adjustmentReason?: Maybe<CodeableConcept>;
|
|
1940
1985
|
amount?: Maybe<Money>;
|
|
1941
1986
|
date?: Maybe<Scalars['Date']['output']>;
|
|
1987
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
1942
1988
|
type?: Maybe<CodeableConcept>;
|
|
1943
1989
|
};
|
|
1990
|
+
export type ExplanationOfBenefitProcessNote = {
|
|
1991
|
+
__typename?: 'ExplanationOfBenefitProcessNote';
|
|
1992
|
+
text?: Maybe<Scalars['String']['output']>;
|
|
1993
|
+
type?: Maybe<Scalars['Code']['output']>;
|
|
1994
|
+
};
|
|
1944
1995
|
export type ExplanationOfBenefitProviderReference = {
|
|
1945
1996
|
__typename?: 'ExplanationOfBenefitProviderReference';
|
|
1946
1997
|
display?: Maybe<Scalars['String']['output']>;
|
|
1947
1998
|
reference?: Maybe<Scalars['String']['output']>;
|
|
1948
1999
|
type?: Maybe<Scalars['URI']['output']>;
|
|
1949
2000
|
};
|
|
2001
|
+
export type ExplanationOfBenefitRelated = {
|
|
2002
|
+
__typename?: 'ExplanationOfBenefitRelated';
|
|
2003
|
+
reference?: Maybe<Identifier>;
|
|
2004
|
+
relationship?: Maybe<CodeableConcept>;
|
|
2005
|
+
};
|
|
1950
2006
|
export type ExplanationOfBenefitSupportingInfo = {
|
|
1951
2007
|
__typename?: 'ExplanationOfBenefitSupportingInfo';
|
|
1952
2008
|
category?: Maybe<CodeableConcept>;
|
|
@@ -2796,6 +2852,13 @@ export type LocationManagingOrganizationReference = {
|
|
|
2796
2852
|
identifier?: Maybe<Identifier>;
|
|
2797
2853
|
reference?: Maybe<Scalars['String']['output']>;
|
|
2798
2854
|
};
|
|
2855
|
+
export type LocationQueryResults = {
|
|
2856
|
+
__typename?: 'LocationQueryResults';
|
|
2857
|
+
resources: Array<Location>;
|
|
2858
|
+
};
|
|
2859
|
+
export type LocationsRequest = {
|
|
2860
|
+
ids: Array<Scalars['UUID']['input']>;
|
|
2861
|
+
};
|
|
2799
2862
|
export type LogInResponse = {
|
|
2800
2863
|
__typename?: 'LogInResponse';
|
|
2801
2864
|
accessToken: AccessTokenPayload;
|
|
@@ -2813,10 +2876,6 @@ export type Logging = {
|
|
|
2813
2876
|
__typename?: 'Logging';
|
|
2814
2877
|
enabled: Scalars['Boolean']['output'];
|
|
2815
2878
|
};
|
|
2816
|
-
export type McpMap = {
|
|
2817
|
-
__typename?: 'McpMap';
|
|
2818
|
-
bailey: Scalars['String']['output'];
|
|
2819
|
-
};
|
|
2820
2879
|
export type MedStatementCodeableConceptResource = {
|
|
2821
2880
|
__typename?: 'MedStatementCodeableConceptResource';
|
|
2822
2881
|
medicationCodeableConcept?: Maybe<CodeableConcept>;
|
|
@@ -3051,6 +3110,16 @@ export type MedicationStatement = {
|
|
|
3051
3110
|
__typename?: 'MedicationStatement';
|
|
3052
3111
|
/** Unique identifier for the medication statement */
|
|
3053
3112
|
id: Scalars['ID']['output'];
|
|
3113
|
+
resourceType?: Maybe<Scalars['String']['output']>;
|
|
3114
|
+
status?: Maybe<Scalars['Code']['output']>;
|
|
3115
|
+
};
|
|
3116
|
+
export type MedicationStatementBundle = {
|
|
3117
|
+
__typename?: 'MedicationStatementBundle';
|
|
3118
|
+
entry?: Maybe<Array<Maybe<MedicationStatementBundleEntry>>>;
|
|
3119
|
+
};
|
|
3120
|
+
export type MedicationStatementBundleEntry = {
|
|
3121
|
+
__typename?: 'MedicationStatementBundleEntry';
|
|
3122
|
+
resource?: Maybe<MedicationStatement>;
|
|
3054
3123
|
};
|
|
3055
3124
|
/**
|
|
3056
3125
|
* Input type for updating a MedicationStatement resource.
|
|
@@ -3210,6 +3279,7 @@ export type Mutation = {
|
|
|
3210
3279
|
createMissingConsents?: Maybe<Scalars['String']['output']>;
|
|
3211
3280
|
createPersonWithClientId?: Maybe<PersonWithMetadata>;
|
|
3212
3281
|
createQuestionnaireResponse?: Maybe<ConsentQuestionnaireResponse>;
|
|
3282
|
+
createSupportRequest: CreateSupportRequestResponse;
|
|
3213
3283
|
createVerificationUrl: Scalars['String']['output'];
|
|
3214
3284
|
/**
|
|
3215
3285
|
* Initiates deletion of an AllergyIntolerance resource by its ID.
|
|
@@ -3404,6 +3474,7 @@ export type Mutation = {
|
|
|
3404
3474
|
* Returns an OperationOutcome for the delete operation.
|
|
3405
3475
|
*/
|
|
3406
3476
|
deleteSpecimen: OperationOutcome;
|
|
3477
|
+
deleteSupportAttachment: DeleteSupportAttachmentResponse;
|
|
3407
3478
|
/** Disconnection a connection */
|
|
3408
3479
|
disconnectConnection: DisconnectConnection;
|
|
3409
3480
|
exchangeAuthCode: AuthTokens;
|
|
@@ -3446,6 +3517,7 @@ export type Mutation = {
|
|
|
3446
3517
|
updateUserAccountStatus: IdentityAuthed_OperationOutcome;
|
|
3447
3518
|
updateUserClient: Array<UpdateUserClientOutput>;
|
|
3448
3519
|
updateUserProfile?: Maybe<Person>;
|
|
3520
|
+
uploadSupportAttachment: UploadSupportAttachmentResponse;
|
|
3449
3521
|
upsertPerson?: Maybe<PersonWithMetadata>;
|
|
3450
3522
|
upsertPersonWithRegCode?: Maybe<TaskWithMetadata>;
|
|
3451
3523
|
};
|
|
@@ -3492,6 +3564,9 @@ export type MutationCreatePersonWithClientIdArgs = {
|
|
|
3492
3564
|
export type MutationCreateQuestionnaireResponseArgs = {
|
|
3493
3565
|
input: QuestionnaireResponse_Input;
|
|
3494
3566
|
};
|
|
3567
|
+
export type MutationCreateSupportRequestArgs = {
|
|
3568
|
+
input: CreateSupportRequestInput;
|
|
3569
|
+
};
|
|
3495
3570
|
export type MutationCreateVerificationUrlArgs = {
|
|
3496
3571
|
callbackURL?: InputMaybe<Scalars['String']['input']>;
|
|
3497
3572
|
includeAttributeMatchingCheck?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -3562,6 +3637,9 @@ export type MutationDeleteServiceRequestArgs = {
|
|
|
3562
3637
|
export type MutationDeleteSpecimenArgs = {
|
|
3563
3638
|
id: Scalars['UUID']['input'];
|
|
3564
3639
|
};
|
|
3640
|
+
export type MutationDeleteSupportAttachmentArgs = {
|
|
3641
|
+
input: DeleteSupportAttachmentInput;
|
|
3642
|
+
};
|
|
3565
3643
|
export type MutationDisconnectConnectionArgs = {
|
|
3566
3644
|
connectionId: Scalars['String']['input'];
|
|
3567
3645
|
};
|
|
@@ -3657,6 +3735,9 @@ export type MutationUpdateUserClientArgs = {
|
|
|
3657
3735
|
export type MutationUpdateUserProfileArgs = {
|
|
3658
3736
|
input?: InputMaybe<FhirPersonInput>;
|
|
3659
3737
|
};
|
|
3738
|
+
export type MutationUploadSupportAttachmentArgs = {
|
|
3739
|
+
input: UploadSupportAttachmentInput;
|
|
3740
|
+
};
|
|
3660
3741
|
export type MutationUpsertPersonArgs = {
|
|
3661
3742
|
input?: InputMaybe<PersonWithClientIdInput>;
|
|
3662
3743
|
};
|
|
@@ -3939,6 +4020,10 @@ export type Organization = {
|
|
|
3939
4020
|
/** The kind(s) of organization (e.g., hospital, clinic, manufacturer) as coded concepts. */
|
|
3940
4021
|
type?: Maybe<Array<CodeableConcept>>;
|
|
3941
4022
|
};
|
|
4023
|
+
export type OrganizationQueryResults = {
|
|
4024
|
+
__typename?: 'OrganizationQueryResults';
|
|
4025
|
+
resources: Array<Organization>;
|
|
4026
|
+
};
|
|
3942
4027
|
export declare enum OrganizationType {
|
|
3943
4028
|
C19Vaccine = "C19Vaccine",
|
|
3944
4029
|
Device = "Device",
|
|
@@ -3992,6 +4077,9 @@ export type OrganizationTypeNew = {
|
|
|
3992
4077
|
endpoint?: Maybe<Array<Maybe<EndpointType>>>;
|
|
3993
4078
|
name?: Maybe<Scalars['String']['output']>;
|
|
3994
4079
|
};
|
|
4080
|
+
export type OrganizationsRequest = {
|
|
4081
|
+
ids: Array<Scalars['UUID']['input']>;
|
|
4082
|
+
};
|
|
3995
4083
|
/** All queries that return a list of resources return a type that implements this interface. */
|
|
3996
4084
|
export type PagedQueryResults = {
|
|
3997
4085
|
paging_info?: Maybe<PagingResults>;
|
|
@@ -4324,12 +4412,30 @@ export type Position = {
|
|
|
4324
4412
|
/** Type representing a practitioner with a human name */
|
|
4325
4413
|
export type Practitioner = {
|
|
4326
4414
|
__typename?: 'Practitioner';
|
|
4415
|
+
/** Whether this practitioner's record is in active use. */
|
|
4416
|
+
active?: Maybe<Scalars['Boolean']['output']>;
|
|
4417
|
+
/**
|
|
4418
|
+
* Address(es) of the practitioner that are not role specific (typically home
|
|
4419
|
+
* address).
|
|
4420
|
+
* Work addresses are not typically entered in this property as they are usually
|
|
4421
|
+
* role dependent.
|
|
4422
|
+
*/
|
|
4423
|
+
address?: Maybe<Array<Maybe<Address>>>;
|
|
4327
4424
|
id?: Maybe<Scalars['ID']['output']>;
|
|
4328
4425
|
/** The identifier of the practitioner. */
|
|
4329
4426
|
identifier?: Maybe<Array<Maybe<Identifier>>>;
|
|
4330
4427
|
/** The human name of the practitioner */
|
|
4331
4428
|
name?: Maybe<Array<Maybe<HumanName>>>;
|
|
4332
4429
|
resourceType?: Maybe<Scalars['String']['output']>;
|
|
4430
|
+
/**
|
|
4431
|
+
* A contact detail for the practitioner, e.g. a telephone number or an email
|
|
4432
|
+
* address.
|
|
4433
|
+
*/
|
|
4434
|
+
telecom?: Maybe<Array<Maybe<ContactPoint>>>;
|
|
4435
|
+
};
|
|
4436
|
+
export type PractitionerQueryResults = {
|
|
4437
|
+
__typename?: 'PractitionerQueryResults';
|
|
4438
|
+
resources: Array<Practitioner>;
|
|
4333
4439
|
};
|
|
4334
4440
|
/** A reference to a practitioner who may be involved in an encounter. */
|
|
4335
4441
|
export type PractitionerReference = {
|
|
@@ -4356,6 +4462,16 @@ export type PractitionerRole = {
|
|
|
4356
4462
|
specialty?: Maybe<Array<CodeableConcept>>;
|
|
4357
4463
|
telecom?: Maybe<Array<Maybe<ContactPoint>>>;
|
|
4358
4464
|
};
|
|
4465
|
+
export type PractitionerRoleQueryResults = {
|
|
4466
|
+
__typename?: 'PractitionerRoleQueryResults';
|
|
4467
|
+
resources: Array<PractitionerRole>;
|
|
4468
|
+
};
|
|
4469
|
+
export type PractitionersRequest = {
|
|
4470
|
+
ids: Array<Scalars['UUID']['input']>;
|
|
4471
|
+
};
|
|
4472
|
+
export type PractitionersRoleRequest = {
|
|
4473
|
+
ids: Array<Scalars['UUID']['input']>;
|
|
4474
|
+
};
|
|
4359
4475
|
export type PrefetchAssets = {
|
|
4360
4476
|
__typename?: 'PrefetchAssets';
|
|
4361
4477
|
translations: PrefetchTranslations;
|
|
@@ -4821,6 +4937,8 @@ export type Query = {
|
|
|
4821
4937
|
getPersonByRegCode?: Maybe<RegCodePersonDto>;
|
|
4822
4938
|
getProcedureGroups: ProcedureGroupQueryResults;
|
|
4823
4939
|
getProcedures: ProcedureQueryResults;
|
|
4940
|
+
getSupportCategories: Array<SupportCategory>;
|
|
4941
|
+
getSupportRequests: SupportRequestsResponse;
|
|
4824
4942
|
/** Query to search for tasks. This query is the preferred method for searching for tasks. */
|
|
4825
4943
|
getTasks?: Maybe<TaskQueryResults>;
|
|
4826
4944
|
getToken: AuthTokens;
|
|
@@ -4831,10 +4949,14 @@ export type Query = {
|
|
|
4831
4949
|
goals?: Maybe<GoalBundle>;
|
|
4832
4950
|
healthLinks?: Maybe<Array<DocumentReference>>;
|
|
4833
4951
|
initSdk: SdkConfiguration;
|
|
4952
|
+
locations: LocationQueryResults;
|
|
4834
4953
|
login: LogInResponse;
|
|
4954
|
+
organizations: OrganizationQueryResults;
|
|
4835
4955
|
patients?: Maybe<PatientBundle>;
|
|
4836
4956
|
person?: Maybe<Person>;
|
|
4837
4957
|
placeholderQuery?: Maybe<Scalars['String']['output']>;
|
|
4958
|
+
practitionerRoles: PractitionerRoleQueryResults;
|
|
4959
|
+
practitioners: PractitionerQueryResults;
|
|
4838
4960
|
profile?: Maybe<Profile>;
|
|
4839
4961
|
provenances?: Maybe<ProvenanceBundle>;
|
|
4840
4962
|
/**
|
|
@@ -4941,8 +5063,12 @@ export type QueryExplanationOfBenefitsArgs = {
|
|
|
4941
5063
|
_lastUpdated?: InputMaybe<SearchDate>;
|
|
4942
5064
|
_sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
4943
5065
|
_total?: InputMaybe<TotalType>;
|
|
5066
|
+
coverage?: InputMaybe<SearchReference>;
|
|
5067
|
+
created?: InputMaybe<SearchDate>;
|
|
4944
5068
|
id?: InputMaybe<SearchString>;
|
|
4945
5069
|
patient?: InputMaybe<SearchReference>;
|
|
5070
|
+
provider?: InputMaybe<SearchReference>;
|
|
5071
|
+
status?: InputMaybe<SearchToken>;
|
|
4946
5072
|
};
|
|
4947
5073
|
export type QueryFindPersonWithClientSlugAndIdArgs = {
|
|
4948
5074
|
input?: InputMaybe<ClientSlugAndIdentifierInput>;
|
|
@@ -5048,6 +5174,9 @@ export type QueryGetProcedureGroupsArgs = {
|
|
|
5048
5174
|
export type QueryGetProceduresArgs = {
|
|
5049
5175
|
request?: InputMaybe<ProcedureRequest>;
|
|
5050
5176
|
};
|
|
5177
|
+
export type QueryGetSupportRequestsArgs = {
|
|
5178
|
+
input?: InputMaybe<SupportRequestsInput>;
|
|
5179
|
+
};
|
|
5051
5180
|
export type QueryGetTasksArgs = {
|
|
5052
5181
|
request?: InputMaybe<TaskRequest>;
|
|
5053
5182
|
};
|
|
@@ -5077,10 +5206,16 @@ export type QueryInitSdkArgs = {
|
|
|
5077
5206
|
clientKey: Scalars['String']['input'];
|
|
5078
5207
|
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
5079
5208
|
};
|
|
5209
|
+
export type QueryLocationsArgs = {
|
|
5210
|
+
request: LocationsRequest;
|
|
5211
|
+
};
|
|
5080
5212
|
export type QueryLoginArgs = {
|
|
5081
5213
|
email: Scalars['String']['input'];
|
|
5082
5214
|
password: Scalars['String']['input'];
|
|
5083
5215
|
};
|
|
5216
|
+
export type QueryOrganizationsArgs = {
|
|
5217
|
+
request: OrganizationsRequest;
|
|
5218
|
+
};
|
|
5084
5219
|
export type QueryPatientsArgs = {
|
|
5085
5220
|
_count?: InputMaybe<Scalars['Int']['input']>;
|
|
5086
5221
|
_getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -5092,6 +5227,12 @@ export type QueryPatientsArgs = {
|
|
|
5092
5227
|
export type QueryPersonArgs = {
|
|
5093
5228
|
id: Scalars['ID']['input'];
|
|
5094
5229
|
};
|
|
5230
|
+
export type QueryPractitionerRolesArgs = {
|
|
5231
|
+
request: PractitionersRoleRequest;
|
|
5232
|
+
};
|
|
5233
|
+
export type QueryPractitionersArgs = {
|
|
5234
|
+
request: PractitionersRequest;
|
|
5235
|
+
};
|
|
5095
5236
|
export type QueryProfileArgs = {
|
|
5096
5237
|
id: Scalars['ID']['input'];
|
|
5097
5238
|
};
|
|
@@ -5726,6 +5867,14 @@ export type RequestConnectionOutput = {
|
|
|
5726
5867
|
issue?: Maybe<Array<Maybe<OperationOutcomeIssue>>>;
|
|
5727
5868
|
resourceType?: Maybe<Scalars['String']['output']>;
|
|
5728
5869
|
};
|
|
5870
|
+
export declare enum RequestStatus {
|
|
5871
|
+
Closed = "CLOSED",
|
|
5872
|
+
Hold = "HOLD",
|
|
5873
|
+
New = "NEW",
|
|
5874
|
+
Open = "OPEN",
|
|
5875
|
+
Pending = "PENDING",
|
|
5876
|
+
Solved = "SOLVED"
|
|
5877
|
+
}
|
|
5729
5878
|
export type Resource = {
|
|
5730
5879
|
id: Scalars['ID']['output'];
|
|
5731
5880
|
implicitRules?: Maybe<Scalars['URI']['output']>;
|
|
@@ -5783,6 +5932,7 @@ export type Rest = {
|
|
|
5783
5932
|
export type RestEndpoints = {
|
|
5784
5933
|
__typename?: 'RestEndpoints';
|
|
5785
5934
|
ats: Scalars['String']['output'];
|
|
5935
|
+
bailey: Scalars['String']['output'];
|
|
5786
5936
|
big: Scalars['String']['output'];
|
|
5787
5937
|
health: Scalars['String']['output'];
|
|
5788
5938
|
healthProgramsGateway: Scalars['String']['output'];
|
|
@@ -6075,6 +6225,7 @@ export type ServiceRequest = Resource & {
|
|
|
6075
6225
|
locationReference?: Maybe<Array<Maybe<ServiceRequestLocationReferenceReference>>>;
|
|
6076
6226
|
meta?: Maybe<Meta>;
|
|
6077
6227
|
occurrenceDateTime?: Maybe<Scalars['DateTime']['output']>;
|
|
6228
|
+
occurrencePeriod?: Maybe<Period>;
|
|
6078
6229
|
performer?: Maybe<Array<Maybe<ServiceRequestPerformerReference>>>;
|
|
6079
6230
|
reasonCode?: Maybe<Array<Maybe<CodeableConcept>>>;
|
|
6080
6231
|
reasonReference?: Maybe<Array<Maybe<ServiceRequestReasonReferenceReference>>>;
|
|
@@ -6144,6 +6295,9 @@ export type ServiceRequestSubjectReference = {
|
|
|
6144
6295
|
reference?: Maybe<Scalars['String']['output']>;
|
|
6145
6296
|
type?: Maybe<Scalars['URI']['output']>;
|
|
6146
6297
|
};
|
|
6298
|
+
export declare enum SortBy {
|
|
6299
|
+
UpdatedAt = "UPDATED_AT"
|
|
6300
|
+
}
|
|
6147
6301
|
export declare enum SortField {
|
|
6148
6302
|
Content = "content",
|
|
6149
6303
|
Distance = "distance",
|
|
@@ -6361,6 +6515,36 @@ export type SubstanceInstance = {
|
|
|
6361
6515
|
identifier?: Maybe<Identifier>;
|
|
6362
6516
|
quantity?: Maybe<Quantity>;
|
|
6363
6517
|
};
|
|
6518
|
+
export type SupportCategory = {
|
|
6519
|
+
__typename?: 'SupportCategory';
|
|
6520
|
+
label: Scalars['String']['output'];
|
|
6521
|
+
value: Scalars['String']['output'];
|
|
6522
|
+
};
|
|
6523
|
+
export type SupportRequest = {
|
|
6524
|
+
__typename?: 'SupportRequest';
|
|
6525
|
+
category: Scalars['String']['output'];
|
|
6526
|
+
created?: Maybe<Scalars['String']['output']>;
|
|
6527
|
+
id: Scalars['Int']['output'];
|
|
6528
|
+
lastActivity?: Maybe<Scalars['String']['output']>;
|
|
6529
|
+
status: RequestStatus;
|
|
6530
|
+
subject: Scalars['String']['output'];
|
|
6531
|
+
};
|
|
6532
|
+
export type SupportRequestFieldsInput = {
|
|
6533
|
+
category: Scalars['String']['input'];
|
|
6534
|
+
};
|
|
6535
|
+
export type SupportRequestsInput = {
|
|
6536
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
6537
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
6538
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
6539
|
+
sortBy?: InputMaybe<SortBy>;
|
|
6540
|
+
sortOrder?: InputMaybe<SortOrderEnum>;
|
|
6541
|
+
status?: InputMaybe<Array<RequestStatus>>;
|
|
6542
|
+
};
|
|
6543
|
+
export type SupportRequestsResponse = PagedQueryResults & {
|
|
6544
|
+
__typename?: 'SupportRequestsResponse';
|
|
6545
|
+
data?: Maybe<Array<Maybe<SupportRequest>>>;
|
|
6546
|
+
paging_info: PagingResults;
|
|
6547
|
+
};
|
|
6364
6548
|
/** Represents a CodeableConcept with codings and a human-readable text */
|
|
6365
6549
|
export type SyncErrorCodeableConcept = {
|
|
6366
6550
|
__typename?: 'SyncErrorCodeableConcept';
|
|
@@ -6590,6 +6774,15 @@ export type UpdatedPersonMetadata = {
|
|
|
6590
6774
|
__typename?: 'UpdatedPersonMetadata';
|
|
6591
6775
|
statusCode?: Maybe<Scalars['String']['output']>;
|
|
6592
6776
|
};
|
|
6777
|
+
export type UploadSupportAttachmentInput = {
|
|
6778
|
+
file: Scalars['String']['input'];
|
|
6779
|
+
fileName: Scalars['String']['input'];
|
|
6780
|
+
};
|
|
6781
|
+
export type UploadSupportAttachmentResponse = {
|
|
6782
|
+
__typename?: 'UploadSupportAttachmentResponse';
|
|
6783
|
+
attachmentId: Scalars['String']['output'];
|
|
6784
|
+
attachments: Array<AttachmentMetadata>;
|
|
6785
|
+
};
|
|
6593
6786
|
export type UsageContext = {
|
|
6594
6787
|
__typename?: 'UsageContext';
|
|
6595
6788
|
code?: Maybe<Coding>;
|
|
@@ -6735,6 +6928,7 @@ export type Zendesk = {
|
|
|
6735
6928
|
};
|
|
6736
6929
|
export type UpdatePersonDetailsOutput = {
|
|
6737
6930
|
__typename?: 'updatePersonDetailsOutput';
|
|
6931
|
+
empiType: Scalars['String']['output'];
|
|
6738
6932
|
id: Scalars['String']['output'];
|
|
6739
6933
|
resourceType: Scalars['String']['output'];
|
|
6740
6934
|
};
|
package/dist/graphql/schema.js
CHANGED
|
@@ -116,6 +116,10 @@ export var DataSetsEnum;
|
|
|
116
116
|
DataSetsEnum["Connecthub"] = "CONNECTHUB";
|
|
117
117
|
DataSetsEnum["Nppes"] = "NPPES";
|
|
118
118
|
})(DataSetsEnum || (DataSetsEnum = {}));
|
|
119
|
+
export var DeletionStatus;
|
|
120
|
+
(function (DeletionStatus) {
|
|
121
|
+
DeletionStatus["Deleted"] = "DELETED";
|
|
122
|
+
})(DeletionStatus || (DeletionStatus = {}));
|
|
119
123
|
export var EmpiType;
|
|
120
124
|
(function (EmpiType) {
|
|
121
125
|
EmpiType["BwellPatient"] = "BWELL_PATIENT";
|
|
@@ -339,6 +343,15 @@ export var Questionnaire_Enum_Schema;
|
|
|
339
343
|
(function (Questionnaire_Enum_Schema) {
|
|
340
344
|
Questionnaire_Enum_Schema["QuestionnaireResponse"] = "QuestionnaireResponse";
|
|
341
345
|
})(Questionnaire_Enum_Schema || (Questionnaire_Enum_Schema = {}));
|
|
346
|
+
export var RequestStatus;
|
|
347
|
+
(function (RequestStatus) {
|
|
348
|
+
RequestStatus["Closed"] = "CLOSED";
|
|
349
|
+
RequestStatus["Hold"] = "HOLD";
|
|
350
|
+
RequestStatus["New"] = "NEW";
|
|
351
|
+
RequestStatus["Open"] = "OPEN";
|
|
352
|
+
RequestStatus["Pending"] = "PENDING";
|
|
353
|
+
RequestStatus["Solved"] = "SOLVED";
|
|
354
|
+
})(RequestStatus || (RequestStatus = {}));
|
|
342
355
|
export var ResourceType;
|
|
343
356
|
(function (ResourceType) {
|
|
344
357
|
ResourceType["AllergyIntolerance"] = "ALLERGY_INTOLERANCE";
|
|
@@ -370,6 +383,10 @@ export var SearchResultTypeEnum;
|
|
|
370
383
|
SearchResultTypeEnum["Practice"] = "PRACTICE";
|
|
371
384
|
SearchResultTypeEnum["Practitioner"] = "PRACTITIONER";
|
|
372
385
|
})(SearchResultTypeEnum || (SearchResultTypeEnum = {}));
|
|
386
|
+
export var SortBy;
|
|
387
|
+
(function (SortBy) {
|
|
388
|
+
SortBy["UpdatedAt"] = "UPDATED_AT";
|
|
389
|
+
})(SortBy || (SortBy = {}));
|
|
373
390
|
export var SortField;
|
|
374
391
|
(function (SortField) {
|
|
375
392
|
SortField["Content"] = "content";
|