@icanbwell/bwell-sdk-ts 1.118.0 → 1.119.0
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/financial-manager.d.ts +10 -1
- package/dist/api/graphql-api/financial/graphql-financial-manager.d.ts +2 -1
- package/dist/api/graphql-api/financial/graphql-financial-manager.js +12 -0
- package/dist/graphql/operations/index.d.ts +8 -0
- package/dist/graphql/operations/index.js +12 -0
- package/dist/graphql/operations/types.d.ts +10 -0
- package/dist/graphql/schema.d.ts +10 -1
- package/package.json +1 -1
package/dist/__version__.d.ts
CHANGED
package/dist/__version__.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ValidationError } from "../../../errors/index.js";
|
|
2
|
-
import { GetClaimSummaryQueryResults, GetCoveragesQueryResults, GetCoverageSummaryQueryResults, GetEobDocumentQueryResults, GetExplanationOfBenefitsQueryResults } from "../../../graphql/operations/types.js";
|
|
2
|
+
import { GetClaimSummaryQueryResults, GetCoveragesQueryResults, GetCoverageSummaryQueryResults, GetEobDocumentQueryResults, GetExplanationOfBenefitsQueryResults, GetInsuranceDependentsQueryResults } from "../../../graphql/operations/types.js";
|
|
3
3
|
import { BWellQueryResult } from "../../../results/index.js";
|
|
4
4
|
import { BaseManagerError } from "../errors.js";
|
|
5
5
|
import { ClaimSummaryRequest } from "./claim-summary-request.js";
|
|
@@ -12,6 +12,7 @@ export type CoveragesResults = GetCoveragesQueryResults["coverages"];
|
|
|
12
12
|
export type CoverageSummaryResults = GetCoverageSummaryQueryResults["getCoverageSummary"];
|
|
13
13
|
export type EOBDocumentResults = GetEobDocumentQueryResults["getEOBDocument"];
|
|
14
14
|
export type ExplanationOfBenefitsResults = GetExplanationOfBenefitsQueryResults["explanationOfBenefits"];
|
|
15
|
+
export type InsuranceDependentsResults = GetInsuranceDependentsQueryResults["getInsuranceDependents"];
|
|
15
16
|
/**
|
|
16
17
|
* Interface representing a manager for handling operations related to financial resources.
|
|
17
18
|
*/
|
|
@@ -42,4 +43,12 @@ export interface FinancialManager {
|
|
|
42
43
|
* or an error of type `ValidationError` or `BaseManagerError`.
|
|
43
44
|
*/
|
|
44
45
|
getClaimSummary(request: ClaimSummaryRequest): Promise<BWellQueryResult<ClaimSummaryResults, ValidationError | BaseManagerError>>;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieves the dependents whose insurance cards the authenticated subscriber can view.
|
|
48
|
+
* Returns an empty list when the user is not a subscriber. `reference` is the dependent's Patient reference.
|
|
49
|
+
*
|
|
50
|
+
* @returns A promise that resolves to a `BWellQueryResult` containing the dependents
|
|
51
|
+
* or an error of type `BaseManagerError`.
|
|
52
|
+
*/
|
|
53
|
+
getInsuranceDependents(): Promise<BWellQueryResult<InsuranceDependentsResults, BaseManagerError>>;
|
|
45
54
|
}
|
|
@@ -7,7 +7,7 @@ import { CoveragesRequest } from "../../base/financial/coverage-request.js";
|
|
|
7
7
|
import { CoverageSummaryRequest } from "../../base/financial/coverage-summary-request.js";
|
|
8
8
|
import { EOBDocumentRequest } from "../../base/financial/eob-document-request.js";
|
|
9
9
|
import { ExplanationOfBenefitRequest } from "../../base/financial/explanation-of-benefit.js";
|
|
10
|
-
import { ClaimSummaryResults, CoveragesResults, CoverageSummaryResults, EOBDocumentResults, ExplanationOfBenefitsResults, FinancialManager } from "../../base/financial/financial-manager.js";
|
|
10
|
+
import { ClaimSummaryResults, CoveragesResults, CoverageSummaryResults, EOBDocumentResults, ExplanationOfBenefitsResults, FinancialManager, InsuranceDependentsResults } from "../../base/financial/financial-manager.js";
|
|
11
11
|
import { GraphQLManager } from "../graphql-manager/index.js";
|
|
12
12
|
import type { GraphQLSdk } from "../graphql-sdk/index.js";
|
|
13
13
|
export declare class GraphQLFinancialManager extends GraphQLManager implements FinancialManager {
|
|
@@ -36,4 +36,5 @@ export declare class GraphQLFinancialManager extends GraphQLManager implements F
|
|
|
36
36
|
* @returns Promise resolving to claim summary resources results or an error
|
|
37
37
|
*/
|
|
38
38
|
getClaimSummary(request: ClaimSummaryRequest): Promise<BWellQueryResult<ClaimSummaryResults, ValidationError | BaseManagerError>>;
|
|
39
|
+
getInsuranceDependents(): Promise<BWellQueryResult<InsuranceDependentsResults, BaseManagerError>>;
|
|
39
40
|
}
|
|
@@ -136,5 +136,17 @@ export class GraphQLFinancialManager extends GraphQLManager {
|
|
|
136
136
|
return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.getClaimSummary, result.error);
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
+
getInsuranceDependents() {
|
|
140
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
141
|
+
var _a;
|
|
142
|
+
__classPrivateFieldGet(this, _GraphQLFinancialManager_logger, "f").verbose("calling getInsuranceDependents...");
|
|
143
|
+
const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLFinancialManager_sdk, "f").getInsuranceDependents());
|
|
144
|
+
__classPrivateFieldGet(this, _GraphQLFinancialManager_logger, "f").verbose("getInsuranceDependents complete");
|
|
145
|
+
if (result.hasError()) {
|
|
146
|
+
__classPrivateFieldGet(this, _GraphQLFinancialManager_logger, "f").error("getInsuranceDependents errors", result.error);
|
|
147
|
+
}
|
|
148
|
+
return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.getInsuranceDependents, result.error);
|
|
149
|
+
});
|
|
150
|
+
}
|
|
139
151
|
}
|
|
140
152
|
_GraphQLFinancialManager_logger = new WeakMap(), _GraphQLFinancialManager_sdk = new WeakMap(), _GraphQLFinancialManager_coveragesRequestFactory = new WeakMap(), _GraphQLFinancialManager_explanationOfBenefitsRequestFactory = new WeakMap(), _GraphQLFinancialManager_claimSummaryRequestFactory = new WeakMap();
|
|
@@ -120,6 +120,7 @@ export declare const GetCoverageSummaryDocument = "\n query getCoverageSummar
|
|
|
120
120
|
export declare const GetCoveragesDocument = "\n query getCoverages($id: SearchString, $lastUpdated: SearchDate, $sort: [String], $pageSize: Int, $page: Int, $patient: SearchReference, $beneficiary: SearchReference, $total: TotalType) {\n coverages(\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n _count: $pageSize\n _getpagesoffset: $page\n patient: $patient\n beneficiary: $beneficiary\n _total: $total\n ) {\n total\n entry {\n id\n resource {\n ...CoverageFields\n }\n }\n }\n}\n \n fragment CoverageFields on Coverage {\n resourceType\n id\n meta {\n ...MetaFields\n }\n identifier {\n ...IdentifierFields\n }\n status\n type {\n ...CodeableConceptFields\n }\n policyHolder {\n ...CoveragePolicyHolderReferenceFields\n }\n subscriberId\n beneficiary {\n ...CoverageBeneficiaryReferenceFields\n }\n relationship {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n payor {\n ...CoveragePayorReferenceFields\n }\n class {\n ...CoverageClassFields\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 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 CoveragePolicyHolderReferenceFields on CoveragePolicyHolderReference {\n reference\n display\n type\n}\n \n\n fragment CoverageBeneficiaryReferenceFields on CoverageBeneficiaryReference {\n reference\n display\n type\n resource {\n ...PatientFields\n }\n}\n \n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n birthDate\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CoveragePayorReferenceFields on CoveragePayorReference {\n reference\n display\n type\n resource {\n ... on Organization {\n __typename\n organizationName: name\n }\n ... on RelatedPerson {\n __typename\n name {\n ...HumanNameFields\n }\n }\n ... on Patient {\n __typename\n name {\n ...HumanNameFields\n }\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CoverageClassFields on CoverageClass {\n id\n type {\n ...CodeableConceptFields\n }\n value\n name\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 ";
|
|
121
121
|
export declare const GetEobDocumentDocument = "\n query getEOBDocument($claimId: String!) {\n getEOBDocument(claimId: $claimId) {\n ...DocumentReferenceFields\n }\n}\n \n fragment DocumentReferenceFields on DocumentReferenceResource {\n id\n resourceType\n meta {\n ...MetaFields\n }\n language\n text {\n div\n status\n }\n identifier {\n ...IdentifierFields\n }\n status\n subject {\n reference\n display\n }\n type {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n date\n author {\n reference\n display\n }\n description\n content {\n attachment {\n contentType\n data\n url\n title\n }\n format {\n ...CodingFields\n }\n }\n context {\n ...DocumentReferenceContextFields\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 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 DocumentReferenceContextFields on DocumentReferenceContext {\n encounter {\n reference\n display\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PeriodFields on Period {\n start\n end\n}\n ";
|
|
122
122
|
export declare const GetExplanationOfBenefitsDocument = "\n query getExplanationOfBenefits($id: SearchString, $lastUpdated: SearchDate, $page: Int, $pageSize: Int, $patient: SearchReference, $provider: SearchReference, $coverage: SearchReference, $status: SearchToken, $created: SearchDate, $sort: [String], $total: TotalType) {\n explanationOfBenefits(\n id: $id\n _count: $pageSize\n _lastUpdated: $lastUpdated\n _getpagesoffset: $page\n patient: $patient\n provider: $provider\n coverage: $coverage\n status: $status\n created: $created\n _sort: $sort\n _total: $total\n ) {\n id\n total\n entry {\n id\n resource {\n id\n meta {\n ...MetaFields\n }\n identifier {\n ...IdentifierFields\n }\n status\n type {\n ...CodeableConceptFields\n }\n use\n patient {\n reference\n type\n display\n resource {\n ...PatientFields\n }\n }\n adjudication {\n ...ExplanationOfBenefitAdjudicationFields\n }\n billablePeriod {\n ...PeriodFields\n }\n benefitPeriod {\n ...PeriodFields\n }\n insurer {\n reference\n type\n display\n }\n provider {\n reference\n type\n display\n resource {\n ... on Practitioner {\n __typename\n ...PractitionerFields\n }\n ... on Organization {\n __typename\n organizationName: name\n meta {\n ...MetaFields\n }\n }\n }\n }\n related {\n relationship {\n ...CodeableConceptFields\n }\n reference {\n ...IdentifierFields\n }\n }\n payee {\n type {\n ...CodeableConceptFields\n }\n party {\n reference\n type\n display\n }\n }\n outcome\n careTeam {\n id\n sequence\n provider {\n reference\n type\n display\n resource {\n ... on Practitioner {\n __typename\n ...PractitionerFields\n }\n ... on Organization {\n __typename\n organizationName: name\n meta {\n ...MetaFields\n }\n }\n }\n }\n responsible\n qualification {\n ...CodeableConceptFields\n }\n role {\n ...CodeableConceptFields\n }\n }\n supportingInfo {\n sequence\n category {\n ...CodeableConceptFields\n }\n code {\n ...CodeableConceptFields\n }\n timingDate\n timingPeriod {\n ...PeriodFields\n }\n valueBoolean\n valueString\n valueQuantity {\n ...QuantityFields\n }\n valueAttachment {\n ...AttachmentFields\n }\n valueReference {\n reference\n type\n display\n }\n reason {\n ...CodingFields\n }\n }\n insurance {\n focal\n coverage {\n reference\n type\n display\n }\n }\n payment {\n id\n adjustment {\n ...MoneyResourceFields\n }\n amount {\n ...MoneyResourceFields\n }\n date\n type {\n ...CodeableConceptFields\n }\n }\n processNote {\n type\n text\n }\n created\n diagnosis {\n id\n sequence\n diagnosisCodeableConcept {\n ...CodeableConceptFields\n }\n diagnosisReference {\n reference\n type\n display\n }\n type {\n ...CodeableConceptFields\n }\n onAdmission {\n ...CodeableConceptFields\n }\n packageCode {\n ...CodeableConceptFields\n }\n }\n item {\n id\n sequence\n bodySite {\n ...CodeableConceptFields\n }\n adjudication {\n ...ExplanationOfBenefitAdjudicationFields\n }\n locationCodeableConcept {\n ...CodeableConceptFields\n }\n modifier {\n ...CodeableConceptFields\n }\n net {\n ...MoneyResourceFields\n }\n noteNumber\n productOrService {\n ...CodeableConceptFields\n }\n quantity {\n ...QuantityFields\n }\n revenue {\n ...CodeableConceptFields\n }\n servicedDate\n servicedPeriod {\n ...PeriodFields\n }\n }\n subType {\n ...CodeableConceptFields\n }\n total {\n amount {\n ...MoneyResourceFields\n }\n category {\n ...CodeableConceptFields\n }\n }\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 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 PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n birthDate\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ExplanationOfBenefitAdjudicationFields on ExplanationOfBenefitAdjudication {\n id\n category {\n ...CodeableConceptFields\n }\n reason {\n ...CodeableConceptFields\n }\n amount {\n ...MoneyResourceFields\n }\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 MoneyResourceFields on Money {\n value\n currency\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment AttachmentFields on Attachment {\n id\n title\n contentType\n data\n url\n size\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment MoneyResourceFields on Money {\n value\n currency\n}\n ";
|
|
123
|
+
export declare const GetInsuranceDependentsDocument = "\n query getInsuranceDependents {\n getInsuranceDependents {\n name\n reference\n memberId\n }\n}\n ";
|
|
123
124
|
export declare const GetBinaryDocument = "\n query getBinary($request: BinaryRequest!) {\n getBinary(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n resourceType\n id\n data\n contentType\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n ";
|
|
124
125
|
export declare const GetFhirDocument = "\n query getFHIR($request: ResourceRequest!) {\n getFHIR(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n ";
|
|
125
126
|
export declare const GetBodySystemScoreDocument = "\n query getBodySystemScore($request: BodySystemScoreRequest!) {\n getBodySystemScore(request: $request) {\n resource {\n id\n bodySystemId\n title\n score\n grade\n trendDirection\n trendRate\n calculationDate\n periodStart\n periodEnd\n bioAge\n actualAge\n bioAgeOffset\n recommendations\n components {\n key\n title\n score\n category\n value\n text\n }\n dailyScores {\n date\n score\n grade\n components {\n key\n score\n }\n }\n quality {\n dataQuality\n scoreIsComplete\n scoredComponents\n missingComponents\n }\n }\n }\n}\n ";
|
|
@@ -377,6 +378,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
377
378
|
headers: Headers;
|
|
378
379
|
status: number;
|
|
379
380
|
}>;
|
|
381
|
+
getInsuranceDependents(variables?: Types.GetInsuranceDependentsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
382
|
+
data: Types.GetInsuranceDependentsQueryResults;
|
|
383
|
+
errors?: GraphQLError[];
|
|
384
|
+
extensions?: any;
|
|
385
|
+
headers: Headers;
|
|
386
|
+
status: number;
|
|
387
|
+
}>;
|
|
380
388
|
getBinary(variables: Types.GetBinaryQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
381
389
|
data: Types.GetBinaryQueryResults;
|
|
382
390
|
errors?: GraphQLError[];
|
|
@@ -2804,6 +2804,15 @@ ${QuantityFieldsFragmentDoc}
|
|
|
2804
2804
|
${AttachmentFieldsFragmentDoc}
|
|
2805
2805
|
${CodingFieldsFragmentDoc}
|
|
2806
2806
|
${MoneyResourceFieldsFragmentDoc}`;
|
|
2807
|
+
export const GetInsuranceDependentsDocument = `
|
|
2808
|
+
query getInsuranceDependents {
|
|
2809
|
+
getInsuranceDependents {
|
|
2810
|
+
name
|
|
2811
|
+
reference
|
|
2812
|
+
memberId
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2815
|
+
`;
|
|
2807
2816
|
export const GetBinaryDocument = `
|
|
2808
2817
|
query getBinary($request: BinaryRequest!) {
|
|
2809
2818
|
getBinary(request: $request) {
|
|
@@ -5432,6 +5441,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
5432
5441
|
getExplanationOfBenefits(variables, requestHeaders) {
|
|
5433
5442
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetExplanationOfBenefitsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getExplanationOfBenefits', 'query', variables);
|
|
5434
5443
|
},
|
|
5444
|
+
getInsuranceDependents(variables, requestHeaders) {
|
|
5445
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetInsuranceDependentsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getInsuranceDependents', 'query', variables);
|
|
5446
|
+
},
|
|
5435
5447
|
getBinary(variables, requestHeaders) {
|
|
5436
5448
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetBinaryDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getBinary', 'query', variables);
|
|
5437
5449
|
},
|
|
@@ -10879,6 +10879,16 @@ export type GetExplanationOfBenefitsQueryResults = {
|
|
|
10879
10879
|
} | null> | null;
|
|
10880
10880
|
} | null;
|
|
10881
10881
|
};
|
|
10882
|
+
export type GetInsuranceDependentsQueryVariables = Types.Exact<{
|
|
10883
|
+
[key: string]: never;
|
|
10884
|
+
}>;
|
|
10885
|
+
export type GetInsuranceDependentsQueryResults = {
|
|
10886
|
+
getInsuranceDependents: Array<{
|
|
10887
|
+
memberId: string | null;
|
|
10888
|
+
name: string | null;
|
|
10889
|
+
reference: string | null;
|
|
10890
|
+
}>;
|
|
10891
|
+
};
|
|
10882
10892
|
export type GetBinaryQueryVariables = Types.Exact<{
|
|
10883
10893
|
request: Types.BinaryRequest;
|
|
10884
10894
|
}>;
|
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -1899,12 +1899,16 @@ export type CoverageSummary = {
|
|
|
1899
1899
|
prescriptionResources?: Maybe<CoveragePrescriptionResources>;
|
|
1900
1900
|
/** Prior authorizations for the member and their dependents, sorted by authStartDate descending. */
|
|
1901
1901
|
priorAuthorizations?: Maybe<Array<PriorAuthorization>>;
|
|
1902
|
+
/** Patient the composition is about (the member this summary belongs to) */
|
|
1903
|
+
subject?: Maybe<ResourceReference>;
|
|
1902
1904
|
/** Primary account holder and plan subscriber */
|
|
1903
1905
|
subscriber?: Maybe<CoverageMember>;
|
|
1904
1906
|
/** Plan supplemental benefits entries */
|
|
1905
1907
|
supplementalBenefits?: Maybe<Array<CoverageSupplementalBenefit>>;
|
|
1906
1908
|
};
|
|
1907
1909
|
export type CoverageSummaryQueryRequest = {
|
|
1910
|
+
/** Filter coverage summaries by composition id. Results stay scoped to the authenticated patient. */
|
|
1911
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
1908
1912
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1909
1913
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1910
1914
|
/**
|
|
@@ -1938,7 +1942,7 @@ export type CreateDocumentReferenceInput = {
|
|
|
1938
1942
|
data: Scalars['String']['input'];
|
|
1939
1943
|
/** Human-readable title for the document */
|
|
1940
1944
|
title?: InputMaybe<Scalars['String']['input']>;
|
|
1941
|
-
/** Kind of document (LOINC
|
|
1945
|
+
/** Kind of document, as a b.well upload-type code: system https://www.icanbwell.com/document-upload-type and code one of the 11 member-facing type ids (e.g. lab-and-test-results). HDS stamps the LOINC coding and type.text itself and never takes a coding from the caller. The legacy LOINC codes 64290-0, 11502-2, 57133-1 and 11369-6 (and display 'Other') are accepted temporarily until the new UI ships. */
|
|
1942
1946
|
typeCoding?: InputMaybe<DocumentReferenceCodingInput>;
|
|
1943
1947
|
};
|
|
1944
1948
|
export type CreateHealthLinkInput = {
|
|
@@ -6296,6 +6300,11 @@ export type Query = {
|
|
|
6296
6300
|
getHealthSummary: HealthSummaryQueryResults;
|
|
6297
6301
|
getImmunizationGroups: ImmunizationGroupQueryResults;
|
|
6298
6302
|
getImmunizations: ImmunizationQueryResults;
|
|
6303
|
+
/**
|
|
6304
|
+
* Retrieve the dependents of the authenticated subscriber whose insurance cards can be viewed.
|
|
6305
|
+
* Dependents are de-duplicated by Patient id.
|
|
6306
|
+
*/
|
|
6307
|
+
getInsuranceDependents: Array<CoverageMember>;
|
|
6299
6308
|
getLabGroups: LabGroupQueryResults;
|
|
6300
6309
|
/** Retrieves knowledge information for a specific lab. */
|
|
6301
6310
|
getLabKnowledge: LabKnowledgeQueryResults;
|