@icanbwell/bwell-sdk-ts 2.0.0-beta-rc.1762279183 → 2.0.0-beta-rc.1762284189

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-beta-rc.1762279183";
4
+ export declare const VERSION = "2.0.0-beta-rc.1762284189";
@@ -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-beta-rc.1762279183";
4
+ export const VERSION = "2.0.0-beta-rc.1762284189";
@@ -1,9 +1,10 @@
1
- import type { AllergyIntoleranceGroupsResponse, AllergyIntoleranceResponse, CarePlanGroupsResponse, CarePlanResponse, CareTeamResponse, ConditionGroupsResponse, ConditionResponse, DiagnosticReportLabGroupsResponse, DiagnosticReportResponse, EncounterGroupsResponse, EncounterResponse, HealthSummary, ImmunizationGroupsResponse, ImmunizationResponse, LabGroupsResponse, LabKnowledgeResponse, LabResponse, MedicationDispenseResponse, MedicationGroupsResponse, MedicationKnowledgeResponse, MedicationRequestResponse, MedicationStatementResponse, ProcedureGroupsResponse, ProcedureResponse, VitalSignGroupsResponse, VitalSignResponse } from "../../../models/health-data/index.js";
1
+ import type { AllergyIntoleranceGroupsResponse, AllergyIntoleranceResponse, CarePlanGroupsResponse, CarePlanResponse, CareTeamResponse, ConditionGroupsResponse, ConditionResponse, DiagnosticReportLabGroupsResponse, DiagnosticReportResponse, EncounterGroupsResponse, EncounterResponse, HealthSummary, ImmunizationGroupsResponse, ImmunizationResponse, LabGroupsResponse, LabKnowledgeResponse, LabResponse, MedicationDispenseResponse, MedicationGroupsResponse, MedicationKnowledgeResponse, MedicationPricingResponse, MedicationRequestResponse, MedicationStatementResponse, ProcedureGroupsResponse, ProcedureResponse, VitalSignGroupsResponse, VitalSignResponse } from "../../../models/health-data/index.js";
2
2
  import type { BWellQueryResult } from "../../../results/index.js";
3
3
  import type { BaseManagerError } from "../errors.js";
4
4
  import type { AllergyIntoleranceGroupsRequest, CarePlanGroupsRequest, ConditionGroupsRequest, DiagnosticReportLabGroupsRequest, EncounterGroupsRequest, HealthDataRequest, ImmunizationGroupsRequest, LabGroupsRequest, MedicationDispenseRequest, MedicationGroupsRequest, ProcedureGroupsRequest, VitalSignGroupsRequest } from "./health-data-request.js";
5
5
  import { LabKnowledgeRequest } from "./lab-knowledge-request.js";
6
6
  import { MedicationKnowledgeRequest } from "./medication-knowledge-request.js";
7
+ import { MedicationPricingRequest } from "./medication-pricing-request.js";
7
8
  /**
8
9
  * Health Manager for patient health records and clinical data access.
9
10
  * Provides methods for retrieving health care records including conditions, medications,
@@ -388,4 +389,20 @@ export interface HealthManager {
388
389
  * ```
389
390
  */
390
391
  getLabKnowledge(request?: LabKnowledgeRequest): Promise<BWellQueryResult<LabKnowledgeResponse, BaseManagerError>>;
392
+ /**
393
+ * Retrieves medication pricing information.
394
+ *
395
+ * @param request {MedicationPricingRequest} - Request class instance for specifying medication pricing parameters.
396
+ * @returns {Promise<BWellQueryResult<MedicationPricingResponse>>} A promise resolving to an object representing the medication pricing information.
397
+ *
398
+ * @example
399
+ * ```typescript
400
+ * const medicationPricing = await sdk.health.getMedicationPricing(
401
+ * new MedicationPricingRequest({
402
+ * medicationStatementId: '123',
403
+ * })
404
+ * );
405
+ * ```
406
+ */
407
+ getMedicationPricing(request: MedicationPricingRequest): Promise<BWellQueryResult<MedicationPricingResponse, BaseManagerError>>;
391
408
  }
@@ -36,4 +36,5 @@ export declare class GraphQLHealthManager extends GraphQLManager implements Heal
36
36
  getDiagnosticReports(request?: health.HealthDataRequest): Promise<BWellQueryResult<models.DiagnosticReportResponse, BaseManagerError>>;
37
37
  getMedicationKnowledge(request: health.MedicationKnowledgeRequest): Promise<BWellQueryResult<models.MedicationKnowledgeResponse, BaseManagerError>>;
38
38
  getLabKnowledge(request?: health.LabKnowledgeRequest): Promise<BWellQueryResult<models.LabKnowledgeResponse, BaseManagerError>>;
