@icanbwell/bwell-sdk-ts 1.44.0-rc.1762272531 → 1.45.0-rc.1762934321
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/search/index.d.ts +1 -0
- package/dist/api/base/search/index.js +1 -0
- package/dist/api/base/search/search-health-resources-request.d.ts +7 -1
- package/dist/api/graphql-api/search/search-health-resources-request-factory.js +1 -0
- package/dist/graphql/operations/index.d.ts +1 -1
- package/dist/graphql/operations/index.js +14 -0
- package/dist/graphql/operations/types.d.ts +14 -0
- package/dist/graphql/schema.d.ts +112 -4
- package/dist/graphql/schema.js +7 -2
- package/package.json +1 -1
package/dist/__version__.d.ts
CHANGED
package/dist/__version__.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { SearchContextEnum } from "../../../graphql/schema.js";
|
|
1
2
|
export type { SearchResults, RequestConnectionResults, SearchManager, SearchHealthResourcesResults, } from "./search-manager.js";
|
|
2
3
|
export { SearchRequest, SearchRequestInput, FilterField, OrganizationType, OrderBy, SortOrder, SortField, SearchPosition, } from "./search-request.js";
|
|
3
4
|
export { RequestConnectionRequestInput, RequestConnectionRequest, } from "./request-connection-request.js";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { SearchContextEnum } from "../../../graphql/schema.js";
|
|
1
2
|
export { SearchRequest, } from "./search-request.js";
|
|
2
3
|
export { RequestConnectionRequest, } from "./request-connection-request.js";
|
|
3
4
|
export { SearchHealthResourcesRequest, } from "./search-health-resources-request.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ClientInput, FilterField as GraphQLFilterField, OrganizationType as GraphQLOrganizationType, SortField as GraphQLSortField, SortOrder as GraphQLSortOrder, OrderByInput, SearchFiltersInput, SearchLocation, UserInput } from "../../../graphql/schema.js";
|
|
2
2
|
import { PagedRequest, PagedRequestInput, PagedRequestValidator } from "../../../requests/index.js";
|
|
3
|
+
import { SearchContextEnum } from "./index.js";
|
|
3
4
|
/**
|
|
4
5
|
* Type representing the search filters for health resources.
|
|
5
6
|
*/
|
|
@@ -55,7 +56,7 @@ export type SearchHealthResourcesRequestInput = PagedRequestInput & {
|
|
|
55
56
|
/**
|
|
56
57
|
* The client configuration to search for health resources.
|
|
57
58
|
*/
|
|
58
|
-
client
|
|
59
|
+
client?: [ClientInput];
|
|
59
60
|
/**
|
|
60
61
|
* The filters to apply to the search.
|
|
61
62
|
*/
|
|
@@ -77,6 +78,11 @@ export type SearchHealthResourcesRequestInput = PagedRequestInput & {
|
|
|
77
78
|
* The user for whom the search is being performed.
|
|
78
79
|
*/
|
|
79
80
|
user?: UserInput;
|
|
81
|
+
/**
|
|
82
|
+
* Defines the context in which a search is being performed, which determines
|
|
83
|
+
* which configurations are applied to the search results.
|
|
84
|
+
*/
|
|
85
|
+
searchContext?: SearchContextEnum;
|
|
80
86
|
};
|
|
81
87
|
/**
|
|
82
88
|
* Request for searching health resources.
|
|
@@ -13,6 +13,7 @@ export class SearchHealthResourcesRequestFactory {
|
|
|
13
13
|
return {
|
|
14
14
|
searchInput: {
|
|
15
15
|
client: input.client,
|
|
16
|
+
searchContext: input.searchContext,
|
|
16
17
|
filters: (_a = input.filters) !== null && _a !== void 0 ? _a : null,
|
|
17
18
|
orderBy: (_b = input.orderBy) !== null && _b !== void 0 ? _b : null,
|
|
18
19
|
paging: {
|
|
@@ -142,7 +142,7 @@ export declare const GetQuestionnairesDocument = "\n query getQuestionnaires(
|
|
|
142
142
|
export declare const SaveQuestionnaireResponseDocument = "\n mutation saveQuestionnaireResponse($questionnaireResponse: QuestionnaireResponseInput!) {\n saveQuestionnaireResponse(input: $questionnaireResponse) {\n ...QuestionnaireResponseFields\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 }\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 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 }\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 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 ";
|
|
143
143
|
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 ";
|
|
144
144
|
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 ";
|
|
145
|
-
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 }\n }\n results {\n type\n id\n content\n specialty {\n code\n system\n display\n }\n location {\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 }\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 }\n }\n}\n ";
|
|
145
|
+
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 }\n }\n results {\n type\n id\n content\n specialty {\n code\n system\n display\n }\n bookable {\n online\n phone\n }\n location {\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 }\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 }\n }\n}\n ";
|
|
146
146
|
export declare const CreateConsentDocument = "\n mutation createConsent($consentInput: ConsentInput!) {\n createConsent(consentInput: $consentInput) {\n id\n meta {\n source\n versionId\n lastUpdated\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n }\n status\n scope {\n coding {\n code\n system\n display\n }\n text\n }\n category {\n coding {\n code\n system\n display\n }\n text\n }\n patient {\n reference\n identifier {\n id\n system\n value\n }\n type\n display\n }\n dateTime\n performer {\n reference\n identifier {\n id\n system\n value\n }\n type\n display\n }\n organization {\n reference\n identifier {\n id\n system\n value\n }\n type\n display\n }\n policy {\n authority\n uri\n }\n policyRule {\n coding {\n code\n system\n display\n }\n text\n }\n provision {\n type\n period {\n ...PeriodFields\n }\n }\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n ";
|
|
147
147
|
export declare const CreateDataExportDirectDownloadUrlDocument = "\n mutation CreateDataExportDirectDownloadUrl($exportId: String!, $password: String!) {\n createDataExportDirectDownloadUrl(exportId: $exportId, password: $password)\n}\n ";
|
|
148
148
|
export declare const CreateVerificationUrlDocument = "\n mutation CreateVerificationUrl($callbackURL: String, $includeAttributeMatchingCheck: Boolean) {\n createVerificationUrl(\n callbackURL: $callbackURL\n includeAttributeMatchingCheck: $includeAttributeMatchingCheck\n )\n}\n ";
|
|
@@ -3426,7 +3426,21 @@ export const SearchHealthResourcesDocument = `
|
|
|
3426
3426
|
system
|
|
3427
3427
|
display
|
|
3428
3428
|
}
|
|
3429
|
+
bookable {
|
|
3430
|
+
online
|
|
3431
|
+
phone
|
|
3432
|
+
}
|
|
3429
3433
|
location {
|
|
3434
|
+
scheduling {
|
|
3435
|
+
identifier {
|
|
3436
|
+
value
|
|
3437
|
+
system
|
|
3438
|
+
}
|
|
3439
|
+
bookable {
|
|
3440
|
+
online
|
|
3441
|
+
phone
|
|
3442
|
+
}
|
|
3443
|
+
}
|
|
3430
3444
|
name
|
|
3431
3445
|
address {
|
|
3432
3446
|
line
|
|
@@ -21504,9 +21504,23 @@ export type SearchHealthResourcesQueryResults = {
|
|
|
21504
21504
|
system: string | null;
|
|
21505
21505
|
display: string | null;
|
|
21506
21506
|
} | null> | null;
|
|
21507
|
+
bookable: {
|
|
21508
|
+
online: boolean | null;
|
|
21509
|
+
phone: boolean | null;
|
|
21510
|
+
} | null;
|
|
21507
21511
|
location: Array<{
|
|
21508
21512
|
name: string | null;
|
|
21509
21513
|
distanceInMiles: number | null;
|
|
21514
|
+
scheduling: {
|
|
21515
|
+
identifier: Array<{
|
|
21516
|
+
value: string | null;
|
|
21517
|
+
system: string | null;
|
|
21518
|
+
} | null> | null;
|
|
21519
|
+
bookable: {
|
|
21520
|
+
online: boolean | null;
|
|
21521
|
+
phone: boolean | null;
|
|
21522
|
+
} | null;
|
|
21523
|
+
} | null;
|
|
21510
21524
|
address: {
|
|
21511
21525
|
line: Array<string | null> | null;
|
|
21512
21526
|
city: string | null;
|
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -491,6 +491,7 @@ export type BootstrapConfiguration = {
|
|
|
491
491
|
frontendEnvironment: FrontendEnvironment;
|
|
492
492
|
googleGeo: GoogleGeo;
|
|
493
493
|
jwksKid: Scalars['String']['output'];
|
|
494
|
+
mcp: McpMap;
|
|
494
495
|
prefetchAssets: PrefetchAssets;
|
|
495
496
|
telemetry: Telemetry;
|
|
496
497
|
userProfileSvcUrl: Scalars['String']['output'];
|
|
@@ -2812,6 +2813,10 @@ export type Logging = {
|
|
|
2812
2813
|
__typename?: 'Logging';
|
|
2813
2814
|
enabled: Scalars['Boolean']['output'];
|
|
2814
2815
|
};
|
|
2816
|
+
export type McpMap = {
|
|
2817
|
+
__typename?: 'McpMap';
|
|
2818
|
+
bailey: Scalars['String']['output'];
|
|
2819
|
+
};
|
|
2815
2820
|
export type MedStatementCodeableConceptResource = {
|
|
2816
2821
|
__typename?: 'MedStatementCodeableConceptResource';
|
|
2817
2822
|
medicationCodeableConcept?: Maybe<CodeableConcept>;
|
|
@@ -3042,6 +3047,22 @@ export type MedicationRequestQueryResults = PagedQueryResults & {
|
|
|
3042
3047
|
paging_info?: Maybe<PagingResults>;
|
|
3043
3048
|
resources: Array<MedicationRequest>;
|
|
3044
3049
|
};
|
|
3050
|
+
export type MedicationStatement = {
|
|
3051
|
+
__typename?: 'MedicationStatement';
|
|
3052
|
+
/** Unique identifier for the medication statement */
|
|
3053
|
+
id: Scalars['ID']['output'];
|
|
3054
|
+
};
|
|
3055
|
+
/**
|
|
3056
|
+
* Input type for updating a MedicationStatement resource.
|
|
3057
|
+
* All fields are optional except for id.
|
|
3058
|
+
* Based on FHIR R4B MedicationStatement profile.
|
|
3059
|
+
*/
|
|
3060
|
+
export type MedicationStatementInput = {
|
|
3061
|
+
/** The logical id of the resource (required) */
|
|
3062
|
+
id: Scalars['ID']['input'];
|
|
3063
|
+
/** Status of the statement: active | completed */
|
|
3064
|
+
status?: InputMaybe<UpdateMedicationStatementStatus>;
|
|
3065
|
+
};
|
|
3045
3066
|
export type MedicationStatementQueryRequest = {
|
|
3046
3067
|
groupCode?: InputMaybe<SearchToken>;
|
|
3047
3068
|
ids?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -3408,6 +3429,15 @@ export type Mutation = {
|
|
|
3408
3429
|
updateAppointment: Appointment;
|
|
3409
3430
|
updateCareTeamMember: CareTeam;
|
|
3410
3431
|
updateDeviceRegistration?: Maybe<OperationOutcome>;
|
|
3432
|
+
/**
|
|
3433
|
+
* Updates a MedicationStatement resource.
|
|
3434
|
+
*
|
|
3435
|
+
* All fields in the input are optional except for the id field.
|
|
3436
|
+
* Only the fields provided in the input will be updated.
|
|
3437
|
+
*
|
|
3438
|
+
* Returns the updated MedicationStatement resource.
|
|
3439
|
+
*/
|
|
3440
|
+
updateMedicationStatement: MedicationStatement;
|
|
3411
3441
|
updatePersonAndPatient?: Maybe<UpdatedPersonMetadata>;
|
|
3412
3442
|
updatePersonDetails: Array<UpdatePersonDetailsOutput>;
|
|
3413
3443
|
updatePersonWithClientId?: Maybe<PersonWithMetadata>;
|
|
@@ -3592,6 +3622,9 @@ export type MutationUpdateCareTeamMemberArgs = {
|
|
|
3592
3622
|
export type MutationUpdateDeviceRegistrationArgs = {
|
|
3593
3623
|
input: UpdateDeviceRegistrationRequest;
|
|
3594
3624
|
};
|
|
3625
|
+
export type MutationUpdateMedicationStatementArgs = {
|
|
3626
|
+
input: MedicationStatementInput;
|
|
3627
|
+
};
|
|
3595
3628
|
export type MutationUpdatePersonAndPatientArgs = {
|
|
3596
3629
|
bwellPersonId?: InputMaybe<Scalars['String']['input']>;
|
|
3597
3630
|
clientPersonId?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -4831,6 +4864,8 @@ export type Query = {
|
|
|
4831
4864
|
* Searches providers based on filters.
|
|
4832
4865
|
*/
|
|
4833
4866
|
searchProviders: SearchProvidersResults;
|
|
4867
|
+
serviceRequests?: Maybe<ServiceRequestBundle>;
|
|
4868
|
+
specimens?: Maybe<SpecimenBundle>;
|
|
4834
4869
|
status?: Maybe<Scalars['String']['output']>;
|
|
4835
4870
|
subscription_subscription?: Maybe<Subscription_SubscriptionBundle>;
|
|
4836
4871
|
userProfile?: Maybe<Person>;
|
|
@@ -5132,6 +5167,24 @@ export type QuerySearchHealthResourcesArgs = {
|
|
|
5132
5167
|
export type QuerySearchProvidersArgs = {
|
|
5133
5168
|
searchProvidersInput?: InputMaybe<SearchProvidersInput>;
|
|
5134
5169
|
};
|
|
5170
|
+
export type QueryServiceRequestsArgs = {
|
|
5171
|
+
_count?: InputMaybe<Scalars['Int']['input']>;
|
|
5172
|
+
_getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
|
|
5173
|
+
_lastUpdated?: InputMaybe<SearchDate>;
|
|
5174
|
+
_sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
5175
|
+
_total?: InputMaybe<TotalType>;
|
|
5176
|
+
id?: InputMaybe<SearchString>;
|
|
5177
|
+
patient?: InputMaybe<SearchReference>;
|
|
5178
|
+
};
|
|
5179
|
+
export type QuerySpecimensArgs = {
|
|
5180
|
+
_count?: InputMaybe<Scalars['Int']['input']>;
|
|
5181
|
+
_getpagesoffset?: InputMaybe<Scalars['Int']['input']>;
|
|
5182
|
+
_lastUpdated?: InputMaybe<SearchDate>;
|
|
5183
|
+
_sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
5184
|
+
_total?: InputMaybe<TotalType>;
|
|
5185
|
+
id?: InputMaybe<SearchString>;
|
|
5186
|
+
patient?: InputMaybe<SearchReference>;
|
|
5187
|
+
};
|
|
5135
5188
|
export type QuerySubscription_SubscriptionArgs = {
|
|
5136
5189
|
_count?: InputMaybe<Scalars['Int']['input']>;
|
|
5137
5190
|
_debug?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -5777,8 +5830,8 @@ export type SdkConfiguration = {
|
|
|
5777
5830
|
* which configurations and filters are applied to the search results.
|
|
5778
5831
|
*/
|
|
5779
5832
|
export declare enum SearchContextEnum {
|
|
5780
|
-
|
|
5781
|
-
|
|
5833
|
+
DataConnections = "DATA_CONNECTIONS",
|
|
5834
|
+
FindCare = "FIND_CARE"
|
|
5782
5835
|
}
|
|
5783
5836
|
export type SearchDate = {
|
|
5784
5837
|
missing?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -6126,18 +6179,52 @@ export declare enum SourceEnum {
|
|
|
6126
6179
|
Sayt = "SAYT",
|
|
6127
6180
|
Unspecified = "UNSPECIFIED"
|
|
6128
6181
|
}
|
|
6129
|
-
export type Specimen = {
|
|
6182
|
+
export type Specimen = Resource & {
|
|
6130
6183
|
__typename?: 'Specimen';
|
|
6184
|
+
accessionIdentifier?: Maybe<Identifier>;
|
|
6185
|
+
collection?: Maybe<SpecimenCollection>;
|
|
6186
|
+
condition?: Maybe<Array<Maybe<CodeableConcept>>>;
|
|
6131
6187
|
id: Scalars['ID']['output'];
|
|
6188
|
+
identifier?: Maybe<Array<Maybe<Identifier>>>;
|
|
6189
|
+
implicitRules?: Maybe<Scalars['URI']['output']>;
|
|
6190
|
+
language?: Maybe<Scalars['Code']['output']>;
|
|
6191
|
+
meta?: Maybe<Meta>;
|
|
6192
|
+
resourceType?: Maybe<Scalars['String']['output']>;
|
|
6193
|
+
status?: Maybe<Scalars['Code']['output']>;
|
|
6194
|
+
subject?: Maybe<SpecimenSubjectReference>;
|
|
6195
|
+
type?: Maybe<CodeableConcept>;
|
|
6196
|
+
};
|
|
6197
|
+
export type SpecimenBundle = {
|
|
6198
|
+
__typename?: 'SpecimenBundle';
|
|
6199
|
+
entry?: Maybe<Array<Maybe<SpecimenBundleEntry>>>;
|
|
6200
|
+
total?: Maybe<Scalars['Int']['output']>;
|
|
6201
|
+
};
|
|
6202
|
+
export type SpecimenBundleEntry = {
|
|
6203
|
+
__typename?: 'SpecimenBundleEntry';
|
|
6204
|
+
resource?: Maybe<Specimen>;
|
|
6132
6205
|
};
|
|
6133
6206
|
export type SpecimenCollection = {
|
|
6134
6207
|
__typename?: 'SpecimenCollection';
|
|
6135
6208
|
bodySite?: Maybe<CodeableConcept>;
|
|
6209
|
+
collectedDateTime?: Maybe<Scalars['DateTime']['output']>;
|
|
6210
|
+
collector?: Maybe<SpecimenCollectionCollectorReference>;
|
|
6211
|
+
extension?: Maybe<Array<Maybe<FhirExtension>>>;
|
|
6212
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
6213
|
+
method?: Maybe<CodeableConcept>;
|
|
6214
|
+
modifierExtension?: Maybe<Array<Maybe<FhirExtension>>>;
|
|
6215
|
+
quantity?: Maybe<Quantity>;
|
|
6216
|
+
};
|
|
6217
|
+
export type SpecimenCollectionCollectorReference = {
|
|
6218
|
+
__typename?: 'SpecimenCollectionCollectorReference';
|
|
6219
|
+
display?: Maybe<Scalars['String']['output']>;
|
|
6220
|
+
identifier?: Maybe<Identifier>;
|
|
6221
|
+
reference?: Maybe<Scalars['String']['output']>;
|
|
6222
|
+
type?: Maybe<Scalars['URI']['output']>;
|
|
6136
6223
|
};
|
|
6137
6224
|
export type SpecimenResource = {
|
|
6138
6225
|
__typename?: 'SpecimenResource';
|
|
6139
6226
|
accessionIdentifier?: Maybe<Identifier>;
|
|
6140
|
-
collection?: Maybe<
|
|
6227
|
+
collection?: Maybe<SpecimenResourceCollection>;
|
|
6141
6228
|
condition?: Maybe<Array<Maybe<CodeableConcept>>>;
|
|
6142
6229
|
id: Scalars['ID']['output'];
|
|
6143
6230
|
identifier?: Maybe<Array<Maybe<Identifier>>>;
|
|
@@ -6146,7 +6233,18 @@ export type SpecimenResource = {
|
|
|
6146
6233
|
subject?: Maybe<SpecimenSubject>;
|
|
6147
6234
|
type?: Maybe<CodeableConcept>;
|
|
6148
6235
|
};
|
|
6236
|
+
export type SpecimenResourceCollection = {
|
|
6237
|
+
__typename?: 'SpecimenResourceCollection';
|
|
6238
|
+
bodySite?: Maybe<CodeableConcept>;
|
|
6239
|
+
};
|
|
6149
6240
|
export type SpecimenSubject = Patient;
|
|
6241
|
+
export type SpecimenSubjectReference = {
|
|
6242
|
+
__typename?: 'SpecimenSubjectReference';
|
|
6243
|
+
display?: Maybe<Scalars['String']['output']>;
|
|
6244
|
+
identifier?: Maybe<Identifier>;
|
|
6245
|
+
reference?: Maybe<Scalars['String']['output']>;
|
|
6246
|
+
type?: Maybe<Scalars['URI']['output']>;
|
|
6247
|
+
};
|
|
6150
6248
|
/** Represents the subject (patient or group) of the care plan. */
|
|
6151
6249
|
export type Subject = {
|
|
6152
6250
|
__typename?: 'Subject';
|
|
@@ -6464,6 +6562,16 @@ export type UpdateDeviceRegistrationRequest = {
|
|
|
6464
6562
|
notificationPreference: Scalars['Boolean']['input'];
|
|
6465
6563
|
platform?: InputMaybe<Scalars['String']['input']>;
|
|
6466
6564
|
};
|
|
6565
|
+
export type UpdateMedicationStatementResponse = {
|
|
6566
|
+
__typename?: 'UpdateMedicationStatementResponse';
|
|
6567
|
+
id: Scalars['ID']['output'];
|
|
6568
|
+
resourceType: Scalars['String']['output'];
|
|
6569
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
6570
|
+
};
|
|
6571
|
+
export declare enum UpdateMedicationStatementStatus {
|
|
6572
|
+
Active = "ACTIVE",
|
|
6573
|
+
Completed = "COMPLETED"
|
|
6574
|
+
}
|
|
6467
6575
|
export type UpdateTaskStatusInput = {
|
|
6468
6576
|
id: Scalars['String']['input'];
|
|
6469
6577
|
status: TaskStatus;
|
package/dist/graphql/schema.js
CHANGED
|
@@ -359,8 +359,8 @@ export var ResourceType;
|
|
|
359
359
|
*/
|
|
360
360
|
export var SearchContextEnum;
|
|
361
361
|
(function (SearchContextEnum) {
|
|
362
|
-
SearchContextEnum["
|
|
363
|
-
SearchContextEnum["
|
|
362
|
+
SearchContextEnum["DataConnections"] = "DATA_CONNECTIONS";
|
|
363
|
+
SearchContextEnum["FindCare"] = "FIND_CARE";
|
|
364
364
|
})(SearchContextEnum || (SearchContextEnum = {}));
|
|
365
365
|
export var SearchResultTypeEnum;
|
|
366
366
|
(function (SearchResultTypeEnum) {
|
|
@@ -440,6 +440,11 @@ export var TotalType;
|
|
|
440
440
|
TotalType["Accurate"] = "accurate";
|
|
441
441
|
TotalType["Estimate"] = "estimate";
|
|
442
442
|
})(TotalType || (TotalType = {}));
|
|
443
|
+
export var UpdateMedicationStatementStatus;
|
|
444
|
+
(function (UpdateMedicationStatementStatus) {
|
|
445
|
+
UpdateMedicationStatementStatus["Active"] = "ACTIVE";
|
|
446
|
+
UpdateMedicationStatementStatus["Completed"] = "COMPLETED";
|
|
447
|
+
})(UpdateMedicationStatementStatus || (UpdateMedicationStatementStatus = {}));
|
|
443
448
|
/** Error codes for verification failures */
|
|
444
449
|
export var VerificationErrorCode;
|
|
445
450
|
(function (VerificationErrorCode) {
|