@icanbwell/bwell-sdk-ts 1.31.0-rc.1750169150 → 1.31.0-rc.1750455310

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 CHANGED
@@ -16,6 +16,8 @@ to be made to `typescript-sdk-v1` branch.
16
16
 
17
17
  `npm i @icanbwell/bwell-sdk-ts`
18
18
 
19
+ Or to test locally, you can use yalc to publish and install
20
+
19
21
  ## Example
20
22
 
21
23
  ```typescript
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export declare const VERSION = "1.31.0-rc.1750169150";
4
+ export declare const VERSION = "1.31.0-rc.1750455310";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export const VERSION = "1.31.0-rc.1750169150";
4
+ export const VERSION = "1.31.0-rc.1750455310";
@@ -123,7 +123,7 @@ export declare const RefreshTokensDocument = "\n query refreshTokens {\n ref
123
123
  export declare const NextQuestionDocument = "\n mutation nextQuestion($questionnaireResponse: QuestionnaireResponseInput!) {\n nextQuestion(input: $questionnaireResponse) {\n ...QuestionnaireResponseFields\n }\n}\n \n fragment QuestionnaireResponseFields on QuestionnaireResponse {\n resourceType\n id\n meta {\n ...MetaFields\n }\n identifier {\n ...IdentifierFields\n }\n questionnaire\n status\n item {\n ...QuestionnaireResponseItemFields\n item {\n ...QuestionnaireResponseItemFields\n item {\n ...QuestionnaireResponseItemFields\n }\n }\n }\n contained {\n ...QuestionnaireFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment QuestionnaireResponseItemFields on QuestionnaireResponseItem {\n id\n linkId\n text\n answer {\n id\n valueBoolean\n valueDecimal\n valueInteger\n valueDate\n valueDateTime\n valueTime\n valueString\n valueUri\n valueAttachment {\n contentType\n data\n url\n title\n }\n valueCoding {\n ...CodingFields\n }\n valueQuantity {\n ...QuantityFields\n }\n valueReference {\n reference\n type\n display\n extension {\n id\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n coding {\n id\n }\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment QuestionnaireFields on Questionnaire {\n resourceType\n id\n meta {\n ...MetaFields\n }\n identifier {\n ...IdentifierFields\n }\n name\n title\n status\n description\n item {\n ...QuestionnaireItemFields\n item {\n ...QuestionnaireItemFields\n item {\n ...QuestionnaireItemFields\n }\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment QuestionnaireItemFields on QuestionnaireItem {\n id\n extension {\n id\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n coding {\n id\n }\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n extension {\n id\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n coding {\n id\n }\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n linkId\n prefix\n text\n type\n enableWhen {\n id\n question\n operator\n answerBoolean\n answerDecimal\n answerInteger\n answerDate\n answerDateTime\n answerTime\n answerString\n answerCoding {\n ...CodingFields\n }\n answerQuantity {\n ...QuantityFields\n }\n answerReference {\n reference\n type\n display\n }\n }\n enableBehavior\n required\n repeats\n readOnly\n maxLength\n answerOption {\n id\n valueInteger\n valueDate\n valueTime\n valueString\n valueCoding {\n ...CodingFields\n }\n valueReference {\n reference\n type\n display\n extension {\n id\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n coding {\n id\n }\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n initialSelected\n }\n initial {\n id\n valueBoolean\n valueDecimal\n valueInteger\n valueDate\n valueDateTime\n valueTime\n valueString\n valueUri\n valueAttachment {\n contentType\n data\n url\n title\n }\n valueCoding {\n ...CodingFields\n }\n valueQuantity {\n ...QuantityFields\n }\n valueReference {\n reference\n type\n display\n extension {\n id\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n coding {\n id\n }\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
124
124
  export declare const ProviderSearchDocument = "\n query providerSearch($client: [Client], $searchTerm: String, $includePopulatedPROAonly: Boolean, $specialtyFilters: [InputCoding], $organizationTypeFilters: [OrganizationType], $gender: Gender, $location: SearchPosition, $sortBy: [OrderBy], $filterFields: [FilterField], $page: Int, $pageSize: Int) {\n providers(\n client: $client\n search: $searchTerm\n specialty: $specialtyFilters\n organization_type: $organizationTypeFilters\n include_populated_PROA_only: $includePopulatedPROAonly\n gender: $gender\n search_position: $location\n order_by: $sortBy\n filter_values: $filterFields\n page_number: $page\n page_size: $pageSize\n ) {\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n filter_values {\n field\n values {\n value\n count\n }\n }\n results {\n endpoint {\n identifier {\n type {\n coding {\n code\n system\n display\n }\n text\n }\n value\n system\n }\n name\n status\n connectionType {\n code\n system\n display\n }\n address\n }\n iconString\n organization_type {\n coding {\n code\n system\n display\n }\n text\n }\n content\n gender\n location {\n name\n identifier {\n type {\n text\n coding {\n system\n code\n display\n }\n }\n value\n system\n }\n alias\n description\n address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n system\n value\n rank\n }\n }\n specialty {\n code\n system\n display\n }\n id\n photo {\n contentType\n url\n title\n }\n name {\n ...HumanNameFields\n }\n telecom {\n system\n value\n rank\n }\n practitioner_qualification {\n identifier {\n type {\n coding {\n code\n system\n display\n }\n text\n }\n value\n system\n }\n code {\n coding {\n code\n system\n display\n }\n text\n }\n period {\n start\n end\n }\n issuer {\n reference\n display\n }\n }\n provider_type\n characteristic {\n code\n system\n display\n }\n organization {\n name\n endpoint {\n identifier {\n type {\n coding {\n code\n system\n display\n }\n text\n }\n value\n system\n }\n name\n status\n connectionType {\n code\n system\n display\n }\n address\n }\n }\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n ";
125
125
  export declare const RequestConnectionDocument = "\n mutation requestConnection($city: String, $institution: String, $provider: String, $state: String) {\n requestConnection(\n city: $city\n institution: $institution\n provider: $provider\n state: $state\n ) {\n resourceType\n issue {\n severity\n code\n details {\n text\n }\n }\n }\n}\n ";
126
- export declare const SearchHealthResourcesDocument = "\n query SearchHealthResources($searchInput: SearchHealthResourcesInput) {\n searchHealthResources(searchInput: $searchInput) {\n pagingInfo {\n pageNumber\n pageSize\n totalItems\n totalPages\n }\n filterValues {\n field\n values {\n value\n count\n }\n }\n results {\n type\n id\n content\n specialty {\n code\n system\n display\n }\n location {\n name\n address {\n line\n city\n state\n postalCode\n country\n }\n position {\n latitude\n longitude\n }\n distanceInMiles\n }\n organization {\n name\n endpoint {\n name\n status\n address\n }\n }\n npi\n gender\n iconString\n }\n }\n}\n ";
126
+ export declare const SearchHealthResourcesDocument = "\n query SearchHealthResources($searchInput: SearchHealthResourcesInput) {\n searchHealthResources(searchInput: $searchInput) {\n pagingInfo {\n pageNumber\n pageSize\n totalItems\n totalPages\n }\n filterValues {\n field\n values {\n value\n count\n }\n }\n results {\n type\n id\n content\n specialty {\n code\n system\n display\n }\n location {\n name\n address {\n line\n city\n state\n postalCode\n country\n }\n position {\n latitude\n longitude\n }\n distanceInMiles\n }\n organization {\n name\n endpoint {\n name\n status\n address\n }\n }\n npi\n gender\n iconString\n endpoint {\n identifier {\n type {\n coding {\n code\n system\n display\n }\n text\n }\n value\n system\n }\n name\n status\n connectionType {\n code\n system\n display\n }\n address\n }\n score\n scores {\n value\n description\n calculation\n }\n }\n }\n}\n ";
127
127
  export declare const CreateConsentDocument = "\n mutation createConsent($consentInput: ConsentInput!) {\n createConsent(consentInput: $consentInput) {\n id\n meta {\n source\n versionId\n lastUpdated\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n }\n status\n scope {\n coding {\n code\n system\n display\n }\n text\n }\n category {\n coding {\n code\n system\n display\n }\n text\n }\n patient {\n reference\n identifier {\n id\n system\n value\n }\n type\n display\n }\n dateTime\n performer {\n reference\n identifier {\n id\n system\n value\n }\n type\n display\n }\n organization {\n reference\n identifier {\n id\n system\n value\n }\n type\n display\n }\n policy {\n authority\n uri\n }\n policyRule {\n coding {\n code\n system\n display\n }\n text\n }\n provision {\n type\n period {\n ...PeriodFields\n }\n }\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n ";
128
128
  export declare const CreateDataExportDirectDownloadUrlDocument = "\n mutation CreateDataExportDirectDownloadUrl($exportId: String!, $password: String!) {\n createDataExportDirectDownloadUrl(exportId: $exportId, password: $password)\n}\n ";
129
129
  export declare const CreateVerificationUrlDocument = "\n mutation CreateVerificationUrl($callbackURL: String, $includeAttributeMatchingCheck: Boolean) {\n createVerificationUrl(\n callbackURL: $callbackURL\n includeAttributeMatchingCheck: $includeAttributeMatchingCheck\n )\n}\n ";
@@ -3108,6 +3108,34 @@ export const SearchHealthResourcesDocument = `
3108
3108
  npi
