@icanbwell/bwell-sdk-ts 1.85.0 → 1.86.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/claim-summary-request.d.ts +6 -0
- package/dist/api/graphql-api/financial/graphql-claim-summary-request-factory.js +1 -0
- package/dist/graphql/operations/index.d.ts +1 -1
- package/dist/graphql/operations/index.js +4 -0
- package/dist/graphql/operations/types.d.ts +4 -0
- package/dist/graphql/schema.d.ts +32 -0
- package/package.json +1 -1
package/dist/__version__.d.ts
CHANGED
package/dist/__version__.js
CHANGED
|
@@ -35,6 +35,12 @@ export type ClaimSummaryRequestInput = PagedRequestInput & {
|
|
|
35
35
|
* Filter claims by the date they were processed.
|
|
36
36
|
*/
|
|
37
37
|
dateProcessed?: SearchDate;
|
|
38
|
+
/**
|
|
39
|
+
* Filter claims by family member patient ID(s).
|
|
40
|
+
* Accepts patient IDs (e.g., ["patient-tony-id-1", "patient-jane-id-2"]).
|
|
41
|
+
* Only filters claim resources by matching the claim's memberFocus reference.
|
|
42
|
+
*/
|
|
43
|
+
memberFilter?: string[];
|
|
38
44
|
/**
|
|
39
45
|
* Specifies sort options for the search.
|
|
40
46
|
*/
|
|
@@ -108,7 +108,7 @@ export declare const GetDataSharingGrantsDocument = "\n query GetDataSharingG
|
|
|
108
108
|
export declare const RequestDataSharingTokenDocument = "\n mutation RequestDataSharingToken($input: RequestDataSharingTokenInput!) {\n requestDataSharingToken(input: $input) {\n access_token\n issued_token_type\n token_type\n expires_in\n }\n}\n ";
|
|
109
109
|
export declare const UpdateDeviceRegistrationDocument = "\n mutation updateDeviceRegistration($deviceToken: String!, $platformName: String!, $applicationName: String!, $notificationPreference: Boolean!) {\n updateDeviceRegistration(\n input: {deviceToken: $deviceToken, platform: $platformName, applicationName: $applicationName, notificationPreference: $notificationPreference}\n ) {\n id\n }\n}\n ";
|
|
110
110
|
export declare const PublishEventDocument = "\n mutation publishEvent($eventType: EventType!, $messageId: String, $notificationId: String) {\n publishEvent(\n input: {eventType: $eventType, campaignId: $notificationId, messageId: $messageId}\n ) {\n id\n }\n}\n ";
|
|
111
|
-
export declare const GetClaimSummaryDocument = "\n query getClaimSummary($request: ClaimSummaryQueryRequest!) {\n getClaimSummary(request: $request) {\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n resources {\n id\n claimNumber\n claimType\n claimStatus\n servicedDate\n dateReceived\n dateProcessed\n serviceDateStart\n serviceDateEnd\n networkStatus\n provider {\n name\n specialty\n }\n costBreakdown {\n ...ClaimCostBreakdownFields\n }\n services {\n lineNumber\n servicedDate\n procedure {\n code\n system\n description\n }\n serviceDateStart\n serviceDateEnd\n costBreakdown {\n ...ClaimCostBreakdownFields\n }\n }\n }\n }\n}\n \n fragment ClaimCostBreakdownFields on ClaimCostBreakdown {\n billedAmount\n allowedAmount\n patientResponsibility\n insurancePaid\n discount\n copay\n coinsurance\n otherInsurancePaid\n appliedToDeductible\n}\n ";
|
|
111
|
+
export declare const GetClaimSummaryDocument = "\n query getClaimSummary($request: ClaimSummaryQueryRequest!) {\n getClaimSummary(request: $request) {\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n resources {\n id\n claimNumber\n claimType\n claimStatus\n servicedDate\n dateReceived\n dateProcessed\n serviceDateStart\n serviceDateEnd\n networkStatus\n provider {\n name\n specialty\n }\n costBreakdown {\n ...ClaimCostBreakdownFields\n }\n services {\n lineNumber\n servicedDate\n procedure {\n code\n system\n description\n }\n serviceDateStart\n serviceDateEnd\n costBreakdown {\n ...ClaimCostBreakdownFields\n }\n }\n memberFocus {\n patientReference\n name\n }\n }\n }\n}\n \n fragment ClaimCostBreakdownFields on ClaimCostBreakdown {\n billedAmount\n allowedAmount\n patientResponsibility\n insurancePaid\n discount\n copay\n coinsurance\n otherInsurancePaid\n appliedToDeductible\n}\n ";
|
|
112
112
|
export declare const GetCoverageSummaryDocument = "\n query getCoverageSummary($request: CoverageSummaryQueryRequest) {\n getCoverageSummary(request: $request) {\n resources {\n id\n planInfo {\n productId\n productName\n planId\n planName\n memberId\n groupId\n subscriberId\n lineOfBusiness\n lineOfBusinessId\n effectiveDate\n terminationDate\n status\n insurer\n reference\n }\n subscriber {\n memberId\n name\n reference\n }\n dependents {\n total\n members {\n memberId\n name\n reference\n }\n }\n individualInsuranceDetails {\n references\n deductibles {\n medical {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n dental {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n vision {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n pharmacy {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n }\n outOfPocket {\n medical {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n dental {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n vision {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n pharmacy {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n }\n }\n familyInsuranceDetails {\n references\n deductibles {\n medical {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n dental {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n vision {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n pharmacy {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n }\n outOfPocket {\n medical {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n dental {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n vision {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n pharmacy {\n inNetwork\n inNetworkMax\n outOfNetwork\n outOfNetworkMax\n }\n }\n }\n claimsSummary {\n references\n medical {\n totalBilled\n insurancePaid\n patientResponsibility\n }\n vision {\n totalBilled\n insurancePaid\n patientResponsibility\n }\n dental {\n totalBilled\n insurancePaid\n patientResponsibility\n }\n pharmacy {\n totalBilled\n insurancePaid\n patientResponsibility\n }\n }\n benefits {\n type\n code\n title\n text\n }\n supplementalBenefits {\n code\n title\n text\n }\n documents {\n id\n code\n title\n url\n }\n prescriptionResources {\n formularyDocument\n drugCoverageDocument\n pharmacyDirectoryDocument\n }\n memberForms {\n memberFormsDocument\n }\n }\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n }\n}\n ";
|
|
113
113
|
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 ";
|
|
114
114
|
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 }\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 contentType\n data\n url\n title\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 ";
|
|
@@ -9752,6 +9752,10 @@ export type GetClaimSummaryQueryResults = {
|
|
|
9752
9752
|
appliedToDeductible: string | null;
|
|
9753
9753
|
} | null;
|
|
9754
9754
|
}>;
|
|
9755
|
+
memberFocus: {
|
|
9756
|
+
patientReference: string | null;
|
|
9757
|
+
name: string | null;
|
|
9758
|
+
} | null;
|
|
9755
9759
|
}> | null;
|
|
9756
9760
|
};
|
|
9757
9761
|
};
|
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -221,6 +221,10 @@ export type AdminGetUserOutput = {
|
|
|
221
221
|
UserAttributes: Array<UserAttributeType>;
|
|
222
222
|
Username: Scalars['String']['output'];
|
|
223
223
|
};
|
|
224
|
+
export type AdobeAnalytics = {
|
|
225
|
+
__typename?: 'AdobeAnalytics';
|
|
226
|
+
script: Scalars['String']['output'];
|
|
227
|
+
};
|
|
224
228
|
/** Follows ElasticSearch FloatRange schema */
|
|
225
229
|
export type AgeRange = {
|
|
226
230
|
__typename?: 'AgeRange';
|
|
@@ -339,6 +343,8 @@ export type AllergyIntolerancesRequest = {
|
|
|
339
343
|
};
|
|
340
344
|
export type Analytics = {
|
|
341
345
|
__typename?: 'Analytics';
|
|
346
|
+
adobe: Array<AdobeAnalytics>;
|
|
347
|
+
googleTagManager: Array<GoogleTagManager>;
|
|
342
348
|
mixPanel: Array<MixPanel>;
|
|
343
349
|
};
|
|
344
350
|
export type Annotation = {
|
|
@@ -771,6 +777,8 @@ export type ClaimInfo = {
|
|
|
771
777
|
dateReceived?: Maybe<Scalars['String']['output']>;
|
|
772
778
|
/** Unique identifier for the claim */
|
|
773
779
|
id?: Maybe<Scalars['String']['output']>;
|
|
780
|
+
/** Which family member this claim belongs to (family composition only, null for per-member) */
|
|
781
|
+
memberFocus?: Maybe<ClaimMemberFocus>;
|
|
774
782
|
/** Network status (e.g., 'In-Network', 'Out-of-Network') */
|
|
775
783
|
networkStatus?: Maybe<Scalars['String']['output']>;
|
|
776
784
|
/** Provider information */
|
|
@@ -784,6 +792,14 @@ export type ClaimInfo = {
|
|
|
784
792
|
/** List of services/line items in the claim */
|
|
785
793
|
services: Array<ClaimService>;
|
|
786
794
|
};
|
|
795
|
+
/** Identifies which family member a claim belongs to (family composition only) */
|
|
796
|
+
export type ClaimMemberFocus = {
|
|
797
|
+
__typename?: 'ClaimMemberFocus';
|
|
798
|
+
/** Display name (e.g., 'Tony Appleseed') */
|
|
799
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
800
|
+
/** Patient reference (e.g., 'Patient/patient-tony-id-1') */
|
|
801
|
+
patientReference?: Maybe<Scalars['String']['output']>;
|
|
802
|
+
};
|
|
787
803
|
/** Procedure information */
|
|
788
804
|
export type ClaimProcedure = {
|
|
789
805
|
__typename?: 'ClaimProcedure';
|
|
@@ -845,6 +861,12 @@ export type ClaimSummaryQueryRequest = {
|
|
|
845
861
|
dateProcessed?: InputMaybe<SearchDate>;
|
|
846
862
|
/** Date range filter for claims by the date the claim was received. */
|
|
847
863
|
dateReceived?: InputMaybe<SearchDate>;
|
|
864
|
+
/**
|
|
865
|
+
* Filter claims by family member patient ID(s).
|
|
866
|
+
* Accepts patient IDs (e.g., ["patient-tony-id-1", "patient-jane-id-2"]).
|
|
867
|
+
* Only filters claim resources by matching the claim's memberFocus reference.
|
|
868
|
+
*/
|
|
869
|
+
memberFilter?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
848
870
|
/** Page number for claims pagination (0-indexed, default: 0) */
|
|
849
871
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
850
872
|
/** Number of claims per page (default: 100) */
|
|
@@ -2363,6 +2385,11 @@ export type EndpointType = {
|
|
|
2363
2385
|
name?: Maybe<Scalars['String']['output']>;
|
|
2364
2386
|
status?: Maybe<EndpointStatusEnum>;
|
|
2365
2387
|
};
|
|
2388
|
+
export type EventMapEntry = {
|
|
2389
|
+
__typename?: 'EventMapEntry';
|
|
2390
|
+
key: Scalars['String']['output'];
|
|
2391
|
+
value: Scalars['String']['output'];
|
|
2392
|
+
};
|
|
2366
2393
|
export declare enum EventType {
|
|
2367
2394
|
CustomEvent = "CUSTOM_EVENT",
|
|
2368
2395
|
MobilePushOpen = "MOBILE_PUSH_OPEN"
|
|
@@ -2854,6 +2881,11 @@ export type GoogleGeo = {
|
|
|
2854
2881
|
key: Scalars['String']['output'];
|
|
2855
2882
|
uri: Scalars['String']['output'];
|
|
2856
2883
|
};
|
|
2884
|
+
export type GoogleTagManager = {
|
|
2885
|
+
__typename?: 'GoogleTagManager';
|
|
2886
|
+
eventMap?: Maybe<Array<EventMapEntry>>;
|
|
2887
|
+
gaKey: Scalars['String']['output'];
|
|
2888
|
+
};
|
|
2857
2889
|
export type GraphQlClientConfig = {
|
|
2858
2890
|
__typename?: 'GraphQLClientConfig';
|
|
2859
2891
|
apiUrl: Scalars['String']['output'];
|