@icanbwell/bwell-sdk-ts 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -19
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/api-provider-factory.d.ts +1 -1
- package/dist/api/api-provider-factory.js +1 -2
- package/dist/api/base/activity/activity-manager.d.ts +25 -18
- package/dist/api/base/activity/get-tasks-request.d.ts +49 -29
- package/dist/api/base/activity/get-tasks-request.js +15 -42
- package/dist/api/base/activity/index.d.ts +4 -2
- package/dist/api/base/activity/index.js +1 -0
- package/dist/api/base/activity/types.d.ts +3 -0
- package/dist/api/base/activity/types.js +5 -0
- package/dist/api/base/activity/update-task-status-request.d.ts +18 -0
- package/dist/api/base/activity/update-task-status-request.js +15 -0
- package/dist/api/base/api-provider.d.ts +14 -12
- package/dist/api/base/connection/connection-manager.d.ts +51 -68
- package/dist/api/base/connection/connection-manager.js +0 -3
- package/dist/api/base/connection/connection-request.d.ts +1 -15
- package/dist/api/base/connection/connection-request.js +0 -8
- package/dist/api/base/connection/index.d.ts +1 -1
- package/dist/api/base/device/device-manager.d.ts +12 -34
- package/dist/api/base/device/device-manager.js +5 -1
- package/dist/api/base/device/device-request.d.ts +42 -35
- package/dist/api/base/device/device-request.js +42 -30
- package/dist/api/base/device/index.d.ts +2 -2
- package/dist/api/base/device/index.js +2 -2
- package/dist/api/base/event/event-manager.d.ts +16 -0
- package/dist/api/base/event/event-request.d.ts +35 -0
- package/dist/api/base/event/event-request.js +64 -0
- package/dist/api/base/event/index.d.ts +2 -0
- package/dist/api/base/event/index.js +1 -0
- package/dist/api/base/financial/coverage-request.d.ts +6 -5
- package/dist/api/base/financial/coverage-request.js +7 -7
- package/dist/api/base/financial/{explanation-of-benefit-request.d.ts → explanation-of-benefit.d.ts} +9 -15
- package/dist/api/base/financial/{explanation-of-benefit-request.js → explanation-of-benefit.js} +18 -8
- package/dist/api/base/financial/financial-manager.d.ts +14 -46
- package/dist/api/base/financial/index.d.ts +2 -3
- package/dist/api/base/financial/index.js +2 -2
- package/dist/api/base/health-data/health-data-request.d.ts +8 -116
- package/dist/api/base/health-data/health-data-request.js +2 -83
- package/dist/api/base/health-data/health-manager.d.ts +243 -293
- package/dist/api/base/health-data/index.d.ts +3 -2
- package/dist/api/base/health-data/index.js +2 -0
- package/dist/api/base/health-data/lab-knowledge-request.d.ts +0 -9
- package/dist/api/base/health-data/lab-knowledge-request.js +0 -3
- package/dist/api/base/health-data/medication-knowledge-request.d.ts +0 -9
- package/dist/api/base/health-data/medication-knowledge-request.js +0 -3
- package/dist/api/base/health-data/medication-pricing-request.d.ts +21 -0
- package/dist/api/base/health-data/medication-pricing-request.js +26 -0
- package/dist/api/base/health-data/medication-statement-request.d.ts +29 -0
- package/dist/api/base/health-data/medication-statement-request.js +35 -0
- package/dist/api/base/health-space/add-care-team-member-request.d.ts +33 -0
- package/dist/api/base/health-space/add-care-team-member-request.js +36 -0
- package/dist/api/base/health-space/add-care-team-members-request.d.ts +35 -0
- package/dist/api/base/health-space/add-care-team-members-request.js +61 -0
- package/dist/api/base/health-space/appointments-request.d.ts +0 -9
- package/dist/api/base/health-space/appointments-request.js +0 -3
- package/dist/api/base/health-space/cancel-appointment-request.d.ts +1 -8
- package/dist/api/base/health-space/cancel-appointment-request.js +0 -4
- package/dist/api/base/health-space/cancelationReasons-request.d.ts +16 -0
- package/dist/api/base/health-space/{cancellation-reasons-request.js → cancelationReasons-request.js} +4 -10
- package/dist/api/base/health-space/care-team-members-request.d.ts +31 -0
- package/dist/api/base/health-space/care-team-members-request.js +33 -0
- package/dist/api/base/health-space/health-space-manager.d.ts +116 -29
- package/dist/api/base/health-space/index.d.ts +7 -2
- package/dist/api/base/health-space/index.js +6 -1
- package/dist/api/base/health-space/remove-care-team-member-request.d.ts +34 -0
- package/dist/api/base/health-space/remove-care-team-member-request.js +36 -0
- package/dist/api/base/health-space/update-care-team-member-request.d.ts +55 -0
- package/dist/api/base/health-space/update-care-team-member-request.js +71 -0
- package/dist/api/base/identity/identity-manager.d.ts +11 -98
- package/dist/api/base/index.d.ts +3 -1
- package/dist/api/base/index.js +3 -2
- package/dist/api/base/questionnaire/index.d.ts +4 -1
- package/dist/api/base/questionnaire/index.js +3 -0
- package/dist/api/base/questionnaire/next-question-request.d.ts +2 -8
- package/dist/api/base/questionnaire/next-question-request.js +1 -4
- package/dist/api/base/questionnaire/questionnaire-manager.d.ts +42 -24
- package/dist/api/base/questionnaire/questionnaire-responses-request.d.ts +30 -0
- package/dist/api/base/questionnaire/questionnaire-responses-request.js +49 -0
- package/dist/api/base/questionnaire/questionnaires-request.d.ts +18 -0
- package/dist/api/base/questionnaire/questionnaires-request.js +42 -0
- package/dist/api/base/questionnaire/save-questionnaire-response-request.d.ts +22 -0
- package/dist/api/base/questionnaire/save-questionnaire-response-request.js +33 -0
- package/dist/api/base/requests/index.d.ts +0 -2
- package/dist/api/base/requests/search-date.d.ts +0 -12
- package/dist/api/base/requests/search-reference.d.ts +1 -9
- package/dist/api/base/requests/search-string.d.ts +0 -6
- package/dist/api/base/requests/search-token.d.ts +0 -18
- package/dist/api/base/requests/search-token.js +17 -17
- package/dist/api/base/search/index.d.ts +5 -3
- package/dist/api/base/search/index.js +3 -1
- package/dist/api/base/search/request-connection-request.d.ts +24 -0
- package/dist/api/base/search/request-connection-request.js +3 -0
- package/dist/api/base/search/search-health-resources-request.d.ts +44 -33
- package/dist/api/base/search/search-health-resources-request.js +0 -3
- package/dist/api/base/search/search-manager.d.ts +42 -39
- package/dist/api/base/search/search-request.d.ts +84 -0
- package/dist/api/base/search/search-request.js +78 -0
- package/dist/api/base/support/create-support-comment-request.d.ts +13 -0
- package/dist/api/base/support/create-support-comment-request.js +18 -0
- package/dist/api/base/support/create-support-request-request.d.ts +22 -0
- package/dist/api/base/support/create-support-request-request.js +20 -0
- package/dist/api/base/support/delete-support-attachment-request.d.ts +11 -0
- package/dist/api/base/support/delete-support-attachment-request.js +14 -0
- package/dist/api/base/support/get-support-articles-request.d.ts +14 -0
- package/dist/api/base/support/get-support-articles-request.js +12 -0
- package/dist/api/base/support/get-support-attachment-request.d.ts +14 -0
- package/dist/api/base/support/get-support-attachment-request.js +18 -0
- package/dist/api/base/support/get-support-comments-request.d.ts +14 -0
- package/dist/api/base/support/get-support-comments-request.js +15 -0
- package/dist/api/base/support/get-support-requests-request.d.ts +16 -0
- package/dist/api/base/support/get-support-requests-request.js +14 -0
- package/dist/api/base/support/index.d.ts +9 -0
- package/dist/api/base/support/index.js +9 -0
- package/dist/api/base/support/support-manager.d.ts +78 -0
- package/dist/api/base/support/upload-support-attachment-request.d.ts +25 -0
- package/dist/api/base/support/upload-support-attachment-request.js +27 -0
- package/dist/api/base/user/create-consent-request.d.ts +1 -13
- package/dist/api/base/user/create-consent-request.js +5 -10
- package/dist/api/base/user/create-data-export-direct-download-url-request.d.ts +0 -9
- package/dist/api/base/user/create-data-export-direct-download-url-request.js +0 -3
- package/dist/api/base/user/create-verification-url-request.d.ts +0 -12
- package/dist/api/base/user/create-verification-url-request.js +0 -6
- package/dist/api/base/user/get-consents-request.d.ts +1 -19
- package/dist/api/base/user/get-consents-request.js +1 -13
- package/dist/api/base/user/index.d.ts +2 -1
- package/dist/api/base/user/types.d.ts +9 -0
- package/dist/api/base/user/types.js +17 -0
- package/dist/api/base/user/update-profile-request.d.ts +3 -11
- package/dist/api/base/user/update-profile-request.js +3 -5
- package/dist/api/base/user/user-manager.d.ts +49 -100
- package/dist/api/graphql-api/activity/{get-tasks-request-factory.d.ts → activity-request-factories.d.ts} +7 -0
- package/dist/api/graphql-api/activity/activity-request-factories.js +70 -0
- package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +8 -6
- package/dist/api/graphql-api/activity/graphql-activity-manager.js +30 -19
- package/dist/api/graphql-api/activity/index.d.ts +1 -1
- package/dist/api/graphql-api/activity/index.js +1 -1
- package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +9 -9
- package/dist/api/graphql-api/connection/graphql-connection-manager.js +5 -7
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +18 -0
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +40 -0
- package/dist/api/graphql-api/connection/index.d.ts +1 -0
- package/dist/api/graphql-api/connection/index.js +1 -1
- package/dist/api/graphql-api/device/graphql-device-manager.d.ts +1 -2
- package/dist/api/graphql-api/device/graphql-device-manager.js +2 -4
- package/dist/api/graphql-api/errors/errors.js +1 -1
- package/dist/api/graphql-api/event/event-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/event/event-request-factory.js +11 -0
- package/dist/api/graphql-api/event/graphql-event-manager.d.ts +15 -0
- package/dist/api/graphql-api/event/graphql-event-manager.js +65 -0
- package/dist/api/graphql-api/event/index.d.ts +1 -0
- package/dist/api/graphql-api/event/index.js +1 -0
- package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.js +17 -0
- package/dist/api/graphql-api/financial/{explanation-of-benefit-request-factory.d.ts → graphql-explanation-of-benefits-factory.d.ts} +3 -3
- package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.js +23 -0
- package/dist/api/graphql-api/financial/graphql-financial-manager.d.ts +12 -4
- package/dist/api/graphql-api/financial/graphql-financial-manager.js +19 -32
- package/dist/api/graphql-api/financial/index.d.ts +1 -3
- package/dist/api/graphql-api/financial/index.js +1 -3
- package/dist/api/graphql-api/graphql-api-provider.d.ts +14 -6
- package/dist/api/graphql-api/graphql-api-provider.js +7 -6
- package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.d.ts +20 -0
- package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.js +29 -0
- package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.d.ts +16 -0
- package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.js +23 -0
- package/dist/api/graphql-api/health-space/cancel-appointment-request-factory.js +2 -1
- package/dist/api/graphql-api/health-space/care-team-factory-utils.d.ts +23 -0
- package/dist/api/graphql-api/health-space/care-team-factory-utils.js +30 -0
- package/dist/api/graphql-api/health-space/care-team-members-request-factory.d.ts +12 -0
- package/dist/api/graphql-api/health-space/care-team-members-request-factory.js +17 -0
- package/dist/api/graphql-api/health-space/graphql-health-space-manager.d.ts +62 -5
- package/dist/api/graphql-api/health-space/graphql-health-space-manager.js +163 -9
- package/dist/api/graphql-api/health-space/index.d.ts +4 -0
- package/dist/api/graphql-api/health-space/index.js +4 -0
- package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.d.ts +16 -0
- package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.js +24 -0
- package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.d.ts +16 -0
- package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.js +20 -0
- package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.js +12 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +10 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +35 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +10 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +35 -0
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +41 -30
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +256 -311
- package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.js +11 -0
- package/dist/api/graphql-api/identity/graphql-identity-manager.d.ts +1 -2
- package/dist/api/graphql-api/identity/graphql-identity-manager.js +3 -5
- package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.d.ts +9 -0
- package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.js +22 -0
- package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.js +16 -0
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +22 -4
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +69 -4
- package/dist/api/graphql-api/questionnaire/index.d.ts +2 -0
- package/dist/api/graphql-api/questionnaire/index.js +2 -0
- package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +7 -0
- package/dist/api/graphql-api/search/connection-search-request-factory.js +21 -0
- package/dist/api/graphql-api/search/graphql-search-manager.d.ts +6 -4
- package/dist/api/graphql-api/search/graphql-search-manager.js +71 -9
- package/dist/api/graphql-api/search/index.d.ts +1 -0
- package/dist/api/graphql-api/search/index.js +1 -0
- package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +7 -0
- package/dist/api/graphql-api/search/provider-search-request-factory.js +21 -0
- package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/search/{submit-provider-for-review-request-factory.js → request-connection-request-factory.js} +1 -1
- package/dist/api/graphql-api/search/search-health-resources-request-factory.js +11 -12
- package/dist/api/graphql-api/search/search-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/search/search-request-factory.js +44 -0
- package/dist/api/graphql-api/support/create-support-comment-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/create-support-comment-request-factory.js +12 -0
- package/dist/api/graphql-api/support/create-support-request-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/create-support-request-request-factory.js +19 -0
- package/dist/api/graphql-api/support/delete-support-attachment-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/delete-support-attachment-request-factory.js +10 -0
- package/dist/api/graphql-api/support/get-support-articles-bwell-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/get-support-articles-bwell-request-factory.js +15 -0
- package/dist/api/graphql-api/support/get-support-attachment-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/get-support-attachment-request-factory.js +11 -0
- package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.js +14 -0
- package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.js +16 -0
- package/dist/api/graphql-api/support/graphql-support-manager.d.ts +28 -0
- package/dist/api/graphql-api/support/graphql-support-manager.js +210 -0
- package/dist/api/graphql-api/support/index.d.ts +1 -0
- package/dist/api/graphql-api/support/index.js +1 -0
- package/dist/api/graphql-api/support/upload-support-attachment-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/support/upload-support-attachment-request-factory.js +11 -0
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +9 -0
- package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +2 -1
- package/dist/api/graphql-api/user/get-consent-request-factory.js +1 -5
- package/dist/api/graphql-api/user/graphql-user-manager.d.ts +11 -10
- package/dist/api/graphql-api/user/graphql-user-manager.js +10 -11
- package/dist/api/graphql-api/user/update-profile-request-factory.js +2 -1
- package/dist/api/identity-manager-factory.js +1 -1
- package/dist/auth/auth-code-strategy.d.ts +1 -2
- package/dist/auth/auth-strategy.d.ts +1 -1
- package/dist/auth/credentials.d.ts +1 -1
- package/dist/auth/credentials.js +2 -2
- package/dist/auth/oauth-strategy.d.ts +1 -2
- package/dist/auth/username-password-strategy.d.ts +1 -2
- package/dist/auth/username-password-strategy.js +2 -2
- package/dist/bwell-sdk/bwell-sdk.d.ts +48 -319
- package/dist/bwell-sdk/bwell-sdk.js +53 -368
- package/dist/config/bwell-config.d.ts +12 -12
- package/dist/config/bwell-config.js +5 -2
- package/dist/config/sdk-config.d.ts +3 -2
- package/dist/config/sdk-config.js +6 -4
- package/dist/errors/authentication-error.d.ts +0 -7
- package/dist/errors/authentication-error.js +0 -7
- package/dist/errors/bwell-error.d.ts +2 -12
- package/dist/errors/bwell-error.js +2 -5
- package/dist/errors/illegal-argument-error.d.ts +0 -7
- package/dist/errors/illegal-argument-error.js +0 -7
- package/dist/errors/illegal-state-error.d.ts +0 -7
- package/dist/errors/illegal-state-error.js +0 -7
- package/dist/errors/invalid-client-key-error.d.ts +0 -7
- package/dist/errors/invalid-client-key-error.js +0 -7
- package/dist/errors/invalid-credentials-type-error.d.ts +0 -7
- package/dist/errors/invalid-credentials-type-error.js +0 -7
- package/dist/errors/invalid-token-error.d.ts +1 -4
- package/dist/errors/invalid-token-error.js +1 -4
- package/dist/errors/network-error.d.ts +0 -7
- package/dist/errors/network-error.js +0 -7
- package/dist/errors/operation-outcome-error.d.ts +1 -8
- package/dist/errors/operation-outcome-error.js +0 -7
- package/dist/errors/unknown-error.d.ts +0 -7
- package/dist/errors/unknown-error.js +0 -7
- package/dist/errors/validation-error.d.ts +0 -7
- package/dist/errors/validation-error.js +0 -7
- package/dist/graphql/operations/index.d.ts +315 -116
- package/dist/graphql/operations/index.js +2235 -1815
- package/dist/graphql/operations/types.d.ts +17800 -15757
- package/dist/graphql/schema.d.ts +5904 -68232
- package/dist/graphql/schema.js +484 -1
- package/dist/index.d.ts +5 -7
- package/dist/index.js +4 -5
- package/dist/language/language-manager.d.ts +10 -25
- package/dist/language/language-manager.js +0 -5
- package/dist/models/coding.d.ts +5 -0
- package/dist/models/fhir-error.d.ts +9 -0
- package/dist/models/index.d.ts +4 -12
- package/dist/models/index.js +4 -12
- package/dist/models/user.d.ts +4 -0
- package/dist/requests/paged-request.d.ts +0 -35
- package/dist/requests/paged-request.js +0 -22
- package/dist/requests/request.d.ts +0 -16
- package/dist/requests/request.js +0 -8
- package/dist/requests/validator.d.ts +0 -15
- package/dist/requests/validator.js +0 -7
- package/dist/results/bwell-query-result.d.ts +0 -5
- package/dist/results/bwell-query-result.js +0 -5
- package/dist/results/bwell-transaction-result.d.ts +3 -17
- package/dist/results/bwell-transaction-result.js +1 -15
- package/dist/results/index.d.ts +0 -1
- package/dist/results/index.js +0 -1
- package/dist/telemetry/open-telemetry-instrumentation.js +4 -1
- package/dist/tokens/index.d.ts +0 -2
- package/dist/tokens/index.js +0 -2
- package/dist/tokens/jwt-token-manager.d.ts +7 -3
- package/dist/tokens/jwt-token-manager.js +8 -9
- package/dist/tokens/token-storage.d.ts +0 -20
- package/dist/tokens/token-storage.js +0 -19
- package/dist/utils/date-utils.d.ts +6 -0
- package/dist/utils/date-utils.js +8 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/parsing-utils.d.ts +1 -11
- package/dist/utils/parsing-utils.js +1 -33
- package/package.json +19 -23
- package/dist/api/base/device/constants.d.ts +0 -3
- package/dist/api/base/device/constants.js +0 -3
- package/dist/api/base/health-data/health-data-response-factory.d.ts +0 -27
- package/dist/api/base/health-space/cancellation-reasons-request.d.ts +0 -28
- package/dist/api/base/requests/field-sort-order.d.ts +0 -11
- package/dist/api/base/search/submit-provider-for-review-request.d.ts +0 -33
- package/dist/api/base/search/submit-provider-for-review-request.js +0 -9
- package/dist/api/base/user/validators.d.ts +0 -5
- package/dist/api/base/user/validators.js +0 -13
- package/dist/api/graphql-api/activity/get-tasks-request-factory.js +0 -56
- package/dist/api/graphql-api/connection/connection-response-factory.d.ts +0 -7
- package/dist/api/graphql-api/connection/connection-response-factory.js +0 -101
- package/dist/api/graphql-api/financial/coverage-request-factory.d.ts +0 -9
- package/dist/api/graphql-api/financial/coverage-request-factory.js +0 -19
- package/dist/api/graphql-api/financial/explanation-of-benefit-request-factory.js +0 -19
- package/dist/api/graphql-api/healthdata/get-encounters-request-factory.d.ts +0 -7
- package/dist/api/graphql-api/healthdata/get-encounters-request-factory.js +0 -76
- package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.js +0 -25
- package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +0 -18
- package/dist/api/graphql-api/healthdata/health-data-request-factory.js +0 -25
- package/dist/api/graphql-api/healthdata/health-data-response-factory.d.ts +0 -8
- package/dist/api/graphql-api/healthdata/health-data-response-factory.js +0 -58
- package/dist/api/graphql-api/search/submit-provider-for-review-request-factory.d.ts +0 -6
- package/dist/models/activity/index.d.ts +0 -1
- package/dist/models/activity/task.d.ts +0 -77
- package/dist/models/activity/task.js +0 -1
- package/dist/models/common/address.d.ts +0 -41
- package/dist/models/common/address.js +0 -1
- package/dist/models/common/annotation.d.ts +0 -18
- package/dist/models/common/annotation.js +0 -1
- package/dist/models/common/attachment.d.ts +0 -18
- package/dist/models/common/attachment.js +0 -1
- package/dist/models/common/bundle.d.ts +0 -83
- package/dist/models/common/bundle.js +0 -1
- package/dist/models/common/codeable-concept.d.ts +0 -17
- package/dist/models/common/codeable-concept.js +0 -1
- package/dist/models/common/coding.d.ts +0 -18
- package/dist/models/common/component.d.ts +0 -23
- package/dist/models/common/component.js +0 -1
- package/dist/models/common/contact-point.d.ts +0 -32
- package/dist/models/common/contact-point.js +0 -1
- package/dist/models/common/dispense-request.d.ts +0 -67
- package/dist/models/common/dispense-request.js +0 -1
- package/dist/models/common/dosage.d.ts +0 -68
- package/dist/models/common/dosage.js +0 -1
- package/dist/models/common/endpoint.d.ts +0 -23
- package/dist/models/common/endpoint.js +0 -1
- package/dist/models/common/expression.d.ts +0 -20
- package/dist/models/common/expression.js +0 -1
- package/dist/models/common/extension.d.ts +0 -49
- package/dist/models/common/extension.js +0 -1
- package/dist/models/common/fhir-error.d.ts +0 -23
- package/dist/models/common/human-name.d.ts +0 -20
- package/dist/models/common/human-name.js +0 -1
- package/dist/models/common/identifier.d.ts +0 -19
- package/dist/models/common/identifier.js +0 -1
- package/dist/models/common/index.d.ts +0 -38
- package/dist/models/common/index.js +0 -2
- package/dist/models/common/location.d.ts +0 -51
- package/dist/models/common/location.js +0 -1
- package/dist/models/common/medication.d.ts +0 -42
- package/dist/models/common/medication.js +0 -1
- package/dist/models/common/meta.d.ts +0 -21
- package/dist/models/common/meta.js +0 -1
- package/dist/models/common/money.d.ts +0 -15
- package/dist/models/common/money.js +0 -1
- package/dist/models/common/narrative.d.ts +0 -14
- package/dist/models/common/narrative.js +0 -1
- package/dist/models/common/operation-outcome.d.ts +0 -48
- package/dist/models/common/operation-outcome.js +0 -1
- package/dist/models/common/organization.d.ts +0 -46
- package/dist/models/common/organization.js +0 -1
- package/dist/models/common/paging-info.d.ts +0 -18
- package/dist/models/common/paging-info.js +0 -1
- package/dist/models/common/patient.d.ts +0 -13
- package/dist/models/common/patient.js +0 -1
- package/dist/models/common/period.d.ts +0 -14
- package/dist/models/common/period.js +0 -1
- package/dist/models/common/practitioner-role.d.ts +0 -42
- package/dist/models/common/practitioner-role.js +0 -1
- package/dist/models/common/practitioner.d.ts +0 -17
- package/dist/models/common/practitioner.js +0 -1
- package/dist/models/common/quantity.d.ts +0 -20
- package/dist/models/common/quantity.js +0 -1
- package/dist/models/common/range.d.ts +0 -15
- package/dist/models/common/range.js +0 -1
- package/dist/models/common/ratio.d.ts +0 -15
- package/dist/models/common/ratio.js +0 -1
- package/dist/models/common/reference-range.d.ts +0 -13
- package/dist/models/common/reference-range.js +0 -1
- package/dist/models/common/reference.d.ts +0 -27
- package/dist/models/common/reference.js +0 -1
- package/dist/models/common/related-person.d.ts +0 -34
- package/dist/models/common/related-person.js +0 -1
- package/dist/models/common/score.d.ts +0 -16
- package/dist/models/common/score.js +0 -1
- package/dist/models/common/service-request.d.ts +0 -21
- package/dist/models/common/service-request.js +0 -1
- package/dist/models/common/specimen.d.ts +0 -30
- package/dist/models/common/specimen.js +0 -7
- package/dist/models/common/timing.d.ts +0 -107
- package/dist/models/common/timing.js +0 -1
- package/dist/models/common/value.d.ts +0 -22
- package/dist/models/common/value.js +0 -1
- package/dist/models/connection/base-connection.d.ts +0 -27
- package/dist/models/connection/base-connection.js +0 -1
- package/dist/models/connection/connection-status.d.ts +0 -15
- package/dist/models/connection/connection-status.js +0 -1
- package/dist/models/connection/connection.d.ts +0 -32
- package/dist/models/connection/connection.js +0 -1
- package/dist/models/connection/data-source.d.ts +0 -27
- package/dist/models/connection/data-source.js +0 -1
- package/dist/models/connection/index.d.ts +0 -6
- package/dist/models/connection/index.js +0 -1
- package/dist/models/connection/member-connection.d.ts +0 -37
- package/dist/models/connection/member-connection.js +0 -1
- package/dist/models/connection/oauth-url.d.ts +0 -12
- package/dist/models/connection/oauth-url.js +0 -1
- package/dist/models/device/device-registration-results.d.ts +0 -12
- package/dist/models/device/device-registration-results.js +0 -1
- package/dist/models/device/index.d.ts +0 -1
- package/dist/models/device/index.js +0 -1
- package/dist/models/enums/category-code.d.ts +0 -11
- package/dist/models/enums/category-code.js +0 -13
- package/dist/models/enums/connection-category.d.ts +0 -9
- package/dist/models/enums/connection-category.js +0 -1
- package/dist/models/enums/consent-provision-type.d.ts +0 -11
- package/dist/models/enums/consent-provision-type.js +0 -2
- package/dist/models/enums/consent-status.d.ts +0 -11
- package/dist/models/enums/consent-status.js +0 -9
- package/dist/models/enums/data-connection-status.d.ts +0 -9
- package/dist/models/enums/data-connection-status.js +0 -1
- package/dist/models/enums/data-connection-type.d.ts +0 -9
- package/dist/models/enums/data-connection-type.js +0 -1
- package/dist/models/enums/data-set.d.ts +0 -10
- package/dist/models/enums/data-set.js +0 -1
- package/dist/models/enums/device-platform.d.ts +0 -11
- package/dist/models/enums/device-platform.js +0 -2
- package/dist/models/enums/endpoint-status.d.ts +0 -9
- package/dist/models/enums/endpoint-status.js +0 -1
- package/dist/models/enums/filter-field.d.ts +0 -9
- package/dist/models/enums/filter-field.js +0 -1
- package/dist/models/enums/gender.d.ts +0 -9
- package/dist/models/enums/gender.js +0 -1
- package/dist/models/enums/index.d.ts +0 -18
- package/dist/models/enums/index.js +0 -5
- package/dist/models/enums/log-level.d.ts +0 -8
- package/dist/models/enums/log-level.js +0 -1
- package/dist/models/enums/person-gender.d.ts +0 -11
- package/dist/models/enums/person-gender.js +0 -7
- package/dist/models/enums/search-context.d.ts +0 -10
- package/dist/models/enums/search-context.js +0 -1
- package/dist/models/enums/search-result-type.d.ts +0 -9
- package/dist/models/enums/search-result-type.js +0 -1
- package/dist/models/enums/sort-field.d.ts +0 -10
- package/dist/models/enums/sort-field.js +0 -1
- package/dist/models/enums/sort-order.d.ts +0 -9
- package/dist/models/enums/sort-order.js +0 -1
- package/dist/models/enums/sync-status.d.ts +0 -9
- package/dist/models/enums/sync-status.js +0 -1
- package/dist/models/financial/coverage-bundle.d.ts +0 -18
- package/dist/models/financial/coverage-bundle.js +0 -1
- package/dist/models/financial/coverage.d.ts +0 -65
- package/dist/models/financial/coverage.js +0 -1
- package/dist/models/financial/explanation-of-benefit-bundle.d.ts +0 -26
- package/dist/models/financial/explanation-of-benefit-bundle.js +0 -1
- package/dist/models/financial/explanation-of-benefit.d.ts +0 -274
- package/dist/models/financial/explanation-of-benefit.js +0 -1
- package/dist/models/financial/index.d.ts +0 -4
- package/dist/models/financial/index.js +0 -4
- package/dist/models/health-data/allergy-intolerance-bundle.d.ts +0 -11
- package/dist/models/health-data/allergy-intolerance-bundle.js +0 -1
- package/dist/models/health-data/allergy-intolerance-group.d.ts +0 -44
- package/dist/models/health-data/allergy-intolerance-group.js +0 -1
- package/dist/models/health-data/allergy-intolerance-reaction.d.ts +0 -23
- package/dist/models/health-data/allergy-intolerance-reaction.js +0 -1
- package/dist/models/health-data/allergy-intolerance.d.ts +0 -54
- package/dist/models/health-data/allergy-intolerance.js +0 -1
- package/dist/models/health-data/care-plan-group.d.ts +0 -42
- package/dist/models/health-data/care-plan-group.js +0 -1
- package/dist/models/health-data/care-plan.d.ts +0 -134
- package/dist/models/health-data/care-plan.js +0 -1
- package/dist/models/health-data/care-team.d.ts +0 -77
- package/dist/models/health-data/care-team.js +0 -1
- package/dist/models/health-data/condition-group.d.ts +0 -42
- package/dist/models/health-data/condition-group.js +0 -1
- package/dist/models/health-data/condition.d.ts +0 -104
- package/dist/models/health-data/condition.js +0 -1
- package/dist/models/health-data/diagnostic-report-lab-group.d.ts +0 -45
- package/dist/models/health-data/diagnostic-report-lab-group.js +0 -1
- package/dist/models/health-data/diagnostic-report.d.ts +0 -90
- package/dist/models/health-data/diagnostic-report.js +0 -1
- package/dist/models/health-data/encounter-group.d.ts +0 -48
- package/dist/models/health-data/encounter-group.js +0 -1
- package/dist/models/health-data/encounter.d.ts +0 -79
- package/dist/models/health-data/encounter.js +0 -1
- package/dist/models/health-data/health-summary.d.ts +0 -18
- package/dist/models/health-data/health-summary.js +0 -1
- package/dist/models/health-data/immunization-group.d.ts +0 -41
- package/dist/models/health-data/immunization-group.js +0 -1
- package/dist/models/health-data/immunization.d.ts +0 -150
- package/dist/models/health-data/immunization.js +0 -1
- package/dist/models/health-data/index.d.ts +0 -30
- package/dist/models/health-data/index.js +0 -1
- package/dist/models/health-data/lab-bundle.d.ts +0 -26
- package/dist/models/health-data/lab-bundle.js +0 -1
- package/dist/models/health-data/lab-group.d.ts +0 -51
- package/dist/models/health-data/lab-group.js +0 -1
- package/dist/models/health-data/lab-knowledge.d.ts +0 -28
- package/dist/models/health-data/lab-knowledge.js +0 -1
- package/dist/models/health-data/medication-dispense.d.ts +0 -108
- package/dist/models/health-data/medication-dispense.js +0 -1
- package/dist/models/health-data/medication-group.d.ts +0 -43
- package/dist/models/health-data/medication-group.js +0 -1
- package/dist/models/health-data/medication-knowledge.d.ts +0 -30
- package/dist/models/health-data/medication-knowledge.js +0 -1
- package/dist/models/health-data/medication-pricing.d.ts +0 -28
- package/dist/models/health-data/medication-pricing.js +0 -1
- package/dist/models/health-data/medication-request.d.ts +0 -107
- package/dist/models/health-data/medication-request.js +0 -1
- package/dist/models/health-data/medication-statement.d.ts +0 -68
- package/dist/models/health-data/medication-statement.js +0 -1
- package/dist/models/health-data/observation.d.ts +0 -102
- package/dist/models/health-data/observation.js +0 -1
- package/dist/models/health-data/procedure-group.d.ts +0 -43
- package/dist/models/health-data/procedure-group.js +0 -1
- package/dist/models/health-data/procedure.d.ts +0 -84
- package/dist/models/health-data/procedure.js +0 -1
- package/dist/models/health-data/vital-sign-bundle.d.ts +0 -18
- package/dist/models/health-data/vital-sign-bundle.js +0 -1
- package/dist/models/health-data/vital-sign-group.d.ts +0 -51
- package/dist/models/health-data/vital-sign-group.js +0 -1
- package/dist/models/health-space/appointment-bundle.d.ts +0 -11
- package/dist/models/health-space/appointment-bundle.js +0 -1
- package/dist/models/health-space/appointment-participant.d.ts +0 -17
- package/dist/models/health-space/appointment-participant.js +0 -1
- package/dist/models/health-space/appointment-update.d.ts +0 -14
- package/dist/models/health-space/appointment-update.js +0 -1
- package/dist/models/health-space/appointment.d.ts +0 -30
- package/dist/models/health-space/appointment.js +0 -1
- package/dist/models/health-space/cancellation-reasons.d.ts +0 -32
- package/dist/models/health-space/cancellation-reasons.js +0 -1
- package/dist/models/health-space/index.d.ts +0 -5
- package/dist/models/health-space/index.js +0 -1
- package/dist/models/identity/auth-tokens.d.ts +0 -25
- package/dist/models/identity/auth-tokens.js +0 -1
- package/dist/models/identity/create-guest-access-token-results.d.ts +0 -12
- package/dist/models/identity/create-guest-access-token-results.js +0 -1
- package/dist/models/identity/index.d.ts +0 -4
- package/dist/models/identity/index.js +0 -1
- package/dist/models/identity/refresh-token-results.d.ts +0 -8
- package/dist/models/identity/refresh-token-results.js +0 -1
- package/dist/models/identity/sdk-configuration-result.d.ts +0 -26
- package/dist/models/identity/sdk-configuration-result.js +0 -1
- package/dist/models/questionnaire/index.d.ts +0 -5
- package/dist/models/questionnaire/index.js +0 -1
- package/dist/models/questionnaire/questionnaire-item.d.ts +0 -38
- package/dist/models/questionnaire/questionnaire-item.js +0 -1
- package/dist/models/questionnaire/questionnaire-response-answer.d.ts +0 -33
- package/dist/models/questionnaire/questionnaire-response-answer.js +0 -1
- package/dist/models/questionnaire/questionnaire-response-item.d.ts +0 -19
- package/dist/models/questionnaire/questionnaire-response-item.js +0 -1
- package/dist/models/questionnaire/questionnaire-response.d.ts +0 -29
- package/dist/models/questionnaire/questionnaire-response.js +0 -1
- package/dist/models/questionnaire/questionnaire.d.ts +0 -30
- package/dist/models/questionnaire/questionnaire.js +0 -1
- package/dist/models/search/health-resources.d.ts +0 -133
- package/dist/models/search/health-resources.js +0 -1
- package/dist/models/search/index.d.ts +0 -2
- package/dist/models/search/index.js +0 -1
- package/dist/models/search/provider-review-result.d.ts +0 -15
- package/dist/models/search/provider-review-result.js +0 -1
- package/dist/models/user/consent.d.ts +0 -100
- package/dist/models/user/consent.js +0 -1
- package/dist/models/user/index.d.ts +0 -4
- package/dist/models/user/index.js +0 -1
- package/dist/models/user/person.d.ts +0 -43
- package/dist/models/user/person.js +0 -1
- package/dist/models/user/user.d.ts +0 -12
- package/dist/models/user/user.js +0 -1
- package/dist/models/user/verification-result.d.ts +0 -30
- package/dist/models/user/verification-result.js +0 -1
- package/dist/tokens/load-auth-tokens.d.ts +0 -6
- package/dist/tokens/load-auth-tokens.js +0 -43
- package/dist/tokens/token-manager.d.ts +0 -12
- package/dist/tokens/token-manager.js +0 -5
- package/dist/utils/search-token-utils.d.ts +0 -8
- package/dist/utils/search-token-utils.js +0 -23
- /package/dist/api/base/{health-data/health-data-response-factory.js → event/event-manager.js} +0 -0
- /package/dist/api/base/{requests/field-sort-order.js → support/support-manager.js} +0 -0
- /package/dist/models/{common/coding.js → coding.js} +0 -0
- /package/dist/models/{common/fhir-error.js → fhir-error.js} +0 -0
- /package/dist/{results → models}/operation-outcome.d.ts +0 -0
- /package/dist/{results → models}/operation-outcome.js +0 -0
- /package/dist/models/{activity/index.js → user.js} +0 -0
|
@@ -1,407 +1,357 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { GetAllergyIntoleranceGroupsQueryResults, GetAllergyIntolerancesQueryResults, GetBinaryQueryResults, GetCarePlanGroupsQueryResults, GetCarePlansQueryResults, GetCareTeamsQueryResults, GetConditionGroupsQueryResults, GetConditionsQueryResults, GetDiagnosticReportLabGroupsQueryResults, GetDiagnosticReportsQueryResults, GetDocumentReferencesQueryResults, GetEncounterQueryResults, GetEncountersGroupQueryResults, GetHealthSummaryQueryResults, GetImmunizationGroupsQueryResults, GetImmunizationsQueryResults, GetLabGroupsQueryResults, GetLabKnowledgeQueryResults, GetLabsQueryResults, GetMedicationGroupsQueryResults, GetMedicationKnowledgeQueryResults, GetMedicationPricingQueryResults, GetMedicationStatementsQueryResults, GetProcedureGroupsQueryResults, GetProceduresQueryResults, GetVitalSignGroupsQueryResults, GetVitalSignsQueryResults, UpdateMedicationStatementMutationResults } from "../../../graphql/operations/types.js";
|
|
2
|
+
import { BWellQueryResult, BWellTransactionResult } from "../../../results/index.js";
|
|
3
|
+
import { MedicationDispenseResultsType } from "../../graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js";
|
|
4
|
+
import { MedicationRequestResultsType } from "../../graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js";
|
|
3
5
|
import type { BaseManagerError } from "../errors.js";
|
|
4
|
-
import
|
|
6
|
+
import { AllergyIntoleranceGroupsRequest, AllergyIntolerancesRequest, BinaryRequest, CarePlanGroupsRequest, CarePlansRequest, CareTeamsRequest, ConditionGroupsRequest, ConditionsRequest, DiagnosticReportLabGroupsRequest, DiagnosticReportsRequest, DocumentReferencesRequest, EncounterGroupsRequest, EncountersRequest, ImmunizationGroupsRequest, ImmunizationsRequest, LabGroupsRequest, LabsRequest, MedicationDispenseRequest, MedicationGroupsRequest, MedicationRequestRequest, MedicationStatementsRequest, ProcedureGroupsRequest, ProceduresRequest, VitalSignGroupsRequest, VitalSignsRequest } from "./health-data-request.js";
|
|
5
7
|
import { LabKnowledgeRequest } from "./lab-knowledge-request.js";
|
|
6
8
|
import { MedicationKnowledgeRequest } from "./medication-knowledge-request.js";
|
|
9
|
+
import { MedicationPricingRequest } from "./medication-pricing-request.js";
|
|
10
|
+
import { UpdateMedicationStatementRequest } from "./medication-statement-request.js";
|
|
11
|
+
type HealthSummaryResultsType = GetHealthSummaryQueryResults["getHealthSummary"];
|
|
12
|
+
export interface HealthSummaryResults extends HealthSummaryResultsType {
|
|
13
|
+
}
|
|
14
|
+
type AllergyIntolerancesResultsType = GetAllergyIntolerancesQueryResults["getAllergyIntolerances"];
|
|
15
|
+
export interface AllergyIntolerancesResults extends AllergyIntolerancesResultsType {
|
|
16
|
+
}
|
|
17
|
+
type DiagnosticReportsResultsType = GetDiagnosticReportsQueryResults["diagnosticReports"];
|
|
18
|
+
export type DiagnosticReportsResults = DiagnosticReportsResultsType;
|
|
19
|
+
type DocumentReferencesResultsType = GetDocumentReferencesQueryResults["getDocumentReferences"];
|
|
20
|
+
export interface DocumentReferencesResults extends DocumentReferencesResultsType {
|
|
21
|
+
}
|
|
22
|
+
type BinaryResultsType = GetBinaryQueryResults["getBinary"];
|
|
23
|
+
export interface BinaryResults extends BinaryResultsType {
|
|
24
|
+
}
|
|
25
|
+
type AllergyIntolerancesGroupsResultsType = GetAllergyIntoleranceGroupsQueryResults["getAllergyIntoleranceGroups"];
|
|
26
|
+
export interface AllergyIntolerancesGroupsResults extends AllergyIntolerancesGroupsResultsType {
|
|
27
|
+
}
|
|
28
|
+
type ConditionsResultsType = GetConditionsQueryResults["getConditions"];
|
|
29
|
+
export interface ConditionsResults extends ConditionsResultsType {
|
|
30
|
+
}
|
|
31
|
+
type ConditionGroupsResultsType = GetConditionGroupsQueryResults["getConditionGroups"];
|
|
32
|
+
export interface ConditionGroupsResults extends ConditionGroupsResultsType {
|
|
33
|
+
}
|
|
34
|
+
type LabsResultsType = GetLabsQueryResults["getLabs"];
|
|
35
|
+
export interface LabsResults extends LabsResultsType {
|
|
36
|
+
}
|
|
37
|
+
type LabGroupsResultsType = GetLabGroupsQueryResults["getLabGroups"];
|
|
38
|
+
export interface LabGroupsResults extends LabGroupsResultsType {
|
|
39
|
+
}
|
|
40
|
+
type CarePlansResultsType = GetCarePlansQueryResults["getCarePlans"];
|
|
41
|
+
export interface CarePlansResults extends CarePlansResultsType {
|
|
42
|
+
}
|
|
43
|
+
type CarePlanGroupsResultsType = GetCarePlanGroupsQueryResults["getCarePlanGroups"];
|
|
44
|
+
export interface CarePlanGroupsResults extends CarePlanGroupsResultsType {
|
|
45
|
+
}
|
|
46
|
+
type CareTeamsResultsType = GetCareTeamsQueryResults["getCareTeams"];
|
|
47
|
+
export interface CareTeamsResults extends CareTeamsResultsType {
|
|
48
|
+
}
|
|
49
|
+
type EncountersResultsType = GetEncounterQueryResults["getEncounters"];
|
|
50
|
+
export interface EncountersResults extends EncountersResultsType {
|
|
51
|
+
}
|
|
52
|
+
type EncounterGroupsResultsType = GetEncountersGroupQueryResults["getEncounterGroups"];
|
|
53
|
+
export interface EncounterGroupsResults extends EncounterGroupsResultsType {
|
|
54
|
+
}
|
|
55
|
+
type ImmunizationsResultsType = GetImmunizationsQueryResults["getImmunizations"];
|
|
56
|
+
export interface ImmunizationsResults extends ImmunizationsResultsType {
|
|
57
|
+
}
|
|
58
|
+
type ImmunizationGroupsResultsType = GetImmunizationGroupsQueryResults["getImmunizationGroups"];
|
|
59
|
+
export interface ImmunizationGroupsResults extends ImmunizationGroupsResultsType {
|
|
60
|
+
}
|
|
61
|
+
type ProceduresResultsType = GetProceduresQueryResults["getProcedures"];
|
|
62
|
+
export interface ProceduresResults extends ProceduresResultsType {
|
|
63
|
+
}
|
|
64
|
+
type ProcedureGroupsResultsType = GetProcedureGroupsQueryResults["getProcedureGroups"];
|
|
65
|
+
export interface ProcedureGroupsResults extends ProcedureGroupsResultsType {
|
|
66
|
+
}
|
|
67
|
+
type VitalSignsResultsType = GetVitalSignsQueryResults["getVitalSigns"];
|
|
68
|
+
export interface VitalSignsResults extends VitalSignsResultsType {
|
|
69
|
+
}
|
|
70
|
+
type VitalSignGroupsResultsType = GetVitalSignGroupsQueryResults["getVitalSignGroups"];
|
|
71
|
+
export interface VitalSignGroupsResults extends VitalSignGroupsResultsType {
|
|
72
|
+
}
|
|
73
|
+
type DiagnosticReportLabGroupsResultsType = GetDiagnosticReportLabGroupsQueryResults["getDiagnosticReportLabGroups"];
|
|
74
|
+
export interface DiagnosticReportLabGroupsResults extends DiagnosticReportLabGroupsResultsType {
|
|
75
|
+
}
|
|
76
|
+
export interface MedicationDispenseResults extends MedicationDispenseResultsType {
|
|
77
|
+
}
|
|
78
|
+
export interface MedicationRequestResults extends MedicationRequestResultsType {
|
|
79
|
+
}
|
|
80
|
+
type MedicationStatementsResultsType = GetMedicationStatementsQueryResults["getMedicationStatements"];
|
|
81
|
+
export interface MedicationStatementsResults extends MedicationStatementsResultsType {
|
|
82
|
+
}
|
|
83
|
+
type UpdateMedicationStatementMutationResultsType = UpdateMedicationStatementMutationResults["updateMedicationStatement"];
|
|
84
|
+
export interface UpdateMedicationStatementResult extends UpdateMedicationStatementMutationResultsType {
|
|
85
|
+
}
|
|
86
|
+
type MedicationKnowledgeResultsType = GetMedicationKnowledgeQueryResults["getMedicationKnowledge"];
|
|
87
|
+
export interface MedicationKnowledgeResults extends MedicationKnowledgeResultsType {
|
|
88
|
+
}
|
|
89
|
+
type MedicationPricingResultsType = GetMedicationPricingQueryResults["getMedicationPricing"];
|
|
90
|
+
export interface MedicationPricingResults extends MedicationPricingResultsType {
|
|
91
|
+
}
|
|
92
|
+
type MedicationGroupsResultsType = GetMedicationGroupsQueryResults["getMedicationGroups"];
|
|
93
|
+
export interface MedicationGroupsResults extends MedicationGroupsResultsType {
|
|
94
|
+
}
|
|
95
|
+
type LabKnowledgeResultsType = GetLabKnowledgeQueryResults["getLabKnowledge"];
|
|
96
|
+
export interface LabKnowledgeResults extends LabKnowledgeResultsType {
|
|
97
|
+
}
|
|
7
98
|
/**
|
|
8
|
-
*
|
|
9
|
-
* Provides methods for retrieving health care records including conditions, medications,
|
|
10
|
-
* labs, procedures, and other clinical data organized by groups.
|
|
11
|
-
* @see https://build.fhir.org/patient.html
|
|
12
|
-
* @title HealthManager
|
|
13
|
-
* @excerpt Health Manager for patient health records and clinical data access
|
|
14
|
-
* @category Managers
|
|
99
|
+
* The HealthManager interface provides methods for retrieving health care records.
|
|
15
100
|
*/
|
|
16
101
|
export interface HealthManager {
|
|
17
102
|
/**
|
|
18
103
|
* Retrieve a summary view of current health care records by category. This view includes counts for AllergyIntolerance, CarePlan, Condition, Encounter, Immunization, Procedure, Vital Sign, Medication Statement, and Lab resources.
|
|
19
104
|
*
|
|
20
|
-
* @returns {Promise<BWellQueryResult<
|
|
105
|
+
* @returns {Promise<BWellQueryResult<HealthSummaryResults>>} A promise resolving to An object which based off of generated ResourceGroups representing an aggregation of AllergyIntolerance, CarePlan, Condition, Encounter, Immunization, Procedure, MedicationStatement, Observation (Vital Sign and Lab) resources.
|
|
21
106
|
*/
|
|
22
|
-
getHealthSummary(): Promise<BWellQueryResult<
|
|
107
|
+
getHealthSummary(): Promise<BWellQueryResult<HealthSummaryResults, BaseManagerError>>;
|
|
23
108
|
/**
|
|
24
|
-
* Retrieves a list of
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @param {HealthDataRequest} request - Optional request class instance for specifying the search criteria
|
|
28
|
-
*
|
|
29
|
-
* @returns {Promise<BWellQueryResult<AllergyIntoleranceBundle>>} A promise resolving to an object representing the list of allergy intolerances retrieved.
|
|
109
|
+
* Retrieves a list of AllergyIntolerance resources from a FHIR server.
|
|
110
|
+
* The method accepts a AllergyIntolerancesRequest object to specify the search criteria.
|
|
111
|
+
* See also https://build.fhir.org/allergyintolerance.html
|
|
30
112
|
*
|
|
31
|
-
* @
|
|
32
|
-
* ```typescript
|
|
33
|
-
* // Without filtering
|
|
34
|
-
* const allergies = await sdk.health.getAllergyIntolerances();
|
|
113
|
+
* @param {AllergyIntolerancesRequest} request An object specifying the search criteria for retrieving the AllergyIntolerance resources.
|
|
35
114
|
*
|
|
36
|
-
*
|
|
37
|
-
* const recentAllergies = await sdk.health.getAllergyIntolerances(
|
|
38
|
-
* new HealthDataRequest({
|
|
39
|
-
* lastUpdated: { value: '2024-01-01', prefix: 'ge' }
|
|
40
|
-
* })
|
|
41
|
-
* );
|
|
42
|
-
* ```
|
|
115
|
+
* @returns {Promise<BWellQueryResult<AllergyIntolerancesResults>>} A promise resolving to an object representing the list of Allergy Intolerance resources retrieved, along with potential validation or GraphQL errors.
|
|
43
116
|
*/
|
|
44
|
-
getAllergyIntolerances(request?:
|
|
117
|
+
getAllergyIntolerances(request?: AllergyIntolerancesRequest): Promise<BWellQueryResult<AllergyIntolerancesResults, BaseManagerError>>;
|
|
45
118
|
/**
|
|
46
119
|
* Retrieves a list of AllergyIntoleranceGroup resources.
|
|
47
120
|
* The method accepts a AllergyIntoleranceGroupsRequest object to specify the search criteria.
|
|
48
121
|
*
|
|
49
|
-
* @param {AllergyIntoleranceGroupsRequest} request
|
|
122
|
+
* @param {AllergyIntoleranceGroupsRequest} request An object specifying the search criteria for retrieving the AllergyIntoleranceGroup resources.
|
|
50
123
|
*
|
|
51
|
-
* @returns {Promise<BWellQueryResult<
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* ```typescript
|
|
55
|
-
* // Without filtering
|
|
56
|
-
* const allergyGroups = await sdk.health.getAllergyIntoleranceGroups();
|
|
57
|
-
*
|
|
58
|
-
* // With pagination
|
|
59
|
-
* const pagedAllergyGroups = await sdk.health.getAllergyIntoleranceGroups(
|
|
60
|
-
* new AllergyIntoleranceGroupsRequest({
|
|
61
|
-
* page: 1,
|
|
62
|
-
* pageSize: 20
|
|
63
|
-
* })
|
|
64
|
-
* );
|
|
65
|
-
* ```
|
|
124
|
+
* @returns {Promise<BWellQueryResult<AllergyIntolerancesGroupsResults>>} A promise resolving to an object representing the list of Allergy Intolerance Groups retrieved, along with potential validation or GraphQL errors.
|
|
66
125
|
*/
|
|
67
|
-
getAllergyIntoleranceGroups(request?: AllergyIntoleranceGroupsRequest): Promise<BWellQueryResult<
|
|
126
|
+
getAllergyIntoleranceGroups(request?: AllergyIntoleranceGroupsRequest): Promise<BWellQueryResult<AllergyIntolerancesGroupsResults, BaseManagerError>>;
|
|
68
127
|
/**
|
|
69
|
-
* Retrieves a list of
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
128
|
+
* Retrieves a list of medical conditions and diagnoses using the FHIR (Fast Healthcare Interoperability Resources) standard.
|
|
129
|
+
* Medical conditions represent various health issues, ailments, or diseases that patients may experience.
|
|
130
|
+
* This method provides access to this type of clinical data.
|
|
131
|
+
* See also https://build.fhir.org/condition.html
|
|
73
132
|
*
|
|
74
|
-
* @
|
|
133
|
+
* @param {ConditionsRequest} request An optional request class for specifying the search criteria, for the retrieval of conditions resources.
|
|
75
134
|
*
|
|
76
|
-
* @
|
|
77
|
-
* ```typescript
|
|
78
|
-
* const conditions = await sdk.health.getConditions();
|
|
79
|
-
* ```
|
|
135
|
+
* @returns {Promise<BWellQueryResult<ConditionsResults>>} A promise resolving to an object representing the list of medical conditions retrieved from the FHIR server.
|
|
80
136
|
*/
|
|
81
|
-
getConditions(request?:
|
|
137
|
+
getConditions(request?: ConditionsRequest): Promise<BWellQueryResult<ConditionsResults>>;
|
|
82
138
|
/**
|
|
83
139
|
* Retrieves a list of condition groups resources.
|
|
84
140
|
*
|
|
85
|
-
* @param {ConditionGroupsRequest} request
|
|
141
|
+
* @param {ConditionGroupsRequest} request An optional request class for specifying the search criteria, for the retrieval of condition groups resources.
|
|
86
142
|
*
|
|
87
|
-
* @returns {Promise<BWellQueryResult<
|
|
88
|
-
*
|
|
89
|
-
* @example
|
|
90
|
-
* ```typescript
|
|
91
|
-
* const conditions = await sdk.health.getConditionGroups();
|
|
92
|
-
* ```
|
|
143
|
+
* @returns {Promise<BWellQueryResult<ConditionGroupsResults>>} A promise resolving to an object representing he list of condition groups retrieved.
|
|
93
144
|
*/
|
|
94
|
-
getConditionGroups(request?: ConditionGroupsRequest): Promise<BWellQueryResult<
|
|
145
|
+
getConditionGroups(request?: ConditionGroupsRequest): Promise<BWellQueryResult<ConditionGroupsResults>>;
|
|
95
146
|
/**
|
|
96
|
-
* Retrieves a list of
|
|
97
|
-
*
|
|
98
|
-
*
|
|
147
|
+
* Retrieves a list of document references using the FHIR (Fast Healthcare Interoperability Resources) standard.
|
|
148
|
+
* A reference to a document of any kind for any purpose.
|
|
149
|
+
* This method provides access to this type of clinical data.
|
|
150
|
+
* See also https://build.fhir.org/documentreference.html
|
|
99
151
|
*
|
|
100
|
-
* @
|
|
152
|
+
* @param {DocumentReferencesRequest} request An optional request class for specifying the search criteria, for the retrieval of document reference resources.
|
|
101
153
|
*
|
|
102
|
-
* @
|
|
103
|
-
* ```typescript
|
|
104
|
-
* const labGroups = await sdk.health.getLabGroups();
|
|
105
|
-
* ```
|
|
154
|
+
* @returns {Promise<BWellQueryResult<DocumentReferencesResults>>} A promise resolving to an object representing the list of document references retrieved from the FHIR server.
|
|
106
155
|
*/
|
|
107
|
-
|
|
156
|
+
getDocumentReferences(request?: DocumentReferencesRequest): Promise<BWellQueryResult<DocumentReferencesResults>>;
|
|
108
157
|
/**
|
|
109
|
-
* Retrieves a list of
|
|
110
|
-
*
|
|
111
|
-
* @returns A promise resolving to an object representing the list of care plans retrieved.
|
|
112
|
-
* @example
|
|
113
|
-
* ```typescript
|
|
114
|
-
* const carePlans = await sdk.health.getCarePlans();
|
|
115
|
-
* ```
|
|
116
|
-
*/
|
|
117
|
-
getCarePlans(request?: HealthDataRequest): Promise<BWellQueryResult<CarePlanResponse, BaseManagerError>>;
|
|
118
|
-
/**
|
|
119
|
-
* Retrieves a list of care plan groups resources.
|
|
158
|
+
* Retrieves a list of Binary resources.
|
|
159
|
+
* See also https://hl7.org/fhir/r4b/binary.html
|
|
120
160
|
*
|
|
121
|
-
* @param {
|
|
161
|
+
* @param {BinaryRequest} request An optional request class for specifying the search criteria, for the retrieval of binary resources.
|
|
122
162
|
*
|
|
123
|
-
* @returns {Promise<BWellQueryResult<
|
|
124
|
-
*
|
|
125
|
-
* @example
|
|
126
|
-
* ```typescript
|
|
127
|
-
* const carePlanGroups = await sdk.health.getCarePlanGroups();
|
|
128
|
-
* ```
|
|
163
|
+
* @returns {Promise<BWellQueryResult<BinaryResults>>} A promise resolving to an object representing the list of binary retrieved.
|
|
129
164
|
*/
|
|
130
|
-
|
|
165
|
+
getBinary(request: BinaryRequest): Promise<BWellQueryResult<BinaryResults>>;
|
|
131
166
|
/**
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
* @
|
|
138
|
-
*
|
|
139
|
-
* @
|
|
140
|
-
* ```typescript
|
|
141
|
-
* const encounters = await sdk.health.getEncounters();
|
|
142
|
-
* ```
|
|
143
|
-
*
|
|
144
|
-
* @example
|
|
145
|
-
* ```typescript
|
|
146
|
-
* const encounters = await sdk.health.getEncounters(
|
|
147
|
-
* new HealthDataRequest({
|
|
148
|
-
* page: 0,
|
|
149
|
-
* pageSize: 20,
|
|
150
|
-
* );
|
|
151
|
-
* ```
|
|
152
|
-
*
|
|
153
|
-
* @example using group-code
|
|
154
|
-
* ```typescript
|
|
155
|
-
* const encounters = await sdk.health.getEncounters(
|
|
156
|
-
* new HealthDataRequest({
|
|
157
|
-
* page: 0,
|
|
158
|
-
* pageSize: 20,
|
|
159
|
-
* groupCode: {
|
|
160
|
-
* value: {
|
|
161
|
-
* value: group.coding.code,
|
|
162
|
-
* system: group.coding.system
|
|
163
|
-
* }
|
|
164
|
-
* }
|
|
165
|
-
* })
|
|
166
|
-
* );
|
|
167
|
-
* ```
|
|
167
|
+
* Retrieve a summary of laboratory test results.
|
|
168
|
+
* It returns a list of unique laboratory measurements for the patient sorted by most recent first.
|
|
169
|
+
* It simplifies the process by calling the GetObservations method with the category parameter set to 'laboratory'.
|
|
170
|
+
* See also https://build.fhir.org/ig/HL7/fhir-order-catalog/exlabservices.html
|
|
171
|
+
*
|
|
172
|
+
* @param {LabsRequest} request A simplified request class for access laboratory observations resources.
|
|
173
|
+
*
|
|
174
|
+
* @returns {Promise<BWellQueryResult<LabsResults>>} A promise resolving to an object representing a list of labratory results, along with potential errors.
|
|
168
175
|
*/
|
|
169
|
-
|
|
176
|
+
getLabs(request?: LabsRequest): Promise<BWellQueryResult<LabsResults, BaseManagerError>>;
|
|
170
177
|
/**
|
|
171
|
-
* Retrieves a list of
|
|
172
|
-
*
|
|
173
|
-
* @param {EncounterGroupsRequest} request - Optional request class instance for specifying the search criteria for retrieving encounter groups resources
|
|
178
|
+
* Retrieves a list of labratory groups results.
|
|
174
179
|
*
|
|
175
|
-
* @
|
|
180
|
+
* @param {LabGroupsRequest} request A simplified request class for accessing lab groups resources.
|
|
176
181
|
*
|
|
177
|
-
* @
|
|
178
|
-
* ```typescript
|
|
179
|
-
* const encounterGroups = await sdk.health.getEncounterGroups();
|
|
180
|
-
* ```
|
|
182
|
+
* @returns {Promise<BWellQueryResult<LabGroupsResults>>} A promise resolving to an object representing a list of labratory groups, along with potential errors.
|
|
181
183
|
*/
|
|
182
|
-
|
|
184
|
+
getLabGroups(request?: LabGroupsRequest): Promise<BWellQueryResult<LabGroupsResults, BaseManagerError>>;
|
|
183
185
|
/**
|
|
184
|
-
* Retrieves a list of
|
|
185
|
-
*
|
|
186
|
+
* Retrieves a list of care plans resources.
|
|
187
|
+
* See also https://build.fhir.org/careplan.html
|
|
186
188
|
*
|
|
187
|
-
* @param {
|
|
189
|
+
* @param {CarePlansRequest} request An optional request class for specifying the search criteria, for the retrieval of care plans resources.
|
|
188
190
|
*
|
|
189
|
-
* @returns {Promise<BWellQueryResult<
|
|
190
|
-
*
|
|
191
|
-
* @example
|
|
192
|
-
* ```typescript
|
|
193
|
-
* const immunizations = await sdk.health.getImmunizations();
|
|
194
|
-
* ```
|
|
191
|
+
* @returns {Promise<BWellQueryResult<CarePlansResults>>} A promise resolving to an object representing the list of care plans retrieved.
|
|
195
192
|
*/
|
|
196
|
-
|
|
193
|
+
getCarePlans(request?: CarePlansRequest): Promise<BWellQueryResult<CarePlansResults>>;
|
|
197
194
|
/**
|
|
198
|
-
* Retrieves a list of
|
|
199
|
-
*
|
|
200
|
-
* @param {ImmunizationGroupsRequest} request - Optional request class instance for specifying the search criteria for retrieving immunization groups resources
|
|
195
|
+
* Retrieves a list of care teams.
|
|
196
|
+
* See also https://build.fhir.org/careteam.html
|
|
201
197
|
*
|
|
202
|
-
* @
|
|
198
|
+
* @param {CareTeamsRequest} request An optional request class for specifying the search criteria, for the retrieval of care teams resources.
|
|
203
199
|
*
|
|
204
|
-
* @
|
|
205
|
-
* ```typescript
|
|
206
|
-
* const immunizationGroups = await sdk.health.getImmunizationGroups();
|
|
207
|
-
* ```
|
|
200
|
+
* @returns {Promise<BWellQueryResult<CarePlansResults>>} A promise resolving to an object representing the list of care teams retrieved.
|
|
208
201
|
*/
|
|
209
|
-
|
|
202
|
+
getCareTeams(request?: CareTeamsRequest): Promise<BWellQueryResult<CareTeamsResults>>;
|
|
210
203
|
/**
|
|
211
|
-
* Retrieves a list of
|
|
212
|
-
* Gets individual procedures for the authenticated user.
|
|
213
|
-
*
|
|
214
|
-
* @param {HealthDataRequest} request - Optional request class instance for specifying the search criteria
|
|
204
|
+
* Retrieves a list of care plan groups resources.
|
|
215
205
|
*
|
|
216
|
-
* @
|
|
206
|
+
* @param {CarePlanGroupsRequest} request An optional request class for specifying the search criteria, for the retrieval of care plan groups resources.
|
|
217
207
|
*
|
|
218
|
-
* @
|
|
219
|
-
* ```typescript
|
|
220
|
-
* const procedures = await sdk.health.getProcedures();
|
|
221
|
-
* ```
|
|
208
|
+
* @returns {Promise<BWellQueryResult<CarePlanGroupsResults>>} A promise resolving to an object representing the list of care plan groups retrieved.
|
|
222
209
|
*/
|
|
223
|
-
|
|
210
|
+
getCarePlanGroups(request?: CarePlanGroupsRequest): Promise<BWellQueryResult<CarePlanGroupsResults>>;
|
|
224
211
|
/**
|
|
225
|
-
* Retrieves a list of
|
|
212
|
+
* Retrieves a list of encounters resources.
|
|
213
|
+
* See also https://build.fhir.org/encounter.html
|
|
226
214
|
*
|
|
227
|
-
* @param {
|
|
215
|
+
* @param {EncountersRequest} request An optional request class for specifying the search criteria, for the retrieval of encounters resources.
|
|
228
216
|
*
|
|
229
|
-
* @returns {Promise<BWellQueryResult<
|
|
230
|
-
*
|
|
231
|
-
* @example
|
|
232
|
-
* ```typescript
|
|
233
|
-
* const procedureGroups = await sdk.health.getProcedureGroups();
|
|
234
|
-
* ```
|
|
217
|
+
* @returns {Promise<BWellQueryResult<EncountersResults>>} A promise resolving to an object representing the list of encounters retrieved.
|
|
235
218
|
*/
|
|
236
|
-
|
|
219
|
+
getEncounters(request?: EncountersRequest): Promise<BWellQueryResult<EncountersResults>>;
|
|
237
220
|
/**
|
|
238
|
-
* Retrieves a list of
|
|
239
|
-
* Gets individual vital sign records for the authenticated user.
|
|
240
|
-
*
|
|
241
|
-
* @param {HealthDataRequest} request - Optional request class instance for specifying the search criteria
|
|
221
|
+
* Retrieves a list of encounter groups resources.
|
|
242
222
|
*
|
|
243
|
-
* @
|
|
223
|
+
* @param {EncounterGroupsRequest} request An optional request class for specifying the search criteria, for the retrieval of encounter groups resources.
|
|
244
224
|
*
|
|
245
|
-
* @
|
|
246
|
-
* ```typescript
|
|
247
|
-
* const vitalSigns = await sdk.health.getVitalSigns();
|
|
248
|
-
* ```
|
|
225
|
+
* @returns {Promise<BWellQueryResult<EncounterGroupsResults>>} A promise resolving to an object representing the list of encounter groups retrieved.
|
|
249
226
|
*/
|
|
250
|
-
|
|
227
|
+
getEncounterGroups(request?: EncounterGroupsRequest): Promise<BWellQueryResult<EncounterGroupsResults>>;
|
|
251
228
|
/**
|
|
252
|
-
* Retrieves a list of
|
|
253
|
-
*
|
|
254
|
-
* @param {HealthDataRequest} request - Optional request class instance for specifying the search criteria
|
|
229
|
+
* Retrieves a list of immunizations resources.
|
|
230
|
+
* See also https://build.fhir.org/immunization.html
|
|
255
231
|
*
|
|
256
|
-
* @
|
|
232
|
+
* @param {ImmunizationsRequest} request An optional request class for specifying the search criteria, for the retrieval of immunizations resources.
|
|
257
233
|
*
|
|
258
|
-
* @
|
|
259
|
-
* ```typescript
|
|
260
|
-
* const labs = await sdk.health.getLabs();
|
|
261
|
-
* ```
|
|
234
|
+
* @returns {Promise<BWellQueryResult<ImmunizationsResults>>} A promise resolving to an object representing the list of immunizations retrieved.
|
|
262
235
|
*/
|
|
263
|
-
|
|
236
|
+
getImmunizations(request?: ImmunizationsRequest): Promise<BWellQueryResult<ImmunizationsResults>>;
|
|
264
237
|
/**
|
|
265
|
-
* Retrieves a list of
|
|
266
|
-
*
|
|
267
|
-
* @param {VitalSignGroupsRequest} request - Optional request class instance for specifying the search criteria for retrieving vital sign groups resources.
|
|
238
|
+
* Retrieves a list of immunization groups resources.
|
|
268
239
|
*
|
|
269
|
-
* @
|
|
240
|
+
* @param {ImmunizationGroupsRequest} request An optional request class for specifying the search criteria, for the retrieval of immunization groups resources.
|
|
270
241
|
*
|
|
271
|
-
* @
|
|
272
|
-
* ```typescript
|
|
273
|
-
* const vitalSignGroups = await sdk.health.getVitalSignGroups();
|
|
274
|
-
* ```
|
|
242
|
+
* @returns {Promise<BWellQueryResult<ImmunizationGroupsResults>>} A promise resolving to an object representing the list of immunization groups retrieved.
|
|
275
243
|
*/
|
|
276
|
-
|
|
244
|
+
getImmunizationGroups(request?: ImmunizationGroupsRequest): Promise<BWellQueryResult<ImmunizationGroupsResults>>;
|
|
277
245
|
/**
|
|
278
|
-
* Retrieves a list of
|
|
279
|
-
*
|
|
280
|
-
* @param {MedicationGroupsRequest} request - Request class instance for specifying the search criteria for retrieving medication groups resources.
|
|
246
|
+
* Retrieves a list of procedures resources.
|
|
247
|
+
* See also https://build.fhir.org/procedure.html
|
|
281
248
|
*
|
|
282
|
-
* @
|
|
249
|
+
* @param {ProcedureRequest} request An optional request class for specifying the search criteria, for the retrieval of procedures resources.
|
|
283
250
|
*
|
|
284
|
-
* @
|
|
285
|
-
* ```typescript
|
|
286
|
-
* const medications = await sdk.health.getMedicationGroups(
|
|
287
|
-
* new MedicationGroupsRequest({
|
|
288
|
-
* page: 1,
|
|
289
|
-
* pageSize: 10
|
|
290
|
-
* })
|
|
291
|
-
* );
|
|
292
|
-
* ```
|
|
251
|
+
* @returns {Promise<BWellQueryResult<ProceduresResults>>} A promise resolving to an object representing the list of procedures retrieved.
|
|
293
252
|
*/
|
|
294
|
-
|
|
253
|
+
getProcedures(request?: ProceduresRequest): Promise<BWellQueryResult<ProceduresResults>>;
|
|
295
254
|
/**
|
|
296
|
-
* Retrieves a list of
|
|
297
|
-
*
|
|
298
|
-
* @param {HealthDataRequest} request - Optional request class instance for specifying the search criteria
|
|
255
|
+
* Retrieves a list of procedure groups resources.
|
|
299
256
|
*
|
|
300
|
-
* @
|
|
257
|
+
* @param {ProcedureGroupsRequest} request An optional request class for specifying the search criteria, for the retrieval of procedure groups resources.
|
|
301
258
|
*
|
|
302
|
-
* @
|
|
303
|
-
* ```typescript
|
|
304
|
-
* const diagnosticReports = await sdk.health.getDiagnosticReports();
|
|
305
|
-
* ```
|
|
259
|
+
* @returns {Promise<BWellQueryResult<ProcedureGroupsResults>>} A promise resolving to an object representing the list of procedure groups retrieved.
|
|
306
260
|
*/
|
|
307
|
-
|
|
261
|
+
getProcedureGroups(request?: ProcedureGroupsRequest): Promise<BWellQueryResult<ProcedureGroupsResults>>;
|
|
308
262
|
/**
|
|
309
|
-
* Retrieves a list of
|
|
310
|
-
*
|
|
311
|
-
* @param {DiagnosticReportLabGroupsRequest} request - Request class instance for specifying the search criteria for retrieving diagnostic report lab groups resources.
|
|
263
|
+
* Retrieves a list of vital signs resources.
|
|
264
|
+
* See also https://build.fhir.org/observation-vitalsigns.html
|
|
312
265
|
*
|
|
313
|
-
* @
|
|
266
|
+
* @param {VitalSignsRequest} request An optional request class for specifying the search criteria, for the retrieval of vital signs resources.
|
|
314
267
|
*
|
|
315
|
-
* @
|
|
316
|
-
* ```typescript
|
|
317
|
-
* const diagnosticReportLabGroups = await sdk.health.getDiagnosticReportLabGroups(
|
|
318
|
-
* new DiagnosticReportLabGroupsRequest({
|
|
319
|
-
* page: 1,
|
|
320
|
-
* pageSize: 10
|
|
321
|
-
* })
|
|
322
|
-
* );
|
|
323
|
-
* ```
|
|
268
|
+
* @returns {Promise<BWellQueryResult<VitalSignsResults>>} A promise resolving to an object representing the list of vital signs retrieved.
|
|
324
269
|
*/
|
|
325
|
-
|
|
270
|
+
getVitalSigns(request?: VitalSignsRequest): Promise<BWellQueryResult<VitalSignsResults>>;
|
|
326
271
|
/**
|
|
327
|
-
* Retrieves a list of
|
|
328
|
-
*
|
|
329
|
-
* @param {HealthDataRequest} request - Optional request class instance for specifying the search criteria
|
|
272
|
+
* Retrieves a list of vital sign groups resources.
|
|
330
273
|
*
|
|
331
|
-
* @
|
|
274
|
+
* @param {VitalSignGroupsRequest} request An optional request class for specifying the search criteria, for the retrieval of vital sign groups resources.
|
|
332
275
|
*
|
|
333
|
-
* @
|
|
334
|
-
* ```typescript
|
|
335
|
-
* const careTeams = await sdk.health.getCareTeams();
|
|
336
|
-
* ```
|
|
276
|
+
* @returns {Promise<BWellQueryResult<VitalSignGroupsResults>>} A promise resolving to an object representing the list of vital sign groups retrieved.
|
|
337
277
|
*/
|
|
338
|
-
|
|
278
|
+
getVitalSignGroups(request?: VitalSignGroupsRequest): Promise<BWellQueryResult<VitalSignGroupsResults>>;
|
|
339
279
|
/**
|
|
340
280
|
* Retrieves a list of medication dispense resources.
|
|
281
|
+
* See also https://build.fhir.org/medicationdispense.html
|
|
341
282
|
*
|
|
342
|
-
* @param request
|
|
343
|
-
* @returns {Promise<BWellQueryResult<MedicationDispenseBundle>>} A promise resolving to an object representing the list of medication dispenses.
|
|
283
|
+
* @param {MedicationDispenseRequest} request An optional request class for specifying the search criteria, for the retrieval of medication dispense resources.
|
|
344
284
|
*
|
|
345
|
-
* @
|
|
346
|
-
* ```typescript
|
|
347
|
-
* const medicationDispenses = await sdk.health.getMedicationDispenses();
|
|
348
|
-
* ```
|
|
285
|
+
* @returns {Promise<BWellQueryResult<MedicationDispenseResults>>} A promise resolving to an object representing the list of medication dispense retrieved.
|
|
349
286
|
*/
|
|
350
|
-
|
|
287
|
+
getMedicationDispense(request?: MedicationDispenseRequest): Promise<BWellQueryResult<MedicationDispenseResults>>;
|
|
351
288
|
/**
|
|
352
289
|
* Retrieves a list of medication request resources.
|
|
290
|
+
* See also https://build.fhir.org/medicationrequest.html
|
|
291
|
+
*
|
|
292
|
+
* @param {MedicationRequestRequest} request An optional request class for specifying the search criteria, for the retrieval of medication request resources.
|
|
353
293
|
*
|
|
354
|
-
* @
|
|
294
|
+
* @returns {Promise<BWellQueryResult<MedicationRequestResults>>} A promise resolving to an object representing the list of medication request retrieved.
|
|
295
|
+
*/
|
|
296
|
+
getMedicationRequest(request?: MedicationRequestRequest): Promise<BWellQueryResult<MedicationRequestResults>>;
|
|
297
|
+
/**
|
|
298
|
+
* Retrieves a list of medication statements resources.
|
|
299
|
+
* See also https://build.fhir.org/medicationstatement.html
|
|
355
300
|
*
|
|
356
|
-
* @
|
|
301
|
+
* @param {MedicationStatementsRequest} request An optional request class for specifying the search criteria, for the retrieval of medication statements resources.
|
|
357
302
|
*
|
|
358
|
-
* @
|
|
359
|
-
* ```typescript
|
|
360
|
-
* const medicationRequests = await sdk.health.getMedicationRequests();
|
|
361
|
-
* ```
|
|
303
|
+
* @returns {Promise<BWellQueryResult<MedicationStatementsResults>>} A promise resolving to an object representing the list of medication statements retrieved.
|
|
362
304
|
*/
|
|
363
|
-
|
|
305
|
+
getMedicationStatements(request?: MedicationStatementsRequest): Promise<BWellQueryResult<MedicationStatementsResults>>;
|
|
364
306
|
/**
|
|
365
|
-
*
|
|
307
|
+
* Updates a medication statement resource.
|
|
366
308
|
*
|
|
367
|
-
* @param {
|
|
309
|
+
* @param {UpdateMedicationStatementRequest} request The request object specifying the medication statement to update and the fields to update.
|
|
310
|
+
* @returns {Promise<BWellQueryResult<UpdateMedicationStatementResult>>} A promise resolving to the result of the update operation.
|
|
311
|
+
*/
|
|
312
|
+
updateMedicationStatement(request: UpdateMedicationStatementRequest): Promise<BWellTransactionResult<UpdateMedicationStatementResult, BaseManagerError>>;
|
|
313
|
+
/**
|
|
314
|
+
* Retrieves a list of medication groups resources.
|
|
368
315
|
*
|
|
369
|
-
* @
|
|
316
|
+
* @param {MedicationGroupsRequest} request An optional request class for specifying the search criteria, for the retrieval of medication groups resources.
|
|
370
317
|
*
|
|
371
|
-
* @
|
|
372
|
-
* ```typescript
|
|
373
|
-
* const medicationStatements = await sdk.health.getMedicationStatements();
|
|
374
|
-
* ```
|
|
318
|
+
* @returns {Promise<BWellQueryResult<MedicationGroupsResults>>} A promise resolving to an object representing the list of medication groups retrieved.
|
|
375
319
|
*/
|
|
376
|
-
|
|
320
|
+
getMedicationGroups(request: MedicationGroupsRequest): Promise<BWellQueryResult<MedicationGroupsResults>>;
|
|
377
321
|
/**
|
|
378
322
|
* Retrieves a list of medication knowledge resources.
|
|
323
|
+
* See also https://build.fhir.org/medicationknowledge.html
|
|
379
324
|
*
|
|
380
|
-
* @param
|
|
381
|
-
* @returns {Promise<BWellQueryResult<MedicationKnowledgeResourceBundle>>} A promise resolving to an object representing the list of medication knowledge.
|
|
325
|
+
* @param {MedicationKnowledgeRequest} request A non-optional request class for specifying the search criteria, for the retrieval of medication knowledge resources.
|
|
382
326
|
*
|
|
383
|
-
* @
|
|
384
|
-
* ```typescript
|
|
385
|
-
* const medicationKnowledge = await sdk.health.getMedicationKnowledge({
|
|
386
|
-
* medicationStatementId: '123',
|
|
387
|
-
* page: 0
|
|
388
|
-
* });
|
|
389
|
-
* ```
|
|
327
|
+
* @returns {Promise<BWellQueryResult<MedicationKnowledgeResults>>} A promise resolving to an object representing the list of medication knowledge retrieved.
|
|
390
328
|
*/
|
|
391
|
-
getMedicationKnowledge(request: MedicationKnowledgeRequest): Promise<BWellQueryResult<
|
|
329
|
+
getMedicationKnowledge(request: MedicationKnowledgeRequest): Promise<BWellQueryResult<MedicationKnowledgeResults>>;
|
|
392
330
|
/**
|
|
393
331
|
* Retrieves a list of lab knowledge resources.
|
|
332
|
+
* See also https://build.fhir.org/ig/HL7/fhir-order-catalog/exlabservices.html
|
|
333
|
+
*
|
|
334
|
+
* @param {LabKnowledgeRequest} request A non-optional request class for specifying the search criteria, for the retrieval of medication knowledge resources.
|
|
335
|
+
*
|
|
336
|
+
* @returns {Promise<BWellQueryResult<LabKnowledgeResults>>} A promise resolving to an object representing the list of medication knowledge retrieved.
|
|
337
|
+
*/
|
|
338
|
+
getLabKnowledge(request?: LabKnowledgeRequest): Promise<BWellQueryResult<LabKnowledgeResults>>;
|
|
339
|
+
getMedicationPricing(request: MedicationPricingRequest): Promise<BWellQueryResult<MedicationPricingResults>>;
|
|
340
|
+
/**
|
|
341
|
+
* Retrieves a list of diagnostic report resources.
|
|
342
|
+
*
|
|
343
|
+
* @param {DiagnosticReportsRequest} request An optional request class for specifying the search criteria, for the retrieval of diagnostic report resources.
|
|
344
|
+
*
|
|
345
|
+
* @returns {Promise<BWellQueryResult<DiagnosticReportsResults>>} A promise resolving to an object representing the list of diagnostic reports retrieved.
|
|
346
|
+
*/
|
|
347
|
+
getDiagnosticReports(request?: DiagnosticReportsRequest): Promise<BWellQueryResult<DiagnosticReportsResults>>;
|
|
348
|
+
/**
|
|
349
|
+
* Retrieves a list of diagnostic report lab groups resources.
|
|
394
350
|
*
|
|
395
|
-
* @param
|
|
396
|
-
* @returns {Promise<BWellQueryResult<LabKnowledgeResourceBundle>>} A promise resolving to an object representing the list of lab knowledge.
|
|
351
|
+
* @param {DiagnosticReportLabGroupsRequest} request An optional request class for specifying the search criteria, for the retrieval of diagnostic report lab groups resources.
|
|
397
352
|
*
|
|
398
|
-
* @
|
|
399
|
-
* ```typescript
|
|
400
|
-
* const labKnowledge = await sdk.health.getLabKnowledge({
|
|
401
|
-
* labId: '123',
|
|
402
|
-
* page: 0
|
|
403
|
-
* });
|
|
404
|
-
* ```
|
|
353
|
+
* @returns {Promise<BWellQueryResult<DiagnosticReportLabGroupsResults>>} A promise resolving to an object representing the list of diagnostic report lab groups retrieved.
|
|
405
354
|
*/
|
|
406
|
-
|
|
355
|
+
getDiagnosticReportLabGroups(request: DiagnosticReportLabGroupsRequest): Promise<BWellQueryResult<DiagnosticReportLabGroupsResults>>;
|
|
407
356
|
}
|
|
357
|
+
export {};
|