@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1760356197 → 2.0.0-alpha.0-rc.1760653171

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.
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export declare const VERSION = "2.0.0-alpha.0-rc.1760356197";
4
+ export declare const VERSION = "2.0.0-alpha.0-rc.1760653171";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export const VERSION = "2.0.0-alpha.0-rc.1760356197";
4
+ export const VERSION = "2.0.0-alpha.0-rc.1760653171";
@@ -1,4 +1,4 @@
1
- import type { AllergyIntoleranceBundle, AllergyIntoleranceGroupBundle, CarePlanBundle, CarePlanGroupBundle, CareTeamBundle, ConditionBundle, ConditionGroupBundle, DiagnosticReportBundle, DiagnosticReportLabGroupBundle, EncounterBundle, EncounterGroupBundle, HealthSummary, ImmunizationBundle, ImmunizationGroupBundle, LabGroupBundle, MedicationDispenseBundle, MedicationGroupBundle, MedicationRequestBundle, ProcedureBundle, ProcedureGroupBundle, VitalSignBundle, VitalSignGroupBundle } from "../../../models/health-data/index.js";
1
+ import type { AllergyIntoleranceBundle, AllergyIntoleranceGroupBundle, CarePlanBundle, CarePlanGroupBundle, CareTeamBundle, ConditionBundle, ConditionGroupBundle, DiagnosticReportBundle, DiagnosticReportLabGroupBundle, EncounterBundle, EncounterGroupBundle, HealthSummary, ImmunizationBundle, ImmunizationGroupBundle, LabBundle, LabGroupBundle, MedicationDispenseBundle, MedicationGroupBundle, MedicationRequestBundle, MedicationStatementBundle, ProcedureBundle, ProcedureGroupBundle, VitalSignBundle, VitalSignGroupBundle } from "../../../models/health-data/index.js";
2
2
  import type { BWellQueryResult } from "../../../results/index.js";
3
3
  import type { BaseManagerError } from "../errors.js";
4
4
  import type { AllergyIntoleranceGroupsRequest, CarePlanGroupsRequest, ConditionGroupsRequest, DiagnosticReportLabGroupsRequest, EncounterGroupsRequest, HealthDataRequest, ImmunizationGroupsRequest, LabGroupsRequest, MedicationDispenseRequest, MedicationGroupsRequest, ProcedureGroupsRequest, VitalSignGroupsRequest } from "./health-data-request.js";
@@ -230,6 +230,19 @@ export interface HealthManager {
230
230
  * ```
231
231
  */
232
232
  getVitalSigns(request?: HealthDataRequest): Promise<BWellQueryResult<VitalSignBundle, BaseManagerError>>;
233
+ /**
234
+ * Retrieves a list of lab resources (observations with 'laboratory' category).
235
+ *
236
+ * @param {HealthDataRequest} request - Optional request class instance for specifying the search criteria
237
+ *
238
+ * @returns {Promise<BWellQueryResult<LabBundle>>} A promise resolving to an object representing the list of labs retrieved.
239
+ *
240
+ * @example
241
+ * ```typescript
242
+ * const labs = await sdk.health.getLabs();
243
+ * ```
244
+ */
245
+ getLabs(request?: HealthDataRequest): Promise<BWellQueryResult<LabBundle, BaseManagerError>>;
233
246
  /**
234
247
  * Retrieves a list of vital sign groups resources.
235
248
  *
@@ -330,4 +343,17 @@ export interface HealthManager {
330
343
  * ```
331
344
  */
332
345
  getMedicationRequests(request?: HealthDataRequest): Promise<BWellQueryResult<MedicationRequestBundle, BaseManagerError>>;
346
+ /**
347
+ * Retrieves a list of medication statement resources.
348
+ *
349
+ * @param {HealthDataRequest} request - Optional request class instance for specifying the search criteria
350
+ *
351
+ * @returns {Promise<BWellQueryResult<MedicationStatementBundle>>} A promise resolving to an object representing the list of medication statements retrieved.
352
+ *
353
+ * @example
354
+ * ```typescript
355
+ * const medicationStatements = await sdk.health.getMedicationStatements();
356
+ * ```
357
+ */
358
+ getMedicationStatements(request?: HealthDataRequest): Promise<BWellQueryResult<MedicationStatementBundle, BaseManagerError>>;
333
359
  }
@@ -1,6 +1,6 @@
1
1
  import { ValidationError } from "../../../errors/index.js";
2
2
  import { LoggerProvider } from "../../../logger/index.js";
