@icanbwell/bwell-sdk-ts 1.50.0-rc.1765391319 → 1.50.0-rc.1765409681
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/financial/explanation-of-benefit.d.ts +1 -1
- package/dist/api/base/financial/explanation-of-benefit.js +1 -1
- package/dist/api/base/financial/financial-manager.d.ts +2 -2
- package/dist/api/base/financial/index.d.ts +1 -0
- package/dist/api/base/financial/index.js +1 -0
- package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.d.ts +3 -3
- package/dist/api/graphql-api/financial/graphql-financial-manager.d.ts +2 -2
- package/dist/graphql/schema.d.ts +19 -0
- package/package.json +1 -1
package/dist/__version__.d.ts
CHANGED
package/dist/__version__.js
CHANGED
|
@@ -26,7 +26,7 @@ declare class ExplanationOfBenefitRequestValidator extends PagedRequestValidator
|
|
|
26
26
|
* @title ExplanationOfBenefitsRequest
|
|
27
27
|
* @excerpt Request object for fetching ExplanationOfBenefit FHIR resources with validation
|
|
28
28
|
*/
|
|
29
|
-
export declare class
|
|
29
|
+
export declare class ExplanationOfBenefitRequest extends PagedRequest<ExplanationOfBenefitRequestInput> {
|
|
30
30
|
protected validator: ExplanationOfBenefitRequestValidator;
|
|
31
31
|
}
|
|
32
32
|
export {};
|
|
@@ -58,7 +58,7 @@ _ExplanationOfBenefitRequestValidator_searchStringValidator = new WeakMap(), _Ex
|
|
|
58
58
|
* @title ExplanationOfBenefitsRequest
|
|
59
59
|
* @excerpt Request object for fetching ExplanationOfBenefit FHIR resources with validation
|
|
60
60
|
*/
|
|
61
|
-
export class
|
|
61
|
+
export class ExplanationOfBenefitRequest extends PagedRequest {
|
|
62
62
|
constructor() {
|
|
63
63
|
super(...arguments);
|
|
64
64
|
this.validator = new ExplanationOfBenefitRequestValidator();
|
|
@@ -3,7 +3,7 @@ import { GetCoveragesQueryResults, GetExplanationOfBenefitsQueryResults } from "
|
|
|
3
3
|
import { BWellQueryResult } from "../../../results/index.js";
|
|
4
4
|
import { BaseManagerError } from "../errors.js";
|
|
5
5
|
import { CoveragesRequest } from "./coverage-request.js";
|
|
6
|
-
import {
|
|
6
|
+
import { ExplanationOfBenefitRequest } from "./explanation-of-benefit.js";
|
|
7
7
|
export type CoveragesResults = GetCoveragesQueryResults["coverages"];
|
|
8
8
|
export type ExplanationOfBenefitsResults = GetExplanationOfBenefitsQueryResults["explanationOfBenefits"];
|
|
9
9
|
/**
|
|
@@ -18,5 +18,5 @@ export interface FinancialManager {
|
|
|
18
18
|
* or an error of type `ValidationError` or `BaseManagerError`.
|
|
19
19
|
*/
|
|
20
20
|
getCoverages(request: CoveragesRequest): Promise<BWellQueryResult<CoveragesResults, ValidationError | BaseManagerError>>;
|
|
21
|
-
getExplanationOfBenefits(request:
|
|
21
|
+
getExplanationOfBenefits(request: ExplanationOfBenefitRequest): Promise<BWellQueryResult<ExplanationOfBenefitsResults, ValidationError | BaseManagerError>>;
|
|
22
22
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { GetExplanationOfBenefitsQueryVariables } from "../../../graphql/operations/types.js";
|
|
2
2
|
import type { RequestFactory } from "../../../requests/request.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ExplanationOfBenefitRequest } from "../../base/financial/explanation-of-benefit.js";
|
|
4
4
|
/**
|
|
5
5
|
* Factory to create ExplanationOfBenefit GraphQL variables from ExplanationOfBenefitsRequest.
|
|
6
6
|
*/
|
|
7
|
-
export declare class ExplanationOfBenefitsRequestFactory implements RequestFactory<
|
|
8
|
-
create(request?:
|
|
7
|
+
export declare class ExplanationOfBenefitsRequestFactory implements RequestFactory<ExplanationOfBenefitRequest, GetExplanationOfBenefitsQueryVariables> {
|
|
8
|
+
create(request?: ExplanationOfBenefitRequest): GetExplanationOfBenefitsQueryVariables;
|
|
9
9
|
}
|
|
@@ -3,7 +3,7 @@ import { LoggerProvider } from "../../../logger/index.js";
|
|
|
3
3
|
import { BWellQueryResult } from "../../../results/index.js";
|
|
4
4
|
import { BaseManagerError } from "../../base/errors.js";
|
|
5
5
|
import { CoveragesRequest } from "../../base/financial/coverage-request.js";
|
|
6
|
-
import {
|
|
6
|
+
import { ExplanationOfBenefitRequest } from "../../base/financial/explanation-of-benefit.js";
|
|
7
7
|
import { CoveragesResults, ExplanationOfBenefitsResults, FinancialManager } from "../../base/financial/financial-manager.js";
|
|
8
8
|
import { GraphQLManager } from "../graphql-manager/index.js";
|
|
9
9
|
import type { GraphQLSdk } from "../graphql-sdk/index.js";
|
|
@@ -17,5 +17,5 @@ export declare class GraphQLFinancialManager extends GraphQLManager implements F
|
|
|
17
17
|
* @returns Promise resolving to coverage resources results or an error
|
|
18
18
|
*/
|
|
19
19
|
getCoverages(request: CoveragesRequest): Promise<BWellQueryResult<CoveragesResults, ValidationError | BaseManagerError>>;
|
|
20
|
-
getExplanationOfBenefits(request:
|
|
20
|
+
getExplanationOfBenefits(request: ExplanationOfBenefitRequest): Promise<BWellQueryResult<ExplanationOfBenefitsResults, ValidationError | BaseManagerError>>;
|
|
21
21
|
}
|
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -1265,12 +1265,14 @@ export type CoverageClass = {
|
|
|
1265
1265
|
type?: Maybe<CodeableConcept>;
|
|
1266
1266
|
value?: Maybe<Scalars['String']['output']>;
|
|
1267
1267
|
};
|
|
1268
|
+
export type CoveragePayor = Organization | Patient | RelatedPerson;
|
|
1268
1269
|
export type CoveragePayorReference = {
|
|
1269
1270
|
__typename?: 'CoveragePayorReference';
|
|
1270
1271
|
display?: Maybe<Scalars['String']['output']>;
|
|
1271
1272
|
id?: Maybe<Scalars['String']['output']>;
|
|
1272
1273
|
identifier?: Maybe<Identifier>;
|
|
1273
1274
|
reference?: Maybe<Scalars['String']['output']>;
|
|
1275
|
+
resource?: Maybe<CoveragePayor>;
|
|
1274
1276
|
type?: Maybe<Scalars['URI']['output']>;
|
|
1275
1277
|
};
|
|
1276
1278
|
export type CoveragePolicyHolderReference = {
|
|
@@ -1964,6 +1966,7 @@ export type ExplanationOfBenefitPatientReference = {
|
|
|
1964
1966
|
id?: Maybe<Scalars['String']['output']>;
|
|
1965
1967
|
identifier?: Maybe<Identifier>;
|
|
1966
1968
|
reference?: Maybe<Scalars['String']['output']>;
|
|
1969
|
+
resource?: Maybe<Patient>;
|
|
1967
1970
|
type?: Maybe<Scalars['URI']['output']>;
|
|
1968
1971
|
};
|
|
1969
1972
|
export type ExplanationOfBenefitPayee = {
|
|
@@ -1992,10 +1995,12 @@ export type ExplanationOfBenefitProcessNote = {
|
|
|
1992
1995
|
text?: Maybe<Scalars['String']['output']>;
|
|
1993
1996
|
type?: Maybe<Scalars['Code']['output']>;
|
|
1994
1997
|
};
|
|
1998
|
+
export type ExplanationOfBenefitProvider = Organization | Practitioner | PractitionerRole;
|
|
1995
1999
|
export type ExplanationOfBenefitProviderReference = {
|
|
1996
2000
|
__typename?: 'ExplanationOfBenefitProviderReference';
|
|
1997
2001
|
display?: Maybe<Scalars['String']['output']>;
|
|
1998
2002
|
reference?: Maybe<Scalars['String']['output']>;
|
|
2003
|
+
resource?: Maybe<ExplanationOfBenefitProvider>;
|
|
1999
2004
|
type?: Maybe<Scalars['URI']['output']>;
|
|
2000
2005
|
};
|
|
2001
2006
|
export type ExplanationOfBenefitRelated = {
|
|
@@ -4470,6 +4475,20 @@ export type PractitionerRole = {
|
|
|
4470
4475
|
specialty?: Maybe<Array<CodeableConcept>>;
|
|
4471
4476
|
telecom?: Maybe<Array<Maybe<ContactPoint>>>;
|
|
4472
4477
|
};
|
|
4478
|
+
export type PractitionerRoleOrganizationReference = {
|
|
4479
|
+
__typename?: 'PractitionerRoleOrganizationReference';
|
|
4480
|
+
display?: Maybe<Scalars['String']['output']>;
|
|
4481
|
+
reference?: Maybe<Scalars['String']['output']>;
|
|
4482
|
+
resource?: Maybe<Organization>;
|
|
4483
|
+
type?: Maybe<Scalars['URI']['output']>;
|
|
4484
|
+
};
|
|
4485
|
+
export type PractitionerRolePractitionerReference = {
|
|
4486
|
+
__typename?: 'PractitionerRolePractitionerReference';
|
|
4487
|
+
display?: Maybe<Scalars['String']['output']>;
|
|
4488
|
+
reference?: Maybe<Scalars['String']['output']>;
|
|
4489
|
+
resource?: Maybe<Practitioner>;
|
|
4490
|
+
type?: Maybe<Scalars['URI']['output']>;
|
|
4491
|
+
};
|
|
4473
4492
|
export type PractitionerRoleQueryResults = {
|
|
4474
4493
|
__typename?: 'PractitionerRoleQueryResults';
|
|
4475
4494
|
resources: Array<PractitionerRole>;
|