39
+ getMedicationPricing(request: health.MedicationPricingRequest): Promise<BWellQueryResult<models.MedicationPricingResponse, BaseManagerError>>;
39
40
  }
@@ -622,5 +622,28 @@ export class GraphQLHealthManager extends GraphQLManager {
622
622
  return new BWellQueryResult(__classPrivateFieldGet(this, _GraphQLHealthManager_healthDataResponseFactory, "f").transformGroupQueryResult(bundle), result.error);
623
623
  });
624
624
  }
625
+ getMedicationPricing(request) {
626
+ return __awaiter(this, void 0, void 0, function* () {
627
+ var _a;
628
+ const validationResult = this.validateRequest(request);
629
+ if (validationResult.failure()) {
630
+ return validationResult.toQueryResult();
631
+ }
632
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("calling getMedicationPricing...");
633
+ const result = yield this.handleQuery(__classPrivateFieldGet(this, _GraphQLHealthManager_sdk, "f").getMedicationPricing({
634
+ request: request.data(),
635
+ }));
636
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").verbose("getMedicationPricing complete");
637
+ if (result.hasError()) {
638
+ __classPrivateFieldGet(this, _GraphQLHealthManager_logger, "f").error("getMedicationPricing errors", result.error);
639
+ }
640
+ if (isNullOrUndefined((_a = result === null || result === void 0 ? void 0 : result.data) === null || _a === void 0 ? void 0 : _a.getMedicationPricing)) {
641
+ return new BWellQueryResult(undefined, result.error);
642
+ }
643
+ const bundle = result.data
644
+ .getMedicationPricing;
645
+ return new BWellQueryResult(bundle, result.error);
646
+ });
647
+ }
625
648
  }
626
649
  _GraphQLHealthManager_sdk = new WeakMap(), _GraphQLHealthManager_logger = new WeakMap(), _GraphQLHealthManager_healthDataRequestFactory = new WeakMap(), _GraphQLHealthManager_healthDataResponseFactory = new WeakMap(), _GraphQLHealthManager_getEncountersRequestFactory = new WeakMap(), _GraphQLHealthManager_getMedicationDispenseRequestFactory = new WeakMap();
@@ -82,6 +82,7 @@ export declare const PractitionerRoleFieldsFragmentDoc = "\n fragment Practit
82
82
  export declare const RelatedPersonFieldsFragmentDoc = "\n fragment RelatedPersonFields on RelatedPerson {\n resourceType\n id\n active\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n relationship {\n ...CodeableConceptFields\n }\n patient {\n resource {\n ...PatientFields\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 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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
83
83
  export declare const CareTeamParticipantFieldsFragmentDoc = "\n fragment CareTeamParticipantFields on CareTeamParticipant {\n role {\n ...CodeableConceptFields\n }\n member {\n id\n reference\n type\n resource {\n __typename\n ... on Organization {\n id\n organizationName: name\n alias\n meta {\n ...MetaFields\n }\n }\n ...PractitionerFields\n ...PractitionerRoleFields\n ...RelatedPersonFields\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 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 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 PractitionerRoleFields on PractitionerRole {\n resourceType\n identifier {\n ...IdentifierFields\n }\n practitioner {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n organization {\n id\n reference\n type\n resource {\n ...OrganizationFields\n }\n }\n code {\n ...CodeableConceptFields\n }\n specialty {\n ...CodeableConceptFields\n }\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n telecom {\n ...ContactPointFields\n }\n active\n id\n endpoint {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\n resource {\n ...EndpointFields\n }\n }\n period {\n ...PeriodFields\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 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 OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment 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 LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment RelatedPersonFields on RelatedPerson {\n resourceType\n id\n active\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n relationship {\n ...CodeableConceptFields\n }\n patient {\n resource {\n ...PatientFields\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 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 ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