3109
3109
  gender
3110
3110
  iconString
3111
+ endpoint {
3112
+ identifier {
3113
+ type {
3114
+ coding {
3115
+ code
3116
+ system
3117
+ display
3118
+ }
3119
+ text
3120
+ }
3121
+ value
3122
+ system
3123
+ }
3124
+ name
3125
+ status
3126
+ connectionType {
3127
+ code
3128
+ system
3129
+ display
3130
+ }
3131
+ address
3132
+ }
3133
+ score
3134
+ scores {
3135
+ value
3136
+ description
3137
+ calculation
3138
+ }
3111
3139
  }
3112
3140
  }
3113
3141
  }
@@ -17304,6 +17304,7 @@ export type SearchHealthResourcesQueryResults = {
17304
17304
  npi: Array<string | null> | null;
17305
17305
  gender: Types.GenderEnum | null;
17306
17306
  iconString: string | null;
17307
+ score: number | null;
17307
17308
  specialty: Array<{
17308
17309
  code: string | null;
17309
17310
  system: string | null;
@@ -17332,6 +17333,33 @@ export type SearchHealthResourcesQueryResults = {
17332
17333
  address: string | null;
17333
17334
  } | null> | null;
17334
17335
  } | null> | null;
17336
+ endpoint: Array<{
17337
+ name: string | null;
17338
+ status: Types.EndpointStatusEnum | null;
17339
+ address: string | null;
17340
+ identifier: Array<{
17341
+ value: string | null;
17342
+ system: string | null;
17343
+ type: {
17344
+ text: string | null;
17345
+ coding: Array<{
17346
+ code: string | null;
17347
+ system: string | null;
17348
+ display: string | null;
17349
+ } | null> | null;
17350
+ } | null;
17351
+ } | null> | null;
17352
+ connectionType: {
17353
+ code: string | null;
17354
+ system: string | null;
17355
+ display: string | null;
17356
+ } | null;
17357
+ } | null> | null;
17358
+ scores: Array<{
17359
+ value: number | null;
17360
+ description: string | null;
17361
+ calculation: string | null;
17362
+ } | null> | null;
17335
17363
  } | null> | null;