3
- import type { AllergyIntoleranceBundle, AllergyIntoleranceGroupBundle, CarePlanBundle, CarePlanGroupBundle, CareTeamBundle, ConditionBundle, ConditionGroupBundle, DiagnosticReportBundle, DiagnosticReportLabGroupBundle, EncounterBundle, EncounterGroupBundle, HealthSummary, ImmunizationBundle, ImmunizationGroupBundle, LabGroupBundle, MedicationDispenseBundle, MedicationGroupBundle, MedicationRequestBundle, ProcedureBundle, ProcedureGroupBundle, VitalSignBundle, VitalSignGroupBundle } from "../../../models/health-data/index.js";
3
+ import type { AllergyIntoleranceBundle, AllergyIntoleranceGroupBundle, CarePlanBundle, CarePlanGroupBundle, CareTeamBundle, ConditionBundle, ConditionGroupBundle, DiagnosticReportBundle, DiagnosticReportLabGroupBundle, EncounterBundle, EncounterGroupBundle, HealthSummary, ImmunizationBundle, ImmunizationGroupBundle, LabBundle, LabGroupBundle, MedicationDispenseBundle, MedicationGroupBundle, MedicationRequestBundle, MedicationStatementBundle, ProcedureBundle, ProcedureGroupBundle, VitalSignBundle, VitalSignGroupBundle } from "../../../models/health-data/index.js";
4
4
  import { BWellQueryResult } from "../../../results/index.js";
5
5
  import { BaseManagerError } from "../../base/errors.js";
6
6
  import * as health from "../../base/health-data/index.js";
@@ -25,11 +25,13 @@ export declare class GraphQLHealthManager extends GraphQLManager implements Heal
25
25
  getProcedures(request?: health.HealthDataRequest): Promise<BWellQueryResult<ProcedureBundle, BaseManagerError>>;
26
26
  getProcedureGroups(request?: health.ProcedureGroupsRequest): Promise<BWellQueryResult<ProcedureGroupBundle, ValidationError | BaseManagerError>>;
27
27
  getVitalSigns(request?: health.HealthDataRequest): Promise<BWellQueryResult<VitalSignBundle, BaseManagerError>>;
28
+ getLabs(request?: health.HealthDataRequest): Promise<BWellQueryResult<LabBundle, BaseManagerError>>;
28
29
  getVitalSignGroups(request?: health.VitalSignGroupsRequest): Promise<BWellQueryResult<VitalSignGroupBundle, ValidationError | BaseManagerError>>;
29
30
  getMedicationGroups(request?: health.MedicationGroupsRequest): Promise<BWellQueryResult<MedicationGroupBundle, ValidationError | BaseManagerError>>;
30
31
  getDiagnosticReportLabGroups(request?: health.DiagnosticReportLabGroupsRequest): Promise<BWellQueryResult<DiagnosticReportLabGroupBundle, ValidationError | BaseManagerError>>;
31
32
  getCareTeams(request?: health.HealthDataRequest): Promise<BWellQueryResult<CareTeamBundle, BaseManagerError>>;
32
33
  getMedicationDispenses(request?: health.MedicationDispenseRequest): Promise<BWellQueryResult<MedicationDispenseBundle, BaseManagerError>>;
33
34
  getMedicationRequests(request?: health.HealthDataRequest): Promise<BWellQueryResult<MedicationRequestBundle, BaseManagerError>>;
35
+ getMedicationStatements(request?: health.HealthDataRequest): Promise<BWellQueryResult<MedicationStatementBundle, BaseManagerError>>;
34
36
  getDiagnosticReports(request?: health.HealthDataRequest): Promise<BWellQueryResult<DiagnosticReportBundle, BaseManagerError>>;
35
37
  }
@@ -317,6 +317,26 @@ export class GraphQLHealthManager extends GraphQLManager {
317
317
  return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.observations, result.error);
318
318
  });
319
319
  }
320
+ getLabs(request) {
321
+ return __awaiter(this, void 0, void 0, function* () {
322
+ var _a;
323
+ const validationResult = this.validateRequest(request);
324
+ if (validationResult.failure()) {
325
+ return validationResult.toQueryResult();
326
+ }
327
+ let gqlRequest;
328
+ if (request !== undefined) {
329
+ gqlRequest = __classPrivateFieldGet(this, _GraphQLHealthManager_healthDataRequestFactory, "f").create(request);
330
+ }
331
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("calling getLabs...");
332
+ const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLHealthManager_sdk, "f").getLabs(gqlRequest));
333
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("getLabs complete");
334
+ if (result.hasError()) {
335
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").error("getLabs error", result.error);
336
+ }
337
+ return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.observations, result.error);
338
+ });
339
+ }
320
340
  getVitalSignGroups(request) {
321
341
  return __awaiter(this, void 0, void 0, function* () {
322
342
  var _a, _b;
@@ -431,6 +451,26 @@ export class GraphQLHealthManager extends GraphQLManager {
431
451
  return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.medicationRequests, result.error);
432
452
  });
433
453
  }