84
84
  export declare const DiagnosticReportFieldsFragmentDoc = "\n fragment DiagnosticReportFields on DiagnosticReport {\n id\n meta {\n ...MetaFields\n }\n basedOn {\n reference\n display\n }\n category {\n ...CodeableConceptFields\n }\n code {\n ...CodeableConceptFields\n }\n effectiveDateTime\n encounter {\n reference\n display\n resource {\n ...EncounterFields\n }\n }\n issued\n performer {\n reference\n display\n resource {\n ... on Practitioner {\n ...PractitionerFields\n }\n ... on Organization {\n organizationName: name\n }\n }\n }\n presentedForm {\n contentType\n data\n url\n title\n }\n resourceType\n result {\n display\n reference\n resource {\n ...ObservationFields\n }\n }\n resultsInterpreter {\n id\n reference\n type\n display\n }\n status\n subject {\n id\n reference\n type\n display\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EncounterFields on Encounter {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n text {\n ...NarrativeFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n ...CodingFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n location {\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n participant {\n ...ParticipantFields\n }\n serviceProvider {\n id\n reference\n type\n resource {\n ...OrganizationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n reasonReference {\n id\n reference\n type\n resource {\n ...ConditionFields\n }\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ParticipantFields on EncounterParticipant {\n individual {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ConditionFields on Condition {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n resource {\n ...RecorderFields\n }\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RecorderFields on ConditionRecorder {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationFields on Observation {\n id\n meta {\n ...MetaFields\n }\n resourceType\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n subject {\n id\n reference\n type\n resource {\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n }\n }\n issued\n basedOn {\n id\n reference\n type\n resource {\n ...ObservationBasedOnFields\n }\n }\n ...ObservationValueFields\n code {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n referenceRange {\n ...ObservationReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n component {\n ...ObservationComponentFields\n }\n effectiveDateTime\n effectivePeriod {\n ...PeriodFields\n }\n note {\n ...AnnotationFields\n }\n encounter {\n id\n reference\n type\n resource {\n ...EncounterFields\n }\n }\n performer {\n id\n reference\n type\n resource {\n ...PractitionerFields\n ...PatientFields\n ... on Organization {\n organizationName: name\n }\n }\n }\n hasMember {\n id\n reference\n type\n resource {\n ... on Observation {\n id\n code {\n ...CodeableConceptFields\n }\n }\n }\n }\n specimen {\n id\n reference\n type\n resource {\n ...SpecimenResourceFields\n }\n }\n status\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ObservationBasedOnFields on ObservationBasedOn {\n ... on ServiceRequest {\n resourceType\n id\n reasonCode {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationValueFields on Observation {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationReferenceRangeFields on ObservationReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment ObservationComponentFields on ObservationComponent {\n code {\n ...CodeableConceptFields\n }\n ...ObservationComponentValueFields\n referenceRange {\n ...ObservationReferenceRangeFields\n }\n interpretation {\n ...CodeableConceptFields\n }\n dataAbsentReason {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ObservationComponentValueFields on ObservationComponent {\n valueQuantity {\n ...QuantityFields\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueBoolean\n valueInteger\n valueRatio {\n ...RatioFields\n }\n valueRange {\n ...RangeFields\n }\n valueTime\n valueDateTime\n valuePeriod {\n ...PeriodFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment ObservationReferenceRangeFields on ObservationReferenceRange {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n text\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment AnnotationFields on Annotation {\n id\n authorString\n time\n text\n}\n \n\n fragment EncounterFields on Encounter {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n text {\n ...NarrativeFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n ...CodingFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n location {\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n participant {\n ...ParticipantFields\n }\n serviceProvider {\n id\n reference\n type\n resource {\n ...OrganizationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n reasonReference {\n id\n reference\n type\n resource {\n ...ConditionFields\n }\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ParticipantFields on EncounterParticipant {\n individual {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ConditionFields on Condition {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n resource {\n ...RecorderFields\n }\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RecorderFields on ConditionRecorder {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SpecimenResourceFields on Specimen {\n identifier {\n ...IdentifierFields\n }\n accessionIdentifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
85
+ export declare const MoneyResourceFieldsFragmentDoc = "\n fragment MoneyResourceFields on Money {\n value\n currency\n}\n ";
85
86
  export declare const QuestionnaireResponseItemFieldsFragmentDoc = "\n fragment QuestionnaireResponseItemFields on QuestionnaireResponseItem {\n linkId\n text\n answer {\n valueBoolean\n valueDecimal\n valueInteger\n valueDate\n valueDateTime\n valueString\n valueUri\n valueAttachment {\n contentType\n data\n url\n title\n }\n valueCoding {\n ...CodingFields\n }\n valueQuantity {\n ...QuantityFields\n }\n valueReference {\n reference\n type\n display\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment 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 ";
86
87
  export declare const QuestionnaireItemFieldsFragmentDoc = "\n fragment QuestionnaireItemFields on QuestionnaireItem {\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n linkId\n prefix\n text\n type\n enableWhen {\n question\n operator\n answerBoolean\n answerDecimal\n answerInteger\n answerDate\n answerDateTime\n answerTime\n answerString\n answerCoding {\n ...CodingFields\n }\n answerQuantity {\n ...QuantityFields\n }\n answerReference {\n reference\n type\n display\n }\n }\n enableBehavior\n required\n repeats\n readOnly\n maxLength\n answerOption {\n valueInteger\n valueDate\n valueString\n valueCoding {\n ...CodingFields\n }\n valueReference {\n reference\n type\n display\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n initialSelected\n }\n initial {\n valueBoolean\n valueDecimal\n valueInteger\n valueDate\n valueDateTime\n valueString\n valueUri\n valueAttachment {\n contentType\n data\n url\n title\n }\n valueCoding {\n ...CodingFields\n }\n valueQuantity {\n ...QuantityFields\n }\n valueReference {\n reference\n type\n display\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n 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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