17336
17364
  };
17337
17365
  };
@@ -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
- * Deletes an AllergyIntolerance resource by its ID.
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 indicating success or failure of the deletion.
2734
+ * Returns an OperationOutcome for the delete operation.
2722
2735
  */
2723
2736
  deleteAllergyIntolerance: OperationOutcome;
2724
2737
  /**
2725
- * Deletes an Binary resource by its ID.
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 indicating success or failure of the deletion.
2744
+ * Returns an OperationOutcome for the delete operation.
2732
2745
  */
2733
2746
  deleteBinary: OperationOutcome;
2734
2747
  /**
2735
- * Deletes a CarePlan resource by its ID.
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 indicating success or failure of the deletion.
2754
+ * Returns an OperationOutcome for the delete operation.
2742
2755
  */
2743
2756
  deleteCarePlan: OperationOutcome;
2744
2757
  /**
2745
- * Deletes a Condition resource by its ID.
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 indicating success or failure of the deletion.
2764
+ * Returns an OperationOutcome for the delete operation.
2752
2765
  */
2753
2766
  deleteCondition: OperationOutcome;
2754
- /** Disconnection a connection */
2767
+ /** Delete a connection */
2755
2768
  deleteConnection: ConnectionStatusUpdate;
2756
2769
  /**
2757
- * Deletes a DiagnosticReport resource by its ID.
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 indicating success or failure of the deletion.
2776
+ * Returns an OperationOutcome for the delete operation.
2764
2777
  */
