@icanbwell/bwell-sdk-ts 1.37.0-rc.1753464307 → 1.37.0-rc.1756972998

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.
@@ -186,14 +186,6 @@ export type Address = {
186
186
  type?: Maybe<Scalars['Code']['output']>;
187
187
  use?: Maybe<Scalars['Code']['output']>;
188
188
  };
189
- export type AddressG = {
190
- __typename?: 'AddressG';
191
- country: Scalars['String']['output'];
192
- locality: Scalars['String']['output'];
193
- postal_code: Scalars['String']['output'];
194
- region: Scalars['String']['output'];
195
- street_address: Scalars['String']['output'];
196
- };
197
189
  export type AddressInput = {
198
190
  city?: InputMaybe<Scalars['String']['input']>;
199
191
  country?: InputMaybe<Scalars['String']['input']>;
@@ -581,6 +573,7 @@ export type CarePlanResource = {
581
573
  export type CareTeamParticipant = {
582
574
  __typename?: 'CareTeamParticipant';
583
575
  member?: Maybe<CareTeamParticipantMember>;
576
+ role?: Maybe<Array<Maybe<CodeableConcept>>>;
584
577
  };
585
578
  export type CareTeamParticipantMember = Organization | Practitioner | ResourceReference;
586
579
  export type CareTeamQueryResults = PagedQueryResults & {
@@ -932,6 +925,7 @@ export type Connection = {
932
925
  /** Defines the type of connection */
933
926
  export declare enum ConnectionCategory {
934
927
  Basic = "BASIC",
928
+ Identity = "IDENTITY",
935
929
  Oauth = "OAUTH"
936
930
  }
937
931
  /** Defines connection after making updates */
@@ -1949,6 +1943,8 @@ export type HumanName = {
1949
1943
  suffix?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1950
1944
  /** Follows https://www.hl7.org/fhir/datatypes.html#HumanName */
1951
1945
  text?: Maybe<Scalars['String']['output']>;
1946
+ /** Identifies the purpose for this name. */
1947
+ use?: Maybe<Scalars['Code']['output']>;
1952
1948
  };
1953
1949
  export type HumanNameInput = {
1954
1950
  /** The family name or surname. */
@@ -2462,11 +2458,27 @@ export type MedicationGroup = ResourceGroup & {
2462
2458
  authoredOn?: Maybe<Scalars['DateTime']['output']>;
2463
2459
  /** Coding representing the kind of Conditions in this ResourceGroup */
2464
2460
  coding?: Maybe<Coding>;
2461
+ /** Supply duration for the medication */
2462
+ daysOfSupply?: Maybe<Value>;
2465
2463
  id?: Maybe<Scalars['ID']['output']>;
2464
+ /** Reference to the last encounter associated with this medication */
2465
+ lastEncounter?: Maybe<Reference>;
2466
+ /** Date when the medication was last filled */
2467
+ lastFilled?: Maybe<Scalars['DateTime']['output']>;
2466
2468
  /** Human readable name of the Medication */
2467
2469
  name?: Maybe<Scalars['String']['output']>;
2470
+ /** Pharmacy instruction for the medication */
2471
+ pharmacyInstruction?: Maybe<Scalars['String']['output']>;
2472
+ /** Name of the pharmacy associated with this medication dispense */
2473
+ pharmacyName?: Maybe<Scalars['String']['output']>;
2474
+ /** Name or identifier of the prescriber */
2475
+ prescriber?: Maybe<Scalars['String']['output']>;
2476
+ /** Prescriber instruction for the medication */
2477
+ prescriberInstruction?: Maybe<Scalars['String']['output']>;
2468
2478
  /** Array of medication id references in the resource group */
2469
2479
  references?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2480
+ /** Number of refills remaining for this medication */
2481
+ refillsRemaining?: Maybe<Value>;
2470
2482
  /** Array of Strings representing the source of the data */
2471
2483
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2472
2484
  /** Array of Strings representing the source of the data */
@@ -2474,6 +2486,8 @@ export type MedicationGroup = ResourceGroup & {
2474
2486
  /** @deprecated Migrating for FHIR compliance. Use `statusCoding` instead. */
2475
2487
  status?: Maybe<Coding>;
2476
2488
  statusCoding?: Maybe<Coding>;
2489
+ /** Total number of refills for this medication */
2490
+ totalRefills?: Maybe<Value>;
2477
2491
  };
2478
2492
  export type MedicationGroupQueryRequest = {
2479
2493
  page?: InputMaybe<Scalars['Int']['input']>;
@@ -2947,7 +2961,6 @@ export type Mutation = {
2947
2961
  findOrCreatePatient?: Maybe<Patient>;
2948
2962
  interacted?: Maybe<Scalars['Boolean']['output']>;
2949
2963
  itemInteracted?: Maybe<Scalars['Boolean']['output']>;
2950
- mergeClientPersonAndPatient?: Maybe<Person>;
2951
2964
  /**
2952
2965
  * Utilizes the Adaptive Questionnaire workflow to determine the next question
2953
2966
  * and contains the questionnaire within the QuestionnaireResponse
@@ -3103,11 +3116,6 @@ export type MutationItemInteractedArgs = {
3103
3116
  resultId?: InputMaybe<Scalars['String']['input']>;
3104
3117
  user?: InputMaybe<UserInput>;
3105
3118
  };
3106
- export type MutationMergeClientPersonAndPatientArgs = {
3107
- clientPersonIdentifiers: Array<IdentifierInput>;
3108
- clientSlug: Scalars['String']['input'];
3109
- identifiersForDuplicateClientPerson: Array<IdentifierInput>;
3110
- };
3111
3119
  export type MutationNextQuestionArgs = {
3112
3120
  input?: InputMaybe<QuestionnaireResponseInput>;
3113
3121
  };
@@ -4273,6 +4281,7 @@ export type Query = {
4273
4281
  providers: ProviderResults;
4274
4282
  questionnaire?: Maybe<FhirFormQuestionnaire>;
4275
4283
  questionnaireResponse?: Maybe<ConsentQuestionnaireResponse>;
4284
+ questionnaireResponses?: Maybe<QuestionnaireResponseBundle>;
4276
4285
  refresh: RefreshToken;
4277
4286
  requestConnection?: Maybe<RequestConnectionOutput>;
4278
4287
  search?: Maybe<Array<Maybe<Consent>>>;
@@ -4485,6 +4494,16 @@ export type QueryQuestionnaireResponseArgs = {
4485
4494
  questionnaireName?: InputMaybe<Scalars['String']['input']>;
4486
4495
  searchParams?: InputMaybe<Scalars['String']['input']>;
4487
4496
  };
4497
+ export type QueryQuestionnaireResponsesArgs = {
4498
+ _count?: InputMaybe<Scalars['Int']['input']>;
4499
+ _getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
4500
+ _lastUpdated?: InputMaybe<SearchDate>;
4501
+ _sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
4502
+ id?: InputMaybe<SearchString>;
4503
+ patient?: InputMaybe<SearchReference>;
4504
+ questionnaire?: InputMaybe<SearchReference>;
4505
+ status?: InputMaybe<SearchToken>;
4506
+ };
4488
4507
  export type QueryRequestConnectionArgs = {
4489
4508
  input?: InputMaybe<RequestConnectionInput>;
4490
4509
  };
@@ -4675,6 +4694,14 @@ export type QuestionnaireResponseAnswerValueReferenceReference = {
4675
4694
  reference?: Maybe<Scalars['String']['output']>;
4676
4695
  type?: Maybe<Scalars['URI']['output']>;
4677
4696
  };
4697
+ export type QuestionnaireResponseBundle = {
4698
+ __typename?: 'QuestionnaireResponseBundle';
4699
+ entry?: Maybe<Array<Maybe<QuestionnaireResponseBundleEntry>>>;
4700
+ };
4701
+ export type QuestionnaireResponseBundleEntry = {
4702
+ __typename?: 'QuestionnaireResponseBundleEntry';
4703
+ resource?: Maybe<QuestionnaireResponse>;
4704
+ };
4678
4705
  export type QuestionnaireResponseInput = {
4679
4706
  author?: InputMaybe<FhirReferenceInput>;
4680
4707
  authored?: InputMaybe<Scalars['DateTime']['input']>;
@@ -4719,6 +4746,7 @@ export type QuestionnaireResponseItemAnswerInput = {
4719
4746
  export type QuestionnaireResponseItemInput = {
4720
4747
  answer?: InputMaybe<Array<InputMaybe<QuestionnaireResponseItemAnswerInput>>>;
4721
4748
  definition?: InputMaybe<Scalars['String']['input']>;
4749
+ extension?: InputMaybe<Array<InputMaybe<FhirExtensionInput>>>;
4722
4750
  item?: InputMaybe<Array<InputMaybe<QuestionnaireResponseItemInput>>>;
4723
4751
  linkId: Scalars['String']['input'];
4724
4752
  text?: InputMaybe<Scalars['String']['input']>;
@@ -61,6 +61,7 @@ export var ClientIdEnum;
61
61
  export var ConnectionCategory;
62
62
  (function (ConnectionCategory) {
63
63
  ConnectionCategory["Basic"] = "BASIC";
64
+ ConnectionCategory["Identity"] = "IDENTITY";
64
65
  ConnectionCategory["Oauth"] = "OAUTH";
65
66
  })(ConnectionCategory || (ConnectionCategory = {}));
66
67
  export var ConsentProvisionType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "1.37.0-rc.1753464307",
3
+ "version": "1.37.0-rc.1756972998",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",