87
88
  export declare const QuestionnaireFieldsFragmentDoc = "\n fragment QuestionnaireFields on Questionnaire {\n resourceType\n id\n meta {\n ...MetaFields\n }\n identifier {\n ...IdentifierFields\n }\n name\n title\n status\n description\n item {\n ...QuestionnaireItemFields\n item {\n ...QuestionnaireItemFields\n item {\n ...QuestionnaireItemFields\n }\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n 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 QuestionnaireItemFields on QuestionnaireItem {\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n linkId\n prefix\n text\n type\n enableWhen {\n question\n operator\n answerBoolean\n answerDecimal\n answerInteger\n answerDate\n answerDateTime\n answerTime\n answerString\n answerCoding {\n ...CodingFields\n }\n answerQuantity {\n ...QuantityFields\n }\n answerReference {\n reference\n type\n display\n }\n }\n enableBehavior\n required\n repeats\n readOnly\n maxLength\n answerOption {\n valueInteger\n valueDate\n valueString\n valueCoding {\n ...CodingFields\n }\n valueReference {\n reference\n type\n display\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n initialSelected\n }\n initial {\n valueBoolean\n valueDecimal\n valueInteger\n valueDate\n valueDateTime\n valueString\n valueUri\n valueAttachment {\n contentType\n data\n url\n title\n }\n valueCoding {\n ...CodingFields\n }\n valueQuantity {\n ...QuantityFields\n }\n valueReference {\n reference\n type\n display\n extension {\n url\n valueBoolean\n valueInteger\n valueString\n valueExpression {\n description\n name\n language\n expression\n reference\n }\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueDateTime\n valueCode\n valueUri\n valueReference {\n reference\n type\n display\n }\n }\n }\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n 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 QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
@@ -118,6 +119,7 @@ export declare const GetLabsDocument = "\n query getLabs($page: Int, $pageSiz
118
119
  export declare const GetMedicationDispensesDocument = "\n query getMedicationDispenses($page: Int, $pageSize: Int, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $prescription: SearchReference, $total: TotalType) {\n medicationDispenses(\n _count: $pageSize\n _getpagesoffset: $page\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n prescription: $prescription\n ) {\n id\n entry {\n id\n resource {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n status\n category {\n ...CodeableConceptFields\n }\n medicationCodeableConcept {\n ...CodeableConceptFields\n }\n medicationReference {\n id\n reference\n type\n resource {\n ...MedicationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n context {\n id\n reference\n type\n resource {\n ...EncounterFields\n }\n }\n performer {\n actor {\n id\n reference\n type\n resource {\n ...MedicationDispensePerformerActorFields\n }\n }\n }\n daysSupply {\n ...QuantityFields\n }\n quantity {\n ...QuantityFields\n }\n whenPrepared\n whenHandedOver\n dosageInstruction {\n ...DosageFields\n }\n type {\n ...CodeableConceptFields\n }\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n authorizingPrescription {\n reference\n type\n }\n }\n }\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MedicationFields on Medication {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n code {\n ...CodeableConceptFields\n }\n ingredient {\n ...MedicationIngredientFields\n }\n form {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MedicationIngredientFields on MedicationIngredient {\n itemCodeableConcept {\n ...CodeableConceptFields\n }\n strength {\n ...RatioFields\n }\n itemReference {\n id\n reference\n type\n resource {\n ...NestedMedicationReferenceFields\n ...SubstanceFields\n }\n }\n isActive\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment NestedMedicationReferenceFields on Medication {\n resourceType\n identifier {\n ...IdentifierFields\n }\n code {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SubstanceFields on Substance {\n resourceType\n id\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n status\n category {\n ...CodeableConceptFields\n }\n code {\n ...CodeableConceptFields\n }\n description\n instance {\n ...SubstanceInstanceFields\n }\n ingredient {\n ...SubstanceIngredientFields\n }\n}\n \n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SubstanceInstanceFields on SubstanceInstance {\n identifier {\n ...IdentifierFields\n }\n expiry\n quantity {\n ...QuantityFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment SubstanceIngredientFields on SubstanceIngredient {\n id\n quantity {\n ...RatioFields\n }\n substanceCodeableConcept {\n ...CodeableConceptFields\n }\n}\n \n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EncounterFields on Encounter {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n text {\n ...NarrativeFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n ...CodingFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n location {\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n participant {\n ...ParticipantFields\n }\n serviceProvider {\n id\n reference\n type\n resource {\n ...OrganizationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n reasonReference {\n id\n reference\n type\n resource {\n ...ConditionFields\n }\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ParticipantFields on EncounterParticipant {\n individual {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ConditionFields on Condition {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n resource {\n ...RecorderFields\n }\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RecorderFields on ConditionRecorder {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment MedicationDispensePerformerActorFields on MedicationDispensePerformerActor {\n ...PractitionerFields\n ...PatientFields\n ... on Organization {\n organizationName: name\n }\n}\n \n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment DosageFields on Dosage {\n id\n additionalInstruction {\n ...CodeableConceptFields\n }\n asNeededBoolean\n asNeededCodeableConcept {\n ...CodeableConceptFields\n }\n doseAndRate {\n ...DoseAndRateFields\n }\n maxDosePerAdministration {\n ...QuantityFields\n }\n maxDosePerLifetime {\n ...QuantityFields\n }\n maxDosePerPeriod {\n ...RatioFields\n }\n method {\n ...CodeableConceptFields\n }\n patientInstruction\n route {\n ...CodeableConceptFields\n }\n sequence\n site {\n ...CodeableConceptFields\n }\n text\n timing {\n ...TimingFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment DoseAndRateFields on DosageDoseAndRate {\n id\n type {\n ...CodeableConceptFields\n }\n doseRange {\n ...RangeFields\n }\n doseQuantity {\n ...QuantityFields\n }\n rateQuantity {\n ...QuantityFields\n }\n rateRange {\n ...RangeFields\n }\n rateRatio {\n ...RatioFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment TimingFields on Timing {\n id\n code {\n ...CodeableConceptFields\n }\n event\n repeat {\n ...TimingRepeatFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment TimingRepeatFields on TimingRepeat {\n id\n boundsDuration {\n ...QuantityFields\n }\n boundsPeriod {\n ...PeriodFields\n }\n boundsRange {\n ...RangeFields\n }\n count\n countMax\n dayOfWeek\n duration\n durationMax\n durationUnit\n frequency\n frequencyMax\n offset\n period\n periodMax\n periodUnit\n timeOfDay\n when\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n ";
