@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1757691388 → 2.0.0-alpha.0-rc.1757958971

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export declare const VERSION = "2.0.0-alpha.0-rc.1757691388";
4
+ export declare const VERSION = "2.0.0-alpha.0-rc.1757958971";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export const VERSION = "2.0.0-alpha.0-rc.1757691388";
4
+ export const VERSION = "2.0.0-alpha.0-rc.1757958971";
@@ -1,4 +1,4 @@
1
- import type { AllergyIntoleranceBundle, AllergyIntoleranceGroupBundle, CarePlanBundle, CarePlanGroupBundle, ConditionBundle, ConditionGroupBundle, DiagnosticReportLabGroupBundle, EncounterGroupBundle, HealthSummary, ImmunizationBundle, ImmunizationGroupBundle, LabGroupBundle, MedicationGroupBundle, ProcedureBundle, ProcedureGroupBundle, VitalSignGroupBundle } from "../../../models/health-data/index.js";
1
+ import type { AllergyIntoleranceBundle, AllergyIntoleranceGroupBundle, CarePlanBundle, CarePlanGroupBundle, ConditionBundle, ConditionGroupBundle, DiagnosticReportLabGroupBundle, EncounterGroupBundle, HealthSummary, ImmunizationBundle, ImmunizationGroupBundle, LabGroupBundle, MedicationGroupBundle, ProcedureBundle, ProcedureGroupBundle, VitalSignBundle, VitalSignGroupBundle } from "../../../models/health-data/index.js";
2
2
  import type { BWellQueryResult } from "../../../results/index.js";
3
3
  import type { BaseManagerError } from "../errors.js";
4
4
  import type { AllergyIntoleranceGroupsRequest, CarePlanGroupsRequest, ConditionGroupsRequest, DiagnosticReportLabGroupsRequest, EncounterGroupsRequest, HealthDataRequest, ImmunizationGroupsRequest, LabGroupsRequest, MedicationGroupsRequest, ProcedureGroupsRequest, VitalSignGroupsRequest } from "./health-data-request.js";
