@icanbwell/bwell-sdk-ts 1.76.0 → 1.77.0-rc.1775825211
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/data-sharing/data-sharing-manager.d.ts +10 -1
- package/dist/api/base/data-sharing/index.d.ts +1 -0
- package/dist/api/base/data-sharing/index.js +1 -0
- package/dist/api/base/data-sharing/request-data-sharing-token-request.d.ts +31 -0
- package/dist/api/base/data-sharing/request-data-sharing-token-request.js +33 -0
- package/dist/api/graphql-api/data-sharing/graphql-data-sharing-manager.d.ts +3 -2
- package/dist/api/graphql-api/data-sharing/graphql-data-sharing-manager.js +17 -0
- package/dist/bwell-sdk/bwell-sdk.d.ts +3 -2
- package/dist/bwell-sdk/bwell-sdk.js +8 -2
- package/dist/graphql/operations/index.d.ts +10 -2
- package/dist/graphql/operations/index.js +31 -0
- package/dist/graphql/operations/types.d.ts +29 -0
- package/dist/graphql/schema.d.ts +86 -12
- package/dist/graphql/schema.js +17 -0
- package/package.json +1 -1
package/dist/__version__.d.ts
CHANGED
package/dist/__version__.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import type { AcceptDataSharingInvitationMutationResults, GetDataSharingAccessQueryResults, GetDataSharingGrantsQueryResults } from "../../../graphql/operations/types.js";
|
|
1
|
+
import type { AcceptDataSharingInvitationMutationResults, GetDataSharingAccessQueryResults, GetDataSharingGrantsQueryResults, RequestDataSharingTokenMutationResults } from "../../../graphql/operations/types.js";
|
|
2
2
|
import type { BWellQueryResult, BWellTransactionResult } from "../../../results/index.js";
|
|
3
3
|
import type { BaseManagerError } from "../errors.js";
|
|
4
4
|
import type { AcceptDataSharingInvitationRequest } from "./accept-data-sharing-invitation-request.js";
|
|
5
|
+
import type { RequestDataSharingTokenRequest } from "./request-data-sharing-token-request.js";
|
|
5
6
|
export type GetDataSharingGrantsResults = GetDataSharingGrantsQueryResults["dataSharingGrants"];
|
|
6
7
|
export type GetDataSharingAccessResults = GetDataSharingAccessQueryResults["dataSharingAccess"];
|
|
7
8
|
export type AcceptDataSharingInvitationResults = AcceptDataSharingInvitationMutationResults["acceptDataSharingInvitation"];
|
|
9
|
+
export type RequestDataSharingTokenResults = RequestDataSharingTokenMutationResults["requestDataSharingToken"];
|
|
8
10
|
/**
|
|
9
11
|
* The DataSharingManager interface provides methods for managing health circle consents.
|
|
10
12
|
*/
|
|
@@ -27,4 +29,11 @@ export interface DataSharingManager {
|
|
|
27
29
|
* @returns A promise that resolves to the OperationOutcome result of accepting the invitation.
|
|
28
30
|
*/
|
|
29
31
|
acceptDataSharingInvitation(request: AcceptDataSharingInvitationRequest): Promise<BWellTransactionResult<AcceptDataSharingInvitationResults, BaseManagerError>>;
|
|
32
|
+
/**
|
|
33
|
+
* Requests a delegation token for impersonating a grantor.
|
|
34
|
+
*
|
|
35
|
+
* @param {RequestDataSharingTokenRequest} request - The request containing the consentId.
|
|
36
|
+
* @returns A promise that resolves to a TokenResponse with the access token.
|
|
37
|
+
*/
|
|
38
|
+
requestDataSharingToken(request: RequestDataSharingTokenRequest): Promise<BWellTransactionResult<RequestDataSharingTokenResults, BaseManagerError>>;
|
|
30
39
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ErrorsCollector, ValidationRequest } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Error message for when the consent ID is not defined.
|
|
4
|
+
*/
|
|
5
|
+
export declare const UNDEFINED_CONSENT_ID_ERROR = "consentId cannot be null or empty";
|
|
6
|
+
/**
|
|
7
|
+
* Input object for requesting a data sharing token.
|
|
8
|
+
*/
|
|
9
|
+
export type RequestDataSharingTokenRequestInput = {
|
|
10
|
+
consentId: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Validator for request data sharing token requests.
|
|
14
|
+
* Ensures the consent ID is defined, not null, and not empty.
|
|
15
|
+
*/
|
|
16
|
+
export declare class RequestDataSharingTokenRequestValidator {
|
|
17
|
+
validate(data: RequestDataSharingTokenRequestInput, errors: ErrorsCollector): void;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Request object for requesting a data sharing token.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```typescript
|
|
24
|
+
* const request = new RequestDataSharingTokenRequest({
|
|
25
|
+
* consentId: "a1b2c3d4-5678-90ab-cdef-1234567890ab",
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class RequestDataSharingTokenRequest extends ValidationRequest<RequestDataSharingTokenRequestInput> {
|
|
30
|
+
protected validator: RequestDataSharingTokenRequestValidator;
|
|
31
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ValidationRequest } from "../../../requests/index.js";
|
|
2
|
+
import { isNullOrUndefinedOrEmptyString } from "../../../utils/type-utils.js";
|
|
3
|
+
/**
|
|
4
|
+
* Error message for when the consent ID is not defined.
|
|
5
|
+
*/
|
|
6
|
+
export const UNDEFINED_CONSENT_ID_ERROR = "consentId cannot be null or empty";
|
|
7
|
+
/**
|
|
8
|
+
* Validator for request data sharing token requests.
|
|
9
|
+
* Ensures the consent ID is defined, not null, and not empty.
|
|
10
|
+
*/
|
|
11
|
+
export class RequestDataSharingTokenRequestValidator {
|
|
12
|
+
validate(data, errors) {
|
|
13
|
+
if (isNullOrUndefinedOrEmptyString(data.consentId)) {
|
|
14
|
+
errors.add(UNDEFINED_CONSENT_ID_ERROR);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Request object for requesting a data sharing token.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```typescript
|
|
23
|
+
* const request = new RequestDataSharingTokenRequest({
|
|
24
|
+
* consentId: "a1b2c3d4-5678-90ab-cdef-1234567890ab",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export class RequestDataSharingTokenRequest extends ValidationRequest {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.validator = new RequestDataSharingTokenRequestValidator();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LoggerProvider } from "../../../logger/index.js";
|
|
2
2
|
import { BWellQueryResult, BWellTransactionResult } from "../../../results/index.js";
|
|
3
3
|
import type { DataSharingManager } from "../../base/data-sharing/data-sharing-manager.js";
|
|
4
|
-
import { AcceptDataSharingInvitationResults, GetDataSharingAccessResults, GetDataSharingGrantsResults } from "../../base/data-sharing/data-sharing-manager.js";
|
|
5
|
-
import { AcceptDataSharingInvitationRequest } from "../../base/data-sharing/index.js";
|
|
4
|
+
import { AcceptDataSharingInvitationResults, GetDataSharingAccessResults, GetDataSharingGrantsResults, RequestDataSharingTokenResults } from "../../base/data-sharing/data-sharing-manager.js";
|
|
5
|
+
import { AcceptDataSharingInvitationRequest, RequestDataSharingTokenRequest } from "../../base/data-sharing/index.js";
|
|
6
6
|
import { BaseManagerError } from "../../base/errors.js";
|
|
7
7
|
import { GraphQLManager } from "../graphql-manager/index.js";
|
|
8
8
|
import type { GraphQLSdk } from "../graphql-sdk/index.js";
|
|
@@ -12,4 +12,5 @@ export declare class GraphQLDataSharingManager extends GraphQLManager implements
|
|
|
12
12
|
getDataSharingGrants(): Promise<BWellQueryResult<GetDataSharingGrantsResults, BaseManagerError>>;
|
|
13
13
|
getDataSharingAccess(): Promise<BWellQueryResult<GetDataSharingAccessResults, BaseManagerError>>;
|
|
14
14
|
acceptDataSharingInvitation(request: AcceptDataSharingInvitationRequest): Promise<BWellTransactionResult<AcceptDataSharingInvitationResults, BaseManagerError>>;
|
|
15
|
+
requestDataSharingToken(request: RequestDataSharingTokenRequest): Promise<BWellTransactionResult<RequestDataSharingTokenResults, BaseManagerError>>;
|
|
15
16
|
}
|
|
@@ -71,5 +71,22 @@ export class GraphQLDataSharingManager extends GraphQLManager {
|
|
|
71
71
|
return BWellTransactionResult.success(result.data().acceptDataSharingInvitation);
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
+
requestDataSharingToken(request) {
|
|
75
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
const validationResult = this.validateRequest(request);
|
|
77
|
+
if (validationResult.failure()) {
|
|
78
|
+
return validationResult.intoFailure();
|
|
79
|
+
}
|
|
80
|
+
__classPrivateFieldGet(this, _GraphQLDataSharingManager_logger, "f").verbose("calling requestDataSharingToken mutation...");
|
|
81
|
+
const result = yield this.handleTransaction(__classPrivateFieldGet(this, _GraphQLDataSharingManager_sdk, "f").RequestDataSharingToken({ input: request.data() }));
|
|
82
|
+
__classPrivateFieldGet(this, _GraphQLDataSharingManager_logger, "f").verbose("requestDataSharingToken mutation complete.");
|
|
83
|
+
if (result.failure()) {
|
|
84
|
+
__classPrivateFieldGet(this, _GraphQLDataSharingManager_logger, "f").error("requestDataSharingToken mutation failed", result);
|
|
85
|
+
return result.intoFailure();
|
|
86
|
+
}
|
|
87
|
+
__classPrivateFieldGet(this, _GraphQLDataSharingManager_logger, "f").info("successfully called requestDataSharingToken mutation");
|
|
88
|
+
return BWellTransactionResult.success(result.data().requestDataSharingToken);
|
|
89
|
+
});
|
|
90
|
+
}
|
|
74
91
|
}
|
|
75
92
|
_GraphQLDataSharingManager_sdk = new WeakMap(), _GraphQLDataSharingManager_logger = new WeakMap();
|
|
@@ -71,8 +71,9 @@ export declare class BWellSDK {
|
|
|
71
71
|
*/
|
|
72
72
|
authenticate(credentials: Credentials): Promise<BWellTransactionResult<null, AuthenticationError | InvalidTokenError>>;
|
|
73
73
|
/**
|
|
74
|
-
* Sets auth tokens for a pre-authenticated user.
|
|
75
|
-
* validate the provided tokens
|
|
74
|
+
* Sets auth tokens for a pre-authenticated user. When `refreshToken` is non-empty,
|
|
75
|
+
* performs a token refresh to validate the provided tokens; if it is empty or
|
|
76
|
+
* whitespace-only, that round-trip is skipped (e.g. external IdP session JWT only).
|
|
76
77
|
*
|
|
77
78
|
* This can be used in place of `authenticate` for times when a user has been
|
|
78
79
|
* authenticated through means other than the SDK.
|
|
@@ -129,8 +129,9 @@ export class BWellSDK {
|
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
|
-
* Sets auth tokens for a pre-authenticated user.
|
|
133
|
-
* validate the provided tokens
|
|
132
|
+
* Sets auth tokens for a pre-authenticated user. When `refreshToken` is non-empty,
|
|
133
|
+
* performs a token refresh to validate the provided tokens; if it is empty or
|
|
134
|
+
* whitespace-only, that round-trip is skipped (e.g. external IdP session JWT only).
|
|
134
135
|
*
|
|
135
136
|
* This can be used in place of `authenticate` for times when a user has been
|
|
136
137
|
* authenticated through means other than the SDK.
|
|
@@ -150,6 +151,11 @@ export class BWellSDK {
|
|
|
150
151
|
/* istanbul ignore next */
|
|
151
152
|
throw new Error("TokenManager not set");
|
|
152
153
|
}
|
|
154
|
+
const refreshJwt = authTokens.refreshToken;
|
|
155
|
+
const hasBwellRefresh = typeof refreshJwt === "string" && refreshJwt.trim().length > 0;
|
|
156
|
+
if (!hasBwellRefresh) {
|
|
157
|
+
return BWellTransactionResult.success(null);
|
|
158
|
+
}
|
|
153
159
|
const refreshResult = yield __classPrivateFieldGet(this, _BWellSDK_tokenManager, "f").refreshAccessToken();
|
|
154
160
|
if (refreshResult.failure()) {
|
|
155
161
|
return refreshResult.intoFailure();
|
|
@@ -104,10 +104,11 @@ export declare const GetOauthUrlDocument = "\n query getOauthUrl($connectionI
|
|
|
104
104
|
export declare const AcceptDataSharingInvitationDocument = "\n mutation AcceptDataSharingInvitation($code: String!) {\n acceptDataSharingInvitation(input: {code: $code}) {\n resourceType\n id\n issue {\n severity\n code\n details {\n text\n coding {\n system\n code\n display\n }\n }\n }\n }\n}\n ";
|
|
105
105
|
export declare const GetDataSharingAccessDocument = "\n query GetDataSharingAccess {\n dataSharingAccess {\n resourceType\n type\n total\n entry {\n fullUrl\n resource {\n ...DataSharingConsentFields\n }\n }\n }\n}\n \n fragment DataSharingConsentFields on Consent {\n id\n resourceType\n status\n scope {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n patient {\n reference\n type\n identifier {\n ...IdentifierFields\n }\n display\n resource {\n id\n name {\n ...HumanNameFields\n }\n telecom {\n ...ContactPointFields\n }\n }\n }\n dateTime\n performer {\n reference\n type\n identifier {\n ...IdentifierFields\n }\n display\n }\n provision {\n type\n period {\n ...PeriodFields\n }\n dataPeriod {\n ...PeriodFields\n }\n actor {\n ...DataSharingConsentActorFields\n }\n provision {\n type\n period {\n ...PeriodFields\n }\n dataPeriod {\n ...PeriodFields\n }\n actor {\n ...DataSharingConsentActorFields\n }\n }\n }\n sourceReference {\n reference\n type\n identifier {\n ...IdentifierFields\n }\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 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 HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment DataSharingConsentActorFields on ConsentActor {\n role {\n ...CodeableConceptFields\n }\n reference {\n reference\n type\n identifier {\n ...IdentifierFields\n }\n display\n resource {\n ... on RelatedPerson {\n __typename\n ...RelatedPersonFields\n }\n ... on Patient {\n __typename\n patientId: id\n name {\n ...HumanNameFields\n }\n telecom {\n ...ContactPointFields\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 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 RelatedPersonFields on RelatedPerson {\n resourceType\n id\n active\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n relationship {\n ...CodeableConceptFields\n }\n patient {\n ...PatientFields\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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\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 HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n ";
|
|
106
106
|
export declare const GetDataSharingGrantsDocument = "\n query GetDataSharingGrants {\n dataSharingGrants {\n resourceType\n type\n total\n entry {\n fullUrl\n resource {\n ...DataSharingConsentFields\n }\n }\n }\n}\n \n fragment DataSharingConsentFields on Consent {\n id\n resourceType\n status\n scope {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n patient {\n reference\n type\n identifier {\n ...IdentifierFields\n }\n display\n resource {\n id\n name {\n ...HumanNameFields\n }\n telecom {\n ...ContactPointFields\n }\n }\n }\n dateTime\n performer {\n reference\n type\n identifier {\n ...IdentifierFields\n }\n display\n }\n provision {\n type\n period {\n ...PeriodFields\n }\n dataPeriod {\n ...PeriodFields\n }\n actor {\n ...DataSharingConsentActorFields\n }\n provision {\n type\n period {\n ...PeriodFields\n }\n dataPeriod {\n ...PeriodFields\n }\n actor {\n ...DataSharingConsentActorFields\n }\n }\n }\n sourceReference {\n reference\n type\n identifier {\n ...IdentifierFields\n }\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 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 HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment DataSharingConsentActorFields on ConsentActor {\n role {\n ...CodeableConceptFields\n }\n reference {\n reference\n type\n identifier {\n ...IdentifierFields\n }\n display\n resource {\n ... on RelatedPerson {\n __typename\n ...RelatedPersonFields\n }\n ... on Patient {\n __typename\n patientId: id\n name {\n ...HumanNameFields\n }\n telecom {\n ...ContactPointFields\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 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 RelatedPersonFields on RelatedPerson {\n resourceType\n id\n active\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n relationship {\n ...CodeableConceptFields\n }\n patient {\n ...PatientFields\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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\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 HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n ";
|
|
107
|
+
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 ";
|
|
107
108
|
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 ";
|
|
108
109
|
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 ";
|
|
109
110
|
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 ";
|
|
110
|
-
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 effectiveDate\n terminationDate\n status\n insurer\n reference\n }\n subscriber {\n name\n reference\n }\n dependents {\n total\n members {\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 prescriptionResources {\n formularyDocument\n drugCoverageDocument\n pharmacyDirectoryDocument\n }\n }\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n }\n}\n ";
|
|
111
|
+
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 effectiveDate\n terminationDate\n status\n insurer\n reference\n }\n subscriber {\n name\n reference\n }\n dependents {\n total\n members {\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 }\n paging_info {\n page_number\n page_size\n total_items\n total_pages\n }\n }\n}\n ";
|
|
111
112
|
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 ";
|
|
112
113
|
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 ";
|
|
113
114
|
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 ";
|
|
@@ -165,7 +166,7 @@ export declare const GetQuestionnairesDocument = "\n query getQuestionnaires(
|
|
|
165
166
|
export declare const SaveQuestionnaireResponseDocument = "\n mutation saveQuestionnaireResponse($questionnaireResponse: QuestionnaireResponseInput!, $summary: Boolean = false) {\n saveQuestionnaireResponse(input: $questionnaireResponse) {\n ...QuestionnaireResponseSummary @include(if: $summary)\n ...QuestionnaireResponseFields @skip(if: $summary)\n }\n}\n \n fragment QuestionnaireResponseSummary on QuestionnaireResponse {\n resourceType\n id\n meta {\n ...MetaFields\n }\n identifier {\n ...IdentifierFields\n }\n questionnaire\n status\n subject {\n reference\n type\n display\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 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 item {\n ...QuestionnaireResponseItemFields\n item {\n ...QuestionnaireResponseItemFields\n }\n }\n }\n }\n }\n contained {\n ...QuestionnaireFields\n }\n subject {\n reference\n type\n display\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 linkId\n text\n answer {\n valueBoolean\n valueDecimal\n valueInteger\n valueDate\n valueDateTime\n valueString\n valueUri\n valueAttachment {\n id\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 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 }\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 useContext {\n id\n code {\n ...CodingFields\n }\n valueReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\n }\n }\n status\n description\n item {\n ...QuestionnaireItemFields\n item {\n ...QuestionnaireItemFields\n item {\n ...QuestionnaireItemFields\n item {\n ...QuestionnaireItemFields\n item {\n ...QuestionnaireItemFields\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 CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment QuestionnaireItemFields on QuestionnaireItem {\n extension {\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 }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n extension {\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 }\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 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 valueInteger\n valueDate\n valueString\n valueCoding {\n ...CodingFields\n }\n extension {\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 }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n valueReference {\n reference\n type\n display\n extension {\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 }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n initialSelected\n }\n initial {\n valueBoolean\n valueDecimal\n valueInteger\n valueDate\n valueDateTime\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 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 }\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 ";
|
|
166
167
|
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 ";
|
|
167
168
|
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 ";
|
|
168
|
-
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 extension {\n url\n valueString\n }\n }\n }\n results {\n type\n photo {\n url\n }\n id\n content\n nextAvailableSlot {\n appointmentType\n start\n }\n specialty {\n code\n system\n display\n }\n meta {\n security {\n code\n system\n display\n }\n }\n insurancePlan {\n id\n ownedBy {\n display\n }\n plan {\n identifier {\n value\n }\n }\n }\n bookable {\n online\n phone\n }\n location {\n identifier {\n value\n system\n }\n description\n scheduling {\n identifier {\n value\n system\n }\n bookable {\n online\n phone\n }\n }\n name\n address {\n line\n city\n state\n postalCode\n country\n }\n position {\n latitude\n longitude\n }\n telecom {\n system\n value\n }\n distanceInMiles\n hoursOfOperation {\n daysOfWeek\n openingTime\n closingTime\n }\n organizationName\n parkingInformation\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 communication {\n coding {\n code\n system\n display\n }\n text\n }\n acceptingNewPatients\n acceptedAgeRanges {\n years {\n gt\n gte\n lt\n lte\n }\n months {\n gt\n gte\n lt\n lte\n }\n }\n partOf {\n id\n content\n endpointName\n }\n reviewScore {\n group {\n population {\n count\n }\n measureScore {\n value\n }\n }\n }\n practitionerQualification {\n code {\n coding {\n code\n system\n }\n }\n period {\n start\n }\n issuer {\n reference\n display\n }\n }\n }\n }\n}\n ";
|
|
169
|
+
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 extension {\n url\n valueString\n }\n }\n }\n results {\n type\n photo {\n url\n }\n id\n content\n nextAvailableSlot {\n appointmentType\n start\n }\n specialty {\n code\n system\n display\n }\n meta {\n security {\n code\n system\n display\n }\n }\n insurancePlan {\n id\n ownedBy {\n display\n }\n plan {\n identifier {\n value\n }\n }\n }\n isVirtualCare\n bookable {\n online\n phone\n }\n location {\n identifier {\n value\n system\n }\n description\n scheduling {\n identifier {\n value\n system\n }\n bookable {\n online\n phone\n }\n }\n name\n address {\n line\n city\n state\n postalCode\n country\n }\n position {\n latitude\n longitude\n }\n telecom {\n system\n value\n }\n distanceInMiles\n hoursOfOperation {\n daysOfWeek\n openingTime\n closingTime\n }\n organizationName\n parkingInformation\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 communication {\n coding {\n code\n system\n display\n }\n text\n }\n acceptingNewPatients\n acceptedAgeRanges {\n years {\n gt\n gte\n lt\n lte\n }\n months {\n gt\n gte\n lt\n lte\n }\n }\n partOf {\n id\n content\n endpointName\n }\n reviewScore {\n group {\n population {\n count\n }\n measureScore {\n value\n }\n }\n }\n practitionerQualification {\n code {\n coding {\n code\n system\n }\n }\n period {\n start\n }\n issuer {\n reference\n display\n }\n }\n }\n }\n}\n ";
|
|
169
170
|
export declare const CreateSupportCommentDocument = "\n mutation CreateSupportComment($input: CreateSupportCommentInput!) {\n createSupportComment(input: $input) {\n comment {\n id\n body\n htmlBody\n author {\n name\n email\n }\n attachments {\n id\n fileName\n contentType\n size\n }\n createdAt\n }\n }\n}\n ";
|
|
170
171
|
export declare const CreateSupportRequestDocument = "\n mutation CreateSupportRequest($input: CreateSupportRequestInput!) {\n createSupportRequest(input: $input) {\n data {\n id\n subject\n category\n created\n lastActivity\n status\n }\n }\n}\n ";
|
|
171
172
|
export declare const DeleteSupportAttachmentDocument = "\n mutation DeleteSupportAttachment($input: DeleteSupportAttachmentInput!) {\n deleteSupportAttachment(input: $input) {\n status\n }\n}\n ";
|
|
@@ -262,6 +263,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
262
263
|
headers: Headers;
|
|
263
264
|
status: number;
|
|
264
265
|
}>;
|
|
266
|
+
RequestDataSharingToken(variables: Types.RequestDataSharingTokenMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
267
|
+
data: Types.RequestDataSharingTokenMutationResults;
|
|
268
|
+
errors?: GraphQLError[];
|
|
269
|
+
extensions?: any;
|
|
270
|
+
headers: Headers;
|
|
271
|
+
status: number;
|
|
272
|
+
}>;
|
|
265
273
|
updateDeviceRegistration(variables: Types.UpdateDeviceRegistrationMutationVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
266
274
|
data: Types.UpdateDeviceRegistrationMutationResults;
|
|
267
275
|
errors?: GraphQLError[];
|
|
@@ -2053,6 +2053,16 @@ export const GetDataSharingGrantsDocument = `
|
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
2055
|
${DataSharingConsentFieldsFragmentDoc}`;
|
|
2056
|
+
export const RequestDataSharingTokenDocument = `
|
|
2057
|
+
mutation RequestDataSharingToken($input: RequestDataSharingTokenInput!) {
|
|
2058
|
+
requestDataSharingToken(input: $input) {
|
|
2059
|
+
access_token
|
|
2060
|
+
issued_token_type
|
|
2061
|
+
token_type
|
|
2062
|
+
expires_in
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
`;
|
|
2056
2066
|
export const UpdateDeviceRegistrationDocument = `
|
|
2057
2067
|
mutation updateDeviceRegistration($deviceToken: String!, $platformName: String!, $applicationName: String!, $notificationPreference: Boolean!) {
|
|
2058
2068
|
updateDeviceRegistration(
|
|
@@ -2280,6 +2290,23 @@ export const GetCoverageSummaryDocument = `
|
|
|
2280
2290
|
patientResponsibility
|
|
2281
2291
|
}
|
|
2282
2292
|
}
|
|
2293
|
+
benefits {
|
|
2294
|
+
type
|
|
2295
|
+
code
|
|
2296
|
+
title
|
|
2297
|
+
text
|
|
2298
|
+
}
|
|
2299
|
+
supplementalBenefits {
|
|
2300
|
+
code
|
|
2301
|
+
title
|
|
2302
|
+
text
|
|
2303
|
+
}
|
|
2304
|
+
documents {
|
|
2305
|
+
id
|
|
2306
|
+
code
|
|
2307
|
+
title
|
|
2308
|
+
url
|
|
2309
|
+
}
|
|
2283
2310
|
prescriptionResources {
|
|
2284
2311
|
formularyDocument
|
|
2285
2312
|
drugCoverageDocument
|
|
@@ -4417,6 +4444,7 @@ export const SearchHealthResourcesDocument = `
|
|
|
4417
4444
|
}
|
|
4418
4445
|
}
|
|
4419
4446
|
}
|
|
4447
|
+
isVirtualCare
|
|
4420
4448
|
bookable {
|
|
4421
4449
|
online
|
|
4422
4450
|
phone
|
|
@@ -4943,6 +4971,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
4943
4971
|
GetDataSharingGrants(variables, requestHeaders) {
|
|
4944
4972
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDataSharingGrantsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'GetDataSharingGrants', 'query', variables);
|
|
4945
4973
|
},
|
|
4974
|
+
RequestDataSharingToken(variables, requestHeaders) {
|
|
4975
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(RequestDataSharingTokenDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'RequestDataSharingToken', 'mutation', variables);
|
|
4976
|
+
},
|
|
4946
4977
|
updateDeviceRegistration(variables, requestHeaders) {
|
|
4947
4978
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(UpdateDeviceRegistrationDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'updateDeviceRegistration', 'mutation', variables);
|
|
4948
4979
|
},
|
|
@@ -9760,6 +9760,17 @@ export type GetDataSharingGrantsQueryResults = {
|
|
|
9760
9760
|
}>;
|
|
9761
9761
|
};
|
|
9762
9762
|
};
|
|
9763
|
+
export type RequestDataSharingTokenMutationVariables = Types.Exact<{
|
|
9764
|
+
input: Types.RequestDataSharingTokenInput;
|
|
9765
|
+
}>;
|
|
9766
|
+
export type RequestDataSharingTokenMutationResults = {
|
|
9767
|
+
requestDataSharingToken: {
|
|
9768
|
+
access_token: string;
|
|
9769
|
+
issued_token_type: string;
|
|
9770
|
+
token_type: string;
|
|
9771
|
+
expires_in: number;
|
|
9772
|
+
};
|
|
9773
|
+
};
|
|
9763
9774
|
export type UpdateDeviceRegistrationMutationVariables = Types.Exact<{
|
|
9764
9775
|
deviceToken: Types.Scalars['String']['input'];
|
|
9765
9776
|
platformName: Types.Scalars['String']['input'];
|
|
@@ -10009,6 +10020,23 @@ export type GetCoverageSummaryQueryResults = {
|
|
|
10009
10020
|
patientResponsibility: string | null;
|
|
10010
10021
|
} | null;
|
|
10011
10022
|
} | null;
|
|
10023
|
+
benefits: Array<{
|
|
10024
|
+
type: Types.CoverageBenefitType | null;
|
|
10025
|
+
code: string | null;
|
|
10026
|
+
title: string | null;
|
|
10027
|
+
text: string | null;
|
|
10028
|
+
}> | null;
|
|
10029
|
+
supplementalBenefits: Array<{
|
|
10030
|
+
code: string | null;
|
|
10031
|
+
title: string | null;
|
|
10032
|
+
text: string | null;
|
|
10033
|
+
}> | null;
|
|
10034
|
+
documents: Array<{
|
|
10035
|
+
id: string | null;
|
|
10036
|
+
code: string | null;
|
|
10037
|
+
title: string | null;
|
|
10038
|
+
url: string | null;
|
|
10039
|
+
}> | null;
|
|
10012
10040
|
prescriptionResources: {
|
|
10013
10041
|
formularyDocument: string | null;
|
|
10014
10042
|
drugCoverageDocument: string | null;
|
|
@@ -29470,6 +29498,7 @@ export type SearchHealthResourcesQueryResults = {
|
|
|
29470
29498
|
type: Types.SearchResultTypeEnum | null;
|
|
29471
29499
|
id: string | null;
|
|
29472
29500
|
content: string | null;
|
|
29501
|
+
isVirtualCare: boolean | null;
|
|
29473
29502
|
npi: Array<string | null> | null;
|
|
29474
29503
|
gender: Types.GenderEnum | null;
|
|
29475
29504
|
iconString: string | null;
|
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -721,6 +721,7 @@ export declare enum CategoryCode {
|
|
|
721
721
|
CmsNetworkShareMyRecords = "CMS_NETWORK_SHARE_MY_RECORDS",
|
|
722
722
|
CommunicationPreferencesPhi = "COMMUNICATION_PREFERENCES_PHI",
|
|
723
723
|
DataSharing = "DATA_SHARING",
|
|
724
|
+
DirectImportRecords = "DIRECT_IMPORT_RECORDS",
|
|
724
725
|
HealthCircleAdolescent = "HEALTH_CIRCLE_ADOLESCENT",
|
|
725
726
|
HealthCircleMinor = "HEALTH_CIRCLE_MINOR",
|
|
726
727
|
HealthMatch = "HEALTH_MATCH",
|
|
@@ -1177,6 +1178,8 @@ export type Connection = {
|
|
|
1177
1178
|
category: ConnectionCategory;
|
|
1178
1179
|
/** Token creation datetime */
|
|
1179
1180
|
created: Scalars['DateTime']['output'];
|
|
1181
|
+
/** URL to disconnect this device connection */
|
|
1182
|
+
disconnectUrl?: Maybe<Scalars['String']['output']>;
|
|
1180
1183
|
/** Uniquely identifies a data source */
|
|
1181
1184
|
id: Scalars['String']['output'];
|
|
1182
1185
|
/** Specifies whether the connection is direct or indirect or proa */
|
|
@@ -1361,7 +1364,6 @@ export type ConsentQuestionnaireResponse = {
|
|
|
1361
1364
|
};
|
|
1362
1365
|
export type ConsentSearch = {
|
|
1363
1366
|
category?: InputMaybe<CategoryCode>;
|
|
1364
|
-
organizationId?: InputMaybe<Scalars['String']['input']>;
|
|
1365
1367
|
patientId?: InputMaybe<Scalars['String']['input']>;
|
|
1366
1368
|
};
|
|
1367
1369
|
export type ConsentSourceInput = {
|
|
@@ -1401,13 +1403,6 @@ export type ConsentVerificationVerifiedWithReference = {
|
|
|
1401
1403
|
reference?: Maybe<Scalars['String']['output']>;
|
|
1402
1404
|
type?: Maybe<Scalars['URI']['output']>;
|
|
1403
1405
|
};
|
|
1404
|
-
export type ContactInfoInput = {
|
|
1405
|
-
birthDate?: InputMaybe<Scalars['String']['input']>;
|
|
1406
|
-
email: Scalars['String']['input'];
|
|
1407
|
-
firstName: Scalars['String']['input'];
|
|
1408
|
-
lastName: Scalars['String']['input'];
|
|
1409
|
-
phoneNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1410
|
-
};
|
|
1411
1406
|
export type ContactPoint = {
|
|
1412
1407
|
__typename?: 'ContactPoint';
|
|
1413
1408
|
extension?: Maybe<Array<Maybe<FhirExtension>>>;
|
|
@@ -1455,6 +1450,23 @@ export type CoverageBeneficiaryReference = {
|
|
|
1455
1450
|
resource?: Maybe<Patient>;
|
|
1456
1451
|
type?: Maybe<Scalars['URI']['output']>;
|
|
1457
1452
|
};
|
|
1453
|
+
/** A single plan benefit entry (from cost-sharing / supplemental benefits section). */
|
|
1454
|
+
export type CoverageBenefit = {
|
|
1455
|
+
__typename?: 'CoverageBenefit';
|
|
1456
|
+
/** Benefit code from section coding */
|
|
1457
|
+
code?: Maybe<Scalars['String']['output']>;
|
|
1458
|
+
/** Narrative/html text from section.text.div */
|
|
1459
|
+
text?: Maybe<Scalars['String']['output']>;
|
|
1460
|
+
/** Display title of the benefit */
|
|
1461
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
1462
|
+
/** Benefit type used to distinguish medical vs pharmacy */
|
|
1463
|
+
type?: Maybe<CoverageBenefitType>;
|
|
1464
|
+
};
|
|
1465
|
+
/** Discriminates between medical and pharmacy plan benefit entries. */
|
|
1466
|
+
export declare enum CoverageBenefitType {
|
|
1467
|
+
Medical = "MEDICAL",
|
|
1468
|
+
Pharmacy = "PHARMACY"
|
|
1469
|
+
}
|
|
1458
1470
|
/** Breakdown of benefits by type of care. */
|
|
1459
1471
|
export type CoverageBenefitTypes = {
|
|
1460
1472
|
__typename?: 'CoverageBenefitTypes';
|
|
@@ -1538,6 +1550,12 @@ export type CoverageMember = {
|
|
|
1538
1550
|
/** Reference to the FHIR Patient resource */
|
|
1539
1551
|
reference?: Maybe<Scalars['String']['output']>;
|
|
1540
1552
|
};
|
|
1553
|
+
/** Member forms document links for a coverage plan. */
|
|
1554
|
+
export type CoverageMemberForms = {
|
|
1555
|
+
__typename?: 'CoverageMemberForms';
|
|
1556
|
+
/** URL to the member forms document */
|
|
1557
|
+
memberFormsDocument?: Maybe<Scalars['String']['output']>;
|
|
1558
|
+
};
|
|
1541
1559
|
/** Cost information broken down by network type. */
|
|
1542
1560
|
export type CoverageNetworkBenefits = {
|
|
1543
1561
|
__typename?: 'CoverageNetworkBenefits';
|
|
@@ -1560,6 +1578,18 @@ export type CoveragePayorReference = {
|
|
|
1560
1578
|
resource?: Maybe<CoveragePayor>;
|
|
1561
1579
|
type?: Maybe<Scalars['URI']['output']>;
|
|
1562
1580
|
};
|
|
1581
|
+
/** A document associated with plan benefits. */
|
|
1582
|
+
export type CoveragePlanDocument = {
|
|
1583
|
+
__typename?: 'CoveragePlanDocument';
|
|
1584
|
+
/** Document code */
|
|
1585
|
+
code?: Maybe<Scalars['String']['output']>;
|
|
1586
|
+
/** Stable identifier for the document code */
|
|
1587
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
1588
|
+
/** Document display title */
|
|
1589
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
1590
|
+
/** Document URL */
|
|
1591
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
1592
|
+
};
|
|
1563
1593
|
/** Information about the insurance coverage plan including identifiers and dates. */
|
|
1564
1594
|
export type CoveragePlanInfo = {
|
|
1565
1595
|
__typename?: 'CoveragePlanInfo';
|
|
@@ -1611,22 +1641,30 @@ export type CoveragePrescriptionResources = {
|
|
|
1611
1641
|
/** A comprehensive summary of coverage plan information including benefits, members, and documents. */
|
|
1612
1642
|
export type CoverageSummary = {
|
|
1613
1643
|
__typename?: 'CoverageSummary';
|
|
1644
|
+
/** Plan benefits and cost-sharing entries grouped by category */
|
|
1645
|
+
benefits?: Maybe<Array<CoverageBenefit>>;
|
|
1614
1646
|
/** Aggregated claim information across all types */
|
|
1615
1647
|
claimsSummary?: Maybe<CoverageClaimsSummary>;
|
|
1616
1648
|
/** Additional members covered under this plan */
|
|
1617
1649
|
dependents?: Maybe<CoverageDependents>;
|
|
1650
|
+
/** Plan-related document links */
|
|
1651
|
+
documents?: Maybe<Array<CoveragePlanDocument>>;
|
|
1618
1652
|
/** Cost sharing details for family coverage (deductibles, out-of-pocket maximums) */
|
|
1619
1653
|
familyInsuranceDetails?: Maybe<CoverageFinancialDetails>;
|
|
1620
1654
|
/** Unique identifier for the coverage summary */
|
|
1621
1655
|
id?: Maybe<Scalars['ID']['output']>;
|
|
1622
1656
|
/** Cost sharing details for individual coverage (deductibles, out-of-pocket maximums) */
|
|
1623
1657
|
individualInsuranceDetails?: Maybe<CoverageFinancialDetails>;
|
|
1658
|
+
/** Member forms document links */
|
|
1659
|
+
memberForms?: Maybe<CoverageMemberForms>;
|
|
1624
1660
|
/** Details about the insurance plan */
|
|
1625
1661
|
planInfo?: Maybe<CoveragePlanInfo>;
|
|
1626
1662
|
/** Prescription-related resource documents (formulary, drug coverage, pharmacy directory) */
|
|
1627
1663
|
prescriptionResources?: Maybe<CoveragePrescriptionResources>;
|
|
1628
1664
|
/** Primary account holder and plan subscriber */
|
|
1629
1665
|
subscriber?: Maybe<CoverageMember>;
|
|
1666
|
+
/** Plan supplemental benefits entries */
|
|
1667
|
+
supplementalBenefits?: Maybe<Array<CoverageSupplementalBenefit>>;
|
|
1630
1668
|
};
|
|
1631
1669
|
export type CoverageSummaryQueryRequest = {
|
|
1632
1670
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1644,10 +1682,20 @@ export type CoverageSummaryQueryResults = PagedQueryResults & {
|
|
|
1644
1682
|
/** List of coverage summary resources */
|
|
1645
1683
|
resources: Array<CoverageSummary>;
|
|
1646
1684
|
};
|
|
1685
|
+
/** A single supplemental plan benefit entry. */
|
|
1686
|
+
export type CoverageSupplementalBenefit = {
|
|
1687
|
+
__typename?: 'CoverageSupplementalBenefit';
|
|
1688
|
+
/** Benefit code from section coding */
|
|
1689
|
+
code?: Maybe<Scalars['String']['output']>;
|
|
1690
|
+
/** Narrative/html text from section.text.div */
|
|
1691
|
+
text?: Maybe<Scalars['String']['output']>;
|
|
1692
|
+
/** Display title of the benefit */
|
|
1693
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
1694
|
+
};
|
|
1647
1695
|
export type CreateHealthLinkInput = {
|
|
1648
1696
|
label?: InputMaybe<Scalars['String']['input']>;
|
|
1649
1697
|
resources?: InputMaybe<Array<ResourceInput>>;
|
|
1650
|
-
securityConfig
|
|
1698
|
+
securityConfig?: InputMaybe<SecurityConfigInput>;
|
|
1651
1699
|
};
|
|
1652
1700
|
export type CreateSupportCommentInput = {
|
|
1653
1701
|
body: Scalars['String']['input'];
|
|
@@ -1689,6 +1737,7 @@ export declare enum DataConnectionStatus {
|
|
|
1689
1737
|
/** Defines the source type of connection */
|
|
1690
1738
|
export declare enum DataConnectionType {
|
|
1691
1739
|
Clinical = "CLINICAL",
|
|
1740
|
+
Device = "DEVICE",
|
|
1692
1741
|
Insurance = "INSURANCE",
|
|
1693
1742
|
Lab = "LAB",
|
|
1694
1743
|
Pharmacy = "PHARMACY",
|
|
@@ -2833,6 +2882,7 @@ export type HealthResourceSearchResult = {
|
|
|
2833
2882
|
iconString?: Maybe<Scalars['String']['output']>;
|
|
2834
2883
|
id?: Maybe<Scalars['String']['output']>;
|
|
2835
2884
|
insurancePlan?: Maybe<Array<Maybe<ProviderInsurancePlan>>>;
|
|
2885
|
+
isVirtualCare?: Maybe<Scalars['Boolean']['output']>;
|
|
2836
2886
|
location?: Maybe<Array<Maybe<ProviderLocation>>>;
|
|
2837
2887
|
meta?: Maybe<MetaType>;
|
|
2838
2888
|
name?: Maybe<Array<Maybe<HumanName>>>;
|
|
@@ -3239,6 +3289,14 @@ export type InsurancePlanInput = {
|
|
|
3239
3289
|
/** The specific plan identifier within the owner's offerings */
|
|
3240
3290
|
plan: Scalars['String']['input'];
|
|
3241
3291
|
};
|
|
3292
|
+
/** Defines the integration type of a connection */
|
|
3293
|
+
export declare enum IntegrationType {
|
|
3294
|
+
Direct = "DIRECT",
|
|
3295
|
+
DirectIas = "DIRECT_IAS",
|
|
3296
|
+
Ial2 = "IAL2",
|
|
3297
|
+
IndirectIas = "INDIRECT_IAS",
|
|
3298
|
+
Proa = "PROA"
|
|
3299
|
+
}
|
|
3242
3300
|
export declare enum InteractionType {
|
|
3243
3301
|
Clicked = "clicked"
|
|
3244
3302
|
}
|
|
@@ -3367,6 +3425,11 @@ export type Location = Resource & {
|
|
|
3367
3425
|
telecom?: Maybe<Array<Maybe<ContactPoint>>>;
|
|
3368
3426
|
type?: Maybe<Array<Maybe<CodeableConcept>>>;
|
|
3369
3427
|
};
|
|
3428
|
+
/** Input for filtering providers by location attributes. */
|
|
3429
|
+
export type LocationInput = {
|
|
3430
|
+
/** Filter by Facility ID values from the location facility_id field */
|
|
3431
|
+
facilityId?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3432
|
+
};
|
|
3370
3433
|
export type LocationManagingOrganizationReference = {
|
|
3371
3434
|
__typename?: 'LocationManagingOrganizationReference';
|
|
3372
3435
|
display?: Maybe<Scalars['String']['output']>;
|
|
@@ -4075,8 +4138,9 @@ export type MutationCreateAuthCodeArgs = {
|
|
|
4075
4138
|
};
|
|
4076
4139
|
export type MutationCreateConnectionArgs = {
|
|
4077
4140
|
connectionId: Scalars['String']['input'];
|
|
4078
|
-
|
|
4079
|
-
|
|
4141
|
+
integrationType?: InputMaybe<IntegrationType>;
|
|
4142
|
+
password?: InputMaybe<Scalars['String']['input']>;
|
|
4143
|
+
username?: InputMaybe<Scalars['String']['input']>;
|
|
4080
4144
|
};
|
|
4081
4145
|
export type MutationCreateConsentArgs = {
|
|
4082
4146
|
consentInput: ConsentInput;
|
|
@@ -5331,6 +5395,7 @@ export type ProviderCoding = {
|
|
|
5331
5395
|
};
|
|
5332
5396
|
export type ProviderConfig = {
|
|
5333
5397
|
__typename?: 'ProviderConfig';
|
|
5398
|
+
authDomain?: Maybe<Scalars['String']['output']>;
|
|
5334
5399
|
flows?: Maybe<Array<FlowMetadata>>;
|
|
5335
5400
|
tenantId?: Maybe<Scalars['String']['output']>;
|
|
5336
5401
|
};
|
|
@@ -5379,6 +5444,7 @@ export type ProviderInsurancePlan = {
|
|
|
5379
5444
|
* and adds distanceInMiles
|
|
5380
5445
|
* and adds https://www.hl7.org/fhir/schedule.html
|
|
5381
5446
|
* and adds organizationName for managing organization
|
|
5447
|
+
* and adds facilityId for location-level facility identifier
|
|
5382
5448
|
*/
|
|
5383
5449
|
export type ProviderLocation = {
|
|
5384
5450
|
__typename?: 'ProviderLocation';
|
|
@@ -5386,6 +5452,7 @@ export type ProviderLocation = {
|
|
|
5386
5452
|
alias?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
5387
5453
|
description?: Maybe<Scalars['String']['output']>;
|
|
5388
5454
|
distanceInMiles?: Maybe<Scalars['Float']['output']>;
|
|
5455
|
+
facilityId?: Maybe<Scalars['String']['output']>;
|
|
5389
5456
|
hoursOfOperation?: Maybe<Array<Maybe<HoursOfOperationType>>>;
|
|
5390
5457
|
identifier?: Maybe<Array<Maybe<ProviderIdentifier>>>;
|
|
5391
5458
|
name?: Maybe<Scalars['String']['output']>;
|
|
@@ -6759,6 +6826,8 @@ export type SearchFiltersInput = {
|
|
|
6759
6826
|
includePopulatedProaOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6760
6827
|
/** Return providers/practices who accept specified insurance plans */
|
|
6761
6828
|
insurancePlan?: InputMaybe<Array<InsurancePlanInput>>;
|
|
6829
|
+
/** Filter by location fields */
|
|
6830
|
+
location?: InputMaybe<LocationInput>;
|
|
6762
6831
|
/** Return only providers with available appointment slots matching these criteria */
|
|
6763
6832
|
nextAvailableSlot?: InputMaybe<Array<InputMaybe<NextAvailableSlotInput>>>;
|
|
6764
6833
|
/** Return only providers who accept this type of patient (new, existing, or both) */
|
|
@@ -6963,7 +7032,12 @@ export type Security = {
|
|
|
6963
7032
|
system?: Maybe<Scalars['String']['output']>;
|
|
6964
7033
|
};
|
|
6965
7034
|
export type SecurityConfigInput = {
|
|
6966
|
-
|
|
7035
|
+
/** Maximum number of times the SHL can be accessed. Default: 2. Max: 3. */
|
|
7036
|
+
accessLimit?: InputMaybe<Scalars['Int']['input']>;
|
|
7037
|
+
/** Expiration time in minutes. Default: 5. Max: 2880 (2 days). */
|
|
7038
|
+
expirationMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
7039
|
+
/** PIN/passcode for accessing the SHL. If set, uses manifest flow (P flag). If omitted, uses passcode-less flow (U flag). */
|
|
7040
|
+
passcode?: InputMaybe<Scalars['String']['input']>;
|
|
6967
7041
|
};
|
|
6968
7042
|
export declare enum SensitiveDataTag {
|
|
6969
7043
|
Abortion = "ABORTION",
|
package/dist/graphql/schema.js
CHANGED
|
@@ -36,6 +36,7 @@ export var CategoryCode;
|
|
|
36
36
|
CategoryCode["CmsNetworkShareMyRecords"] = "CMS_NETWORK_SHARE_MY_RECORDS";
|
|
37
37
|
CategoryCode["CommunicationPreferencesPhi"] = "COMMUNICATION_PREFERENCES_PHI";
|
|
38
38
|
CategoryCode["DataSharing"] = "DATA_SHARING";
|
|
39
|
+
CategoryCode["DirectImportRecords"] = "DIRECT_IMPORT_RECORDS";
|
|
39
40
|
CategoryCode["HealthCircleAdolescent"] = "HEALTH_CIRCLE_ADOLESCENT";
|
|
40
41
|
CategoryCode["HealthCircleMinor"] = "HEALTH_CIRCLE_MINOR";
|
|
41
42
|
CategoryCode["HealthMatch"] = "HEALTH_MATCH";
|
|
@@ -96,6 +97,12 @@ export var ConsentStatus;
|
|
|
96
97
|
ConsentStatus["Proposed"] = "PROPOSED";
|
|
97
98
|
ConsentStatus["Rejected"] = "REJECTED";
|
|
98
99
|
})(ConsentStatus || (ConsentStatus = {}));
|
|
100
|
+
/** Discriminates between medical and pharmacy plan benefit entries. */
|
|
101
|
+
export var CoverageBenefitType;
|
|
102
|
+
(function (CoverageBenefitType) {
|
|
103
|
+
CoverageBenefitType["Medical"] = "MEDICAL";
|
|
104
|
+
CoverageBenefitType["Pharmacy"] = "PHARMACY";
|
|
105
|
+
})(CoverageBenefitType || (CoverageBenefitType = {}));
|
|
99
106
|
/** Supported ISO 4217 CurrencyCodes */
|
|
100
107
|
export var CurrencyCode;
|
|
101
108
|
(function (CurrencyCode) {
|
|
@@ -120,6 +127,7 @@ export var DataConnectionStatus;
|
|
|
120
127
|
export var DataConnectionType;
|
|
121
128
|
(function (DataConnectionType) {
|
|
122
129
|
DataConnectionType["Clinical"] = "CLINICAL";
|
|
130
|
+
DataConnectionType["Device"] = "DEVICE";
|
|
123
131
|
DataConnectionType["Insurance"] = "INSURANCE";
|
|
124
132
|
DataConnectionType["Lab"] = "LAB";
|
|
125
133
|
DataConnectionType["Pharmacy"] = "PHARMACY";
|
|
@@ -278,6 +286,15 @@ export var IdpProvider;
|
|
|
278
286
|
IdpProvider["Cognito"] = "COGNITO";
|
|
279
287
|
IdpProvider["Descope"] = "DESCOPE";
|
|
280
288
|
})(IdpProvider || (IdpProvider = {}));
|
|
289
|
+
/** Defines the integration type of a connection */
|
|
290
|
+
export var IntegrationType;
|
|
291
|
+
(function (IntegrationType) {
|
|
292
|
+
IntegrationType["Direct"] = "DIRECT";
|
|
293
|
+
IntegrationType["DirectIas"] = "DIRECT_IAS";
|
|
294
|
+
IntegrationType["Ial2"] = "IAL2";
|
|
295
|
+
IntegrationType["IndirectIas"] = "INDIRECT_IAS";
|
|
296
|
+
IntegrationType["Proa"] = "PROA";
|
|
297
|
+
})(IntegrationType || (IntegrationType = {}));
|
|
281
298
|
export var InteractionType;
|
|
282
299
|
(function (InteractionType) {
|
|
283
300
|
InteractionType["Clicked"] = "clicked";
|