119
120
  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 ";
120
121
  export declare const GetMedicationKnowledgeDocument = "\n query getMedicationKnowledge($request: MedicationKnowledgeRequest) {\n getMedicationKnowledge(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n title\n content\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n ";
122
+ export declare const GetMedicationPricingDocument = "\n query getMedicationPricing($request: MedicationPricingRequest) {\n getMedicationPricing(request: $request) {\n resources {\n pharmacy\n couponUrl\n drugUrl\n price {\n ...MoneyResourceFields\n }\n }\n }\n}\n \n fragment MoneyResourceFields on Money {\n value\n currency\n}\n ";
121
123
  export declare const GetMedicationRequestDocument = "\n query getMedicationRequest($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {\n medicationRequests(\n _count: $pageSize\n _getpagesoffset: $page\n code: $code\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n ) {\n id\n entry {\n id\n resource {\n resourceType\n id\n meta {\n ...MetaFields\n }\n status\n category {\n ...CodeableConceptFields\n }\n identifier {\n ...IdentifierFields\n }\n intent\n language\n medicationCodeableConcept {\n ...CodeableConceptFields\n }\n medicationReference {\n id\n reference\n type\n resource {\n ...MedicationFields\n }\n }\n text {\n ...NarrativeFields\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n requester {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n recorder {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n encounter {\n id\n reference\n type\n resource {\n ...EncounterFields\n }\n }\n authoredOn\n dosageInstruction {\n ...DosageFields\n }\n dispenseRequest {\n ...MedicationRequestDispenseRequestFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n courseOfTherapyType {\n ...CodeableConceptFields\n }\n }\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MedicationFields on Medication {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n code {\n ...CodeableConceptFields\n }\n ingredient {\n ...MedicationIngredientFields\n }\n form {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MedicationIngredientFields on MedicationIngredient {\n itemCodeableConcept {\n ...CodeableConceptFields\n }\n strength {\n ...RatioFields\n }\n itemReference {\n id\n reference\n type\n resource {\n ...NestedMedicationReferenceFields\n ...SubstanceFields\n }\n }\n isActive\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment NestedMedicationReferenceFields on Medication {\n resourceType\n identifier {\n ...IdentifierFields\n }\n code {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SubstanceFields on Substance {\n resourceType\n id\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n status\n category {\n ...CodeableConceptFields\n }\n code {\n ...CodeableConceptFields\n }\n description\n instance {\n ...SubstanceInstanceFields\n }\n ingredient {\n ...SubstanceIngredientFields\n }\n}\n \n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment SubstanceInstanceFields on SubstanceInstance {\n identifier {\n ...IdentifierFields\n }\n expiry\n quantity {\n ...QuantityFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment SubstanceIngredientFields on SubstanceIngredient {\n id\n quantity {\n ...RatioFields\n }\n substanceCodeableConcept {\n ...CodeableConceptFields\n }\n}\n \n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EncounterFields on Encounter {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n meta {\n ...MetaFields\n }\n text {\n ...NarrativeFields\n }\n type {\n ...CodeableConceptFields\n }\n status\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n ...CodingFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n location {\n location {\n id\n reference\n type\n resource {\n ...LocationFields\n }\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n participant {\n ...ParticipantFields\n }\n serviceProvider {\n id\n reference\n type\n resource {\n ...OrganizationFields\n }\n }\n subject {\n id\n reference\n type\n resource {\n ...PatientFields\n }\n }\n reasonReference {\n id\n reference\n type\n resource {\n ...ConditionFields\n }\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment LocationFields on Location {\n id\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n ...PositionFields\n }\n telecom {\n ...ContactPointFields\n }\n status\n managingOrganization {\n ...LocationManagingOrganizationReferenceFields\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment PositionFields on LocationPosition {\n latitude\n longitude\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {\n id\n reference\n identifier {\n ...IdentifierFields\n }\n display\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ParticipantFields on EncounterParticipant {\n individual {\n id\n reference\n type\n resource {\n ...PractitionerFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ConditionFields on Condition {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n resource {\n ...RecorderFields\n }\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RecorderFields on ConditionRecorder {\n ...PatientFields\n ...PractitionerFields\n}\n \n fragment PatientFields on Patient {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n ...CommunicationFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment CommunicationFields on PatientCommunication {\n language {\n ...CodeableConceptFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PractitionerFields on Practitioner {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment DosageFields on Dosage {\n id\n additionalInstruction {\n ...CodeableConceptFields\n }\n asNeededBoolean\n asNeededCodeableConcept {\n ...CodeableConceptFields\n }\n doseAndRate {\n ...DoseAndRateFields\n }\n maxDosePerAdministration {\n ...QuantityFields\n }\n maxDosePerLifetime {\n ...QuantityFields\n }\n maxDosePerPeriod {\n ...RatioFields\n }\n method {\n ...CodeableConceptFields\n }\n patientInstruction\n route {\n ...CodeableConceptFields\n }\n sequence\n site {\n ...CodeableConceptFields\n }\n text\n timing {\n ...TimingFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment DoseAndRateFields on DosageDoseAndRate {\n id\n type {\n ...CodeableConceptFields\n }\n doseRange {\n ...RangeFields\n }\n doseQuantity {\n ...QuantityFields\n }\n rateQuantity {\n ...QuantityFields\n }\n rateRange {\n ...RangeFields\n }\n rateRatio {\n ...RatioFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment TimingFields on Timing {\n id\n code {\n ...CodeableConceptFields\n }\n event\n repeat {\n ...TimingRepeatFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment TimingRepeatFields on TimingRepeat {\n id\n boundsDuration {\n ...QuantityFields\n }\n boundsPeriod {\n ...PeriodFields\n }\n boundsRange {\n ...RangeFields\n }\n count\n countMax\n dayOfWeek\n duration\n durationMax\n durationUnit\n frequency\n frequencyMax\n offset\n period\n periodMax\n periodUnit\n timeOfDay\n when\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment MedicationRequestDispenseRequestFields on MedicationRequestDispenseRequest {\n id\n dispenseInterval {\n ...QuantityFields\n }\n expectedSupplyDuration {\n ...QuantityFields\n }\n initialFill {\n ...MedicationRequestInitialFillFields\n }\n numberOfRepeatsAllowed\n performer {\n id\n reference\n type\n display\n resource {\n ...OrganizationFields\n }\n }\n validityPeriod {\n ...PeriodFields\n }\n quantity {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment MedicationRequestInitialFillFields on MedicationRequestInitialFill {\n id\n duration {\n ...QuantityFields\n }\n quantity {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment OrganizationFields on Organization {\n resourceType\n id\n identifier {\n ...IdentifierFields\n }\n endpoint {\n id\n reference\n type\n resource {\n ...EndpointFields\n }\n }\n name\n telecom {\n ...ContactPointFields\n }\n address {\n ...AddressFields\n }\n active\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment EndpointFields on Endpoint {\n identifier {\n ...IdentifierFields\n }\n name\n status\n connectionType {\n ...CodingFields\n }\n address\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment ContactPointFields on ContactPoint {\n id\n system\n value\n use\n rank\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n ";