2765
2778
  deleteDiagnosticReport: OperationOutcome;
2766
2779
  /**
2767
- * Deletes a DocumentReference resource by its ID.
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 indicating success or failure of the deletion.
2786
+ * Returns an OperationOutcome for the delete operation.
2774
2787
  */
2775
2788
  deleteDocumentReference: OperationOutcome;
2776
2789
  /**
2777
- * Deletes a Encounter resource by its ID.
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 indicating success or failure of the deletion.
2796
+ * Returns an OperationOutcome for the delete operation.
2784
2797
  */
2785
2798
  deleteEncounter: OperationOutcome;
2786
2799
  /**
2787
- * Deletes an ExplanationOfBenefit resource by its ID.
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 indicating success or failure of the deletion.
2806
+ * Returns an OperationOutcome for the delete operation.
2794
2807
  */
2795
2808
  deleteExplanationOfBenefit: OperationOutcome;
2796
2809
  /**
2797
- * Deletes a Goal resource by its ID.
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 indicating success or failure of the deletion.
2816
+ * Returns an OperationOutcome for the delete operation.
2804
2817
  */
2805
2818
  deleteGoal: OperationOutcome;
2806
2819
  /**
2807
- * Deletes an ImagingStudy resource by its ID.
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 indicating success or failure of the deletion.
2826
+ * Returns an OperationOutcome for the delete operation.
2814
2827
  */
2815
2828
  deleteImagingStudy: OperationOutcome;
2816
2829
  /**
2817
- * Deletes a Immunization resource by its ID.
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 indicating success or failure of the deletion.
2836
+ * Returns an OperationOutcome for the delete operation.
2824
2837
  */
2825
2838
  deleteImmunization: OperationOutcome;
2826
2839
  /**
2827
- * Deletes a MedicationAdministration resource by its ID.
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 indicating success or failure of the deletion.
2846
+ * Returns an OperationOutcome for the delete operation.
2834
2847
  */
2835
2848
  deleteMedicationAdministration: OperationOutcome;
2836
2849
  /**
2837
- * Deletes a MedicationDispense resource by its ID.
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 indicating success or failure of the deletion.
2856
+ * Returns an OperationOutcome for the delete operation.
2844
2857
  */
2845
2858
  deleteMedicationDispense: OperationOutcome;
2846
2859
  /**
2847
- * Deletes a MedicationRequest resource by its ID.
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 indicating success or failure of the deletion.
2866
+ * Returns an OperationOutcome for the delete operation.
2854
2867
  */
2855
2868
  deleteMedicationRequest: OperationOutcome;
2856
2869
  /**
2857
- * Deletes a MedicationStatement resource by its ID.
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 MedicationStatement
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 indicating success or failure of the deletion.
2876
+ * Returns an OperationOutcome for the delete operation.
2864
2877
  */
2865
2878
  deleteMedicationStatement: OperationOutcome;
2866
2879
  /**
2867
- * Deletes a Observation resource by its ID.
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 indicating success or failure of the deletion.
2886
+ * Returns an OperationOutcome for the delete operation.
2874
2887
  */
2875
2888
  deleteObservation: OperationOutcome;
2876
2889
  deletePersonAndPatient?: Maybe<UpdatedPersonMetadata>;
2877
2890
  /**
2878
- * Deletes a Procedure resource by its ID.
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 indicating success or failure of the deletion.
2897
+ * Returns an OperationOutcome for the delete operation.
2885
2898
  */
2886
2899
  deleteProcedure: OperationOutcome;
2887
2900
  /**
2888
- * Deletes a ServiceRequest resource by its ID.
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 indicating success or failure of the deletion.
2907
+ * Returns an OperationOutcome for the delete operation.
2895
2908
  */
2896
2909
  deleteServiceRequest: OperationOutcome;
2897
2910
  /**
2898
- * Deletes a Specimen resource by its ID.
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 indicating success or failure of the deletion.
2917
+ * Returns an OperationOutcome for the delete operation.
2905
2918
  */
2906
2919
  deleteSpecimen: OperationOutcome;
2907
- /** Disconnect a connection */
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.1750169150",
3
+ "version": "1.31.0-rc.1750455310",
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",