@@ -176,6 +176,20 @@ export interface HealthManager {
176
176
  * ```
177
177
  */
178
178
  getProcedureGroups(request?: ProcedureGroupsRequest): Promise<BWellQueryResult<ProcedureGroupBundle, BaseManagerError>>;
179
+ /**
180
+ * Retrieves a list of vital sign resources.
181
+ * Gets individual vital sign records for the authenticated user.
182
+ *
183
+ * @param {HealthDataRequest} request An optional request class for specifying the search criteria.
184
+ *
185
+ * @returns {Promise<BWellQueryResult<VitalSignBundle>>} A promise resolving to an object representing the list of vital signs retrieved.
186
+ *
187
+ * @example
188
+ * ```typescript
189
+ * const vitalSigns = await sdk.health.getVitalSigns();
190
+ * ```
191
+ */
192
+ getVitalSigns(request?: HealthDataRequest): Promise<BWellQueryResult<VitalSignBundle, BaseManagerError>>;
179
193
  /**
180
194
  * Retrieves a list of vital sign groups resources.
181
195
  *
@@ -1,6 +1,6 @@
1
1
  import { ValidationError } from "../../../errors/index.js";
2
2
  import { LoggerProvider } from "../../../logger/index.js";
3
- import type { AllergyIntoleranceBundle, AllergyIntoleranceGroupBundle, CarePlanBundle, CarePlanGroupBundle, ConditionBundle, ConditionGroupBundle, DiagnosticReportLabGroupBundle, EncounterGroupBundle, HealthSummary, ImmunizationBundle, ImmunizationGroupBundle, LabGroupBundle, MedicationGroupBundle, ProcedureBundle, ProcedureGroupBundle, VitalSignGroupBundle } from "../../../models/health-data/index.js";
3
+ import type { AllergyIntoleranceBundle, AllergyIntoleranceGroupBundle, CarePlanBundle, CarePlanGroupBundle, ConditionBundle, ConditionGroupBundle, DiagnosticReportLabGroupBundle, EncounterGroupBundle, HealthSummary, ImmunizationBundle, ImmunizationGroupBundle, LabGroupBundle, MedicationGroupBundle, ProcedureBundle, ProcedureGroupBundle, VitalSignBundle, VitalSignGroupBundle } from "../../../models/health-data/index.js";
4
4
  import { BWellQueryResult } from "../../../results/index.js";
5
5
  import { BaseManagerError } from "../../base/errors.js";
6
6
  import * as health from "../../base/health-data/index.js";
@@ -23,6 +23,7 @@ export declare class GraphQLHealthManager extends GraphQLManager implements Heal
23
23
  getImmunizationGroups(request?: health.ImmunizationGroupsRequest): Promise<BWellQueryResult<ImmunizationGroupBundle, ValidationError | BaseManagerError>>;
24
24
  getProcedures(request?: health.HealthDataRequest): Promise<BWellQueryResult<ProcedureBundle, BaseManagerError>>;
25
25
  getProcedureGroups(request?: health.ProcedureGroupsRequest): Promise<BWellQueryResult<ProcedureGroupBundle, ValidationError | BaseManagerError>>;
26
+ getVitalSigns(request?: health.HealthDataRequest): Promise<BWellQueryResult<VitalSignBundle, BaseManagerError>>;
26
27
  getVitalSignGroups(request?: health.VitalSignGroupsRequest): Promise<BWellQueryResult<VitalSignGroupBundle, ValidationError | BaseManagerError>>;
27
28
  getMedicationGroups(request?: health.MedicationGroupsRequest): Promise<BWellQueryResult<MedicationGroupBundle, ValidationError | BaseManagerError>>;
28
29
  getDiagnosticReportLabGroups(request?: health.DiagnosticReportLabGroupsRequest): Promise<BWellQueryResult<DiagnosticReportLabGroupBundle, ValidationError | BaseManagerError>>;
@@ -273,6 +273,26 @@ export class GraphQLHealthManager extends GraphQLManager {
273
273
  return new BWellQueryResult((_b = result.data) === null || _b === void 0 ? void 0 : _b.getProcedureGroups, result.error);
274
274
  });
275
275
  }
276
+ getVitalSigns(request) {
277
+ return __awaiter(this, void 0, void 0, function* () {
278
+ var _a;
279
+ const validationResult = this.validateRequest(request);
280
+ if (validationResult.failure()) {
281
+ return validationResult.toQueryResult();
282
+ }
283
+ let gqlRequest;
284
+ if (request !== undefined) {
285
+ gqlRequest = __classPrivateFieldGet(this, _GraphQLHealthManager_healthDataRequestFactory, "f").create(request);
286
+ }
287
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("calling getVitalSigns...");
288
+ const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLHealthManager_sdk, "f").getVitalSigns(gqlRequest));
289
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("getVitalSigns complete");
290
+ if (result.hasError()) {
291
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").error("getVitalSigns error", result.error);
292
+ }
293
+ return new BWellQueryResult((_a = result.data) === null || _a === void 0 ? void 0 : _a.observations, result.error);
294
+ });
295
+ }
276
296
  getVitalSignGroups(request) {
277
297
  return __awaiter(this, void 0, void 0, function* () {
278
298
  var _a, _b;
@@ -88,6 +88,7 @@ export declare const GetImmunizationsDocument = "\n query getImmunizations($p
88
88
  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 id\n system\n code\n display\n}\n ";
89
89
  export declare const GetProceduresDocument = "\n query getProcedures($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {\n procedures(\n _count: $pageSize\n _getpagesoffset: $page\n code: $code\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n ) {\n id\n entry {\n id\n resource {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n status\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n recorder {\n id\n reference\n type\n resource {\n ...ProcedureRecorderFields\n }\n }\n asserter {\n id\n reference\n type\n resource {\n ...ProcedureAsserterFields\n }\n }\n text {\n ...NarrativeFields\n }\n code {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n performedDateTime\n performedPeriod {\n ...PeriodFields\n }\n performedString\n performer {\n actor {\n id\n reference\n type\n resource {\n ...ProcedurePerformerActorFields\n }\n }\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 ...AnnotationFields\n }\n }\n }\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n name {\n ...HumanNameFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ProcedureRecorderFields on ProcedureRecorder {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n name {\n ...HumanNameFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ProcedureAsserterFields on ProcedureAsserter {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n name {\n ...HumanNameFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ProcedurePerformerActorFields on ProcedurePerformerActor {\n ...PractitionerFields\n ... on Organization {\n organizationName: name\n }\n}\n \n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment AnnotationFields on Annotation {\n id\n authorString\n time\n text\n}\n ";
90
90
  export declare const GetVitalSignGroupsDocument = "\n query getVitalSignGroups($request: VitalSignGroupQueryRequest) {\n getVitalSignGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n source\n sourceDisplay\n category {\n ...CodeableConceptFields\n }\n coding {\n ...CodingFields\n }\n effectiveDateTime\n interpretation {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n component {\n ...ComponentFields\n }\n references\n effectiveDateTime\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment ComponentFields on Component {\n code {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
91
+ export declare const GetVitalSignsDocument = "\n query getVitalSigns($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {\n observations(\n _count: $pageSize\n _getpagesoffset: $page\n code: $code\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n category: {value: {code: \"vital-signs\"}}\n ) {\n id\n entry {\n id\n resource {\n ...ObservationFields\n }\n }\n }\n}\n \n fragment ObservationFields on Observation {\n id\n meta {\n ...MetaFields\n }\n resourceType\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n subject {\n id\n reference\n type\n resource {\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n }\n }\n issued\n basedOn {\n id\n reference\n type\n resource {\n ...ObservationBasedOnFields\n }\n }\n ...ObservationValueFields\n code {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n referenceRange {\n ...ObservationReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n component {\n ...ObservationComponentFields\n }\n effectiveDateTime\n effectivePeriod {\n ...PeriodFields\n }\n note {\n ...AnnotationFields\n }\n performer {\n id\n reference\n type\n resource {\n ...ObservationPerformerFields\n }\n }\n hasMember {\n id\n reference\n type\n resource {\n ... on Observation {\n id\n code {\n ...CodeableConceptFields\n }\n }\n }\n }\n specimen {\n id\n reference\n type\n resource {\n ...SpecimenResourceFields\n }\n }\n status\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ObservationBasedOnFields on ObservationBasedOn {\n ... on ServiceRequest {\n resourceType\n id\n reasonCode {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationValueFields on Observation {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationReferenceRangeFields on ObservationReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment ObservationComponentFields on ObservationComponent {\n code {\n ...CodeableConceptFields\n }\n ...ObservationComponentValueFields\n referenceRange {\n ...ObservationReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationComponentValueFields on ObservationComponent {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ObservationReferenceRangeFields on ObservationReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment AnnotationFields on Annotation {\n id\n authorString\n time\n text\n}\n \n\n fragment ObservationPerformerFields on ObservationPerformer {\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 id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SpecimenResourceFields on Specimen {\n identifier {\n ...IdentifierFields\n }\n accessionIdentifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
91
92
  export declare const GetLabGroupsDocument = "\n query getLabGroups($request: LabGroupQueryRequest) {\n getLabGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n source\n sourceDisplay\n category {\n ...CodeableConceptFields\n }\n coding {\n ...CodingFields\n }\n effectiveDateTime\n referenceRange {\n ...ReferenceRangeFields\n }\n value {\n ...ValueFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n component {\n ...ComponentFields\n }\n references\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ComponentFields on Component {\n code {\n ...CodeableConceptFields\n }\n value {\n ...ValueFields\n }\n referenceRange {\n ...ReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ValueFields on Value {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ReferenceRangeFields on ReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
92
93
  export declare const GetMedicationGroupsDocument = "\n query getMedicationGroups($request: MedicationGroupQueryRequest) {\n getMedicationGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n source\n sourceDisplay\n coding {\n ...CodingFields\n }\n references\n status {\n code\n display\n }\n authoredOn\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
93
94
  export declare const AppointmentsDocument = "\n query appointments($source: SearchString, $id: SearchString, $count: Int, $getPagesOffset: Int, $date: SearchDate, $supportingInformation: SearchReference, $sort: [String], $status: SearchToken) {\n appointments(\n _source: $source\n id: $id\n _count: $count\n _getpagesoffset: $getPagesOffset\n date: $date\n supporting_info: $supportingInformation\n _sort: $sort\n status: $status\n ) {\n entry {\n resource {\n id\n status\n cancelationReason {\n ...CodeableConceptFields\n }\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n serviceType {\n ...CodeableConceptFields\n }\n start\n end\n supportingInformation {\n id\n reference\n display\n }\n participant {\n id\n type {\n ...CodeableConceptFields\n }\n actor {\n reference\n resource {\n ... on Location {\n id\n name\n description\n identifier {\n ...IdentifierFields\n }\n telecom {\n id\n system\n value\n }\n address {\n ...AddressFields\n }\n position {\n latitude\n longitude\n }\n managingOrganization {\n reference\n }\n }\n }\n }\n }\n }\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n ";
@@ -259,6 +260,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
259
260
  headers: Headers;
260
261
  status: number;
261
262
  }>;
263
+ getVitalSigns(variables?: Types.GetVitalSignsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
264
+ data: Types.GetVitalSignsQueryResults;
265
+ errors?: GraphQLError[];
266
+ extensions?: any;
267
+ headers: Headers;
268
+ status: number;
269
+ }>;
262
270
  getLabGroups(variables?: Types.GetLabGroupsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
263
271
  data: Types.GetLabGroupsQueryResults;
264
272
  errors?: GraphQLError[];
@@ -1829,6 +1829,29 @@ ${CodingFieldsFragmentDoc}
1829
1829
  ${ValueFieldsFragmentDoc}
1830
1830
  ${ReferenceRangeFieldsFragmentDoc}
1831
1831
  ${ComponentFieldsFragmentDoc}`;
1832
+ export const GetVitalSignsDocument = `
1833
+ query getVitalSigns($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {
1834
+ observations(
1835
+ _count: $pageSize
1836
+ _getpagesoffset: $page
1837
+ code: $code
1838
+ id: $id
1839
+ _lastUpdated: $lastUpdated
1840
+ _sort: $sort
1841
+ status: $status
1842
+ _total: $total
1843
+ category: {value: {code: "vital-signs"}}
1844
+ ) {
1845
+ id
1846
+ entry {
1847
+ id
1848
+ resource {
1849
+ ...ObservationFields
1850
+ }
1851
+ }
1852
+ }
1853
+ }
1854
+ ${ObservationFieldsFragmentDoc}`;
1832
1855
  export const GetLabGroupsDocument = `
1833
1856
  query getLabGroups($request: LabGroupQueryRequest) {
1834
1857
  getLabGroups(request: $request) {
@@ -2455,6 +2478,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
2455
2478
  getVitalSignGroups(variables, requestHeaders) {
2456
2479
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetVitalSignGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getVitalSignGroups', 'query', variables);
2457
2480
  },
2481
+ getVitalSigns(variables, requestHeaders) {
2482
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetVitalSignsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getVitalSigns', 'query', variables);
2483
+ },
2458
2484
  getLabGroups(variables, requestHeaders) {
2459
2485
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetLabGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getLabGroups', 'query', variables);
2460
2486
  },
@@ -6375,6 +6375,436 @@ export type GetVitalSignGroupsQueryResults = {
6375
6375
  }>;
6376
6376
  };
6377
6377
  };
6378
+ export type GetVitalSignsQueryVariables = Types.Exact<{
6379
+ page: Types.InputMaybe<Types.Scalars['Int']['input']>;
6380
+ pageSize: Types.InputMaybe<Types.Scalars['Int']['input']>;
6381
+ code: Types.InputMaybe<Types.SearchToken>;
6382
+ id: Types.InputMaybe<Types.SearchString>;
6383
+ lastUpdated: Types.InputMaybe<Types.SearchDate>;
6384
+ sort: Types.InputMaybe<Array<Types.InputMaybe<Types.Scalars['String']['input']>> | Types.InputMaybe<Types.Scalars['String']['input']>>;
6385
+ status: Types.InputMaybe<Types.SearchToken>;
6386
+ total: Types.InputMaybe<Types.TotalType>;
6387
+ }>;
6388
+ export type GetVitalSignsQueryResults = {
6389
+ observations: {
6390
+ id: string | null;
6391
+ entry: Array<{
6392
+ id: string | null;
6393
+ resource: {
6394
+ id: string;
6395
+ resourceType: string | null;
6396
+ issued: any | null;
6397
+ effectiveDateTime: any | null;
6398
+ status: any | null;
6399
+ valueString: string | null;
6400
+ valueBoolean: boolean | null;
6401
+ valueInteger: number | null;
6402
+ valueTime: any | null;
6403
+ valueDateTime: any | null;
6404
+ meta: {
6405
+ versionId: string | null;
6406
+ lastUpdated: any | null;
6407
+ source: any | null;
6408
+ security: Array<{
6409
+ id: string | null;
6410
+ system: any | null;
6411
+ code: any | null;
6412
+ display: string | null;
6413
+ } | null> | null;
6414
+ tag: Array<{
6415
+ id: string | null;
6416
+ system: any | null;
6417
+ code: any | null;
6418
+ display: string | null;
6419
+ } | null> | null;
6420
+ } | null;
6421
+ text: {
6422
+ div: any | null;
6423
+ status: any | null;
6424
+ } | null;
6425
+ identifier: Array<{
6426
+ id: string | null;
6427
+ system: any | null;
6428
+ value: string | null;
6429
+ type: {
6430
+ id: string | null;
6431
+ text: string | null;
6432
+ coding: Array<{
6433
+ id: string | null;
6434
+ system: any | null;
6435
+ code: any | null;
6436
+ display: string | null;
6437
+ } | null> | null;
6438
+ } | null;
6439
+ } | null> | null;
6440
+ subject: {
6441
+ id: string | null;
6442
+ reference: string | null;
6443
+ type: any | null;
6444
+ resource: {
6445
+ name: Array<{
6446
+ text: string | null;
6447
+ family: string | null;
6448
+ given: Array<string | null> | null;
6449
+ prefix: Array<string | null> | null;
6450
+ suffix: Array<string | null> | null;
6451
+ } | null> | null;
6452
+ } | {} | null;
6453
+ } | null;
6454
+ basedOn: Array<{
6455
+ id: string | null;
6456
+ reference: string | null;
6457
+ type: any | null;
6458
+ resource: {
6459
+ resourceType: string | null;
6460
+ id: string;
6461
+ reasonCode: Array<{
6462
+ id: string | null;
6463
+ text: string | null;
6464
+ coding: Array<{
6465
+ id: string | null;
6466
+ system: any | null;
6467
+ code: any | null;
6468
+ display: string | null;
6469
+ } | null> | null;
6470
+ } | null> | null;
6471
+ } | {} | null;
6472
+ } | null> | null;
6473
+ code: {
6474
+ id: string | null;
6475
+ text: string | null;
6476
+ coding: Array<{
6477
+ id: string | null;
6478
+ system: any | null;
6479
+ code: any | null;
6480
+ display: string | null;
6481
+ } | null> | null;
6482
+ } | null;
6483
+ category: Array<{
6484
+ id: string | null;
6485
+ text: string | null;
6486
+ coding: Array<{
6487
+ id: string | null;
6488
+ system: any | null;
6489
+ code: any | null;
6490
+ display: string | null;
6491
+ } | null> | null;
6492
+ } | null> | null;
6493
+ referenceRange: Array<{
6494
+ text: string | null;
6495
+ low: {
6496
+ value: number | null;
6497
+ unit: string | null;
6498
+ code: any | null;
6499
+ comparator: any | null;
6500
+ system: any | null;
6501
+ } | null;
6502
+ high: {
6503
+ value: number | null;
6504
+ unit: string | null;
6505
+ code: any | null;
6506
+ comparator: any | null;
6507
+ system: any | null;
6508
+ } | null;
6509
+ } | null> | null;
6510
+ interpretation: Array<{
6511
+ id: string | null;
6512
+ text: string | null;
6513
+ coding: Array<{
6514
+ id: string | null;
6515
+ system: any | null;
6516
+ code: any | null;
6517
+ display: string | null;
6518
+ } | null> | null;
6519
+ } | null> | null;
6520
+ component: Array<{
6521
+ valueString: string | null;
6522
+ valueBoolean: boolean | null;
6523
+ valueInteger: number | null;
6524
+ valueTime: any | null;
6525
+ valueDateTime: any | null;
6526
+ code: {
6527
+ id: string | null;
6528
+ text: string | null;
6529
+ coding: Array<{
6530
+ id: string | null;
6531
+ system: any | null;
6532
+ code: any | null;
6533
+ display: string | null;
6534
+ } | null> | null;
6535
+ } | null;
6536
+ referenceRange: Array<{
6537
+ text: string | null;
6538
+ low: {
6539
+ value: number | null;
6540
+ unit: string | null;
6541
+ code: any | null;
6542
+ comparator: any | null;
6543
+ system: any | null;
6544
+ } | null;
6545
+ high: {
6546
+ value: number | null;
6547
+ unit: string | null;
6548
+ code: any | null;
6549
+ comparator: any | null;
6550
+ system: any | null;
6551
+ } | null;
6552
+ } | null> | null;
6553
+ interpretation: Array<{
6554
+ id: string | null;
6555
+ text: string | null;
6556
+ coding: Array<{
6557
+ id: string | null;
6558
+ system: any | null;
6559
+ code: any | null;
6560
+ display: string | null;
6561
+ } | null> | null;
6562
+ } | null> | null;
6563
+ dataAbsentReason: {
6564
+ id: string | null;
6565
+ text: string | null;
6566
+ coding: Array<{
6567
+ id: string | null;
6568
+ system: any | null;
6569
+ code: any | null;
6570
+ display: string | null;
6571
+ } | null> | null;
6572
+ } | null;
6573
+ valueQuantity: {
6574
+ value: number | null;
6575
+ unit: string | null;
6576
+ code: any | null;
6577
+ comparator: any | null;
6578
+ system: any | null;
6579
+ } | null;
6580
+ valueCodeableConcept: {
6581
+ id: string | null;
6582
+ text: string | null;
6583
+ coding: Array<{
6584
+ id: string | null;
6585
+ system: any | null;
6586
+ code: any | null;
6587
+ display: string | null;
6588
+ } | null> | null;
6589
+ } | null;
6590
+ valueRatio: {
6591
+ numerator: {
6592
+ value: number | null;
6593
+ unit: string | null;
6594
+ code: any | null;
6595
+ comparator: any | null;
6596
+ system: any | null;
6597
+ } | null;
6598
+ denominator: {
6599
+ value: number | null;
6600
+ unit: string | null;
6601
+ code: any | null;
6602
+ comparator: any | null;
6603
+ system: any | null;
6604
+ } | null;
6605
+ } | null;
6606
+ valueRange: {
6607
+ low: {
6608
+ value: number | null;
6609
+ unit: string | null;
6610
+ code: any | null;
6611
+ comparator: any | null;
6612
+ system: any | null;
6613
+ } | null;
6614
+ high: {
6615
+ value: number | null;
6616
+ unit: string | null;
6617
+ code: any | null;
6618
+ comparator: any | null;
6619
+ system: any | null;
6620
+ } | null;
6621
+ } | null;
6622
+ valuePeriod: {
6623
+ start: any | null;
6624
+ end: any | null;
6625
+ } | null;
6626
+ } | null> | null;
6627
+ effectivePeriod: {
6628
+ start: any | null;
6629
+ end: any | null;
6630
+ } | null;
6631
+ note: Array<{
6632
+ id: string | null;
6633
+ authorString: string | null;
6634
+ time: any | null;
6635
+ text: any | null;
6636
+ } | null> | null;
6637
+ performer: Array<{
6638
+ id: string | null;
6639
+ reference: string | null;
6640
+ type: any | null;
6641
+ resource: {
6642
+ organizationName: string | null;
6643
+ } | {
6644
+ name: Array<{
6645
+ text: string | null;
6646
+ family: string | null;
6647
+ given: Array<string | null> | null;
6648
+ prefix: Array<string | null> | null;
6649
+ suffix: Array<string | null> | null;
6650
+ } | null> | null;
6651
+ } | {
6652
+ name: Array<{
6653
+ text: string | null;
6654
+ family: string | null;
6655
+ given: Array<string | null> | null;
6656
+ prefix: Array<string | null> | null;
6657
+ suffix: Array<string | null> | null;
6658
+ } | null> | null;
6659
+ identifier: Array<{
6660
+ id: string | null;
6661
+ system: any | null;
6662
+ value: string | null;
6663
+ type: {
6664
+ id: string | null;
6665
+ text: string | null;
6666
+ coding: Array<{
6667
+ id: string | null;
6668
+ system: any | null;
6669
+ code: any | null;
6670
+ display: string | null;
6671
+ } | null> | null;
6672
+ } | null;
6673
+ } | null> | null;
6674
+ } | {} | null;
6675
+ } | null> | null;
6676
+ hasMember: Array<{
6677
+ id: string | null;
6678
+ reference: string | null;
6679
+ type: any | null;
6680
+ resource: {
6681
+ id: string;
6682
+ code: {
6683
+ id: string | null;
6684
+ text: string | null;
6685
+ coding: Array<{
6686
+ id: string | null;
6687
+ system: any | null;
6688
+ code: any | null;
6689
+ display: string | null;
6690
+ } | null> | null;
6691
+ } | null;
6692
+ } | {} | null;
6693
+ } | null> | null;
6694
+ specimen: {
6695
+ id: string | null;
6696
+ reference: string | null;
6697
+ type: any | null;
6698
+ resource: {
6699
+ identifier: Array<{
6700
+ id: string | null;
6701
+ system: any | null;
6702
+ value: string | null;
6703
+ type: {
6704
+ id: string | null;
6705
+ text: string | null;
6706
+ coding: Array<{
6707
+ id: string | null;
6708
+ system: any | null;
6709
+ code: any | null;
6710
+ display: string | null;
6711
+ } | null> | null;
6712
+ } | null;
6713
+ } | null> | null;
6714
+ accessionIdentifier: {
6715
+ id: string | null;
6716
+ system: any | null;
6717
+ value: string | null;
6718
+ type: {
6719
+ id: string | null;
6720
+ text: string | null;
6721
+ coding: Array<{
6722
+ id: string | null;
6723
+ system: any | null;
6724
+ code: any | null;
6725
+ display: string | null;
6726
+ } | null> | null;
6727
+ } | null;
6728
+ } | null;
6729
+ type: {
6730
+ id: string | null;
6731
+ text: string | null;
6732
+ coding: Array<{
6733
+ id: string | null;
6734
+ system: any | null;
6735
+ code: any | null;
6736
+ display: string | null;
6737
+ } | null> | null;
6738
+ } | null;
6739
+ } | null;
6740
+ } | null;
6741
+ dataAbsentReason: {
6742
+ id: string | null;
6743
+ text: string | null;
6744
+ coding: Array<{
6745
+ id: string | null;
6746
+ system: any | null;
6747
+ code: any | null;
6748
+ display: string | null;
6749
+ } | null> | null;
6750
+ } | null;
6751
+ valueQuantity: {
6752
+ value: number | null;
6753
+ unit: string | null;
6754
+ code: any | null;
6755
+ comparator: any | null;
6756
+ system: any | null;
6757
+ } | null;
6758
+ valueCodeableConcept: {
6759
+ id: string | null;
6760
+ text: string | null;
6761
+ coding: Array<{
6762
+ id: string | null;
6763
+ system: any | null;
6764
+ code: any | null;
6765
+ display: string | null;
6766
+ } | null> | null;
6767
+ } | null;
6768
+ valueRatio: {
6769
+ numerator: {
6770
+ value: number | null;
6771
+ unit: string | null;
6772
+ code: any | null;
6773
+ comparator: any | null;
6774
+ system: any | null;
6775
+ } | null;
6776
+ denominator: {
6777
+ value: number | null;
6778
+ unit: string | null;
6779
+ code: any | null;
6780
+ comparator: any | null;
6781
+ system: any | null;
6782
+ } | null;
6783
+ } | null;
6784
+ valueRange: {
6785
+ low: {
6786
+ value: number | null;
6787
+ unit: string | null;
6788
+ code: any | null;
6789
+ comparator: any | null;
6790
+ system: any | null;
6791
+ } | null;
6792
+ high: {
6793
+ value: number | null;
6794
+ unit: string | null;
6795
+ code: any | null;
6796
+ comparator: any | null;
6797
+ system: any | null;
6798
+ } | null;
6799
+ } | null;
6800
+ valuePeriod: {
6801
+ start: any | null;
6802
+ end: any | null;
6803
+ } | null;
6804
+ } | null;
6805
+ } | null> | null;
6806
+ } | null;
6807
+ };
6378
6808
  export type GetLabGroupsQueryVariables = Types.Exact<{
6379
6809
  request: Types.InputMaybe<Types.LabGroupQueryRequest>;
6380
6810
  }>;
@@ -18,3 +18,4 @@ export { ImmunizationBundle, Immunization } from "./immunization.js";
18
18
  export { Observation } from "./observation.js";
19
19
  export { ConditionBundle, Condition } from "./condition.js";
20
20
  export { ProcedureBundle, Procedure } from "./procedure.js";
21
+ export { VitalSignBundle } from "./vital-sign-bundle.js";
@@ -2,6 +2,10 @@ import { EntryBundle, IdentifiedResourceEntry } from "../common/bundle.js";
2
2
  import { Annotation, CodeableConcept, Identifier, Location, Meta, Narrative, Organization, Patient, Period, Practitioner, Reference } from "../common/index.js";
3
3
  /**
4
4
  * Represents a clinical procedure performed on a patient.
5
+ *
6
+ * @category Models
7
+ * @title Procedure
8
+ * @excerpt Represents a clinical procedure performed on a patient.
5
9
  */
6
10
  export type Procedure = {
7
11
  /** The type of resource. */
@@ -0,0 +1,18 @@
1
+ import { EntryBundle, IdentifiedResourceEntry } from "../common/bundle.js";
2
+ import { Observation } from "../index.js";
3
+ /**
4
+ * Entry in a vital sign bundle with observation resource and metadata.
5
+ *
6
+ * @category Models
7
+ * @title VitalSignEntry
8
+ * @excerpt Entry in a vital sign bundle
9
+ */
10
+ export type VitalSignEntry = IdentifiedResourceEntry<Observation>;
11
+ /**
12
+ * Bundle of vital sign search results.
13
+ *
14
+ * @category Models
15
+ * @title VitalSignBundle
16
+ * @excerpt Bundle of vital sign search results
17
+ */
18
+ export type VitalSignBundle = EntryBundle<VitalSignEntry>;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "2.0.0-alpha.0-rc.1757691388",
3
+ "version": "2.0.0-alpha.0-rc.1757958971",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",