122
124
  export declare const GetMedicationStatementsDocument = "\n query getMedicationStatements($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {\n medicationStatements(\n _getpagesoffset: $page\n _count: $pageSize\n code: $code\n id: $id\n _lastUpdated: $lastUpdated\n _sort: $sort\n status: $status\n _total: $total\n category: {value: {system: \"https://fhir.icanbwell.com/4_0_0/CodeSystem/medicationstatement/category|derived_medication_statement\"}}\n ) {\n id\n entry {\n id\n resource {\n id\n meta {\n ...MetaFields\n }\n status\n medicationCodeableConcept {\n ...CodeableConceptFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n effectivePeriod {\n ...PeriodFields\n }\n dosage {\n ...DosageFields\n }\n derivedFrom {\n id\n reference\n type\n }\n }\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment DosageFields on Dosage {\n id\n additionalInstruction {\n ...CodeableConceptFields\n }\n asNeededBoolean\n asNeededCodeableConcept {\n ...CodeableConceptFields\n }\n doseAndRate {\n ...DoseAndRateFields\n }\n maxDosePerAdministration {\n ...QuantityFields\n }\n maxDosePerLifetime {\n ...QuantityFields\n }\n maxDosePerPeriod {\n ...RatioFields\n }\n method {\n ...CodeableConceptFields\n }\n patientInstruction\n route {\n ...CodeableConceptFields\n }\n sequence\n site {\n ...CodeableConceptFields\n }\n text\n timing {\n ...TimingFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment DoseAndRateFields on DosageDoseAndRate {\n id\n type {\n ...CodeableConceptFields\n }\n doseRange {\n ...RangeFields\n }\n doseQuantity {\n ...QuantityFields\n }\n rateQuantity {\n ...QuantityFields\n }\n rateRange {\n ...RangeFields\n }\n rateRatio {\n ...RatioFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment TimingFields on Timing {\n id\n code {\n ...CodeableConceptFields\n }\n event\n repeat {\n ...TimingRepeatFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n id\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n id\n system\n code\n display\n}\n \n\n fragment TimingRepeatFields on TimingRepeat {\n id\n boundsDuration {\n ...QuantityFields\n }\n boundsPeriod {\n ...PeriodFields\n }\n boundsRange {\n ...RangeFields\n }\n count\n countMax\n dayOfWeek\n duration\n durationMax\n durationUnit\n frequency\n frequencyMax\n offset\n period\n periodMax\n periodUnit\n timeOfDay\n when\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