454
+ getMedicationStatements(request) {
455
+ return __awaiter(this, void 0, void 0, function* () {
456
+ var _a;
457
+ const validationResult = this.validateRequest(request);
458
+ if (validationResult.failure()) {
459
+ return validationResult.toQueryResult();
460
+ }
461
+ let gqlRequest;
462
+ if (request !== undefined) {
463
+ gqlRequest = __classPrivateFieldGet(this, _GraphQLHealthManager_healthDataRequestFactory, "f").create(request);
464
+ }
465
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("calling getMedicationStatements...");
466
+ const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLHealthManager_sdk, "f").getMedicationStatements(gqlRequest));
467
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("getMedicationStatements complete");
468
+ if (result.hasError()) {
469
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").error("getMedicationStatements errors", result.error);
470
+ }
471
+ return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.medicationStatements, result.error);
472
+ });
473
+ }
434
474
  getDiagnosticReports(request) {
435
475
  return __awaiter(this, void 0, void 0, function* () {
436
476
  var _a;
@@ -111,9 +111,11 @@ export declare const GetProceduresDocument = "\n query getProcedures($page: I
111
111
  export declare const GetVitalSignGroupsDocument = "\n query getVitalSignGroups($request: VitalSignGroupQueryRequest) {\n getVitalSignGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n source\n sourceDisplay\n category {\n ...CodeableConceptFields\n }\n coding {\n ...CodingFields\n }\n effectiveDateTime\n interpretation {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n component {\n ...ComponentFields\n }\n references\n effectiveDateTime\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 CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 ";
112
112
  export declare const GetVitalSignsDocument = "\n query getVitalSigns($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {\n observations(\n _count: $pageSize\n _getpagesoffset: $page\n code: $code\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n category: {value: {code: \"vital-signs\"}}\n ) {\n id\n entry {\n id\n resource {\n ...ObservationFields\n }\n }\n }\n}\n \n fragment ObservationFields on Observation {\n id\n meta {\n ...MetaFields\n }\n resourceType\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n subject {\n id\n reference\n type\n resource {\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n }\n }\n issued\n basedOn {\n id\n reference\n type\n resource {\n ...ObservationBasedOnFields\n }\n }\n ...ObservationValueFields\n code {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n referenceRange {\n ...ObservationReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n component {\n ...ObservationComponentFields\n }\n effectiveDateTime\n effectivePeriod {\n ...PeriodFields\n }\n note {\n ...AnnotationFields\n }\n encounter {\n id\n reference\n type\n resource {\n ...EncounterFields\n }\n }\n performer {\n id\n reference\n type\n resource {\n ...PractitionerFields\n ...PatientFields\n ... on Organization {\n organizationName: name\n }\n }\n }\n hasMember {\n id\n reference\n type\n resource {\n ... on Observation {\n id\n code {\n ...CodeableConceptFields\n }\n }\n }\n }\n specimen {\n id\n reference\n type\n resource {\n ...SpecimenResourceFields\n }\n }\n status\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 id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 ObservationBasedOnFields on ObservationBasedOn {\n ... on ServiceRequest {\n resourceType\n id\n reasonCode {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationValueFields on Observation {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationReferenceRangeFields on ObservationReferenceRange {\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 ObservationComponentFields on ObservationComponent {\n code {\n ...CodeableConceptFields\n }\n ...ObservationComponentValueFields\n referenceRange {\n ...ObservationReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationComponentValueFields on ObservationComponent {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 ObservationReferenceRangeFields on ObservationReferenceRange {\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 AnnotationFields on Annotation {\n id\n authorString\n time\n text\n}\n \n\n fragment EncounterFields on Encounter {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n text {\n ...NarrativeFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n ...CodingFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n location {\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n participant {\n ...ParticipantFields\n }\n serviceProvider {\n id\n reference\n type\n resource {\n ...OrganizationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n reasonReference {\n id\n reference\n type\n resource {\n ...ConditionFields\n }\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\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 id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ParticipantFields on EncounterParticipant {\n individual {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ConditionFields on Condition {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n resource {\n ...RecorderFields\n }\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 \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 id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RecorderFields on ConditionRecorder {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SpecimenResourceFields on Specimen {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
113
113
  export declare const GetLabGroupsDocument = "\n query getLabGroups($request: LabGroupQueryRequest) {\n getLabGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n source\n sourceDisplay\n category {\n ...CodeableConceptFields\n }\n coding {\n ...CodingFields\n }\n effectiveDateTime\n referenceRange {\n ...ReferenceRangeFields\n }\n value {\n ...ValueFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n component {\n ...ComponentFields\n }\n references\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 CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\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 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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 ";
114
+ export declare const GetLabsDocument = "\n query getLabs($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {\n observations(\n _count: $pageSize\n _getpagesoffset: $page\n code: $code\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n category: {value: {code: \"laboratory\"}}\n ) {\n id\n entry {\n id\n resource {\n ...ObservationFields\n }\n }\n }\n}\n \n fragment ObservationFields on Observation {\n id\n meta {\n ...MetaFields\n }\n resourceType\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n subject {\n id\n reference\n type\n resource {\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n }\n }\n issued\n basedOn {\n id\n reference\n type\n resource {\n ...ObservationBasedOnFields\n }\n }\n ...ObservationValueFields\n code {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n referenceRange {\n ...ObservationReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n component {\n ...ObservationComponentFields\n }\n effectiveDateTime\n effectivePeriod {\n ...PeriodFields\n }\n note {\n ...AnnotationFields\n }\n encounter {\n id\n reference\n type\n resource {\n ...EncounterFields\n }\n }\n performer {\n id\n reference\n type\n resource {\n ...PractitionerFields\n ...PatientFields\n ... on Organization {\n organizationName: name\n }\n }\n }\n hasMember {\n id\n reference\n type\n resource {\n ... on Observation {\n id\n code {\n ...CodeableConceptFields\n }\n }\n }\n }\n specimen {\n id\n reference\n type\n resource {\n ...SpecimenResourceFields\n }\n }\n status\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 id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 ObservationBasedOnFields on ObservationBasedOn {\n ... on ServiceRequest {\n resourceType\n id\n reasonCode {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationValueFields on Observation {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationReferenceRangeFields on ObservationReferenceRange {\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 ObservationComponentFields on ObservationComponent {\n code {\n ...CodeableConceptFields\n }\n ...ObservationComponentValueFields\n referenceRange {\n ...ObservationReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationComponentValueFields on ObservationComponent {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 ObservationReferenceRangeFields on ObservationReferenceRange {\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 AnnotationFields on Annotation {\n id\n authorString\n time\n text\n}\n \n\n fragment EncounterFields on Encounter {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n text {\n ...NarrativeFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n ...CodingFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n location {\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n participant {\n ...ParticipantFields\n }\n serviceProvider {\n id\n reference\n type\n resource {\n ...OrganizationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n reasonReference {\n id\n reference\n type\n resource {\n ...ConditionFields\n }\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\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 id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ParticipantFields on EncounterParticipant {\n individual {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ConditionFields on Condition {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n resource {\n ...RecorderFields\n }\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 \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 id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RecorderFields on ConditionRecorder {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SpecimenResourceFields on Specimen {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
114
115
  export declare const GetMedicationDispensesDocument = "\n query getMedicationDispenses($page: Int, $pageSize: Int, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $prescription: SearchReference, $total: TotalType) {\n medicationDispenses(\n _count: $pageSize\n _getpagesoffset: $page\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n prescription: $prescription\n ) {\n id\n entry {\n id\n resource {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n status\n category {\n ...CodeableConceptFields\n }\n medicationCodeableConcept {\n ...CodeableConceptFields\n }\n medicationReference {\n id\n reference\n type\n resource {\n ...MedicationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n context {\n id\n reference\n type\n resource {\n ...EncounterFields\n }\n }\n performer {\n actor {\n id\n reference\n type\n resource {\n ...MedicationDispensePerformerActorFields\n }\n }\n }\n daysSupply {\n ...QuantityFields\n }\n quantity {\n ...QuantityFields\n }\n whenPrepared\n whenHandedOver\n dosageInstruction {\n ...DosageFields\n }\n type {\n ...CodeableConceptFields\n }\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n authorizingPrescription {\n reference\n type\n }\n }\n }\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\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 id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MedicationFields on Medication {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n code {\n ...CodeableConceptFields\n }\n ingredient {\n ...MedicationIngredientFields\n }\n form {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MedicationIngredientFields on MedicationIngredient {\n itemCodeableConcept {\n ...CodeableConceptFields\n }\n strength {\n ...RatioFields\n }\n itemReference {\n id\n reference\n type\n resource {\n ...NestedMedicationReferenceFields\n ...SubstanceFields\n }\n }\n isActive\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 NestedMedicationReferenceFields on Medication {\n resourceType\n identifier {\n ...IdentifierFields\n }\n code {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SubstanceFields on Substance {\n resourceType\n id\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n status\n category {\n ...CodeableConceptFields\n }\n code {\n ...CodeableConceptFields\n }\n description\n instance {\n ...SubstanceInstanceFields\n }\n ingredient {\n ...SubstanceIngredientFields\n }\n}\n \n fragment NarrativeFields on Narrative {\n div\n status\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SubstanceInstanceFields on SubstanceInstance {\n identifier {\n ...IdentifierFields\n }\n expiry\n quantity {\n ...QuantityFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 SubstanceIngredientFields on SubstanceIngredient {\n id\n quantity {\n ...RatioFields\n }\n substanceCodeableConcept {\n ...CodeableConceptFields\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 CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EncounterFields on Encounter {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n text {\n ...NarrativeFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n ...CodingFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n location {\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n participant {\n ...ParticipantFields\n }\n serviceProvider {\n id\n reference\n type\n resource {\n ...OrganizationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n reasonReference {\n id\n reference\n type\n resource {\n ...ConditionFields\n }\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\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 id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ParticipantFields on EncounterParticipant {\n individual {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ConditionFields on Condition {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n resource {\n ...RecorderFields\n }\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 \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 id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RecorderFields on ConditionRecorder {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment MedicationDispensePerformerActorFields on MedicationDispensePerformerActor {\n ...PractitionerFields\n ...PatientFields\n ... on Organization {\n organizationName: name\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 DosageFields on Dosage {\n id\n additionalInstruction {\n ...CodeableConceptFields\n }\n asNeededBoolean\n asNeededCodeableConcept {\n ...CodeableConceptFields\n }\n doseAndRate {\n ...DoseAndRateFields\n }\n maxDosePerAdministration {\n ...QuantityFields\n }\n maxDosePerLifetime {\n ...QuantityFields\n }\n maxDosePerPeriod {\n ...RatioFields\n }\n method {\n ...CodeableConceptFields\n }\n patientInstruction\n route {\n ...CodeableConceptFields\n }\n sequence\n site {\n ...CodeableConceptFields\n }\n text\n timing {\n ...TimingFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment DoseAndRateFields on DosageDoseAndRate {\n id\n type {\n ...CodeableConceptFields\n }\n doseRange {\n ...RangeFields\n }\n doseQuantity {\n ...QuantityFields\n }\n rateQuantity {\n ...QuantityFields\n }\n rateRange {\n ...RangeFields\n }\n rateRatio {\n ...RatioFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\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 TimingFields on Timing {\n id\n code {\n ...CodeableConceptFields\n }\n event\n repeat {\n ...TimingRepeatFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment TimingRepeatFields on TimingRepeat {\n id\n boundsDuration {\n ...QuantityFields\n }\n boundsPeriod {\n ...PeriodFields\n }\n boundsRange {\n ...RangeFields\n }\n count\n countMax\n dayOfWeek\n duration\n durationMax\n durationUnit\n frequency\n frequencyMax\n offset\n period\n periodMax\n periodUnit\n timeOfDay\n when\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 \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
115
116
  export declare const GetMedicationGroupsDocument = "\n query getMedicationGroups($request: MedicationGroupQueryRequest) {\n getMedicationGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n source\n sourceDisplay\n coding {\n ...CodingFields\n }\n references\n status {\n code\n display\n }\n authoredOn\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 id\n system\n code\n display\n}\n ";
116
117
  export declare const GetMedicationRequestDocument = "\n query getMedicationRequest($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {\n medicationRequests(\n _count: $pageSize\n _getpagesoffset: $page\n code: $code\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n ) {\n id\n entry {\n id\n resource {\n resourceType\n id\n meta {\n ...MetaFields\n }\n status\n category {\n ...CodeableConceptFields\n }\n identifier {\n ...IdentifierFields\n }\n intent\n language\n medicationCodeableConcept {\n ...CodeableConceptFields\n }\n medicationReference {\n id\n reference\n type\n resource {\n ...MedicationFields\n }\n }\n text {\n ...NarrativeFields\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n requester {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n recorder {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n encounter {\n id\n reference\n type\n resource {\n ...EncounterFields\n }\n }\n authoredOn\n dosageInstruction {\n ...DosageFields\n }\n dispenseRequest {\n ...MedicationRequestDispenseRequestFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n courseOfTherapyType {\n ...CodeableConceptFields\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 id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MedicationFields on Medication {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n code {\n ...CodeableConceptFields\n }\n ingredient {\n ...MedicationIngredientFields\n }\n form {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MedicationIngredientFields on MedicationIngredient {\n itemCodeableConcept {\n ...CodeableConceptFields\n }\n strength {\n ...RatioFields\n }\n itemReference {\n id\n reference\n type\n resource {\n ...NestedMedicationReferenceFields\n ...SubstanceFields\n }\n }\n isActive\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 NestedMedicationReferenceFields on Medication {\n resourceType\n identifier {\n ...IdentifierFields\n }\n code {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SubstanceFields on Substance {\n resourceType\n id\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n status\n category {\n ...CodeableConceptFields\n }\n code {\n ...CodeableConceptFields\n }\n description\n instance {\n ...SubstanceInstanceFields\n }\n ingredient {\n ...SubstanceIngredientFields\n }\n}\n \n fragment NarrativeFields on Narrative {\n div\n status\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SubstanceInstanceFields on SubstanceInstance {\n identifier {\n ...IdentifierFields\n }\n expiry\n quantity {\n ...QuantityFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 SubstanceIngredientFields on SubstanceIngredient {\n id\n quantity {\n ...RatioFields\n }\n substanceCodeableConcept {\n ...CodeableConceptFields\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 CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EncounterFields on Encounter {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n text {\n ...NarrativeFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n ...CodingFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n location {\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n participant {\n ...ParticipantFields\n }\n serviceProvider {\n id\n reference\n type\n resource {\n ...OrganizationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n reasonReference {\n id\n reference\n type\n resource {\n ...ConditionFields\n }\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\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 id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ParticipantFields on EncounterParticipant {\n individual {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ConditionFields on Condition {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n resource {\n ...RecorderFields\n }\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 \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 id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RecorderFields on ConditionRecorder {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment DosageFields on Dosage {\n id\n additionalInstruction {\n ...CodeableConceptFields\n }\n asNeededBoolean\n asNeededCodeableConcept {\n ...CodeableConceptFields\n }\n doseAndRate {\n ...DoseAndRateFields\n }\n maxDosePerAdministration {\n ...QuantityFields\n }\n maxDosePerLifetime {\n ...QuantityFields\n }\n maxDosePerPeriod {\n ...RatioFields\n }\n method {\n ...CodeableConceptFields\n }\n patientInstruction\n route {\n ...CodeableConceptFields\n }\n sequence\n site {\n ...CodeableConceptFields\n }\n text\n timing {\n ...TimingFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment DoseAndRateFields on DosageDoseAndRate {\n id\n type {\n ...CodeableConceptFields\n }\n doseRange {\n ...RangeFields\n }\n doseQuantity {\n ...QuantityFields\n }\n rateQuantity {\n ...QuantityFields\n }\n rateRange {\n ...RangeFields\n }\n rateRatio {\n ...RatioFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\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 TimingFields on Timing {\n id\n code {\n ...CodeableConceptFields\n }\n event\n repeat {\n ...TimingRepeatFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment TimingRepeatFields on TimingRepeat {\n id\n boundsDuration {\n ...QuantityFields\n }\n boundsPeriod {\n ...PeriodFields\n }\n boundsRange {\n ...RangeFields\n }\n count\n countMax\n dayOfWeek\n duration\n durationMax\n durationUnit\n frequency\n frequencyMax\n offset\n period\n periodMax\n periodUnit\n timeOfDay\n when\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 \n\n fragment MedicationRequestDispenseRequestFields on MedicationRequestDispenseRequest {\n id\n dispenseInterval {\n ...QuantityFields\n }\n expectedSupplyDuration {\n ...QuantityFields\n }\n initialFill {\n ...MedicationRequestInitialFillFields\n }\n numberOfRepeatsAllowed\n performer {\n id\n reference\n type\n display\n resource {\n ...OrganizationFields\n }\n }\n validityPeriod {\n ...PeriodFields\n }\n quantity {\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 MedicationRequestInitialFillFields on MedicationRequestInitialFill {\n id\n duration {\n ...QuantityFields\n }\n quantity {\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 OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n ";
118
+ export declare const GetMedicationStatementsDocument = "\n query getMedicationStatements($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {\n medicationStatements(\n _getpagesoffset: $page\n _count: $pageSize\n code: $code\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n category: {value: {system: \"https://fhir.icanbwell.com/4_0_0/CodeSystem/medicationstatement/category|derived_medication_statement\"}}\n ) {\n id\n entry {\n id\n resource {\n id\n meta {\n ...MetaFields\n }\n status\n medicationCodeableConcept {\n ...CodeableConceptFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n effectivePeriod {\n ...PeriodFields\n }\n dosage {\n ...DosageFields\n }\n derivedFrom {\n id\n reference\n type\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 id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment DosageFields on Dosage {\n id\n additionalInstruction {\n ...CodeableConceptFields\n }\n asNeededBoolean\n asNeededCodeableConcept {\n ...CodeableConceptFields\n }\n doseAndRate {\n ...DoseAndRateFields\n }\n maxDosePerAdministration {\n ...QuantityFields\n }\n maxDosePerLifetime {\n ...QuantityFields\n }\n maxDosePerPeriod {\n ...RatioFields\n }\n method {\n ...CodeableConceptFields\n }\n patientInstruction\n route {\n ...CodeableConceptFields\n }\n sequence\n site {\n ...CodeableConceptFields\n }\n text\n timing {\n ...TimingFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment DoseAndRateFields on DosageDoseAndRate {\n id\n type {\n ...CodeableConceptFields\n }\n doseRange {\n ...RangeFields\n }\n doseQuantity {\n ...QuantityFields\n }\n rateQuantity {\n ...QuantityFields\n }\n rateRange {\n ...RangeFields\n }\n rateRatio {\n ...RatioFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\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 TimingFields on Timing {\n id\n code {\n ...CodeableConceptFields\n }\n event\n repeat {\n ...TimingRepeatFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment TimingRepeatFields on TimingRepeat {\n id\n boundsDuration {\n ...QuantityFields\n }\n boundsPeriod {\n ...PeriodFields\n }\n boundsRange {\n ...RangeFields\n }\n count\n countMax\n dayOfWeek\n duration\n durationMax\n durationUnit\n frequency\n frequencyMax\n offset\n period\n periodMax\n periodUnit\n timeOfDay\n when\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 ";
117
119
  export declare const AppointmentsDocument = "\n query appointments($source: SearchString, $id: SearchString, $count: Int, $getPagesOffset: Int, $date: SearchDate, $supportingInformation: SearchReference, $sort: [String], $status: SearchToken) {\n appointments(\n _source: $source\n id: $id\n _count: $count\n _getpagesoffset: $getPagesOffset\n date: $date\n supporting_info: $supportingInformation\n _sort: $sort\n status: $status\n ) {\n entry {\n resource {\n id\n status\n cancelationReason {\n ...CodeableConceptFields\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 serviceType {\n ...CodeableConceptFields\n }\n start\n end\n supportingInformation {\n id\n reference\n display\n }\n participant {\n id\n type {\n ...CodeableConceptFields\n }\n actor {\n reference\n resource {\n ... on Location {\n id\n name\n description\n identifier {\n ...IdentifierFields\n }\n telecom {\n id\n system\n value\n }\n address {\n ...AddressFields\n }\n position {\n latitude\n longitude\n }\n managingOrganization {\n reference\n }\n }\n }\n }\n }\n }\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\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 ";
118
120
  export declare const CancelAppointmentDocument = "\n mutation cancelAppointment($appointment: UpdateAppointmentInput!) {\n updateAppointment(appointment: $appointment) {\n id\n status\n }\n}\n ";
119
121
  export declare const CancellationReasonsDocument = "\n query cancellationReasons($organization: SearchReference!) {\n cancelationReasons(organization: $organization) {\n id\n title\n url\n concept {\n code\n display\n }\n }\n}\n ";
@@ -318,6 +320,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
318
320
  headers: Headers;
319
321
  status: number;
320
322
  }>;
323
+ getLabs(variables?: Types.GetLabsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
324
+ data: Types.GetLabsQueryResults;
325
+ errors?: GraphQLError[];
326
+ extensions?: any;
327
+ headers: Headers;
328
+ status: number;
329
+ }>;
321
330
  getMedicationDispenses(variables?: Types.GetMedicationDispensesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
322
331
  data: Types.GetMedicationDispensesQueryResults;
323
332
  errors?: GraphQLError[];
@@ -339,6 +348,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
339
348
  headers: Headers;
340
349
  status: number;
341
350
  }>;
351
+ getMedicationStatements(variables?: Types.GetMedicationStatementsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
352
+ data: Types.GetMedicationStatementsQueryResults;
353
+ errors?: GraphQLError[];
354
+ extensions?: any;
355
+ headers: Headers;
356
+ status: number;
357
+ }>;
342
358
  appointments(variables?: Types.AppointmentsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
343
359
  data: Types.AppointmentsQueryResults;
344
360
  errors?: GraphQLError[];
@@ -2558,6 +2558,29 @@ ${CodingFieldsFragmentDoc}
2558
2558
  ${ReferenceRangeFieldsFragmentDoc}
2559
2559
  ${ValueFieldsFragmentDoc}
2560
2560
  ${ComponentFieldsFragmentDoc}`;
2561
+ export const GetLabsDocument = `
2562
+ query getLabs($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {
2563
+ observations(
2564
+ _count: $pageSize
2565
+ _getpagesoffset: $page
2566
+ code: $code
2567
+ id: $id
2568
+ _lastUpdated: $lastUpdated
2569
+ _sort: $sort
2570
+ status: $status
2571
+ _total: $total
2572
+ category: {value: {code: "laboratory"}}
2573
+ ) {
2574
+ id
2575
+ entry {
2576
+ id
2577
+ resource {
2578
+ ...ObservationFields
2579
+ }
2580
+ }
2581
+ }
2582
+ }
2583
+ ${ObservationFieldsFragmentDoc}`;
2561
2584
  export const GetMedicationDispensesDocument = `
2562
2585
  query getMedicationDispenses($page: Int, $pageSize: Int, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $prescription: SearchReference, $total: TotalType) {
2563
2586
  medicationDispenses(
@@ -2791,6 +2814,53 @@ ${PractitionerFieldsFragmentDoc}
2791
2814
  ${EncounterFieldsFragmentDoc}
2792
2815
  ${DosageFieldsFragmentDoc}
2793
2816
  ${MedicationRequestDispenseRequestFieldsFragmentDoc}`;
2817
+ export const GetMedicationStatementsDocument = `
2818
+ query getMedicationStatements($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {
2819
+ medicationStatements(
2820
+ _getpagesoffset: $page
2821
+ _count: $pageSize
2822
+ code: $code
2823
+ id: $id
2824
+ _lastUpdated: $lastUpdated
2825
+ _sort: $sort
2826
+ status: $status
2827
+ _total: $total
2828
+ category: {value: {system: "https://fhir.icanbwell.com/4_0_0/CodeSystem/medicationstatement/category|derived_medication_statement"}}
2829
+ ) {
2830
+ id
2831
+ entry {
2832
+ id
2833
+ resource {
2834
+ id
2835
+ meta {
2836
+ ...MetaFields
2837
+ }
2838
+ status
2839
+ medicationCodeableConcept {
2840
+ ...CodeableConceptFields
2841
+ }
2842
+ reasonCode {
2843
+ ...CodeableConceptFields
2844
+ }
2845
+ effectivePeriod {
2846
+ ...PeriodFields
2847
+ }
2848
+ dosage {
2849
+ ...DosageFields
2850
+ }
2851
+ derivedFrom {
2852
+ id
2853
+ reference
2854
+ type
2855
+ }
2856
+ }
2857
+ }
2858
+ }
2859
+ }
2860
+ ${MetaFieldsFragmentDoc}
2861
+ ${CodeableConceptFieldsFragmentDoc}
2862
+ ${PeriodFieldsFragmentDoc}
2863
+ ${DosageFieldsFragmentDoc}`;
2794
2864
  export const AppointmentsDocument = `
2795
2865
  query appointments($source: SearchString, $id: SearchString, $count: Int, $getPagesOffset: Int, $date: SearchDate, $supportingInformation: SearchReference, $sort: [String], $status: SearchToken) {
2796
2866
  appointments(
@@ -3361,6 +3431,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
3361
3431
  getLabGroups(variables, requestHeaders) {
3362
3432
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabGroups', 'query', variables);
3363
3433
  },
3434
+ getLabs(variables, requestHeaders) {
3435
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabs', 'query', variables);
3436
+ },
3364
3437
  getMedicationDispenses(variables, requestHeaders) {
3365
3438
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationDispensesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationDispenses', 'query', variables);
3366
3439
  },
@@ -3370,6 +3443,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
3370
3443
  getMedicationRequest(variables, requestHeaders) {
3371
3444
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationRequestDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationRequest', 'query', variables);
3372
3445
  },
3446
+ getMedicationStatements(variables, requestHeaders) {
3447
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationStatementsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationStatements', 'query', variables);
3448
+ },
3373
3449
  appointments(variables, requestHeaders) {
3374
3450
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(AppointmentsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'appointments', 'query', variables);
3375
3451
  },