@icanbwell/bwell-sdk-ts 1.4.0 → 1.5.0-rc.1734029178
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/health-data/health-data-request.d.ts +8 -0
- package/dist/api/base/health-data/health-data-request.js +5 -0
- package/dist/api/base/health-data/health-manager.d.ts +14 -2
- package/dist/api/base/health-data/index.d.ts +2 -2
- package/dist/api/base/health-data/index.js +1 -1
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +2 -1
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +18 -0
- package/dist/graphql/operations/index.d.ts +9 -1
- package/dist/graphql/operations/index.js +49 -1
- package/dist/graphql/operations/types.d.ts +88 -0
- package/dist/graphql/schema.d.ts +2 -0
- package/package.json +1 -1
package/dist/__version__.d.ts
CHANGED
package/dist/__version__.js
CHANGED
|
@@ -6,6 +6,9 @@ export type HealthDataRequestInput = PagedRequestInput & {
|
|
|
6
6
|
groupCode?: SearchToken;
|
|
7
7
|
lastUpdated?: SearchDate;
|
|
8
8
|
};
|
|
9
|
+
export type CareTeamRequestInput = PagedRequestInput & {
|
|
10
|
+
category?: string;
|
|
11
|
+
};
|
|
9
12
|
/**
|
|
10
13
|
* Validator for health data requests.
|
|
11
14
|
*/
|
|
@@ -64,6 +67,11 @@ export declare class LabGroupsRequest extends PagedRequest {
|
|
|
64
67
|
*/
|
|
65
68
|
export declare class CarePlansRequest extends HealthDataRequest {
|
|
66
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Request object for fetching care team data.
|
|
72
|
+
*/
|
|
73
|
+
export declare class CareTeamsRequest extends PagedRequest<CareTeamRequestInput> {
|
|
74
|
+
}
|
|
67
75
|
/**
|
|
68
76
|
* Request object for fetching care plan groups data.
|
|
69
77
|
*/
|
|
@@ -81,6 +81,11 @@ export class LabGroupsRequest extends PagedRequest {
|
|
|
81
81
|
*/
|
|
82
82
|
export class CarePlansRequest extends HealthDataRequest {
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Request object for fetching care team data.
|
|
86
|
+
*/
|
|
87
|
+
export class CareTeamsRequest extends PagedRequest {
|
|
88
|
+
}
|
|
84
89
|
/**
|
|
85
90
|
* Request object for fetching care plan groups data.
|
|
86
91
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GetAllergyIntoleranceGroupsQueryResults, GetAllergyIntolerancesQueryResults, GetCarePlanGroupsQueryResults, GetCarePlansQueryResults, GetConditionGroupsQueryResults, GetConditionsQueryResults, GetDocumentReferencesQueryResults, GetEncounterQueryResults, GetEncountersGroupQueryResults, GetHealthSummaryQueryResults, GetImmunizationGroupsQueryResults, GetImmunizationsQueryResults, GetLabGroupsQueryResults, GetLabKnowledgeQueryResults, GetLabsQueryResults, GetMedicationGroupsQueryResults, GetMedicationKnowledgeQueryResults, GetMedicationStatementsQueryResults, GetProcedureGroupsQueryResults, GetProceduresQueryResults, GetVitalSignGroupsQueryResults, GetVitalSignsQueryResults } from "../../../graphql/operations/types.js";
|
|
1
|
+
import { GetAllergyIntoleranceGroupsQueryResults, GetAllergyIntolerancesQueryResults, GetCarePlanGroupsQueryResults, GetCarePlansQueryResults, GetCareTeamsQueryResults, GetConditionGroupsQueryResults, GetConditionsQueryResults, GetDocumentReferencesQueryResults, GetEncounterQueryResults, GetEncountersGroupQueryResults, GetHealthSummaryQueryResults, GetImmunizationGroupsQueryResults, GetImmunizationsQueryResults, GetLabGroupsQueryResults, GetLabKnowledgeQueryResults, GetLabsQueryResults, GetMedicationGroupsQueryResults, GetMedicationKnowledgeQueryResults, GetMedicationStatementsQueryResults, GetProcedureGroupsQueryResults, GetProceduresQueryResults, GetVitalSignGroupsQueryResults, GetVitalSignsQueryResults } from "../../../graphql/operations/types.js";
|
|
2
2
|
import type { BWellQueryResult } from "../../../results/index.js";
|
|
3
3
|
import type { BaseManagerError } from "../errors.js";
|
|
4
|
-
import { AllergyIntoleranceGroupsRequest, AllergyIntolerancesRequest, CarePlanGroupsRequest, CarePlansRequest, ConditionGroupsRequest, ConditionsRequest, DocumentReferencesRequest, EncounterGroupsRequest, EncountersRequest, ImmunizationGroupsRequest, ImmunizationsRequest, LabGroupsRequest, LabsRequest, MedicationGroupsRequest, MedicationStatementsRequest, ProcedureGroupsRequest, ProceduresRequest, VitalSignGroupsRequest, VitalSignsRequest } from "./health-data-request.js";
|
|
4
|
+
import { AllergyIntoleranceGroupsRequest, AllergyIntolerancesRequest, CarePlanGroupsRequest, CarePlansRequest, CareTeamsRequest, ConditionGroupsRequest, ConditionsRequest, DocumentReferencesRequest, EncounterGroupsRequest, EncountersRequest, ImmunizationGroupsRequest, ImmunizationsRequest, LabGroupsRequest, LabsRequest, MedicationGroupsRequest, MedicationStatementsRequest, ProcedureGroupsRequest, ProceduresRequest, VitalSignGroupsRequest, VitalSignsRequest } from "./health-data-request.js";
|
|
5
5
|
import { LabKnowledgeRequest } from "./lab-knowledge-request.js";
|
|
6
6
|
import { MedicationKnowledgeRequest } from "./medication-knowledge-request.js";
|
|
7
7
|
type HealthSummaryResultsType = GetHealthSummaryQueryResults["getHealthSummary"];
|
|
@@ -34,6 +34,9 @@ export interface CarePlansResults extends CarePlansResultsType {
|
|
|
34
34
|
type CarePlanGroupsResultsType = GetCarePlanGroupsQueryResults["getCarePlanGroups"];
|
|
35
35
|
export interface CarePlanGroupsResults extends CarePlanGroupsResultsType {
|
|
36
36
|
}
|
|
37
|
+
type CareTeamsResultsType = GetCareTeamsQueryResults["getCareTeams"];
|
|
38
|
+
export interface CareTeamsResults extends CareTeamsResultsType {
|
|
39
|
+
}
|
|
37
40
|
type EncountersResultsType = GetEncounterQueryResults["getEncounters"];
|
|
38
41
|
export interface EncountersResults extends EncountersResultsType {
|
|
39
42
|
}
|
|
@@ -157,6 +160,15 @@ export interface HealthManager {
|
|
|
157
160
|
* @returns {Promise<BWellQueryResult<CarePlansResults>>} A promise resolving to an object representing the list of care plans retrieved.
|
|
158
161
|
*/
|
|
159
162
|
getCarePlans(request?: CarePlansRequest): Promise<BWellQueryResult<CarePlansResults>>;
|
|
163
|
+
/**
|
|
164
|
+
* Retrieves a list of care teams.
|
|
165
|
+
* See also https://build.fhir.org/careteam.html
|
|
166
|
+
*
|
|
167
|
+
* @param {CareTeamsRequest} request An optional request class for specifying the search criteria, for the retrieval of care teams resources.
|
|
168
|
+
*
|
|
169
|
+
* @returns {Promise<BWellQueryResult<CarePlansResults>>} A promise resolving to an object representing the list of care teams retrieved.
|
|
170
|
+
*/
|
|
171
|
+
getCareTeams(request?: CareTeamsRequest): Promise<BWellQueryResult<CareTeamsResults>>;
|
|
160
172
|
/**
|
|
161
173
|
* Retrieves a list of care plan groups resources.
|
|
162
174
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { HealthDataRequestInput, AllergyIntolerancesRequest, AllergyIntoleranceGroupsRequest, ConditionsRequest, ConditionGroupsRequest, DocumentReferencesRequest, LabsRequest, LabGroupsRequest, CarePlansRequest, CarePlanGroupsRequest, EncountersRequest, EncounterGroupsRequest, ImmunizationsRequest, ImmunizationGroupsRequest, ProceduresRequest, ProcedureGroupsRequest, VitalSignsRequest, VitalSignGroupsRequest, MedicationStatementsRequest, MedicationGroupsRequest, HealthDataRequest, } from "./health-data-request.js";
|
|
1
|
+
export { HealthDataRequestInput, AllergyIntolerancesRequest, AllergyIntoleranceGroupsRequest, ConditionsRequest, ConditionGroupsRequest, DocumentReferencesRequest, LabsRequest, LabGroupsRequest, CarePlansRequest, CarePlanGroupsRequest, CareTeamsRequest, EncountersRequest, EncounterGroupsRequest, ImmunizationsRequest, ImmunizationGroupsRequest, ProceduresRequest, ProcedureGroupsRequest, VitalSignsRequest, VitalSignGroupsRequest, MedicationStatementsRequest, MedicationGroupsRequest, HealthDataRequest, } from "./health-data-request.js";
|
|
2
2
|
export { MedicationKnowledgeRequest, MedicationKnowledgeRequestInput, } from "./medication-knowledge-request.js";
|
|
3
3
|
export { LabKnowledgeRequest, LabKnowledgeRequestInput, } from "./lab-knowledge-request.js";
|
|
4
|
-
export { HealthSummaryResults, AllergyIntolerancesResults, AllergyIntolerancesGroupsResults, ConditionsResults, ConditionGroupsResults, DocumentReferencesResults, LabsResults, LabGroupsResults, CarePlansResults, CarePlanGroupsResults, EncountersResults, EncounterGroupsResults, ImmunizationsResults, ImmunizationGroupsResults, ProceduresResults, ProcedureGroupsResults, VitalSignsResults, VitalSignGroupsResults, MedicationStatementsResults, MedicationKnowledgeResults, MedicationGroupsResults, LabKnowledgeResults, HealthManager, } from "./health-manager.js";
|
|
4
|
+
export { HealthSummaryResults, AllergyIntolerancesResults, AllergyIntolerancesGroupsResults, ConditionsResults, ConditionGroupsResults, DocumentReferencesResults, LabsResults, LabGroupsResults, CarePlansResults, CarePlanGroupsResults, CareTeamsResults, EncountersResults, EncounterGroupsResults, ImmunizationsResults, ImmunizationGroupsResults, ProceduresResults, ProcedureGroupsResults, VitalSignsResults, VitalSignGroupsResults, MedicationStatementsResults, MedicationKnowledgeResults, MedicationGroupsResults, LabKnowledgeResults, HealthManager, } from "./health-manager.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AllergyIntolerancesRequest, AllergyIntoleranceGroupsRequest, ConditionsRequest, ConditionGroupsRequest, DocumentReferencesRequest, LabsRequest, LabGroupsRequest, CarePlansRequest, CarePlanGroupsRequest, EncountersRequest, EncounterGroupsRequest, ImmunizationsRequest, ImmunizationGroupsRequest, ProceduresRequest, ProcedureGroupsRequest, VitalSignsRequest, VitalSignGroupsRequest, MedicationStatementsRequest, MedicationGroupsRequest, HealthDataRequest, } from "./health-data-request.js";
|
|
1
|
+
export { AllergyIntolerancesRequest, AllergyIntoleranceGroupsRequest, ConditionsRequest, ConditionGroupsRequest, DocumentReferencesRequest, LabsRequest, LabGroupsRequest, CarePlansRequest, CarePlanGroupsRequest, CareTeamsRequest, EncountersRequest, EncounterGroupsRequest, ImmunizationsRequest, ImmunizationGroupsRequest, ProceduresRequest, ProcedureGroupsRequest, VitalSignsRequest, VitalSignGroupsRequest, MedicationStatementsRequest, MedicationGroupsRequest, HealthDataRequest, } from "./health-data-request.js";
|
|
2
2
|
export { MedicationKnowledgeRequest, } from "./medication-knowledge-request.js";
|
|
3
3
|
export { LabKnowledgeRequest, } from "./lab-knowledge-request.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ValidationError } from "../../../errors/index.js";
|
|
1
|
+
import { BWellError, ValidationError } from "../../../errors/index.js";
|
|
2
2
|
import { LoggerProvider } from "../../../logger/index.js";
|
|
3
3
|
import { BWellQueryResult } from "../../../results/index.js";
|
|
4
4
|
import { BaseManagerError } from "../../base/errors.js";
|
|
@@ -19,6 +19,7 @@ export declare class GraphQLHealthManager extends GraphQLManager implements Heal
|
|
|
19
19
|
getLabGroups(request?: health.LabGroupsRequest): Promise<BWellQueryResult<health.LabGroupsResults, ValidationError | BaseManagerError>>;
|
|
20
20
|
getCarePlans(request?: health.CarePlansRequest): Promise<BWellQueryResult<health.CarePlansResults, ValidationError | BaseManagerError>>;
|
|
21
21
|
getCarePlanGroups(request?: health.CarePlanGroupsRequest): Promise<BWellQueryResult<health.CarePlanGroupsResults, ValidationError | BaseManagerError>>;
|
|
22
|
+
getCareTeams(request?: health.CareTeamsRequest | undefined): Promise<BWellQueryResult<health.CareTeamsResults, BWellError>>;
|
|
22
23
|
getEncounters(request?: health.EncountersRequest): Promise<BWellQueryResult<health.EncountersResults, ValidationError | BaseManagerError>>;
|
|
23
24
|
getEncounterGroups(request?: health.EncounterGroupsRequest): Promise<BWellQueryResult<health.EncounterGroupsResults, ValidationError | BaseManagerError>>;
|
|
24
25
|
getImmunizations(request?: health.ImmunizationsRequest): Promise<BWellQueryResult<health.ImmunizationsResults, ValidationError | BaseManagerError>>;
|
|
@@ -201,6 +201,24 @@ export class GraphQLHealthManager extends GraphQLManager {
|
|
|
201
201
|
return new BWellQueryResult((_b = result.data) === null || _b === void 0 ? void 0 : _b.getCarePlanGroups, result.error);
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
+
getCareTeams(request) {
|
|
205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
206
|
+
var _a, _b;
|
|
207
|
+
const validationResult = this.validateRequest(request);
|
|
208
|
+
if (validationResult.failure()) {
|
|
209
|
+
return validationResult.toQueryResult();
|
|
210
|
+
}
|
|
211
|
+
__classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("calling getCareTeams");
|
|
212
|
+
const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLHealthManager_sdk, "f").getCareTeams({
|
|
213
|
+
request: (_a = request === null || request === void 0 ? void 0 : request.data()) !== null && _a !== void 0 ? _a : null,
|
|
214
|
+
}));
|
|
215
|
+
__classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("getCareTeams complete");
|
|
216
|
+
if (result.hasError()) {
|
|
217
|
+
__classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").error("getCareTeams errors", result.error);
|
|
218
|
+
}
|
|
219
|
+
return new BWellQueryResult((_b = result.data) === null || _b === void 0 ? void 0 : _b.getCareTeams, result.error);
|
|
220
|
+
});
|
|
221
|
+
}
|
|
204
222
|
getEncounters(request) {
|
|
205
223
|
return __awaiter(this, void 0, void 0, function* () {
|
|
206
224
|
var _a, _b;
|
|
@@ -57,6 +57,7 @@ export declare const GetAllergyIntoleranceGroupsDocument = "\n query getAller
|
|
|
57
57
|
export declare const GetAllergyIntolerancesDocument = "\n query getAllergyIntolerances($request: AllergyIntolerancesRequest) {\n getAllergyIntolerances(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n meta {\n ...MetaFields\n }\n category {\n code\n display\n }\n code {\n coding {\n system\n code\n display\n }\n text\n }\n criticality {\n code\n display\n }\n onsetDateTime\n onsetPeriod {\n start\n end\n }\n lastOccurrence\n reaction {\n ...ReactionFields\n }\n recordedDate\n note {\n authorString\n time\n text\n }\n verificationStatus {\n coding {\n system\n code\n display\n }\n text\n }\n clinicalStatus {\n coding {\n system\n code\n display\n }\n text\n }\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\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 ReactionFields on Reaction {\n description\n manifestation {\n ...CodeableConceptFields\n }\n onset\n severity {\n code\n display\n }\n note {\n authorString\n time\n text\n }\n date\n detail {\n ...ObservationFields\n }\n reported\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 ObservationFields on ObservationResource {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n component {\n ...ComponentFields\n }\n effectiveDateTime\n effectivePeriod {\n ...PeriodFields\n }\n note {\n authorString\n time\n text\n }\n encounter {\n ...EncounterFields\n }\n performer {\n ...PerformerFields\n }\n hasMember {\n ... on ObservationResource {\n id\n code {\n ...CodeableConceptFields\n }\n }\n }\n specimen {\n ...SpecimenResourceFields\n }\n status {\n display\n code\n }\n dataAbsentReason {\n ...CodeableConceptFields\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 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 ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\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 RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment ComponentFields on Component {\n code {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\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 ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\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 RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment EncounterFields on EncounterResource {\n meta {\n ...MetaFields\n }\n id\n identifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n participant {\n ...ParticipantFields\n }\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n system\n code\n display\n }\n location {\n name\n }\n serviceProvider {\n name\n endpoint {\n name\n status\n connectionType {\n system\n code\n display\n }\n address\n }\n }\n subject {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n language {\n ...CodeableConceptFields\n }\n }\n }\n reasonReference {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\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 ParticipantFields on Participant {\n individual {\n id\n name {\n ...HumanNameFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\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 PeriodFields on Period {\n start\n end\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment PerformerFields on Performer {\n actor {\n ...ActorFields\n }\n}\n \n fragment ActorFields on Actor {\n __typename\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n }\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Organization {\n organizationName: name\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment SpecimenResourceFields on SpecimenResource {\n identifier {\n ...IdentifierFields\n }\n accessionIdentifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\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 ";
|
|
58
58
|
export declare const GetCarePlanGroupsDocument = "\n query getCarePlanGroups($request: CarePlanGroupQueryRequest) {\n getCarePlanGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n references\n coding {\n ...CodingFields\n }\n source\n period {\n ...PeriodFields\n }\n sourceDisplay\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\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 ";
|
|
59
59
|
export declare const GetCarePlansDocument = "\n query getCarePlans($request: CarePlanRequest) {\n getCarePlans(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n meta {\n ...MetaFields\n }\n id\n title\n category {\n ...CodeableConceptFields\n }\n text {\n div\n status\n }\n status {\n display\n code\n }\n intent {\n display\n code\n }\n subject {\n _resourceType\n id\n }\n period {\n ...PeriodFields\n }\n created\n activity {\n ...ActivityFields\n }\n note {\n authorString\n time\n text\n }\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\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 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 PeriodFields on Period {\n start\n end\n}\n \n\n fragment ActivityFields on Activity {\n detail {\n ...DetailFields\n }\n}\n \n fragment DetailFields on Detail {\n kind {\n display\n code\n }\n code {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n scheduledPeriod {\n ...PeriodFields\n }\n scheduledString\n scheduledTiming {\n ...TimingFields\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 PeriodFields on Period {\n start\n end\n}\n \n\n fragment TimingFields on Timing {\n id\n code {\n ...CodeableConceptFields\n }\n event\n repeat {\n id\n boundsDuration {\n ...QuantityFields\n }\n boundsPeriod {\n ...PeriodFields\n }\n boundsRange {\n ...RangeFields\n }\n count\n countMax\n dayOfWeek {\n code\n display\n }\n duration\n durationMax\n durationUnit {\n code\n display\n }\n frequency\n frequencyMax\n offset\n period\n periodMax\n periodUnit {\n display\n code\n }\n timeOfDay\n when {\n code\n display\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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
|
|
60
|
+
export declare const GetCareTeamsDocument = "\n query getCareTeams($request: CareTeamRequest) {\n getCareTeams(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n meta {\n ...MetaFields\n }\n identifier {\n ...IdentifierFields\n }\n category {\n ...CodeableConceptFields\n }\n participant {\n member {\n __typename\n ... on Organization {\n id\n organizationName: name\n alias\n meta {\n ...MetaFields\n }\n }\n ... on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n }\n }\n }\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\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 HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n ";
|
|
60
61
|
export declare const GetConditionGroupsDocument = "\n query getConditionGroups($request: ConditionGroupQueryRequest) {\n getConditionGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n coding {\n ...CodingFields\n }\n references\n recordedDate\n source\n sourceDisplay\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n ";
|
|
61
62
|
export declare const GetConditionsDocument = "\n query getConditions($request: ConditionRequest) {\n getConditions(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n subject {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n asserter {\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n }\n }\n encounter {\n ...EncounterFields\n }\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\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 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 RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n }\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 HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment EncounterFields on EncounterResource {\n meta {\n ...MetaFields\n }\n id\n identifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n participant {\n ...ParticipantFields\n }\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n system\n code\n display\n }\n location {\n name\n }\n serviceProvider {\n name\n endpoint {\n name\n status\n connectionType {\n system\n code\n display\n }\n address\n }\n }\n subject {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n language {\n ...CodeableConceptFields\n }\n }\n }\n reasonReference {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\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 ParticipantFields on Participant {\n individual {\n id\n name {\n ...HumanNameFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\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 PeriodFields on Period {\n start\n end\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n ";
|
|
62
63
|
export declare const GetDocumentReferencesDocument = "\n query getDocumentReferences($request: DocumentReferenceRequest) {\n getDocumentReferences(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n meta {\n ...MetaFields\n }\n language\n text {\n div\n status\n }\n identifier {\n ...IdentifierFields\n }\n status\n type {\n text\n }\n category {\n text\n }\n date\n author {\n reference\n display\n }\n description\n content {\n attachment {\n contentType\n data\n url\n }\n format {\n ...CodingFields\n }\n }\n context {\n encounter {\n reference\n display\n }\n period {\n ...PeriodFields\n }\n }\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\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 PeriodFields on Period {\n start\n end\n}\n ";
|
|
@@ -84,7 +85,7 @@ export declare const ProviderSearchDocument = "\n query providerSearch($clien
|
|
|
84
85
|
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 ";
|
|
85
86
|
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 ";
|
|
86
87
|
export declare const CreateDataExportDirectDownloadUrlDocument = "\n mutation CreateDataExportDirectDownloadUrl($exportId: String!, $password: String!) {\n createDataExportDirectDownloadUrl(exportId: $exportId, password: $password)\n}\n ";
|
|
87
|
-
export declare const DeleteDocument = "\n mutation delete {\n updateUserAccountStatus(operation:
|
|
88
|
+
export declare const DeleteDocument = "\n mutation delete {\n updateUserAccountStatus(operation: IMMEDIATE_EXECUTION) {\n resourceType\n issue {\n code\n severity\n details {\n text\n }\n }\n }\n}\n ";
|
|
88
89
|
export declare const GetProfileDocument = "\n query getProfile {\n userProfile {\n id\n address {\n line\n city\n state\n postalCode\n }\n telecom {\n system\n value\n use\n }\n gender\n birthDate\n name {\n family\n given\n }\n language\n }\n}\n ";
|
|
89
90
|
export declare const SearchConsentDocument = "\n query searchConsent($categoryCode: CategoryCode) {\n search(params: {category: $categoryCode}) {\n resourceType\n id\n meta {\n ...MetaFields\n }\n status\n scope {\n text\n coding {\n code\n system\n display\n }\n }\n category {\n text\n coding {\n code\n system\n display\n }\n }\n patient {\n reference\n }\n provision {\n type\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 ";
|
|
90
91
|
export declare const UpdateUserProfileDocument = "\n mutation updateUserProfile($person: FHIRPersonInput) {\n updateUserProfile(input: $person) {\n id\n address {\n line\n city\n state\n postalCode\n }\n telecom {\n system\n value\n use\n }\n gender\n birthDate\n name {\n family\n given\n }\n language\n }\n}\n ";
|
|
@@ -195,6 +196,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
195
196
|
headers: Headers;
|
|
196
197
|
status: number;
|
|
197
198
|
}>;
|
|
199
|
+
getCareTeams(variables?: Types.GetCareTeamsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
200
|
+
data: Types.GetCareTeamsQueryResults;
|
|
201
|
+
errors?: GraphQLError[];
|
|
202
|
+
extensions?: any;
|
|
203
|
+
headers: Headers;
|
|
204
|
+
status: number;
|
|
205
|
+
}>;
|
|
198
206
|
getConditionGroups(variables?: Types.GetConditionGroupsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
|
|
199
207
|
data: Types.GetConditionGroupsQueryResults;
|
|
200
208
|
errors?: GraphQLError[];
|
|
@@ -868,6 +868,51 @@ ${MetaFieldsFragmentDoc}
|
|
|
868
868
|
${CodeableConceptFieldsFragmentDoc}
|
|
869
869
|
${PeriodFieldsFragmentDoc}
|
|
870
870
|
${ActivityFieldsFragmentDoc}`;
|
|
871
|
+
export const GetCareTeamsDocument = `
|
|
872
|
+
query getCareTeams($request: CareTeamRequest) {
|
|
873
|
+
getCareTeams(request: $request) {
|
|
874
|
+
paging_info {
|
|
875
|
+
...PagingFields
|
|
876
|
+
}
|
|
877
|
+
resources {
|
|
878
|
+
id
|
|
879
|
+
name
|
|
880
|
+
meta {
|
|
881
|
+
...MetaFields
|
|
882
|
+
}
|
|
883
|
+
identifier {
|
|
884
|
+
...IdentifierFields
|
|
885
|
+
}
|
|
886
|
+
category {
|
|
887
|
+
...CodeableConceptFields
|
|
888
|
+
}
|
|
889
|
+
participant {
|
|
890
|
+
member {
|
|
891
|
+
__typename
|
|
892
|
+
... on Organization {
|
|
893
|
+
id
|
|
894
|
+
organizationName: name
|
|
895
|
+
alias
|
|
896
|
+
meta {
|
|
897
|
+
...MetaFields
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
... on Practitioner {
|
|
901
|
+
id
|
|
902
|
+
name {
|
|
903
|
+
...HumanNameFields
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
${PagingFieldsFragmentDoc}
|
|
912
|
+
${MetaFieldsFragmentDoc}
|
|
913
|
+
${IdentifierFieldsFragmentDoc}
|
|
914
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
915
|
+
${HumanNameFieldsFragmentDoc}`;
|
|
871
916
|
export const GetConditionGroupsDocument = `
|
|
872
917
|
query getConditionGroups($request: ConditionGroupQueryRequest) {
|
|
873
918
|
getConditionGroups(request: $request) {
|
|
@@ -1915,7 +1960,7 @@ export const CreateDataExportDirectDownloadUrlDocument = `
|
|
|
1915
1960
|
`;
|
|
1916
1961
|
export const DeleteDocument = `
|
|
1917
1962
|
mutation delete {
|
|
1918
|
-
updateUserAccountStatus(operation:
|
|
1963
|
+
updateUserAccountStatus(operation: IMMEDIATE_EXECUTION) {
|
|
1919
1964
|
resourceType
|
|
1920
1965
|
issue {
|
|
1921
1966
|
code
|
|
@@ -2059,6 +2104,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2059
2104
|
getCarePlans(variables, requestHeaders) {
|
|
2060
2105
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCarePlansDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCarePlans', 'query', variables);
|
|
2061
2106
|
},
|
|
2107
|
+
getCareTeams(variables, requestHeaders) {
|
|
2108
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetCareTeamsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getCareTeams', 'query', variables);
|
|
2109
|
+
},
|
|
2062
2110
|
getConditionGroups(variables, requestHeaders) {
|
|
2063
2111
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditionGroups', 'query', variables);
|
|
2064
2112
|
},
|
|
@@ -3105,6 +3105,94 @@ export type GetCarePlansQueryResults = {
|
|
|
3105
3105
|
}>;
|
|
3106
3106
|
};
|
|
3107
3107
|
};
|
|
3108
|
+
export type GetCareTeamsQueryVariables = Types.Exact<{
|
|
3109
|
+
request: Types.InputMaybe<Types.CareTeamRequest>;
|
|
3110
|
+
}>;
|
|
3111
|
+
export type GetCareTeamsQueryResults = {
|
|
3112
|
+
getCareTeams: {
|
|
3113
|
+
paging_info: {
|
|
3114
|
+
page_number: number;
|
|
3115
|
+
page_size: number;
|
|
3116
|
+
total_pages: number;
|
|
3117
|
+
total_items: number;
|
|
3118
|
+
} | null;
|
|
3119
|
+
resources: Array<{
|
|
3120
|
+
id: string | null;
|
|
3121
|
+
name: string | null;
|
|
3122
|
+
meta: {
|
|
3123
|
+
versionId: string | null;
|
|
3124
|
+
lastUpdated: any | null;
|
|
3125
|
+
source: string | null;
|
|
3126
|
+
security: Array<{
|
|
3127
|
+
system: string | null;
|
|
3128
|
+
code: string | null;
|
|
3129
|
+
display: string | null;
|
|
3130
|
+
} | null> | null;
|
|
3131
|
+
tag: Array<{
|
|
3132
|
+
system: string | null;
|
|
3133
|
+
code: string | null;
|
|
3134
|
+
display: string | null;
|
|
3135
|
+
} | null> | null;
|
|
3136
|
+
} | null;
|
|
3137
|
+
identifier: Array<{
|
|
3138
|
+
id: string | null;
|
|
3139
|
+
system: string | null;
|
|
3140
|
+
value: string | null;
|
|
3141
|
+
type: {
|
|
3142
|
+
text: string | null;
|
|
3143
|
+
coding: Array<{
|
|
3144
|
+
system: string | null;
|
|
3145
|
+
code: string | null;
|
|
3146
|
+
display: string | null;
|
|
3147
|
+
} | null> | null;
|
|
3148
|
+
} | null;
|
|
3149
|
+
} | null> | null;
|
|
3150
|
+
category: Array<{
|
|
3151
|
+
text: string | null;
|
|
3152
|
+
coding: Array<{
|
|
3153
|
+
system: string | null;
|
|
3154
|
+
code: string | null;
|
|
3155
|
+
display: string | null;
|
|
3156
|
+
} | null> | null;
|
|
3157
|
+
} | null> | null;
|
|
3158
|
+
participant: Array<{
|
|
3159
|
+
member: {
|
|
3160
|
+
__typename: 'Organization';
|
|
3161
|
+
id: string | null;
|
|
3162
|
+
alias: string | null;
|
|
3163
|
+
organizationName: string | null;
|
|
3164
|
+
meta: {
|
|
3165
|
+
versionId: string | null;
|
|
3166
|
+
lastUpdated: any | null;
|
|
3167
|
+
source: string | null;
|
|
3168
|
+
security: Array<{
|
|
3169
|
+
system: string | null;
|
|
3170
|
+
code: string | null;
|
|
3171
|
+
display: string | null;
|
|
3172
|
+
} | null> | null;
|
|
3173
|
+
tag: Array<{
|
|
3174
|
+
system: string | null;
|
|
3175
|
+
code: string | null;
|
|
3176
|
+
display: string | null;
|
|
3177
|
+
} | null> | null;
|
|
3178
|
+
} | null;
|
|
3179
|
+
} | {
|
|
3180
|
+
__typename: 'Practitioner';
|
|
3181
|
+
id: string | null;
|
|
3182
|
+
name: Array<{
|
|
3183
|
+
text: string | null;
|
|
3184
|
+
family: string | null;
|
|
3185
|
+
given: Array<string | null> | null;
|
|
3186
|
+
prefix: Array<string | null> | null;
|
|
3187
|
+
suffix: Array<string | null> | null;
|
|
3188
|
+
}> | null;
|
|
3189
|
+
} | {
|
|
3190
|
+
__typename: 'ResourceReference';
|
|
3191
|
+
} | null;
|
|
3192
|
+
} | null> | null;
|
|
3193
|
+
}>;
|
|
3194
|
+
};
|
|
3195
|
+
};
|
|
3108
3196
|
export type GetConditionGroupsQueryVariables = Types.Exact<{
|
|
3109
3197
|
request: Types.InputMaybe<Types.ConditionGroupQueryRequest>;
|
|
3110
3198
|
}>;
|
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -1125,6 +1125,8 @@ export type DocumentReferenceResource = {
|
|
|
1125
1125
|
* current | superseded | entered-in-error
|
|
1126
1126
|
*/
|
|
1127
1127
|
status?: Maybe<Scalars['String']['output']>;
|
|
1128
|
+
/** Who/what is the subject (reference) of the document */
|
|
1129
|
+
subject?: Maybe<DocumentReferenceReference>;
|
|
1128
1130
|
/** Text summary of the resource, for human interpretation */
|
|
1129
1131
|
text?: Maybe<DocumentReferenceNarrative>;
|
|
1130
1132
|
/** Kind of document (LOINC if possible) */
|