123
125
  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 ";
@@ -366,6 +368,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
366
368
  headers: Headers;
367
369
  status: number;
368
370
  }>;
371
+ getMedicationPricing(variables?: Types.GetMedicationPricingQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
372
+ data: Types.GetMedicationPricingQueryResults;
373
+ errors?: GraphQLError[];
374
+ extensions?: any;
375
+ headers: Headers;
376
+ status: number;
377
+ }>;
369
378
  getMedicationRequest(variables?: Types.GetMedicationRequestQueryVariables, requestHeaders?: GraphQLClientRequestHeaders): Promise<{
370
379
  data: Types.GetMedicationRequestQueryResults;
371
380
  errors?: GraphQLError[];
@@ -1376,6 +1376,12 @@ ${CodeableConceptFieldsFragmentDoc}
1376
1376
  ${EncounterFieldsFragmentDoc}
1377
1377
  ${PractitionerFieldsFragmentDoc}
1378
1378
  ${ObservationFieldsFragmentDoc}`;
1379
+ export const MoneyResourceFieldsFragmentDoc = `
1380
+ fragment MoneyResourceFields on Money {
1381
+ value
1382
+ currency
1383
+ }
1384
+ `;
1379
1385
  export const QuestionnaireResponseItemFieldsFragmentDoc = `
1380
1386
  fragment QuestionnaireResponseItemFields on QuestionnaireResponseItem {
1381
1387
  linkId
@@ -2884,6 +2890,20 @@ export const GetMedicationKnowledgeDocument = `
2884
2890
  }
2885
2891
  }
2886
2892
  ${PagingFieldsFragmentDoc}`;
2893
+ export const GetMedicationPricingDocument = `
2894
+ query getMedicationPricing($request: MedicationPricingRequest) {
2895
+ getMedicationPricing(request: $request) {
2896
+ resources {
2897
+ pharmacy
2898
+ couponUrl
2899
+ drugUrl
2900
+ price {
2901
+ ...MoneyResourceFields
2902
+ }
2903
+ }
2904
+ }
2905
+ }
2906
+ ${MoneyResourceFieldsFragmentDoc}`;
2887
2907
  export const GetMedicationRequestDocument = `
2888
2908
  query getMedicationRequest($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {
2889
2909
  medicationRequests(
@@ -3620,6 +3640,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
3620
3640
  getMedicationKnowledge(variables, requestHeaders) {
3621
3641
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationKnowledgeDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationKnowledge', 'query', variables);
3622
3642
  },
3643
+ getMedicationPricing(variables, requestHeaders) {
3644
+ return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationPricingDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationPricing', 'query', variables);
3645
+ },
3623
3646
  getMedicationRequest(variables, requestHeaders) {
3624
3647
  return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetMedicationRequestDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getMedicationRequest', 'query', variables);
3625
3648
  },
@@ -5567,6 +5567,10 @@ export type DoseAndRateFieldsFragment = {
5567
5567
  } | null;
5568
5568
  } | null;
5569
5569
  };
5570
+ export type MoneyResourceFieldsFragment = {
5571
+ value: number | null;
5572
+ currency: any | null;
5573
+ };
5570
5574
  export type MedicationRequestDispenseRequestFieldsFragment = {
5571
5575
  id: string | null;
5572
5576
  numberOfRepeatsAllowed: number | null;
@@ -16635,6 +16639,22 @@ export type GetMedicationKnowledgeQueryResults = {
16635
16639
  }>;
16636
16640
  };
16637
16641
  };
16642
+ export type GetMedicationPricingQueryVariables = Types.Exact<{
16643
+ request: Types.InputMaybe<Types.MedicationPricingRequest>;
16644
+ }>;
16645
+ export type GetMedicationPricingQueryResults = {
16646
+ getMedicationPricing: {
16647
+ resources: Array<{
16648
+ pharmacy: string;
16649
+ couponUrl: string;
16650
+ drugUrl: string;
16651
+ price: {
16652
+ value: number | null;
16653
+ currency: any | null;
16654
+ } | null;
16655
+ }>;
16656
+ };
16657
+ };
16638
16658
  export type GetMedicationRequestQueryVariables = Types.Exact<{
16639
16659
  page: Types.InputMaybe<Types.Scalars['Int']['input']>;
16640
16660
  pageSize: Types.InputMaybe<Types.Scalars['Int']['input']>;
@@ -35,3 +35,4 @@ export type { PractitionerRole } from "./practitioner-role.js";
35
35
  export type { RelatedPerson } from "./related-person.js";
36
36
  export type { Medication } from "./medication.js";
37
37
  export type { DispenseRequest, InitialFill } from "./dispense-request.js";
38
+ export type { Money } from "./money.js";
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Represents a money resource.
3
+ *
4
+ * @category Models
5
+ * @title Money
6
+ * @excerpt Represents a money resource.
7
+ */
8
+ export type Money = {
9
+ /** Numerical value of the money amount */
10
+ value: number | null;
11
+ /** ISO 4217 currency code */
12
+ currency: string | null;
13
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -27,3 +27,4 @@ export type { MedicationStatementBundle, MedicationStatement, MedicationStatemen
27
27
  export { DiagnosticReportBundle, DiagnosticReport, DiagnosticReportResponse, } from "./diagnostic-report.js";
28
28
  export { MedicationKnowledgeResponse, MedicationKnowledge, MedicationKnowledgeResourceBundle, } from "./medication-knowledge.js";
29
29
  export { LabKnowledgeResponse, LabKnowledge, LabKnowledgeResourceBundle, } from "./lab-knowledge.js";
30
+ export { MedicationPricing, MedicationPricingResponse, } from "./medication-pricing.js";
@@ -0,0 +1,28 @@
1
+ import { Money } from "../common/index.js";
2
+ /**
3
+ * Medication pricing.
4
+ *
5
+ * @category Models
6
+ * @title MedicationPricing
7
+ * @excerpt Medication pricing.
8
+ */
9
+ export type MedicationPricing = {
10
+ /** The price of the medication */
11
+ price: Money | null;
12
+ /** The name of the pharmacy providing the medication */
13
+ pharmacy: string;
14
+ /** A URL to the GoodRx page for the medication */
15
+ drugUrl: string;
16
+ /** A URL to the pharmacy's page for the medication */
17
+ couponUrl: string;
18
+ };
19
+ /**
20
+ * Response type for medication pricing.
21
+ *
22
+ * @category Models
23
+ * @title MedicationPricingResponse
24
+ * @excerpt Response type for medication pricing.
25
+ */
26
+ export type MedicationPricingResponse = {
27
+ resources: MedicationPricing[];
28
+ };
@@ -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-beta-rc.1762279183",
3
+ "version": "2.0.0-beta-rc.1762284189",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",