@icanbwell/bwell-sdk-ts 1.31.0-rc.1750169150 → 1.31.0-rc.1750447699
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/README.md +2 -0
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/graphql/schema.d.ts +83 -60
- package/package.json +4 -4
package/README.md
CHANGED
package/dist/__version__.d.ts
CHANGED
package/dist/__version__.js
CHANGED
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -1234,6 +1234,7 @@ export type DiagnosticReportBasedOnReference = {
|
|
|
1234
1234
|
export type DiagnosticReportBundle = {
|
|
1235
1235
|
__typename?: 'DiagnosticReportBundle';
|
|
1236
1236
|
entry?: Maybe<Array<Maybe<DiagnosticReportBundleEntry>>>;
|
|
1237
|
+
total?: Maybe<Scalars['Int']['output']>;
|
|
1237
1238
|
};
|
|
1238
1239
|
export type DiagnosticReportBundleEntry = {
|
|
1239
1240
|
__typename?: 'DiagnosticReportBundleEntry';
|
|
@@ -1630,6 +1631,15 @@ export type Expression = {
|
|
|
1630
1631
|
/** A URI that defines where the expression is found. */
|
|
1631
1632
|
reference?: Maybe<Scalars['URI']['output']>;
|
|
1632
1633
|
};
|
|
1634
|
+
export type ExpressionInput = {
|
|
1635
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
1636
|
+
expression?: InputMaybe<Scalars['String']['input']>;
|
|
1637
|
+
extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
|
|
1638
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
1639
|
+
language?: InputMaybe<Scalars['Code']['input']>;
|
|
1640
|
+
name?: InputMaybe<Scalars['ID']['input']>;
|
|
1641
|
+
reference?: InputMaybe<Scalars['URI']['input']>;
|
|
1642
|
+
};
|
|
1633
1643
|
/** Extension */
|
|
1634
1644
|
export type Extension = {
|
|
1635
1645
|
__typename?: 'Extension';
|
|
@@ -1833,6 +1843,7 @@ export type GuestAccessToken = {
|
|
|
1833
1843
|
export type HealthResourceSearchResult = {
|
|
1834
1844
|
__typename?: 'HealthResourceSearchResult';
|
|
1835
1845
|
content?: Maybe<Scalars['String']['output']>;
|
|
1846
|
+
endpoint?: Maybe<Array<Maybe<EndpointType>>>;
|
|
1836
1847
|
gender?: Maybe<GenderEnum>;
|
|
1837
1848
|
iconString?: Maybe<Scalars['String']['output']>;
|
|
1838
1849
|
id?: Maybe<Scalars['String']['output']>;
|
|
@@ -1841,6 +1852,8 @@ export type HealthResourceSearchResult = {
|
|
|
1841
1852
|
npi?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
1842
1853
|
organization?: Maybe<Array<Maybe<OrganizationTypeNew>>>;
|
|
1843
1854
|
photo?: Maybe<Array<Maybe<ProviderAttachment>>>;
|
|
1855
|
+
score?: Maybe<Scalars['Float']['output']>;
|
|
1856
|
+
scores?: Maybe<Array<Maybe<Score>>>;
|
|
1844
1857
|
specialty?: Maybe<Array<Maybe<ProviderCoding>>>;
|
|
1845
1858
|
telecom?: Maybe<Array<Maybe<ProviderContactPoint>>>;
|
|
1846
1859
|
type?: Maybe<SearchResultTypeEnum>;
|
|
@@ -2712,199 +2725,199 @@ export type Mutation = {
|
|
|
2712
2725
|
createQuestionnaireResponse?: Maybe<ConsentQuestionnaireResponse>;
|
|
2713
2726
|
createVerificationUrl: Scalars['String']['output'];
|
|
2714
2727
|
/**
|
|
2715
|
-
*
|
|
2728
|
+
* Initiates deletion of an AllergyIntolerance resource by its ID.
|
|
2716
2729
|
*
|
|
2717
|
-
* Note: This operation may create dangling references.
|
|
2730
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2718
2731
|
* A dangling reference occurs when other resources reference this AllergyIntolerance
|
|
2719
2732
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2720
2733
|
*
|
|
2721
|
-
* Returns an OperationOutcome
|
|
2734
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2722
2735
|
*/
|
|
2723
2736
|
deleteAllergyIntolerance: OperationOutcome;
|
|
2724
2737
|
/**
|
|
2725
|
-
*
|
|
2738
|
+
* Initiates deletion of a Binary resource by its ID.
|
|
2726
2739
|
*
|
|
2727
|
-
* Note: This operation may create dangling references.
|
|
2740
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2728
2741
|
* A dangling reference occurs when other resources reference this Binary
|
|
2729
2742
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2730
2743
|
*
|
|
2731
|
-
* Returns an OperationOutcome
|
|
2744
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2732
2745
|
*/
|
|
2733
2746
|
deleteBinary: OperationOutcome;
|
|
2734
2747
|
/**
|
|
2735
|
-
*
|
|
2748
|
+
* Initiates deletion of a CarePlan resource by its ID.
|
|
2736
2749
|
*
|
|
2737
|
-
* Note: This operation may create dangling references.
|
|
2750
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2738
2751
|
* A dangling reference occurs when other resources reference this CarePlan
|
|
2739
2752
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2740
2753
|
*
|
|
2741
|
-
* Returns an OperationOutcome
|
|
2754
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2742
2755
|
*/
|
|
2743
2756
|
deleteCarePlan: OperationOutcome;
|
|
2744
2757
|
/**
|
|
2745
|
-
*
|
|
2758
|
+
* Initiates deletion of a Condition resource by its ID.
|
|
2746
2759
|
*
|
|
2747
|
-
* Note: This operation may create dangling references.
|
|
2760
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2748
2761
|
* A dangling reference occurs when other resources reference this Condition
|
|
2749
2762
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2750
2763
|
*
|
|
2751
|
-
* Returns an OperationOutcome
|
|
2764
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2752
2765
|
*/
|
|
2753
2766
|
deleteCondition: OperationOutcome;
|
|
2754
|
-
/**
|
|
2767
|
+
/** Delete a connection */
|
|
2755
2768
|
deleteConnection: ConnectionStatusUpdate;
|
|
2756
2769
|
/**
|
|
2757
|
-
*
|
|
2770
|
+
* Initiates deletion of a DiagnosticReport resource by its ID.
|
|
2758
2771
|
*
|
|
2759
|
-
* Note: This operation may create dangling references.
|
|
2772
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2760
2773
|
* A dangling reference occurs when other resources reference this DiagnosticReport
|
|
2761
2774
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2762
2775
|
*
|
|
2763
|
-
* Returns an OperationOutcome
|
|
2776
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2764
2777
|
*/
|
|
2765
2778
|
deleteDiagnosticReport: OperationOutcome;
|
|
2766
2779
|
/**
|
|
2767
|
-
*
|
|
2780
|
+
* Initiates deletion of a DocumentReference resource by its ID.
|
|
2768
2781
|
*
|
|
2769
|
-
* Note: This operation may create dangling references.
|
|
2782
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2770
2783
|
* A dangling reference occurs when other resources reference this DocumentReference
|
|
2771
2784
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2772
2785
|
*
|
|
2773
|
-
* Returns an OperationOutcome
|
|
2786
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2774
2787
|
*/
|
|
2775
2788
|
deleteDocumentReference: OperationOutcome;
|
|
2776
2789
|
/**
|
|
2777
|
-
*
|
|
2790
|
+
* Initiates deletion of an Encounter resource by its ID.
|
|
2778
2791
|
*
|
|
2779
|
-
* Note: This operation may create dangling references.
|
|
2792
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2780
2793
|
* A dangling reference occurs when other resources reference this Encounter
|
|
2781
2794
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2782
2795
|
*
|
|
2783
|
-
* Returns an OperationOutcome
|
|
2796
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2784
2797
|
*/
|
|
2785
2798
|
deleteEncounter: OperationOutcome;
|
|
2786
2799
|
/**
|
|
2787
|
-
*
|
|
2800
|
+
* Initiates deletion of an ExplanationOfBenefit resource by its ID.
|
|
2788
2801
|
*
|
|
2789
|
-
* Note: This operation may create dangling references.
|
|
2802
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2790
2803
|
* A dangling reference occurs when other resources reference this ExplanationOfBenefit
|
|
2791
2804
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2792
2805
|
*
|
|
2793
|
-
* Returns an OperationOutcome
|
|
2806
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2794
2807
|
*/
|
|
2795
2808
|
deleteExplanationOfBenefit: OperationOutcome;
|
|
2796
2809
|
/**
|
|
2797
|
-
*
|
|
2810
|
+
* Initiates deletion of a Goal resource by its ID.
|
|
2798
2811
|
*
|
|
2799
|
-
* Note: This operation may create dangling references.
|
|
2812
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2800
2813
|
* A dangling reference occurs when other resources reference this Goal
|
|
2801
2814
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2802
2815
|
*
|
|
2803
|
-
* Returns an OperationOutcome
|
|
2816
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2804
2817
|
*/
|
|
2805
2818
|
deleteGoal: OperationOutcome;
|
|
2806
2819
|
/**
|
|
2807
|
-
*
|
|
2820
|
+
* Initiates deletion of an ImagingStudy resource by its ID.
|
|
2808
2821
|
*
|
|
2809
|
-
* Note: This operation may create dangling references.
|
|
2822
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2810
2823
|
* A dangling reference occurs when other resources reference this ImagingStudy
|
|
2811
2824
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2812
2825
|
*
|
|
2813
|
-
* Returns an OperationOutcome
|
|
2826
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2814
2827
|
*/
|
|
2815
2828
|
deleteImagingStudy: OperationOutcome;
|
|
2816
2829
|
/**
|
|
2817
|
-
*
|
|
2830
|
+
* Initiates deletion of an Immunization resource by its ID.
|
|
2818
2831
|
*
|
|
2819
|
-
* Note: This operation may create dangling references.
|
|
2832
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2820
2833
|
* A dangling reference occurs when other resources reference this Immunization
|
|
2821
2834
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2822
2835
|
*
|
|
2823
|
-
* Returns an OperationOutcome
|
|
2836
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2824
2837
|
*/
|
|
2825
2838
|
deleteImmunization: OperationOutcome;
|
|
2826
2839
|
/**
|
|
2827
|
-
*
|
|
2840
|
+
* Initiates deletion of a MedicationAdministration resource by its ID.
|
|
2828
2841
|
*
|
|
2829
|
-
* Note: This operation may create dangling references.
|
|
2842
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2830
2843
|
* A dangling reference occurs when other resources reference this MedicationAdministration
|
|
2831
2844
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2832
2845
|
*
|
|
2833
|
-
* Returns an OperationOutcome
|
|
2846
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2834
2847
|
*/
|
|
2835
2848
|
deleteMedicationAdministration: OperationOutcome;
|
|
2836
2849
|
/**
|
|
2837
|
-
*
|
|
2850
|
+
* Initiates deletion of a MedicationDispense resource by its ID.
|
|
2838
2851
|
*
|
|
2839
|
-
* Note: This operation may create dangling references.
|
|
2852
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2840
2853
|
* A dangling reference occurs when other resources reference this MedicationDispense
|
|
2841
2854
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2842
2855
|
*
|
|
2843
|
-
* Returns an OperationOutcome
|
|
2856
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2844
2857
|
*/
|
|
2845
2858
|
deleteMedicationDispense: OperationOutcome;
|
|
2846
2859
|
/**
|
|
2847
|
-
*
|
|
2860
|
+
* Initiates deletion of a MedicationRequest resource by its ID.
|
|
2848
2861
|
*
|
|
2849
|
-
* Note: This operation may create dangling references.
|
|
2862
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2850
2863
|
* A dangling reference occurs when other resources reference this MedicationRequest
|
|
2851
2864
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2852
2865
|
*
|
|
2853
|
-
* Returns an OperationOutcome
|
|
2866
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2854
2867
|
*/
|
|
2855
2868
|
deleteMedicationRequest: OperationOutcome;
|
|
2856
2869
|
/**
|
|
2857
|
-
*
|
|
2870
|
+
* Initiates deletion of a MedicationStatement resource by its ID.
|
|
2858
2871
|
*
|
|
2859
|
-
* Note: This operation may create dangling references.
|
|
2860
|
-
* A dangling reference occurs when other resources reference this
|
|
2872
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2873
|
+
* A dangling reference occurs when other resources reference this Medication
|
|
2861
2874
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2862
2875
|
*
|
|
2863
|
-
* Returns an OperationOutcome
|
|
2876
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2864
2877
|
*/
|
|
2865
2878
|
deleteMedicationStatement: OperationOutcome;
|
|
2866
2879
|
/**
|
|
2867
|
-
*
|
|
2880
|
+
* Initiates deletion of an Observation resource by its ID.
|
|
2868
2881
|
*
|
|
2869
|
-
* Note: This operation may create dangling references.
|
|
2882
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2870
2883
|
* A dangling reference occurs when other resources reference this Observation
|
|
2871
2884
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2872
2885
|
*
|
|
2873
|
-
* Returns an OperationOutcome
|
|
2886
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2874
2887
|
*/
|
|
2875
2888
|
deleteObservation: OperationOutcome;
|
|
2876
2889
|
deletePersonAndPatient?: Maybe<UpdatedPersonMetadata>;
|
|
2877
2890
|
/**
|
|
2878
|
-
*
|
|
2891
|
+
* Initiates deletion of a Procedure resource by its ID.
|
|
2879
2892
|
*
|
|
2880
|
-
* Note: This operation may create dangling references.
|
|
2893
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2881
2894
|
* A dangling reference occurs when other resources reference this Procedure
|
|
2882
2895
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2883
2896
|
*
|
|
2884
|
-
* Returns an OperationOutcome
|
|
2897
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2885
2898
|
*/
|
|
2886
2899
|
deleteProcedure: OperationOutcome;
|
|
2887
2900
|
/**
|
|
2888
|
-
*
|
|
2901
|
+
* Initiates deletion of a ServiceRequest resource by its ID.
|
|
2889
2902
|
*
|
|
2890
|
-
* Note: This operation may create dangling references.
|
|
2903
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2891
2904
|
* A dangling reference occurs when other resources reference this ServiceRequest
|
|
2892
2905
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2893
2906
|
*
|
|
2894
|
-
* Returns an OperationOutcome
|
|
2907
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2895
2908
|
*/
|
|
2896
2909
|
deleteServiceRequest: OperationOutcome;
|
|
2897
2910
|
/**
|
|
2898
|
-
*
|
|
2911
|
+
* Initiates deletion of a Specimen resource by its ID.
|
|
2899
2912
|
*
|
|
2900
|
-
* Note: This operation may create dangling references.
|
|
2913
|
+
* Note: This operation is asynchronous and may create dangling references.
|
|
2901
2914
|
* A dangling reference occurs when other resources reference this Specimen
|
|
2902
2915
|
* after deletion. The system does not automatically clean up or invalidate these references.
|
|
2903
2916
|
*
|
|
2904
|
-
* Returns an OperationOutcome
|
|
2917
|
+
* Returns an OperationOutcome for the delete operation.
|
|
2905
2918
|
*/
|
|
2906
2919
|
deleteSpecimen: OperationOutcome;
|
|
2907
|
-
/**
|
|
2920
|
+
/** Disconnection a connection */
|
|
2908
2921
|
disconnectConnection: DisconnectConnection;
|
|
2909
2922
|
exchangeAuthCode: AuthTokens;
|
|
2910
2923
|
findOrCreatePatient?: Maybe<Patient>;
|
|
@@ -4286,6 +4299,7 @@ export type QueryConsentAsyncTasksArgs = {
|
|
|
4286
4299
|
export type QueryDiagnosticReportsArgs = {
|
|
4287
4300
|
_count?: InputMaybe<Scalars['Int']['input']>;
|
|
4288
4301
|
_getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
|
|
4302
|
+
_total?: InputMaybe<TotalType>;
|
|
4289
4303
|
id?: InputMaybe<SearchString>;
|
|
4290
4304
|
};
|
|
4291
4305
|
export type QueryFindPersonWithClientSlugAndIdArgs = {
|
|
@@ -4745,6 +4759,7 @@ export type Reference = {
|
|
|
4745
4759
|
};
|
|
4746
4760
|
export type ReferenceInput = {
|
|
4747
4761
|
display?: InputMaybe<Scalars['String']['input']>;
|
|
4762
|
+
extension?: InputMaybe<Array<InputMaybe<ExtensionInput>>>;
|
|
4748
4763
|
identifier?: InputMaybe<IdentifierInput>;
|
|
4749
4764
|
reference?: InputMaybe<Scalars['String']['input']>;
|
|
4750
4765
|
type?: InputMaybe<Scalars['URI']['input']>;
|
|
@@ -4766,6 +4781,7 @@ export type RefreshToken = {
|
|
|
4766
4781
|
__typename?: 'RefreshToken';
|
|
4767
4782
|
accessToken: Scalars['String']['output'];
|
|
4768
4783
|
idToken: Scalars['String']['output'];
|
|
4784
|
+
refreshToken?: Maybe<Scalars['String']['output']>;
|
|
4769
4785
|
};
|
|
4770
4786
|
export type RefreshTokenGql = {
|
|
4771
4787
|
__typename?: 'RefreshTokenGQL';
|
|
@@ -4873,6 +4889,13 @@ export type Schema = {
|
|
|
4873
4889
|
title?: Maybe<Scalars['String']['output']>;
|
|
4874
4890
|
type?: Maybe<Scalars['String']['output']>;
|
|
4875
4891
|
};
|
|
4892
|
+
/** Score type */
|
|
4893
|
+
export type Score = {
|
|
4894
|
+
__typename?: 'Score';
|
|
4895
|
+
calculation?: Maybe<Scalars['String']['output']>;
|
|
4896
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
4897
|
+
value?: Maybe<Scalars['Float']['output']>;
|
|
4898
|
+
};
|
|
4876
4899
|
export type SdkConfiguration = {
|
|
4877
4900
|
__typename?: 'SdkConfiguration';
|
|
4878
4901
|
graphQLClient: GraphQlClientConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/bwell-sdk-ts",
|
|
3
|
-
"version": "1.31.0-rc.
|
|
3
|
+
"version": "1.31.0-rc.1750447699",
|
|
4
4
|
"description": "b.well TypeScript SDK",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"prebuild": "npm run clean",
|
|
35
35
|
"prettier": "prettier",
|
|
36
36
|
"prepublishOnly": "npm run build",
|
|
37
|
-
"test": "jest",
|
|
38
|
-
"test:dev": "jest --config=./jest.dev.config.js",
|
|
37
|
+
"test": "jest --runInBand",
|
|
38
|
+
"test:dev": "jest --runInBand --config=./jest.dev.config.js",
|
|
39
39
|
"pretest:ci": "npm run generate",
|
|
40
|
-
"test:ci": "npm run test -- --verbose --coverage"
|
|
40
|
+
"test:ci": "npm run test -- --runInBand --verbose --coverage"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@opentelemetry/api": "^1.9.0",
|