@icanbwell/bwell-sdk-ts 1.68.0 → 1.68.2

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 = "1.68.0";
4
+ export declare const VERSION = "1.68.2";
@@ -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 = "1.68.0";
4
+ export const VERSION = "1.68.2";
@@ -146,6 +146,11 @@ export declare class VitalSignsRequest extends HealthDataRequest {
146
146
  */
147
147
  export declare class VitalSignGroupsRequest extends PagedRequest {
148
148
  }
149
+ /**
150
+ * Request object for fetching device metric groups data (non-lab observations).
151
+ */
152
+ export declare class DeviceMetricGroupsRequest extends PagedRequest {
153
+ }
149
154
  /**
150
155
  * Request object for fetching DiagnosticReport Lab Groups
151
156
  */
@@ -180,6 +180,11 @@ export class VitalSignsRequest extends HealthDataRequest {
180
180
  */
181
181
  export class VitalSignGroupsRequest extends PagedRequest {
182
182
  }
183
+ /**
184
+ * Request object for fetching device metric groups data (non-lab observations).
185
+ */
186
+ export class DeviceMetricGroupsRequest extends PagedRequest {
187
+ }
183
188
  /**
184
189
  * Request object for fetching DiagnosticReport Lab Groups
185
190
  */
@@ -1,9 +1,9 @@
1
- import { GetAllergyIntoleranceGroupsQueryResults, GetAllergyIntolerancesQueryResults, GetBinaryQueryResults, GetCarePlanGroupsQueryResults, GetCarePlansQueryResults, GetCareTeamsQueryResults, GetConditionGroupsQueryResults, GetConditionsQueryResults, GetDiagnosticReportLabGroupsQueryResults, GetDiagnosticReportsQueryResults, GetDocumentReferencesQueryResults, GetEncounterQueryResults, GetEncountersGroupQueryResults, GetHealthSummaryQueryResults, GetImmunizationGroupsQueryResults, GetImmunizationsQueryResults, GetLabGroupsQueryResults, GetLabKnowledgeQueryResults, GetLabsQueryResults, GetMedicationGroupsQueryResults, GetMedicationKnowledgeQueryResults, GetMedicationPricingQueryResults, GetMedicationStatementsQueryResults, GetProcedureGroupsQueryResults, GetProceduresQueryResults, GetVitalSignGroupsQueryResults, GetVitalSignsQueryResults, UpdateMedicationStatementMutationResults } from "../../../graphql/operations/types.js";
1
+ import { GetAllergyIntoleranceGroupsQueryResults, GetAllergyIntolerancesQueryResults, GetBinaryQueryResults, GetCarePlanGroupsQueryResults, GetCarePlansQueryResults, GetCareTeamsQueryResults, GetConditionGroupsQueryResults, GetConditionsQueryResults, GetDiagnosticReportLabGroupsQueryResults, GetDiagnosticReportsQueryResults, GetDocumentReferencesQueryResults, GetEncounterQueryResults, GetEncountersGroupQueryResults, GetHealthSummaryQueryResults, GetImmunizationGroupsQueryResults, GetImmunizationsQueryResults, GetLabGroupsQueryResults, GetLabKnowledgeQueryResults, GetLabsQueryResults, GetMedicationGroupsQueryResults, GetMedicationKnowledgeQueryResults, GetMedicationPricingQueryResults, GetMedicationStatementsQueryResults, GetObservationsQueryResults, GetProcedureGroupsQueryResults, GetProceduresQueryResults, GetVitalSignGroupsQueryResults, UpdateMedicationStatementMutationResults } from "../../../graphql/operations/types.js";
2
2
  import { BWellQueryResult, BWellTransactionResult } from "../../../results/index.js";
3
3
  import { MedicationDispenseResultsType } from "../../graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js";
4
4
  import { MedicationRequestResultsType } from "../../graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js";
5
5
  import type { BaseManagerError } from "../errors.js";
6
- import { AllergyIntoleranceGroupsRequest, AllergyIntolerancesRequest, BinaryRequest, CarePlanGroupsRequest, CarePlansRequest, CareTeamsRequest, ConditionGroupsRequest, ConditionsRequest, DiagnosticReportLabGroupsRequest, DiagnosticReportsRequest, DocumentReferencesRequest, EncounterGroupsRequest, EncountersRequest, ImmunizationGroupsRequest, ImmunizationsRequest, LabGroupsRequest, LabsRequest, MedicationDispenseRequest, MedicationGroupsRequest, MedicationRequestRequest, MedicationStatementsRequest, ProcedureGroupsRequest, ProceduresRequest, VitalSignGroupsRequest, VitalSignsRequest } from "./health-data-request.js";
6
+ import { AllergyIntoleranceGroupsRequest, AllergyIntolerancesRequest, BinaryRequest, CarePlanGroupsRequest, CarePlansRequest, CareTeamsRequest, ConditionGroupsRequest, ConditionsRequest, DeviceMetricGroupsRequest, DiagnosticReportLabGroupsRequest, DiagnosticReportsRequest, DocumentReferencesRequest, EncounterGroupsRequest, EncountersRequest, HealthDataRequest, ImmunizationGroupsRequest, ImmunizationsRequest, LabGroupsRequest, LabsRequest, MedicationDispenseRequest, MedicationGroupsRequest, MedicationRequestRequest, MedicationStatementsRequest, ProcedureGroupsRequest, ProceduresRequest, VitalSignGroupsRequest, VitalSignsRequest } from "./health-data-request.js";
7
7
  import { LabKnowledgeRequest } from "./lab-knowledge-request.js";
8
8
  import { MedicationKnowledgeRequest } from "./medication-knowledge-request.js";
9
9
  import { MedicationPricingRequest } from "./medication-pricing-request.js";
@@ -64,12 +64,17 @@ export interface ProceduresResults extends ProceduresResultsType {
64
64
  type ProcedureGroupsResultsType = GetProcedureGroupsQueryResults["getProcedureGroups"];
65
65
  export interface ProcedureGroupsResults extends ProcedureGroupsResultsType {
66
66
  }
67
- type VitalSignsResultsType = GetVitalSignsQueryResults["getVitalSigns"];
67
+ type VitalSignsResultsType = GetObservationsQueryResults["getObservations"];
68
68
  export interface VitalSignsResults extends VitalSignsResultsType {
69
69
  }
70
70
  type VitalSignGroupsResultsType = GetVitalSignGroupsQueryResults["getVitalSignGroups"];
71
71
  export interface VitalSignGroupsResults extends VitalSignGroupsResultsType {
72
72
  }
73
+ type DeviceMetricsResultsType = GetObservationsQueryResults["getObservations"];
74
+ export interface DeviceMetricsResults extends DeviceMetricsResultsType {
75
+ }
76
+ export interface DeviceMetricGroupsResults extends DeviceMetricsResultsType {
77
+ }
73
78
  type DiagnosticReportLabGroupsResultsType = GetDiagnosticReportLabGroupsQueryResults["getDiagnosticReportLabGroups"];
74
79
  export interface DiagnosticReportLabGroupsResults extends DiagnosticReportLabGroupsResultsType {
75
80
  }
@@ -276,6 +281,22 @@ export interface HealthManager {
276
281
  * @returns {Promise<BWellQueryResult<VitalSignGroupsResults>>} A promise resolving to an object representing the list of vital sign groups retrieved.
277
282
  */
278
283
  getVitalSignGroups(request?: VitalSignGroupsRequest): Promise<BWellQueryResult<VitalSignGroupsResults>>;
284
+ /**
285
+ * Retrieves a list of device metric resources (non-lab observations).
286
+ *
287
+ * @param {HealthDataRequest} request An optional request class for specifying the search criteria.
288
+ *
289
+ * @returns {Promise<BWellQueryResult<DeviceMetricsResults>>} A promise resolving to an object representing the list of device metrics retrieved.
290
+ */
291
+ getDeviceMetrics(request?: HealthDataRequest): Promise<BWellQueryResult<DeviceMetricsResults>>;
292
+ /**
293
+ * Retrieves a list of device metric groups resources (non-lab observations).
294
+ *
295
+ * @param {DeviceMetricGroupsRequest} request An optional request class for specifying the search criteria.
296
+ *
297
+ * @returns {Promise<BWellQueryResult<DeviceMetricGroupsResults>>} A promise resolving to an object representing the list of device metric groups retrieved.
298
+ */
299
+ getDeviceMetricGroups(request?: DeviceMetricGroupsRequest): Promise<BWellQueryResult<DeviceMetricGroupsResults>>;
279
300
  /**
280
301
  * Retrieves a list of medication dispense resources.
281
302
  * See also https://build.fhir.org/medicationdispense.html
@@ -1,6 +1,6 @@
1
- export { HealthDataRequestInput, AllergyIntolerancesRequest, AllergyIntoleranceGroupsRequest, BinaryRequest, ConditionsRequest, ConditionGroupsRequest, DiagnosticReportsRequest, DocumentReferencesRequest, LabsRequest, LabGroupsRequest, CarePlansRequest, CarePlanGroupsRequest, CareTeamsRequest, EncountersRequest, EncounterGroupsRequest, ImmunizationsRequest, ImmunizationGroupsRequest, ProceduresRequest, ProcedureGroupsRequest, VitalSignsRequest, VitalSignGroupsRequest, MedicationDispenseRequest, MedicationRequestRequest, MedicationStatementsRequest, MedicationGroupsRequest, HealthDataRequest, DiagnosticReportLabGroupsRequest, } from "./health-data-request.js";
1
+ export { HealthDataRequestInput, AllergyIntolerancesRequest, AllergyIntoleranceGroupsRequest, BinaryRequest, ConditionsRequest, ConditionGroupsRequest, DiagnosticReportsRequest, DocumentReferencesRequest, LabsRequest, LabGroupsRequest, CarePlansRequest, CarePlanGroupsRequest, CareTeamsRequest, EncountersRequest, EncounterGroupsRequest, ImmunizationsRequest, ImmunizationGroupsRequest, ProceduresRequest, ProcedureGroupsRequest, VitalSignsRequest, VitalSignGroupsRequest, DeviceMetricGroupsRequest, MedicationDispenseRequest, MedicationRequestRequest, MedicationStatementsRequest, MedicationGroupsRequest, HealthDataRequest, DiagnosticReportLabGroupsRequest, } from "./health-data-request.js";
2
2
  export { MedicationPricingRequest, MedicationPricingRequestInput, } from "./medication-pricing-request.js";
3
3
  export { MedicationKnowledgeRequest, MedicationKnowledgeRequestInput, } from "./medication-knowledge-request.js";
4
4
  export { LabKnowledgeRequest, LabKnowledgeRequestInput, } from "./lab-knowledge-request.js";
5
5
  export { UpdateMedicationStatementRequest, UpdateMedicationStatementInput, UpdateMedicationStatementStatus, } from "./medication-statement-request.js";
6
- export { HealthSummaryResults, AllergyIntolerancesResults, AllergyIntolerancesGroupsResults, BinaryResults, ConditionsResults, ConditionGroupsResults, DiagnosticReportsResults, DocumentReferencesResults, LabsResults, LabGroupsResults, CarePlansResults, CarePlanGroupsResults, CareTeamsResults, EncountersResults, EncounterGroupsResults, ImmunizationsResults, ImmunizationGroupsResults, ProceduresResults, ProcedureGroupsResults, VitalSignsResults, VitalSignGroupsResults, MedicationDispenseResults, MedicationRequestResults, MedicationStatementsResults, MedicationKnowledgeResults, MedicationGroupsResults, LabKnowledgeResults, HealthManager, MedicationPricingResults, DiagnosticReportLabGroupsResults, UpdateMedicationStatementResult, } from "./health-manager.js";
6
+ export { HealthSummaryResults, AllergyIntolerancesResults, AllergyIntolerancesGroupsResults, BinaryResults, ConditionsResults, ConditionGroupsResults, DiagnosticReportsResults, DocumentReferencesResults, LabsResults, LabGroupsResults, CarePlansResults, CarePlanGroupsResults, CareTeamsResults, EncountersResults, EncounterGroupsResults, ImmunizationsResults, ImmunizationGroupsResults, ProceduresResults, ProcedureGroupsResults, VitalSignsResults, VitalSignGroupsResults, DeviceMetricsResults, DeviceMetricGroupsResults, MedicationDispenseResults, MedicationRequestResults, MedicationStatementsResults, MedicationKnowledgeResults, MedicationGroupsResults, LabKnowledgeResults, HealthManager, MedicationPricingResults, DiagnosticReportLabGroupsResults, UpdateMedicationStatementResult, } from "./health-manager.js";
@@ -1,4 +1,4 @@
1
- export { AllergyIntolerancesRequest, AllergyIntoleranceGroupsRequest, BinaryRequest, ConditionsRequest, ConditionGroupsRequest, DiagnosticReportsRequest, DocumentReferencesRequest, LabsRequest, LabGroupsRequest, CarePlansRequest, CarePlanGroupsRequest, CareTeamsRequest, EncountersRequest, EncounterGroupsRequest, ImmunizationsRequest, ImmunizationGroupsRequest, ProceduresRequest, ProcedureGroupsRequest, VitalSignsRequest, VitalSignGroupsRequest, MedicationDispenseRequest, MedicationRequestRequest, MedicationStatementsRequest, MedicationGroupsRequest, HealthDataRequest, DiagnosticReportLabGroupsRequest, } from "./health-data-request.js";
1
+ export { AllergyIntolerancesRequest, AllergyIntoleranceGroupsRequest, BinaryRequest, ConditionsRequest, ConditionGroupsRequest, DiagnosticReportsRequest, DocumentReferencesRequest, LabsRequest, LabGroupsRequest, CarePlansRequest, CarePlanGroupsRequest, CareTeamsRequest, EncountersRequest, EncounterGroupsRequest, ImmunizationsRequest, ImmunizationGroupsRequest, ProceduresRequest, ProcedureGroupsRequest, VitalSignsRequest, VitalSignGroupsRequest, DeviceMetricGroupsRequest, MedicationDispenseRequest, MedicationRequestRequest, MedicationStatementsRequest, MedicationGroupsRequest, HealthDataRequest, DiagnosticReportLabGroupsRequest, } from "./health-data-request.js";
2
2
  export { MedicationPricingRequest, } from "./medication-pricing-request.js";
3
3
  export { MedicationKnowledgeRequest, } from "./medication-knowledge-request.js";
4
4
  export { LabKnowledgeRequest, } from "./lab-knowledge-request.js";
@@ -38,6 +38,8 @@ export declare class GraphQLHealthManager extends GraphQLManager implements Heal
38
38
  getProcedureGroups(request?: health.ProcedureGroupsRequest): Promise<BWellQueryResult<health.ProcedureGroupsResults, ValidationError | BaseManagerError>>;
39
39
  getVitalSigns(request?: health.VitalSignsRequest): Promise<BWellQueryResult<health.VitalSignsResults, ValidationError | BaseManagerError>>;
40
40
  getVitalSignGroups(request?: health.VitalSignGroupsRequest): Promise<BWellQueryResult<health.VitalSignGroupsResults, ValidationError | BaseManagerError>>;
41
+ getDeviceMetrics(request?: health.HealthDataRequest): Promise<BWellQueryResult<health.DeviceMetricsResults, ValidationError | BaseManagerError>>;
42
+ getDeviceMetricGroups(request?: health.DeviceMetricGroupsRequest): Promise<BWellQueryResult<health.DeviceMetricGroupsResults, ValidationError | BaseManagerError>>;
41
43
  getMedicationDispense(request?: health.MedicationDispenseRequest): Promise<BWellQueryResult<health.MedicationDispenseResults, ValidationError | BaseManagerError>>;
42
44
  getMedicationRequest(request?: health.MedicationRequestRequest): Promise<BWellQueryResult<health.MedicationRequestResults, ValidationError | BaseManagerError>>;
43
45
  getMedicationStatements(request?: health.MedicationStatementsRequest): Promise<BWellQueryResult<health.MedicationStatementsResults, ValidationError | BaseManagerError>>;
@@ -19,6 +19,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
19
19
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
20
20
  };
21
21
  var _GraphQLHealthManager_sdk, _GraphQLHealthManager_logger, _GraphQLHealthManager_medicationRequestResponseFactory, _GraphQLHealthManager_medicationDispenseResponseFactory, _GraphQLHealthManager_diagnosticReportRequestFactory, _GraphQLHealthManager_updateMedicationStatementRequestFactory;
22
+ import { ObservationCategory } from "../../../graphql/schema.js";
22
23
  import { ConsoleLoggerProvider, } from "../../../logger/index.js";
23
24
  import { BWellQueryResult, BWellTransactionResult, } from "../../../results/index.js";
24
25
  import { GraphQLManager } from "../graphql-manager/index.js";
@@ -373,20 +374,21 @@ export class GraphQLHealthManager extends GraphQLManager {
373
374
  }
374
375
  getVitalSigns(request) {
375
376
  return __awaiter(this, void 0, void 0, function* () {
376
- var _a, _b;
377
+ var _a;
377
378
  const validationResult = this.validateRequest(request);
378
379
  if (validationResult.failure()) {
379
380
  return validationResult.toQueryResult();
380
381
  }
381
382
  __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("calling getVitalSigns...");
382
- const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLHealthManager_sdk, "f").getVitalSigns({
383
- request: (_a = request === null || request === void 0 ? void 0 : request.data()) !== null && _a !== void 0 ? _a : null,
383
+ const requestData = request === null || request === void 0 ? void 0 : request.data();
384
+ const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLHealthManager_sdk, "f").getObservations({
385
+ request: Object.assign(Object.assign({}, requestData), { category: ObservationCategory.VitalSigns }),
384
386
  }));
385
387
  __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("getVitalSigns complete");
386
388
  if (result.hasError()) {
387
389
  __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").error("getVitalSigns errors", result.error);
388
390
  }
389
- return new BWellQueryResult((_b = result.data) === null || _b === void 0 ? void 0 : _b.getVitalSigns, result.error);
391
+ return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.getObservations, result.error);
390
392
  });
391
393
  }
392
394
  getVitalSignGroups(request) {
@@ -407,6 +409,44 @@ export class GraphQLHealthManager extends GraphQLManager {
407
409
  return new BWellQueryResult((_b = result.data) === null || _b === void 0 ? void 0 : _b.getVitalSignGroups, result.error);
408
410
  });
409
411
  }
412
+ getDeviceMetrics(request) {
413
+ return __awaiter(this, void 0, void 0, function* () {
414
+ var _a;
415
+ const validationResult = this.validateRequest(request);
416
+ if (validationResult.failure()) {
417
+ return validationResult.toQueryResult();
418
+ }
419
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("calling getDeviceMetrics...");
420
+ const requestData = request === null || request === void 0 ? void 0 : request.data();
421
+ const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLHealthManager_sdk, "f").getObservations({
422
+ request: Object.assign(Object.assign({}, requestData), { category: ObservationCategory.Activity }),
423
+ }));
424
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("getDeviceMetrics complete");
425
+ if (result.hasError()) {
426
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").error("getDeviceMetrics errors", result.error);
427
+ }
428
+ return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.getObservations, result.error);
429
+ });
430
+ }
431
+ getDeviceMetricGroups(request) {
432
+ return __awaiter(this, void 0, void 0, function* () {
433
+ var _a;
434
+ const validationResult = this.validateRequest(request);
435
+ if (validationResult.failure()) {
436
+ return validationResult.toQueryResult();
437
+ }
438
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("calling getDeviceMetricGroups...");
439
+ const requestData = request === null || request === void 0 ? void 0 : request.data();
440
+ const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLHealthManager_sdk, "f").getObservations({
441
+ request: Object.assign(Object.assign({}, requestData), { category: ObservationCategory.Activity }),
442
+ }));
443
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("getDeviceMetricGroups complete");
444
+ if (result.hasError()) {
445
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").error("getDeviceMetricGroups errors", result.error);
446
+ }
447
+ return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.getObservations, result.error);
448
+ });
449
+ }
410
450
  getMedicationDispense(request) {
411
451
  return __awaiter(this, void 0, void 0, function* () {
412
452
  var _a;
@@ -122,6 +122,7 @@ export declare const GetEncounterQueryDocument = "\n query getEncounterQuery(
122
122
  export declare const GetHealthSummaryDocument = "\n query GetHealthSummary {\n getHealthSummary {\n resources {\n category\n total\n }\n }\n}\n ";
123
123
  export declare const GetImmunizationGroupsDocument = "\n query getImmunizationGroups($request: ImmunizationGroupQueryRequest) {\n getImmunizationGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n references\n coding {\n ...CodingFields\n }\n occurrenceDateTime\n source\n sourceDisplay\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n ";
124
124
  export declare const GetImmunizationsDocument = "\n query getImmunizations($request: ImmunizationRequest) {\n getImmunizations(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n resourceType\n id\n status {\n code\n display\n }\n expirationDate\n identifier {\n ...IdentifierFields\n }\n reportOrigin {\n ...CodeableConceptFields\n }\n text {\n ...NarrativeFields\n }\n meta {\n ...MetaFields\n }\n vaccineCode {\n ...CodeableConceptFields\n }\n statusReason {\n ...CodeableConceptFields\n }\n occurrenceDateTime\n primarySource\n doseQuantity {\n ...QuantityFields\n }\n encounter {\n ...EncounterFields\n }\n reaction {\n ...ReactionFields\n }\n protocolApplied {\n ...ProtocolAppliedFields\n }\n manufacturer {\n ...OrganizationFields\n }\n lotNumber\n site {\n ...CodeableConceptFields\n }\n route {\n ...CodeableConceptFields\n }\n performer {\n ...PerformerFields\n }\n location {\n ...LocationFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment EncounterFields on EncounterResource {\n meta {\n ...MetaFields\n }\n id\n resourceType\n text {\n ...NarrativeFields\n }\n encounterLocations: locations {\n location {\n ...LocationFields\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n identifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n participant {\n ...ParticipantFields\n }\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n system\n code\n display\n }\n location {\n ...LocationFields\n }\n serviceProvider {\n name\n endpoint {\n name\n status\n connectionType {\n system\n code\n display\n }\n address\n }\n }\n subject {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n language {\n ...CodeableConceptFields\n }\n }\n }\n reasonReference {\n ...ConditionFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment LocationFields on Location {\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n ...ContactPointFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ParticipantFields on Participant {\n individual {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ConditionFields on ConditionResource {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReactionFields on Reaction {\n description\n manifestation {\n ...CodeableConceptFields\n }\n onset\n severity {\n code\n display\n }\n note {\n authorString\n time\n text\n }\n date\n detail {\n ...ObservationFields\n }\n reported\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ObservationFields on ObservationResource {\n id\n meta {\n ...MetaFields\n }\n resourceType\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n subject {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n }\n issued\n basedOn {\n ...ObservationBasedOnFields\n }\n code {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n component {\n ...ComponentFields\n }\n effectiveDateTime\n effectivePeriod {\n ...PeriodFields\n }\n note {\n authorString\n time\n text\n }\n encounter {\n ...EncounterFields\n }\n performer {\n ...PerformerFields\n }\n hasMember {\n ... on ObservationResource {\n id\n code {\n ...CodeableConceptFields\n }\n }\n }\n specimen {\n ...SpecimenResourceFields\n }\n status {\n display\n code\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ObservationBasedOnFields on ObservationBasedOn {\n ... on ServiceRequest {\n resourceType\n id\n reasonCode {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment ComponentFields on Component {\n code {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment EncounterFields on EncounterResource {\n meta {\n ...MetaFields\n }\n id\n resourceType\n text {\n ...NarrativeFields\n }\n encounterLocations: locations {\n location {\n ...LocationFields\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n identifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n participant {\n ...ParticipantFields\n }\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n system\n code\n display\n }\n location {\n ...LocationFields\n }\n serviceProvider {\n name\n endpoint {\n name\n status\n connectionType {\n system\n code\n display\n }\n address\n }\n }\n subject {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n language {\n ...CodeableConceptFields\n }\n }\n }\n reasonReference {\n ...ConditionFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment LocationFields on Location {\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n ...ContactPointFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ParticipantFields on Participant {\n individual {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ConditionFields on ConditionResource {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment PerformerFields on Performer {\n actor {\n ...ActorFields\n }\n}\n \n fragment ActorFields on Actor {\n __typename\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Organization {\n organizationName: name\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment SpecimenResourceFields on SpecimenResource {\n identifier {\n ...IdentifierFields\n }\n accessionIdentifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ProtocolAppliedFields on ProtocolApplied {\n doseNumberString\n doseNumberPositiveInt\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n identifier {\n ...IdentifierFields\n }\n endpoint {\n ...EndpointFields\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n type {\n ...CodeableConceptFields\n }\n active\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PerformerFields on Performer {\n actor {\n ...ActorFields\n }\n}\n \n fragment ActorFields on Actor {\n __typename\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Organization {\n organizationName: name\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n ...ContactPointFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n ";
125
+ export declare const GetObservationsDocument = "\n query getObservations($request: ObservationRequest) {\n getObservations(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n ...ObservationFields\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 ObservationFields on ObservationResource {\n id\n meta {\n ...MetaFields\n }\n resourceType\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n subject {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n }\n issued\n basedOn {\n ...ObservationBasedOnFields\n }\n code {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n component {\n ...ComponentFields\n }\n effectiveDateTime\n effectivePeriod {\n ...PeriodFields\n }\n note {\n authorString\n time\n text\n }\n encounter {\n ...EncounterFields\n }\n performer {\n ...PerformerFields\n }\n hasMember {\n ... on ObservationResource {\n id\n code {\n ...CodeableConceptFields\n }\n }\n }\n specimen {\n ...SpecimenResourceFields\n }\n status {\n display\n code\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ObservationBasedOnFields on ObservationBasedOn {\n ... on ServiceRequest {\n resourceType\n id\n reasonCode {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment ComponentFields on Component {\n code {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment EncounterFields on EncounterResource {\n meta {\n ...MetaFields\n }\n id\n resourceType\n text {\n ...NarrativeFields\n }\n encounterLocations: locations {\n location {\n ...LocationFields\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n identifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n participant {\n ...ParticipantFields\n }\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n system\n code\n display\n }\n location {\n ...LocationFields\n }\n serviceProvider {\n name\n endpoint {\n name\n status\n connectionType {\n system\n code\n display\n }\n address\n }\n }\n subject {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n language {\n ...CodeableConceptFields\n }\n }\n }\n reasonReference {\n ...ConditionFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment LocationFields on Location {\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n ...ContactPointFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ParticipantFields on Participant {\n individual {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ConditionFields on ConditionResource {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment PerformerFields on Performer {\n actor {\n ...ActorFields\n }\n}\n \n fragment ActorFields on Actor {\n __typename\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Organization {\n organizationName: name\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment SpecimenResourceFields on SpecimenResource {\n identifier {\n ...IdentifierFields\n }\n accessionIdentifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n ";
125
126
  export declare const GetProcedureGroupsDocument = "\n query getProcedureGroups($request: ProcedureGroupQueryRequest) {\n getProcedureGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n references\n coding {\n ...CodingFields\n }\n performer\n performedDate\n source\n sourceDisplay\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n ";
126
127
  export declare const GetProceduresDocument = "\n query GetProcedures($request: ProcedureRequest) {\n getProcedures(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n resourceType\n identifier {\n ...IdentifierFields\n }\n location {\n ...LocationFields\n }\n subject {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n }\n recorder {\n ...RecorderFields\n }\n asserter {\n ...AsserterFields\n }\n text {\n ...NarrativeFields\n }\n code {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n meta {\n ...MetaFields\n }\n performedDateTime\n performedPeriod {\n ...PeriodFields\n }\n performedString\n performer {\n ...PerformerFields\n }\n encounter {\n ...EncounterFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n outcome {\n ...CodeableConceptFields\n }\n followUp {\n ...CodeableConceptFields\n }\n complication {\n ...CodeableConceptFields\n }\n note {\n authorString\n time\n text\n }\n status {\n code\n display\n }\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n ...ContactPointFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment AsserterFields on Asserter {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment PerformerFields on Performer {\n actor {\n ...ActorFields\n }\n}\n \n fragment ActorFields on Actor {\n __typename\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Organization {\n organizationName: name\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment EncounterFields on EncounterResource {\n meta {\n ...MetaFields\n }\n id\n resourceType\n text {\n ...NarrativeFields\n }\n encounterLocations: locations {\n location {\n ...LocationFields\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n identifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n participant {\n ...ParticipantFields\n }\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n system\n code\n display\n }\n location {\n ...LocationFields\n }\n serviceProvider {\n name\n endpoint {\n name\n status\n connectionType {\n system\n code\n display\n }\n address\n }\n }\n subject {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n language {\n ...CodeableConceptFields\n }\n }\n }\n reasonReference {\n ...ConditionFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment LocationFields on Location {\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n ...ContactPointFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment 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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ParticipantFields on Participant {\n individual {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ConditionFields on ConditionResource {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n ";
127
128
  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 text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment ComponentFields on Component {\n code {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
@@ -394,6 +395,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
394
395
  headers: Headers;
395
396
  status: number;
396
397
  }>;
398
+ getObservations(variables?: Types.GetObservationsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
399
+ data: Types.GetObservationsQueryResults;
400
+ errors?: GraphQLError[];
401
+ extensions?: any;
402
+ headers: Headers;
403
+ status: number;
404
+ }>;
397
405
  getProcedureGroups(variables?: Types.GetProcedureGroupsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
398
406
  data: Types.GetProcedureGroupsQueryResults;
399
407
  errors?: GraphQLError[];
@@ -2994,6 +2994,19 @@ ${ProtocolAppliedFieldsFragmentDoc}
2994
2994
  ${OrganizationFieldsFragmentDoc}
2995
2995
  ${PerformerFieldsFragmentDoc}
2996
2996
  ${LocationFieldsFragmentDoc}`;
2997
+ export const GetObservationsDocument = `
2998
+ query getObservations($request: ObservationRequest) {
2999
+ getObservations(request: $request) {
3000
+ paging_info {
3001
+ ...PagingFields
3002
+ }
3003
+ resources {
3004
+ ...ObservationFields
3005
+ }
3006
+ }
3007
+ }
3008
+ ${PagingFieldsFragmentDoc}
3009
+ ${ObservationFieldsFragmentDoc}`;
2997
3010
  export const GetProcedureGroupsDocument = `
2998
3011
  query getProcedureGroups($request: ProcedureGroupQueryRequest) {
2999
3012
  getProcedureGroups(request: $request) {
@@ -4745,6 +4758,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
4745
4758
  getImmunizations(variables, requestHeaders) {
4746
4759
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetImmunizationsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getImmunizations', 'query', variables);
4747
4760
  },
4761
+ getObservations(variables, requestHeaders) {
4762
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetObservationsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getObservations', 'query', variables);
4763
+ },
4748
4764
  getProcedureGroups(variables, requestHeaders) {
4749
4765
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProcedureGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProcedureGroups', 'query', variables);
4750
4766
  },
@@ -14371,6 +14371,796 @@ export type GetImmunizationsQueryResults = {
14371
14371
  }>;
14372
14372
  };
14373
14373
  };
14374
+ export type GetObservationsQueryVariables = Types.Exact<{
14375
+ request: Types.InputMaybe<Types.ObservationRequest>;
14376
+ }>;
14377
+ export type GetObservationsQueryResults = {
14378
+ getObservations: {
14379
+ paging_info: {
14380
+ page_number: number;
14381
+ page_size: number;
14382
+ total_pages: number;
14383
+ total_items: number;
14384
+ } | null;
14385
+ resources: Array<{
14386
+ id: string;
14387
+ resourceType: string | null;
14388
+ issued: any | null;
14389
+ effectiveDateTime: any | null;
14390
+ meta: {
14391
+ versionId: string | null;
14392
+ lastUpdated: any | null;
14393
+ source: any | null;
14394
+ security: Array<{
14395
+ system: any | null;
14396
+ code: any | null;
14397
+ display: string | null;
14398
+ } | null> | null;
14399
+ tag: Array<{
14400
+ system: any | null;
14401
+ code: any | null;
14402
+ display: string | null;
14403
+ } | null> | null;
14404
+ } | null;
14405
+ text: {
14406
+ div: any | null;
14407
+ status: any | null;
14408
+ } | null;
14409
+ identifier: Array<{
14410
+ id: string | null;
14411
+ system: any | null;
14412
+ value: string | null;
14413
+ type: {
14414
+ text: string | null;
14415
+ coding: Array<{
14416
+ system: any | null;
14417
+ code: any | null;
14418
+ display: string | null;
14419
+ } | null> | null;
14420
+ } | null;
14421
+ } | null> | null;
14422
+ subject: {
14423
+ __typename: 'Patient';
14424
+ name: Array<{
14425
+ text: string | null;
14426
+ family: string | null;
14427
+ given: Array<string | null> | null;
14428
+ prefix: Array<string | null> | null;
14429
+ suffix: Array<string | null> | null;
14430
+ } | null> | null;
14431
+ } | null;
14432
+ basedOn: Array<{
14433
+ resourceType: string | null;
14434
+ id: string;
14435
+ reasonCode: Array<{
14436
+ text: string | null;
14437
+ coding: Array<{
14438
+ system: any | null;
14439
+ code: any | null;
14440
+ display: string | null;
14441
+ } | null> | null;
14442
+ } | null> | null;
14443
+ } | {}> | null;
14444
+ code: {
14445
+ text: string | null;
14446
+ coding: Array<{
14447
+ system: any | null;
14448
+ code: any | null;
14449
+ display: string | null;
14450
+ } | null> | null;
14451
+ };
14452
+ category: Array<{
14453
+ text: string | null;
14454
+ coding: Array<{
14455
+ system: any | null;
14456
+ code: any | null;
14457
+ display: string | null;
14458
+ } | null> | null;
14459
+ } | null> | null;
14460
+ value: {
14461
+ valueString: string | null;
14462
+ valueBoolean: boolean | null;
14463
+ valueInteger: number | null;
14464
+ valueTime: string | null;
14465
+ valueDateTime: any | null;
14466
+ valueQuantity: {
14467
+ value: number | null;
14468
+ unit: string | null;
14469
+ code: any | null;
14470
+ comparator: any | null;
14471
+ system: any | null;
14472
+ } | null;
14473
+ valueCodeableConcept: {
14474
+ text: string | null;
14475
+ coding: Array<{
14476
+ system: any | null;
14477
+ code: any | null;
14478
+ display: string | null;
14479
+ } | null> | null;
14480
+ } | null;
14481
+ valueRatio: {
14482
+ numerator: {
14483
+ value: number | null;
14484
+ unit: string | null;
14485
+ code: any | null;
14486
+ comparator: any | null;
14487
+ system: any | null;
14488
+ } | null;
14489
+ denominator: {
14490
+ value: number | null;
14491
+ unit: string | null;
14492
+ code: any | null;
14493
+ comparator: any | null;
14494
+ system: any | null;
14495
+ } | null;
14496
+ } | null;
14497
+ valueRange: {
14498
+ low: {
14499
+ value: number | null;
14500
+ unit: string | null;
14501
+ code: any | null;
14502
+ comparator: any | null;
14503
+ system: any | null;
14504
+ } | null;
14505
+ high: {
14506
+ value: number | null;
14507
+ unit: string | null;
14508
+ code: any | null;
14509
+ comparator: any | null;
14510
+ system: any | null;
14511
+ } | null;
14512
+ } | null;
14513
+ valuePeriod: {
14514
+ start: any | null;
14515
+ end: any | null;
14516
+ } | null;
14517
+ } | null;
14518
+ referenceRange: Array<{
14519
+ text: string | null;
14520
+ low: {
14521
+ value: number | null;
14522
+ unit: string | null;
14523
+ code: any | null;
14524
+ comparator: any | null;
14525
+ system: any | null;
14526
+ } | null;
14527
+ high: {
14528
+ value: number | null;
14529
+ unit: string | null;
14530
+ code: any | null;
14531
+ comparator: any | null;
14532
+ system: any | null;
14533
+ } | null;
14534
+ } | null> | null;
14535
+ interpretation: Array<{
14536
+ text: string | null;
14537
+ coding: Array<{
14538
+ system: any | null;
14539
+ code: any | null;
14540
+ display: string | null;
14541
+ } | null> | null;
14542
+ } | null> | null;
14543
+ component: Array<{
14544
+ code: {
14545
+ text: string | null;
14546
+ coding: Array<{
14547
+ system: any | null;
14548
+ code: any | null;
14549
+ display: string | null;
14550
+ } | null> | null;
14551
+ } | null;
14552
+ value: {
14553
+ valueString: string | null;
14554
+ valueBoolean: boolean | null;
14555
+ valueInteger: number | null;
14556
+ valueTime: string | null;
14557
+ valueDateTime: any | null;
14558
+ valueQuantity: {
14559
+ value: number | null;
14560
+ unit: string | null;
14561
+ code: any | null;
14562
+ comparator: any | null;
14563
+ system: any | null;
14564
+ } | null;
14565
+ valueCodeableConcept: {
14566
+ text: string | null;
14567
+ coding: Array<{
14568
+ system: any | null;
14569
+ code: any | null;
14570
+ display: string | null;
14571
+ } | null> | null;
14572
+ } | null;
14573
+ valueRatio: {
14574
+ numerator: {
14575
+ value: number | null;
14576
+ unit: string | null;
14577
+ code: any | null;
14578
+ comparator: any | null;
14579
+ system: any | null;
14580
+ } | null;
14581
+ denominator: {
14582
+ value: number | null;
14583
+ unit: string | null;
14584
+ code: any | null;
14585
+ comparator: any | null;
14586
+ system: any | null;
14587
+ } | null;
14588
+ } | null;
14589
+ valueRange: {
14590
+ low: {
14591
+ value: number | null;
14592
+ unit: string | null;
14593
+ code: any | null;
14594
+ comparator: any | null;
14595
+ system: any | null;
14596
+ } | null;
14597
+ high: {
14598
+ value: number | null;
14599
+ unit: string | null;
14600
+ code: any | null;
14601
+ comparator: any | null;
14602
+ system: any | null;
14603
+ } | null;
14604
+ } | null;
14605
+ valuePeriod: {
14606
+ start: any | null;
14607
+ end: any | null;
14608
+ } | null;
14609
+ } | null;
14610
+ referenceRange: Array<{
14611
+ text: string | null;
14612
+ low: {
14613
+ value: number | null;
14614
+ unit: string | null;
14615
+ code: any | null;
14616
+ comparator: any | null;
14617
+ system: any | null;
14618
+ } | null;
14619
+ high: {
14620
+ value: number | null;
14621
+ unit: string | null;
14622
+ code: any | null;
14623
+ comparator: any | null;
14624
+ system: any | null;
14625
+ } | null;
14626
+ } | null> | null;
14627
+ interpretation: Array<{
14628
+ text: string | null;
14629
+ coding: Array<{
14630
+ system: any | null;
14631
+ code: any | null;
14632
+ display: string | null;
14633
+ } | null> | null;
14634
+ } | null> | null;
14635
+ dataAbsentReason: {
14636
+ text: string | null;
14637
+ coding: Array<{
14638
+ system: any | null;
14639
+ code: any | null;
14640
+ display: string | null;
14641
+ } | null> | null;
14642
+ } | null;
14643
+ } | null> | null;
14644
+ effectivePeriod: {
14645
+ start: any | null;
14646
+ end: any | null;
14647
+ } | null;
14648
+ note: Array<{
14649
+ authorString: string | null;
14650
+ time: any | null;
14651
+ text: string | null;
14652
+ } | null> | null;
14653
+ encounter: {
14654
+ id: string;
14655
+ resourceType: string | null;
14656
+ meta: {
14657
+ versionId: string | null;
14658
+ lastUpdated: any | null;
14659
+ source: any | null;
14660
+ security: Array<{
14661
+ system: any | null;
14662
+ code: any | null;
14663
+ display: string | null;
14664
+ } | null> | null;
14665
+ tag: Array<{
14666
+ system: any | null;
14667
+ code: any | null;
14668
+ display: string | null;
14669
+ } | null> | null;
14670
+ } | null;
14671
+ text: {
14672
+ div: any | null;
14673
+ status: any | null;
14674
+ } | null;
14675
+ encounterLocations: Array<{
14676
+ status: string | null;
14677
+ location: {
14678
+ name: string | null;
14679
+ alias: Array<string | null> | null;
14680
+ description: string | null;
14681
+ distanceInMiles: number | null;
14682
+ status: any | null;
14683
+ identifier: Array<{
14684
+ id: string | null;
14685
+ system: any | null;
14686
+ value: string | null;
14687
+ type: {
14688
+ text: string | null;
14689
+ coding: Array<{
14690
+ system: any | null;
14691
+ code: any | null;
14692
+ display: string | null;
14693
+ } | null> | null;
14694
+ } | null;
14695
+ } | null> | null;
14696
+ address: {
14697
+ use: any | null;
14698
+ type: any | null;
14699
+ text: string | null;
14700
+ line: Array<string | null> | null;
14701
+ city: string | null;
14702
+ district: string | null;
14703
+ state: string | null;
14704
+ postalCode: string | null;
14705
+ country: string | null;
14706
+ } | null;
14707
+ position: {
14708
+ lat: number | null;
14709
+ lon: number | null;
14710
+ } | null;
14711
+ telecom: Array<{
14712
+ id: string | null;
14713
+ system: any | null;
14714
+ value: string | null;
14715
+ use: any | null;
14716
+ rank: number | null;
14717
+ } | null> | null;
14718
+ type: Array<{
14719
+ text: string | null;
14720
+ coding: Array<{
14721
+ system: any | null;
14722
+ code: any | null;
14723
+ display: string | null;
14724
+ } | null> | null;
14725
+ } | null> | null;
14726
+ managingOrganization: {
14727
+ id: string | null;
14728
+ reference: string | null;
14729
+ display: string | null;
14730
+ identifier: {
14731
+ id: string | null;
14732
+ system: any | null;
14733
+ value: string | null;
14734
+ type: {
14735
+ text: string | null;
14736
+ coding: Array<{
14737
+ system: any | null;
14738
+ code: any | null;
14739
+ display: string | null;
14740
+ } | null> | null;
14741
+ } | null;
14742
+ } | null;
14743
+ } | null;
14744
+ } | null;
14745
+ physicalType: {
14746
+ text: string | null;
14747
+ coding: Array<{
14748
+ system: any | null;
14749
+ code: any | null;
14750
+ display: string | null;
14751
+ } | null> | null;
14752
+ } | null;
14753
+ period: {
14754
+ start: any | null;
14755
+ end: any | null;
14756
+ } | null;
14757
+ } | null> | null;
14758
+ identifier: {
14759
+ id: string | null;
14760
+ system: any | null;
14761
+ value: string | null;
14762
+ type: {
14763
+ text: string | null;
14764
+ coding: Array<{
14765
+ system: any | null;
14766
+ code: any | null;
14767
+ display: string | null;
14768
+ } | null> | null;
14769
+ } | null;
14770
+ } | null;
14771
+ type: Array<{
14772
+ text: string | null;
14773
+ coding: Array<{
14774
+ system: any | null;
14775
+ code: any | null;
14776
+ display: string | null;
14777
+ } | null> | null;
14778
+ } | null> | null;
14779
+ status: {
14780
+ code: any | null;
14781
+ display: string | null;
14782
+ };
14783
+ participant: Array<{
14784
+ individual: {
14785
+ id: string | null;
14786
+ name: Array<{
14787
+ text: string | null;
14788
+ family: string | null;
14789
+ given: Array<string | null> | null;
14790
+ prefix: Array<string | null> | null;
14791
+ suffix: Array<string | null> | null;
14792
+ } | null> | null;
14793
+ identifier: Array<{
14794
+ id: string | null;
14795
+ system: any | null;
14796
+ value: string | null;
14797
+ type: {
14798
+ text: string | null;
14799
+ coding: Array<{
14800
+ system: any | null;
14801
+ code: any | null;
14802
+ display: string | null;
14803
+ } | null> | null;
14804
+ } | null;
14805
+ } | null> | null;
14806
+ } | null;
14807
+ type: {
14808
+ text: string | null;
14809
+ coding: Array<{
14810
+ system: any | null;
14811
+ code: any | null;
14812
+ display: string | null;
14813
+ } | null> | null;
14814
+ } | null;
14815
+ period: {
14816
+ start: any | null;
14817
+ end: any | null;
14818
+ } | null;
14819
+ } | null> | null;
14820
+ period: {
14821
+ start: any | null;
14822
+ end: any | null;
14823
+ } | null;
14824
+ reasonCode: Array<{
14825
+ text: string | null;
14826
+ coding: Array<{
14827
+ system: any | null;
14828
+ code: any | null;
14829
+ display: string | null;
14830
+ } | null> | null;
14831
+ } | null> | null;
14832
+ class: {
14833
+ system: any | null;
14834
+ code: any | null;
14835
+ display: string | null;
14836
+ } | null;
14837
+ location: {
14838
+ name: string | null;
14839
+ alias: Array<string | null> | null;
14840
+ description: string | null;
14841
+ distanceInMiles: number | null;
14842
+ status: any | null;
14843
+ identifier: Array<{
14844
+ id: string | null;
14845
+ system: any | null;
14846
+ value: string | null;
14847
+ type: {
14848
+ text: string | null;
14849
+ coding: Array<{
14850
+ system: any | null;
14851
+ code: any | null;
14852
+ display: string | null;
14853
+ } | null> | null;
14854
+ } | null;
14855
+ } | null> | null;
14856
+ address: {
14857
+ use: any | null;
14858
+ type: any | null;
14859
+ text: string | null;
14860
+ line: Array<string | null> | null;
14861
+ city: string | null;
14862
+ district: string | null;
14863
+ state: string | null;
14864
+ postalCode: string | null;
14865
+ country: string | null;
14866
+ } | null;
14867
+ position: {
14868
+ lat: number | null;
14869
+ lon: number | null;
14870
+ } | null;
14871
+ telecom: Array<{
14872
+ id: string | null;
14873
+ system: any | null;
14874
+ value: string | null;
14875
+ use: any | null;
14876
+ rank: number | null;
14877
+ } | null> | null;
14878
+ type: Array<{
14879
+ text: string | null;
14880
+ coding: Array<{
14881
+ system: any | null;
14882
+ code: any | null;
14883
+ display: string | null;
14884
+ } | null> | null;
14885
+ } | null> | null;
14886
+ managingOrganization: {
14887
+ id: string | null;
14888
+ reference: string | null;
14889
+ display: string | null;
14890
+ identifier: {
14891
+ id: string | null;
14892
+ system: any | null;
14893
+ value: string | null;
14894
+ type: {
14895
+ text: string | null;
14896
+ coding: Array<{
14897
+ system: any | null;
14898
+ code: any | null;
14899
+ display: string | null;
14900
+ } | null> | null;
14901
+ } | null;
14902
+ } | null;
14903
+ } | null;
14904
+ } | null;
14905
+ serviceProvider: {
14906
+ name: string | null;
14907
+ endpoint: Array<{
14908
+ name: string | null;
14909
+ status: Types.EndpointStatus | null;
14910
+ address: string | null;
14911
+ connectionType: {
14912
+ system: any | null;
14913
+ code: any | null;
14914
+ display: string | null;
14915
+ } | null;
14916
+ } | null> | null;
14917
+ } | null;
14918
+ subject: {
14919
+ id: string;
14920
+ gender: any | null;
14921
+ birthDate: any | null;
14922
+ name: Array<{
14923
+ text: string | null;
14924
+ family: string | null;
14925
+ given: Array<string | null> | null;
14926
+ prefix: Array<string | null> | null;
14927
+ suffix: Array<string | null> | null;
14928
+ } | null> | null;
14929
+ communication: Array<{
14930
+ language: {
14931
+ text: string | null;
14932
+ coding: Array<{
14933
+ system: any | null;
14934
+ code: any | null;
14935
+ display: string | null;
14936
+ } | null> | null;
14937
+ } | null;
14938
+ } | null> | null;
14939
+ } | null;
14940
+ reasonReference: Array<{
14941
+ id: string;
14942
+ onsetDateTime: any | null;
14943
+ recordedDate: any | null;
14944
+ abatementDateTime: any | null;
14945
+ meta: {
14946
+ versionId: string | null;
14947
+ lastUpdated: any | null;
14948
+ source: any | null;
14949
+ security: Array<{
14950
+ system: any | null;
14951
+ code: any | null;
14952
+ display: string | null;
14953
+ } | null> | null;
14954
+ tag: Array<{
14955
+ system: any | null;
14956
+ code: any | null;
14957
+ display: string | null;
14958
+ } | null> | null;
14959
+ } | null;
14960
+ code: {
14961
+ text: string | null;
14962
+ coding: Array<{
14963
+ system: any | null;
14964
+ code: any | null;
14965
+ display: string | null;
14966
+ } | null> | null;
14967
+ } | null;
14968
+ clinicalStatus: {
14969
+ text: string | null;
14970
+ coding: Array<{
14971
+ system: any | null;
14972
+ code: any | null;
14973
+ display: string | null;
14974
+ } | null> | null;
14975
+ } | null;
14976
+ recorder: {
14977
+ __typename: 'Patient';
14978
+ name: Array<{
14979
+ text: string | null;
14980
+ family: string | null;
14981
+ given: Array<string | null> | null;
14982
+ prefix: Array<string | null> | null;
14983
+ suffix: Array<string | null> | null;
14984
+ } | null> | null;
14985
+ } | {
14986
+ __typename: 'Practitioner';
14987
+ name: Array<{
14988
+ text: string | null;
14989
+ family: string | null;
14990
+ given: Array<string | null> | null;
14991
+ prefix: Array<string | null> | null;
14992
+ suffix: Array<string | null> | null;
14993
+ } | null> | null;
14994
+ identifier: Array<{
14995
+ id: string | null;
14996
+ system: any | null;
14997
+ value: string | null;
14998
+ type: {
14999
+ text: string | null;
15000
+ coding: Array<{
15001
+ system: any | null;
15002
+ code: any | null;
15003
+ display: string | null;
15004
+ } | null> | null;
15005
+ } | null;
15006
+ } | null> | null;
15007
+ } | null;
15008
+ note: Array<{
15009
+ authorString: string | null;
15010
+ time: any | null;
15011
+ text: string | null;
15012
+ } | null> | null;
15013
+ onsetPeriod: {
15014
+ start: any | null;
15015
+ end: any | null;
15016
+ } | null;
15017
+ abatementPeriod: {
15018
+ start: any | null;
15019
+ end: any | null;
15020
+ } | null;
15021
+ category: Array<{
15022
+ text: string | null;
15023
+ coding: Array<{
15024
+ system: any | null;
15025
+ code: any | null;
15026
+ display: string | null;
15027
+ } | null> | null;
15028
+ } | null> | null;
15029
+ severity: {
15030
+ text: string | null;
15031
+ coding: Array<{
15032
+ system: any | null;
15033
+ code: any | null;
15034
+ display: string | null;
15035
+ } | null> | null;
15036
+ } | null;
15037
+ verificationStatus: {
15038
+ text: string | null;
15039
+ coding: Array<{
15040
+ system: any | null;
15041
+ code: any | null;
15042
+ display: string | null;
15043
+ } | null> | null;
15044
+ } | null;
15045
+ bodySite: Array<{
15046
+ text: string | null;
15047
+ coding: Array<{
15048
+ system: any | null;
15049
+ code: any | null;
15050
+ display: string | null;
15051
+ } | null> | null;
15052
+ } | null> | null;
15053
+ } | null> | null;
15054
+ hospitalization: {
15055
+ dischargeDisposition: {
15056
+ text: string | null;
15057
+ coding: Array<{
15058
+ system: any | null;
15059
+ code: any | null;
15060
+ display: string | null;
15061
+ } | null> | null;
15062
+ } | null;
15063
+ } | null;
15064
+ } | null;
15065
+ performer: Array<{
15066
+ actor: {
15067
+ __typename: 'Organization';
15068
+ organizationName: string | null;
15069
+ } | {
15070
+ __typename: 'Patient';
15071
+ name: Array<{
15072
+ text: string | null;
15073
+ family: string | null;
15074
+ given: Array<string | null> | null;
15075
+ prefix: Array<string | null> | null;
15076
+ suffix: Array<string | null> | null;
15077
+ } | null> | null;
15078
+ } | {
15079
+ __typename: 'Practitioner';
15080
+ name: Array<{
15081
+ text: string | null;
15082
+ family: string | null;
15083
+ given: Array<string | null> | null;
15084
+ prefix: Array<string | null> | null;
15085
+ suffix: Array<string | null> | null;
15086
+ } | null> | null;
15087
+ identifier: Array<{
15088
+ id: string | null;
15089
+ system: any | null;
15090
+ value: string | null;
15091
+ type: {
15092
+ text: string | null;
15093
+ coding: Array<{
15094
+ system: any | null;
15095
+ code: any | null;
15096
+ display: string | null;
15097
+ } | null> | null;
15098
+ } | null;
15099
+ } | null> | null;
15100
+ } | null;
15101
+ } | null> | null;
15102
+ hasMember: Array<{
15103
+ id: string;
15104
+ code: {
15105
+ text: string | null;
15106
+ coding: Array<{
15107
+ system: any | null;
15108
+ code: any | null;
15109
+ display: string | null;
15110
+ } | null> | null;
15111
+ };
15112
+ } | null> | null;
15113
+ specimen: {
15114
+ identifier: Array<{
15115
+ id: string | null;
15116
+ system: any | null;
15117
+ value: string | null;
15118
+ type: {
15119
+ text: string | null;
15120
+ coding: Array<{
15121
+ system: any | null;
15122
+ code: any | null;
15123
+ display: string | null;
15124
+ } | null> | null;
15125
+ } | null;
15126
+ } | null> | null;
15127
+ accessionIdentifier: {
15128
+ id: string | null;
15129
+ system: any | null;
15130
+ value: string | null;
15131
+ type: {
15132
+ text: string | null;
15133
+ coding: Array<{
15134
+ system: any | null;
15135
+ code: any | null;
15136
+ display: string | null;
15137
+ } | null> | null;
15138
+ } | null;
15139
+ } | null;
15140
+ type: {
15141
+ text: string | null;
15142
+ coding: Array<{
15143
+ system: any | null;
15144
+ code: any | null;
15145
+ display: string | null;
15146
+ } | null> | null;
15147
+ } | null;
15148
+ } | null;
15149
+ status: {
15150
+ code: any | null;
15151
+ display: string | null;
15152
+ } | null;
15153
+ dataAbsentReason: {
15154
+ text: string | null;
15155
+ coding: Array<{
15156
+ system: any | null;
15157
+ code: any | null;
15158
+ display: string | null;
15159
+ } | null> | null;
15160
+ } | null;
15161
+ }>;
15162
+ };
15163
+ };
14374
15164
  export type GetProcedureGroupsQueryVariables = Types.Exact<{
14375
15165
  request: Types.InputMaybe<Types.ProcedureGroupQueryRequest>;
14376
15166
  }>;
@@ -6939,12 +6939,14 @@ export declare enum SortField {
6939
6939
  * New version
6940
6940
  */
6941
6941
  export declare enum SortFieldEnum {
6942
- /** Sort by name of the health resource */
6942
+ /** Sort by name of the health resource. Practitioners are sorted based on 'firstName lastName' */
6943
6943
  Content = "CONTENT",
6944
6944
  /** Sort by data source ranking */
6945
6945
  DataSourceRank = "DATA_SOURCE_RANK",
6946
6946
  /** Sort by distance from search location */
6947
6947
  Distance = "DISTANCE",
6948
+ /** Sort by name of the health resource. Practitioners are sorted based on 'lastName firstName' */
6949
+ Name = "NAME",
6948
6950
  /** Sort by next available appointment of the provider/practice */
6949
6951
  NextAvailable = "NEXT_AVAILABLE",
6950
6952
  /** Sort to get providers/practices that support online booking first/last */
@@ -464,12 +464,14 @@ export var SortField;
464
464
  */
465
465
  export var SortFieldEnum;
466
466
  (function (SortFieldEnum) {
467
- /** Sort by name of the health resource */
467
+ /** Sort by name of the health resource. Practitioners are sorted based on 'firstName lastName' */
468
468
  SortFieldEnum["Content"] = "CONTENT";
469
469
  /** Sort by data source ranking */
470
470
  SortFieldEnum["DataSourceRank"] = "DATA_SOURCE_RANK";
471
471
  /** Sort by distance from search location */
472
472
  SortFieldEnum["Distance"] = "DISTANCE";
473
+ /** Sort by name of the health resource. Practitioners are sorted based on 'lastName firstName' */
474
+ SortFieldEnum["Name"] = "NAME";
473
475
  /** Sort by next available appointment of the provider/practice */
474
476
  SortFieldEnum["NextAvailable"] = "NEXT_AVAILABLE";
475
477
  /** Sort to get providers/practices that support online booking first/last */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "1.68.0",
3
+ "version": "1.68.2",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",