@icanbwell/bwell-sdk-ts 1.54.0 → 1.55.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 +19 -3
- 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 +2 -1
- package/dist/api/base/activity/activity-manager.d.ts +18 -25
- package/dist/api/base/activity/get-tasks-request.d.ts +29 -49
- package/dist/api/base/activity/get-tasks-request.js +42 -15
- package/dist/api/base/activity/index.d.ts +2 -4
- package/dist/api/base/activity/index.js +0 -1
- package/dist/api/base/api-provider.d.ts +12 -14
- package/dist/api/base/connection/connection-manager.d.ts +68 -51
- package/dist/api/base/connection/connection-manager.js +3 -0
- package/dist/api/base/connection/connection-request.d.ts +15 -1
- package/dist/api/base/connection/connection-request.js +8 -0
- package/dist/api/base/connection/index.d.ts +1 -1
- package/dist/api/base/device/constants.d.ts +3 -0
- package/dist/api/base/device/constants.js +3 -0
- package/dist/api/base/device/device-manager.d.ts +34 -12
- package/dist/api/base/device/device-manager.js +1 -5
- package/dist/api/base/device/device-request.d.ts +35 -42
- package/dist/api/base/device/device-request.js +30 -42
- package/dist/api/base/device/index.d.ts +2 -2
- package/dist/api/base/device/index.js +2 -2
- package/dist/api/base/financial/coverage-request.d.ts +5 -6
- package/dist/api/base/financial/coverage-request.js +7 -7
- package/dist/api/base/financial/{explanation-of-benefit.d.ts → explanation-of-benefit-request.d.ts} +15 -9
- package/dist/api/base/financial/{explanation-of-benefit.js → explanation-of-benefit-request.js} +8 -18
- package/dist/api/base/financial/financial-manager.d.ts +46 -14
- package/dist/api/base/financial/index.d.ts +3 -2
- package/dist/api/base/financial/index.js +2 -2
- package/dist/api/base/health-data/health-data-request.d.ts +116 -8
- package/dist/api/base/health-data/health-data-request.js +83 -2
- package/dist/api/base/health-data/health-data-response-factory.d.ts +27 -0
- package/dist/api/base/health-data/health-manager.d.ts +293 -243
- package/dist/api/base/health-data/index.d.ts +2 -3
- package/dist/api/base/health-data/index.js +0 -2
- package/dist/api/base/health-data/lab-knowledge-request.d.ts +9 -0
- package/dist/api/base/health-data/lab-knowledge-request.js +3 -0
- package/dist/api/base/health-data/medication-knowledge-request.d.ts +9 -0
- package/dist/api/base/health-data/medication-knowledge-request.js +3 -0
- package/dist/api/base/health-space/appointments-request.d.ts +9 -0
- package/dist/api/base/health-space/appointments-request.js +3 -0
- package/dist/api/base/health-space/cancel-appointment-request.d.ts +8 -1
- package/dist/api/base/health-space/cancel-appointment-request.js +4 -0
- package/dist/api/base/health-space/cancellation-reasons-request.d.ts +28 -0
- package/dist/api/base/health-space/{cancelationReasons-request.js → cancellation-reasons-request.js} +10 -4
- package/dist/api/base/health-space/health-space-manager.d.ts +29 -116
- package/dist/api/base/health-space/index.d.ts +2 -7
- package/dist/api/base/health-space/index.js +1 -6
- package/dist/api/base/identity/identity-manager.d.ts +98 -11
- package/dist/api/base/index.d.ts +1 -3
- package/dist/api/base/index.js +2 -3
- package/dist/api/base/questionnaire/index.d.ts +1 -4
- package/dist/api/base/questionnaire/index.js +0 -3
- package/dist/api/base/questionnaire/next-question-request.d.ts +8 -2
- package/dist/api/base/questionnaire/next-question-request.js +4 -1
- package/dist/api/base/questionnaire/questionnaire-manager.d.ts +24 -42
- package/dist/api/base/requests/field-sort-order.d.ts +11 -0
- package/dist/api/base/requests/index.d.ts +2 -0
- package/dist/api/base/requests/search-date.d.ts +12 -0
- package/dist/api/base/requests/search-reference.d.ts +9 -1
- package/dist/api/base/requests/search-string.d.ts +6 -0
- package/dist/api/base/requests/search-token.d.ts +18 -0
- package/dist/api/base/requests/search-token.js +17 -17
- package/dist/api/base/search/index.d.ts +3 -5
- package/dist/api/base/search/index.js +1 -3
- package/dist/api/base/search/search-health-resources-request.d.ts +33 -36
- package/dist/api/base/search/search-health-resources-request.js +3 -0
- package/dist/api/base/search/search-manager.d.ts +39 -42
- package/dist/api/base/search/submit-provider-for-review-request.d.ts +33 -0
- package/dist/api/base/search/submit-provider-for-review-request.js +9 -0
- package/dist/api/base/user/create-consent-request.d.ts +13 -1
- package/dist/api/base/user/create-consent-request.js +10 -5
- package/dist/api/base/user/create-data-export-direct-download-url-request.d.ts +9 -0
- package/dist/api/base/user/create-data-export-direct-download-url-request.js +3 -0
- package/dist/api/base/user/create-verification-url-request.d.ts +12 -0
- package/dist/api/base/user/create-verification-url-request.js +6 -0
- package/dist/api/base/user/get-consents-request.d.ts +19 -1
- package/dist/api/base/user/get-consents-request.js +13 -1
- package/dist/api/base/user/index.d.ts +1 -2
- package/dist/api/base/user/update-profile-request.d.ts +11 -3
- package/dist/api/base/user/update-profile-request.js +5 -3
- package/dist/api/base/user/user-manager.d.ts +100 -49
- package/dist/api/base/user/validators.d.ts +5 -0
- package/dist/api/base/user/validators.js +13 -0
- package/dist/api/graphql-api/activity/{activity-request-factories.d.ts → get-tasks-request-factory.d.ts} +0 -7
- package/dist/api/graphql-api/activity/get-tasks-request-factory.js +56 -0
- package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +6 -8
- package/dist/api/graphql-api/activity/graphql-activity-manager.js +19 -30
- 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/connection-response-factory.d.ts +7 -0
- package/dist/api/graphql-api/connection/connection-response-factory.js +101 -0
- package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +9 -9
- package/dist/api/graphql-api/connection/graphql-connection-manager.js +7 -5
- package/dist/api/graphql-api/connection/index.d.ts +0 -1
- package/dist/api/graphql-api/connection/index.js +1 -1
- package/dist/api/graphql-api/device/graphql-device-manager.d.ts +2 -1
- package/dist/api/graphql-api/device/graphql-device-manager.js +4 -2
- package/dist/api/graphql-api/errors/errors.js +1 -1
- package/dist/api/graphql-api/financial/coverage-request-factory.d.ts +9 -0
- package/dist/api/graphql-api/financial/coverage-request-factory.js +19 -0
- package/dist/api/graphql-api/financial/{graphql-explanation-of-benefits-factory.d.ts → explanation-of-benefit-request-factory.d.ts} +3 -3
- package/dist/api/graphql-api/financial/explanation-of-benefit-request-factory.js +19 -0
- package/dist/api/graphql-api/financial/graphql-financial-manager.d.ts +4 -12
- package/dist/api/graphql-api/financial/graphql-financial-manager.js +32 -19
- package/dist/api/graphql-api/financial/index.d.ts +3 -1
- package/dist/api/graphql-api/financial/index.js +3 -1
- package/dist/api/graphql-api/graphql-api-provider.d.ts +6 -14
- package/dist/api/graphql-api/graphql-api-provider.js +6 -7
- package/dist/api/graphql-api/graphql-manager/graphql-manager.d.ts +1 -0
- package/dist/api/graphql-api/health-space/cancel-appointment-request-factory.js +1 -2
- package/dist/api/graphql-api/health-space/graphql-health-space-manager.d.ts +5 -62
- package/dist/api/graphql-api/health-space/graphql-health-space-manager.js +9 -163
- package/dist/api/graphql-api/health-space/index.d.ts +0 -4
- package/dist/api/graphql-api/health-space/index.js +0 -4
- package/dist/api/graphql-api/healthdata/get-encounters-request-factory.d.ts +7 -0
- package/dist/api/graphql-api/healthdata/get-encounters-request-factory.js +76 -0
- package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/healthdata/get-medication-dispenses-request-factory.js +25 -0
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +30 -41
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +311 -256
- package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +18 -0
- package/dist/api/graphql-api/healthdata/health-data-request-factory.js +25 -0
- package/dist/api/graphql-api/healthdata/health-data-response-factory.d.ts +8 -0
- package/dist/api/graphql-api/healthdata/health-data-response-factory.js +58 -0
- package/dist/api/graphql-api/identity/graphql-identity-manager.d.ts +2 -1
- package/dist/api/graphql-api/identity/graphql-identity-manager.js +5 -3
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +4 -22
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +4 -69
- package/dist/api/graphql-api/questionnaire/index.d.ts +0 -2
- package/dist/api/graphql-api/questionnaire/index.js +0 -2
- package/dist/api/graphql-api/search/graphql-search-manager.d.ts +4 -6
- package/dist/api/graphql-api/search/graphql-search-manager.js +9 -71
- package/dist/api/graphql-api/search/search-health-resources-request-factory.js +12 -10
- package/dist/api/graphql-api/search/submit-provider-for-review-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/search/{request-connection-request-factory.js → submit-provider-for-review-request-factory.js} +1 -1
- package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +1 -2
- package/dist/api/graphql-api/user/get-consent-request-factory.js +5 -1
- package/dist/api/graphql-api/user/graphql-user-manager.d.ts +10 -11
- package/dist/api/graphql-api/user/graphql-user-manager.js +11 -10
- package/dist/api/graphql-api/user/update-profile-request-factory.js +1 -2
- package/dist/api/identity-manager-factory.js +1 -1
- package/dist/auth/auth-code-strategy.d.ts +2 -1
- 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 +2 -1
- package/dist/auth/username-password-strategy.d.ts +2 -1
- package/dist/auth/username-password-strategy.js +2 -2
- package/dist/bwell-sdk/bwell-sdk.d.ts +319 -48
- package/dist/bwell-sdk/bwell-sdk.js +368 -53
- package/dist/config/bwell-config.d.ts +12 -12
- package/dist/config/bwell-config.js +2 -5
- package/dist/config/sdk-config.d.ts +2 -3
- package/dist/config/sdk-config.js +4 -6
- package/dist/errors/authentication-error.d.ts +7 -0
- package/dist/errors/authentication-error.js +7 -0
- package/dist/errors/bwell-error.d.ts +12 -2
- package/dist/errors/bwell-error.js +5 -2
- package/dist/errors/illegal-argument-error.d.ts +7 -0
- package/dist/errors/illegal-argument-error.js +7 -0
- package/dist/errors/illegal-state-error.d.ts +7 -0
- package/dist/errors/illegal-state-error.js +7 -0
- package/dist/errors/invalid-client-key-error.d.ts +7 -0
- package/dist/errors/invalid-client-key-error.js +7 -0
- package/dist/errors/invalid-credentials-type-error.d.ts +7 -0
- package/dist/errors/invalid-credentials-type-error.js +7 -0
- package/dist/errors/invalid-token-error.d.ts +4 -1
- package/dist/errors/invalid-token-error.js +4 -1
- package/dist/errors/network-error.d.ts +7 -0
- package/dist/errors/network-error.js +7 -0
- package/dist/errors/operation-outcome-error.d.ts +8 -1
- package/dist/errors/operation-outcome-error.js +7 -0
- package/dist/errors/unknown-error.d.ts +7 -0
- package/dist/errors/unknown-error.js +7 -0
- package/dist/errors/validation-error.d.ts +7 -0
- package/dist/errors/validation-error.js +7 -0
- package/dist/graphql/operations/index.d.ts +116 -283
- package/dist/graphql/operations/index.js +1767 -2095
- package/dist/graphql/operations/types.d.ts +16471 -18430
- package/dist/graphql/schema.d.ts +68323 -5995
- package/dist/graphql/schema.js +1 -484
- package/dist/index.d.ts +7 -5
- package/dist/index.js +5 -4
- package/dist/language/language-manager.d.ts +25 -10
- package/dist/language/language-manager.js +5 -0
- package/dist/models/activity/index.d.ts +1 -0
- package/dist/models/activity/task.d.ts +77 -0
- package/dist/models/common/address.d.ts +41 -0
- package/dist/models/common/annotation.d.ts +18 -0
- package/dist/models/common/annotation.js +1 -0
- package/dist/models/common/attachment.d.ts +18 -0
- package/dist/models/common/attachment.js +1 -0
- package/dist/models/common/bundle.d.ts +83 -0
- package/dist/models/common/bundle.js +1 -0
- package/dist/models/common/codeable-concept.d.ts +17 -0
- package/dist/models/common/codeable-concept.js +1 -0
- package/dist/models/common/coding.d.ts +18 -0
- package/dist/models/common/coding.js +1 -0
- package/dist/models/common/component.d.ts +23 -0
- package/dist/models/common/component.js +1 -0
- package/dist/models/common/contact-point.d.ts +32 -0
- package/dist/models/common/contact-point.js +1 -0
- package/dist/models/common/dispense-request.d.ts +67 -0
- package/dist/models/common/dispense-request.js +1 -0
- package/dist/models/common/dosage.d.ts +68 -0
- package/dist/models/common/dosage.js +1 -0
- package/dist/models/common/endpoint.d.ts +23 -0
- package/dist/models/common/endpoint.js +1 -0
- package/dist/models/common/expression.d.ts +20 -0
- package/dist/models/common/expression.js +1 -0
- package/dist/models/common/extension.d.ts +49 -0
- package/dist/models/common/extension.js +1 -0
- package/dist/models/common/fhir-error.d.ts +23 -0
- package/dist/models/common/fhir-error.js +1 -0
- package/dist/models/common/human-name.d.ts +20 -0
- package/dist/models/common/human-name.js +1 -0
- package/dist/models/common/identifier.d.ts +19 -0
- package/dist/models/common/identifier.js +1 -0
- package/dist/models/common/index.d.ts +38 -0
- package/dist/models/common/index.js +2 -0
- package/dist/models/common/location.d.ts +51 -0
- package/dist/models/common/location.js +1 -0
- package/dist/models/common/medication.d.ts +42 -0
- package/dist/models/common/medication.js +1 -0
- package/dist/models/common/meta.d.ts +21 -0
- package/dist/models/common/meta.js +1 -0
- package/dist/models/common/money.d.ts +15 -0
- package/dist/models/common/money.js +1 -0
- package/dist/models/common/narrative.d.ts +14 -0
- package/dist/models/common/narrative.js +1 -0
- package/dist/models/common/operation-outcome.d.ts +48 -0
- package/dist/models/common/operation-outcome.js +1 -0
- package/dist/models/common/organization.d.ts +46 -0
- package/dist/models/common/organization.js +1 -0
- package/dist/models/common/paging-info.d.ts +18 -0
- package/dist/models/common/paging-info.js +1 -0
- package/dist/models/common/patient.d.ts +13 -0
- package/dist/models/common/patient.js +1 -0
- package/dist/models/common/period.d.ts +14 -0
- package/dist/models/common/period.js +1 -0
- package/dist/models/common/practitioner-role.d.ts +42 -0
- package/dist/models/common/practitioner-role.js +1 -0
- package/dist/models/common/practitioner.d.ts +17 -0
- package/dist/models/common/practitioner.js +1 -0
- package/dist/models/common/quantity.d.ts +20 -0
- package/dist/models/common/quantity.js +1 -0
- package/dist/models/common/range.d.ts +15 -0
- package/dist/models/common/range.js +1 -0
- package/dist/models/common/ratio.d.ts +15 -0
- package/dist/models/common/ratio.js +1 -0
- package/dist/models/common/reference-range.d.ts +13 -0
- package/dist/models/common/reference-range.js +1 -0
- package/dist/models/common/reference.d.ts +27 -0
- package/dist/models/common/reference.js +1 -0
- package/dist/models/common/related-person.d.ts +34 -0
- package/dist/models/common/related-person.js +1 -0
- package/dist/models/common/score.d.ts +16 -0
- package/dist/models/common/score.js +1 -0
- package/dist/models/common/service-request.d.ts +21 -0
- package/dist/models/common/service-request.js +1 -0
- package/dist/models/common/specimen.d.ts +30 -0
- package/dist/models/common/specimen.js +7 -0
- package/dist/models/common/timing.d.ts +107 -0
- package/dist/models/common/timing.js +1 -0
- package/dist/models/common/value.d.ts +22 -0
- package/dist/models/common/value.js +1 -0
- package/dist/models/connection/base-connection.d.ts +27 -0
- package/dist/models/connection/base-connection.js +1 -0
- package/dist/models/connection/connection-status.d.ts +15 -0
- package/dist/models/connection/connection-status.js +1 -0
- package/dist/models/connection/connection.d.ts +32 -0
- package/dist/models/connection/connection.js +1 -0
- package/dist/models/connection/data-source.d.ts +27 -0
- package/dist/models/connection/data-source.js +1 -0
- package/dist/models/connection/index.d.ts +6 -0
- package/dist/models/connection/index.js +1 -0
- package/dist/models/connection/member-connection.d.ts +37 -0
- package/dist/models/connection/member-connection.js +1 -0
- package/dist/models/connection/oauth-url.d.ts +12 -0
- package/dist/models/connection/oauth-url.js +1 -0
- package/dist/models/device/device-registration-results.d.ts +12 -0
- package/dist/models/device/device-registration-results.js +1 -0
- package/dist/models/device/index.d.ts +1 -0
- package/dist/models/device/index.js +1 -0
- package/dist/models/enums/category-code.d.ts +11 -0
- package/dist/models/enums/category-code.js +13 -0
- package/dist/models/enums/connection-category.d.ts +9 -0
- package/dist/models/enums/connection-category.js +1 -0
- package/dist/models/enums/consent-provision-type.d.ts +11 -0
- package/dist/models/enums/consent-provision-type.js +2 -0
- package/dist/models/enums/consent-status.d.ts +11 -0
- package/dist/models/enums/consent-status.js +9 -0
- package/dist/models/enums/data-connection-status.d.ts +9 -0
- package/dist/models/enums/data-connection-status.js +1 -0
- package/dist/models/enums/data-connection-type.d.ts +9 -0
- package/dist/models/enums/data-connection-type.js +1 -0
- package/dist/models/enums/data-set.d.ts +10 -0
- package/dist/models/enums/data-set.js +1 -0
- package/dist/models/enums/device-platform.d.ts +11 -0
- package/dist/models/enums/device-platform.js +2 -0
- package/dist/models/enums/endpoint-status.d.ts +9 -0
- package/dist/models/enums/endpoint-status.js +1 -0
- package/dist/models/enums/filter-field.d.ts +9 -0
- package/dist/models/enums/filter-field.js +1 -0
- package/dist/models/enums/gender.d.ts +9 -0
- package/dist/models/enums/gender.js +1 -0
- package/dist/models/enums/index.d.ts +18 -0
- package/dist/models/enums/index.js +5 -0
- package/dist/models/enums/log-level.d.ts +8 -0
- package/dist/models/enums/log-level.js +1 -0
- package/dist/models/enums/person-gender.d.ts +11 -0
- package/dist/models/enums/person-gender.js +7 -0
- package/dist/models/enums/search-context.d.ts +10 -0
- package/dist/models/enums/search-context.js +1 -0
- package/dist/models/enums/search-result-type.d.ts +9 -0
- package/dist/models/enums/search-result-type.js +1 -0
- package/dist/models/enums/sort-field.d.ts +10 -0
- package/dist/models/enums/sort-field.js +1 -0
- package/dist/models/enums/sort-order.d.ts +9 -0
- package/dist/models/enums/sort-order.js +1 -0
- package/dist/models/enums/sync-status.d.ts +9 -0
- package/dist/models/enums/sync-status.js +1 -0
- package/dist/models/financial/coverage-bundle.d.ts +18 -0
- package/dist/models/financial/coverage-bundle.js +1 -0
- package/dist/models/financial/coverage.d.ts +65 -0
- package/dist/models/financial/coverage.js +1 -0
- package/dist/models/financial/explanation-of-benefit-bundle.d.ts +26 -0
- package/dist/models/financial/explanation-of-benefit-bundle.js +1 -0
- package/dist/models/financial/explanation-of-benefit.d.ts +274 -0
- package/dist/models/financial/explanation-of-benefit.js +1 -0
- package/dist/models/financial/index.d.ts +4 -0
- package/dist/models/financial/index.js +4 -0
- package/dist/models/health-data/allergy-intolerance-bundle.d.ts +11 -0
- package/dist/models/health-data/allergy-intolerance-bundle.js +1 -0
- package/dist/models/health-data/allergy-intolerance-group.d.ts +44 -0
- package/dist/models/health-data/allergy-intolerance-group.js +1 -0
- package/dist/models/health-data/allergy-intolerance-reaction.d.ts +23 -0
- package/dist/models/health-data/allergy-intolerance-reaction.js +1 -0
- package/dist/models/health-data/allergy-intolerance.d.ts +54 -0
- package/dist/models/health-data/allergy-intolerance.js +1 -0
- package/dist/models/health-data/care-plan-group.d.ts +42 -0
- package/dist/models/health-data/care-plan-group.js +1 -0
- package/dist/models/health-data/care-plan.d.ts +134 -0
- package/dist/models/health-data/care-plan.js +1 -0
- package/dist/models/health-data/care-team.d.ts +77 -0
- package/dist/models/health-data/care-team.js +1 -0
- package/dist/models/health-data/condition-group.d.ts +42 -0
- package/dist/models/health-data/condition-group.js +1 -0
- package/dist/models/health-data/condition.d.ts +104 -0
- package/dist/models/health-data/condition.js +1 -0
- package/dist/models/health-data/diagnostic-report-lab-group.d.ts +45 -0
- package/dist/models/health-data/diagnostic-report-lab-group.js +1 -0
- package/dist/models/health-data/diagnostic-report.d.ts +90 -0
- package/dist/models/health-data/diagnostic-report.js +1 -0
- package/dist/models/health-data/encounter-group.d.ts +48 -0
- package/dist/models/health-data/encounter-group.js +1 -0
- package/dist/models/health-data/encounter.d.ts +79 -0
- package/dist/models/health-data/encounter.js +1 -0
- package/dist/models/health-data/health-summary.d.ts +18 -0
- package/dist/models/health-data/health-summary.js +1 -0
- package/dist/models/health-data/immunization-group.d.ts +41 -0
- package/dist/models/health-data/immunization-group.js +1 -0
- package/dist/models/health-data/immunization.d.ts +150 -0
- package/dist/models/health-data/immunization.js +1 -0
- package/dist/models/health-data/index.d.ts +30 -0
- package/dist/models/health-data/index.js +1 -0
- package/dist/models/health-data/lab-bundle.d.ts +26 -0
- package/dist/models/health-data/lab-bundle.js +1 -0
- package/dist/models/health-data/lab-group.d.ts +51 -0
- package/dist/models/health-data/lab-group.js +1 -0
- package/dist/models/health-data/lab-knowledge.d.ts +28 -0
- package/dist/models/health-data/lab-knowledge.js +1 -0
- package/dist/models/health-data/medication-dispense.d.ts +108 -0
- package/dist/models/health-data/medication-dispense.js +1 -0
- package/dist/models/health-data/medication-group.d.ts +43 -0
- package/dist/models/health-data/medication-group.js +1 -0
- package/dist/models/health-data/medication-knowledge.d.ts +30 -0
- package/dist/models/health-data/medication-knowledge.js +1 -0
- package/dist/models/health-data/medication-pricing.d.ts +28 -0
- package/dist/models/health-data/medication-pricing.js +1 -0
- package/dist/models/health-data/medication-request.d.ts +107 -0
- package/dist/models/health-data/medication-request.js +1 -0
- package/dist/models/health-data/medication-statement.d.ts +68 -0
- package/dist/models/health-data/medication-statement.js +1 -0
- package/dist/models/health-data/observation.d.ts +102 -0
- package/dist/models/health-data/observation.js +1 -0
- package/dist/models/health-data/procedure-group.d.ts +43 -0
- package/dist/models/health-data/procedure-group.js +1 -0
- package/dist/models/health-data/procedure.d.ts +84 -0
- package/dist/models/health-data/procedure.js +1 -0
- package/dist/models/health-data/vital-sign-bundle.d.ts +18 -0
- package/dist/models/health-data/vital-sign-bundle.js +1 -0
- package/dist/models/health-data/vital-sign-group.d.ts +51 -0
- package/dist/models/health-data/vital-sign-group.js +1 -0
- package/dist/models/health-space/appointment-bundle.d.ts +11 -0
- package/dist/models/health-space/appointment-bundle.js +1 -0
- package/dist/models/health-space/appointment-participant.d.ts +17 -0
- package/dist/models/health-space/appointment-participant.js +1 -0
- package/dist/models/health-space/appointment-update.d.ts +14 -0
- package/dist/models/health-space/appointment-update.js +1 -0
- package/dist/models/health-space/appointment.d.ts +30 -0
- package/dist/models/health-space/appointment.js +1 -0
- package/dist/models/health-space/cancellation-reasons.d.ts +32 -0
- package/dist/models/health-space/cancellation-reasons.js +1 -0
- package/dist/models/health-space/index.d.ts +5 -0
- package/dist/models/health-space/index.js +1 -0
- package/dist/models/identity/auth-tokens.d.ts +25 -0
- package/dist/models/identity/auth-tokens.js +1 -0
- package/dist/models/identity/create-guest-access-token-results.d.ts +12 -0
- package/dist/models/identity/create-guest-access-token-results.js +1 -0
- package/dist/models/identity/index.d.ts +4 -0
- package/dist/models/identity/index.js +1 -0
- package/dist/models/identity/refresh-token-results.d.ts +8 -0
- package/dist/models/identity/refresh-token-results.js +1 -0
- package/dist/models/identity/sdk-configuration-result.d.ts +26 -0
- package/dist/models/identity/sdk-configuration-result.js +1 -0
- package/dist/models/index.d.ts +12 -4
- package/dist/models/index.js +12 -4
- package/dist/models/questionnaire/index.d.ts +5 -0
- package/dist/models/questionnaire/index.js +1 -0
- package/dist/models/questionnaire/questionnaire-item.d.ts +38 -0
- package/dist/models/questionnaire/questionnaire-item.js +1 -0
- package/dist/models/questionnaire/questionnaire-response-answer.d.ts +33 -0
- package/dist/models/questionnaire/questionnaire-response-answer.js +1 -0
- package/dist/models/questionnaire/questionnaire-response-item.d.ts +19 -0
- package/dist/models/questionnaire/questionnaire-response-item.js +1 -0
- package/dist/models/questionnaire/questionnaire-response.d.ts +29 -0
- package/dist/models/questionnaire/questionnaire-response.js +1 -0
- package/dist/models/questionnaire/questionnaire.d.ts +30 -0
- package/dist/models/questionnaire/questionnaire.js +1 -0
- package/dist/models/search/health-resources.d.ts +133 -0
- package/dist/models/search/health-resources.js +1 -0
- package/dist/models/search/index.d.ts +2 -0
- package/dist/models/search/index.js +1 -0
- package/dist/models/search/provider-review-result.d.ts +15 -0
- package/dist/models/search/provider-review-result.js +1 -0
- package/dist/models/user/consent.d.ts +100 -0
- package/dist/models/user/consent.js +1 -0
- package/dist/models/user/index.d.ts +4 -0
- package/dist/models/user/index.js +1 -0
- package/dist/models/user/person.d.ts +43 -0
- package/dist/models/user/person.js +1 -0
- package/dist/models/user/user.d.ts +12 -0
- package/dist/models/user/user.js +1 -0
- package/dist/models/user/verification-result.d.ts +30 -0
- package/dist/models/user/verification-result.js +1 -0
- package/dist/requests/paged-request.d.ts +35 -0
- package/dist/requests/paged-request.js +22 -0
- package/dist/requests/request.d.ts +16 -0
- package/dist/requests/request.js +8 -0
- package/dist/requests/validator.d.ts +15 -0
- package/dist/requests/validator.js +7 -0
- package/dist/results/bwell-query-result.d.ts +5 -0
- package/dist/results/bwell-query-result.js +5 -0
- package/dist/results/bwell-transaction-result.d.ts +17 -3
- package/dist/results/bwell-transaction-result.js +15 -1
- package/dist/results/index.d.ts +1 -0
- package/dist/results/index.js +1 -0
- package/dist/telemetry/open-telemetry-instrumentation.js +1 -4
- package/dist/tokens/index.d.ts +2 -0
- package/dist/tokens/index.js +2 -0
- package/dist/tokens/jwt-token-manager.d.ts +3 -7
- package/dist/tokens/jwt-token-manager.js +9 -8
- package/dist/tokens/load-auth-tokens.d.ts +6 -0
- package/dist/tokens/load-auth-tokens.js +43 -0
- package/dist/tokens/token-manager.d.ts +12 -0
- package/dist/tokens/token-manager.js +5 -0
- package/dist/tokens/token-storage.d.ts +20 -0
- package/dist/tokens/token-storage.js +19 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/parsing-utils.d.ts +11 -1
- package/dist/utils/parsing-utils.js +33 -1
- package/dist/utils/search-token-utils.d.ts +8 -0
- package/dist/utils/search-token-utils.js +23 -0
- package/package.json +24 -20
- package/dist/api/base/activity/types.d.ts +0 -3
- package/dist/api/base/activity/types.js +0 -5
- package/dist/api/base/activity/update-task-status-request.d.ts +0 -18
- package/dist/api/base/activity/update-task-status-request.js +0 -15
- package/dist/api/base/event/event-manager.d.ts +0 -16
- package/dist/api/base/event/event-request.d.ts +0 -35
- package/dist/api/base/event/event-request.js +0 -64
- package/dist/api/base/event/index.d.ts +0 -2
- package/dist/api/base/event/index.js +0 -1
- package/dist/api/base/health-data/medication-pricing-request.d.ts +0 -21
- package/dist/api/base/health-data/medication-pricing-request.js +0 -26
- package/dist/api/base/health-data/medication-statement-request.d.ts +0 -29
- package/dist/api/base/health-data/medication-statement-request.js +0 -35
- package/dist/api/base/health-space/add-care-team-member-request.d.ts +0 -33
- package/dist/api/base/health-space/add-care-team-member-request.js +0 -36
- package/dist/api/base/health-space/add-care-team-members-request.d.ts +0 -35
- package/dist/api/base/health-space/add-care-team-members-request.js +0 -61
- package/dist/api/base/health-space/cancelationReasons-request.d.ts +0 -16
- package/dist/api/base/health-space/care-team-members-request.d.ts +0 -31
- package/dist/api/base/health-space/care-team-members-request.js +0 -33
- package/dist/api/base/health-space/remove-care-team-member-request.d.ts +0 -34
- package/dist/api/base/health-space/remove-care-team-member-request.js +0 -36
- package/dist/api/base/health-space/update-care-team-member-request.d.ts +0 -55
- package/dist/api/base/health-space/update-care-team-member-request.js +0 -71
- package/dist/api/base/questionnaire/questionnaire-responses-request.d.ts +0 -30
- package/dist/api/base/questionnaire/questionnaire-responses-request.js +0 -49
- package/dist/api/base/questionnaire/questionnaires-request.d.ts +0 -18
- package/dist/api/base/questionnaire/questionnaires-request.js +0 -42
- package/dist/api/base/questionnaire/save-questionnaire-response-request.d.ts +0 -22
- package/dist/api/base/questionnaire/save-questionnaire-response-request.js +0 -33
- package/dist/api/base/search/request-connection-request.d.ts +0 -24
- package/dist/api/base/search/request-connection-request.js +0 -3
- package/dist/api/base/search/search-request.d.ts +0 -84
- package/dist/api/base/search/search-request.js +0 -78
- package/dist/api/base/support/create-support-request-request.d.ts +0 -22
- package/dist/api/base/support/create-support-request-request.js +0 -20
- package/dist/api/base/support/delete-support-attachment-request.d.ts +0 -11
- package/dist/api/base/support/delete-support-attachment-request.js +0 -14
- package/dist/api/base/support/get-support-requests-request.d.ts +0 -16
- package/dist/api/base/support/get-support-requests-request.js +0 -14
- package/dist/api/base/support/index.d.ts +0 -5
- package/dist/api/base/support/index.js +0 -5
- package/dist/api/base/support/support-manager.d.ts +0 -46
- package/dist/api/base/support/upload-support-attachment-request.d.ts +0 -25
- package/dist/api/base/support/upload-support-attachment-request.js +0 -27
- package/dist/api/base/user/types.d.ts +0 -9
- package/dist/api/base/user/types.js +0 -17
- package/dist/api/graphql-api/activity/activity-request-factories.js +0 -70
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +0 -18
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +0 -40
- package/dist/api/graphql-api/event/event-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/event/event-request-factory.js +0 -11
- package/dist/api/graphql-api/event/graphql-event-manager.d.ts +0 -15
- package/dist/api/graphql-api/event/graphql-event-manager.js +0 -65
- package/dist/api/graphql-api/event/index.d.ts +0 -1
- package/dist/api/graphql-api/event/index.js +0 -1
- package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/financial/graphql-coverages-bwell-request-factory.js +0 -17
- package/dist/api/graphql-api/financial/graphql-explanation-of-benefits-factory.js +0 -23
- package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.d.ts +0 -20
- package/dist/api/graphql-api/health-space/add-care-team-member-request-factory.js +0 -29
- package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.d.ts +0 -16
- package/dist/api/graphql-api/health-space/add-care-team-members-request-factory.js +0 -23
- package/dist/api/graphql-api/health-space/care-team-factory-utils.d.ts +0 -23
- package/dist/api/graphql-api/health-space/care-team-factory-utils.js +0 -30
- package/dist/api/graphql-api/health-space/care-team-members-request-factory.d.ts +0 -12
- package/dist/api/graphql-api/health-space/care-team-members-request-factory.js +0 -17
- package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.d.ts +0 -16
- package/dist/api/graphql-api/health-space/remove-care-team-member-request-factory.js +0 -24
- package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.d.ts +0 -16
- package/dist/api/graphql-api/health-space/update-care-team-member-request-factory.js +0 -20
- package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/healthdata/graphql-diagnostic-reports-bwell-request-factory.js +0 -12
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +0 -10
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +0 -35
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +0 -10
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +0 -35
- package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/healthdata/graphql-update-medication-statement-request-factory.js +0 -11
- package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.d.ts +0 -9
- package/dist/api/graphql-api/questionnaire/get-questionnaire-responses-request-factory.js +0 -22
- package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/questionnaire/get-questionnaires-request-factory.js +0 -16
- package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +0 -7
- package/dist/api/graphql-api/search/connection-search-request-factory.js +0 -21
- package/dist/api/graphql-api/search/index.d.ts +0 -1
- package/dist/api/graphql-api/search/index.js +0 -1
- package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +0 -7
- package/dist/api/graphql-api/search/provider-search-request-factory.js +0 -21
- package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/search/search-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/search/search-request-factory.js +0 -44
- package/dist/api/graphql-api/support/create-support-request-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/create-support-request-request-factory.js +0 -19
- package/dist/api/graphql-api/support/delete-support-attachment-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/delete-support-attachment-request-factory.js +0 -10
- package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/get-support-requests-bwell-request-factory.js +0 -16
- package/dist/api/graphql-api/support/graphql-support-manager.d.ts +0 -22
- package/dist/api/graphql-api/support/graphql-support-manager.js +0 -129
- package/dist/api/graphql-api/support/index.d.ts +0 -1
- package/dist/api/graphql-api/support/index.js +0 -1
- package/dist/api/graphql-api/support/upload-support-attachment-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/upload-support-attachment-request-factory.js +0 -11
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +0 -9
- package/dist/models/coding.d.ts +0 -5
- package/dist/models/fhir-error.d.ts +0 -9
- package/dist/models/user.d.ts +0 -4
- package/dist/utils/date-utils.d.ts +0 -6
- package/dist/utils/date-utils.js +0 -8
- /package/dist/api/base/{event/event-manager.js → health-data/health-data-response-factory.js} +0 -0
- /package/dist/api/base/{support/support-manager.js → requests/field-sort-order.js} +0 -0
- /package/dist/models/{coding.js → activity/index.js} +0 -0
- /package/dist/models/{fhir-error.js → activity/task.js} +0 -0
- /package/dist/models/{user.js → common/address.js} +0 -0
- /package/dist/{models → results}/operation-outcome.d.ts +0 -0
- /package/dist/{models → results}/operation-outcome.js +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Address model representing an address expressed using postal conventions
|
|
3
|
+
* (as opposed to GPS or other location definition formats).
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title Address
|
|
7
|
+
* @excerpt Address model representing an address expressed using postal...
|
|
8
|
+
*/
|
|
9
|
+
export interface Address {
|
|
10
|
+
/** Address use (home, work, etc.) */
|
|
11
|
+
use: string | null;
|
|
12
|
+
/** Address type */
|
|
13
|
+
type: string | null;
|
|
14
|
+
/** Full address as text */
|
|
15
|
+
text: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* This component contains the house number, apartment number, street name,
|
|
18
|
+
* street direction, P.O. Box number, delivery hints, and similar address
|
|
19
|
+
* information.
|
|
20
|
+
*/
|
|
21
|
+
line: (string | null)[] | null;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the city, town, suburb, village or other community or delivery
|
|
24
|
+
* center.
|
|
25
|
+
*/
|
|
26
|
+
city: string | null;
|
|
27
|
+
/** District/county */
|
|
28
|
+
district: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Sub-unit of a country with limited sovereignty in a federally organized
|
|
31
|
+
* country. A code may be used if codes are in common use (e.g. US 2 letter state
|
|
32
|
+
* codes).
|
|
33
|
+
*/
|
|
34
|
+
state: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* A postal code designating a region defined by the postal service.
|
|
37
|
+
*/
|
|
38
|
+
postalCode: string | null;
|
|
39
|
+
/** Country */
|
|
40
|
+
country: string | null;
|
|
41
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents an annotation or note with author and time information.
|
|
3
|
+
* Used in FHIR resources to add notes and comments.
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title Annotation
|
|
7
|
+
* @excerpt Represents an annotation or note with author and...
|
|
8
|
+
*/
|
|
9
|
+
export type Annotation = {
|
|
10
|
+
/** Unique identifier for the annotation */
|
|
11
|
+
id: string | null;
|
|
12
|
+
/** Author of the annotation as string */
|
|
13
|
+
authorString: string | null;
|
|
14
|
+
/** When the annotation was made */
|
|
15
|
+
time: string | null;
|
|
16
|
+
/** The annotation text */
|
|
17
|
+
text: string | null;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a file attachment or binary data.
|
|
3
|
+
* Used for documents, images, or other file content.
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title Attachment
|
|
7
|
+
* @excerpt Represents a file attachment or binary data
|
|
8
|
+
*/
|
|
9
|
+
export type Attachment = {
|
|
10
|
+
/** MIME type of the attachment */
|
|
11
|
+
contentType: string | null;
|
|
12
|
+
/** The actual data content */
|
|
13
|
+
data: string | null;
|
|
14
|
+
/** URL where the data can be found */
|
|
15
|
+
url: string | null;
|
|
16
|
+
/** Label to display in place of the data */
|
|
17
|
+
title: string | null;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { PagingInfo } from "./paging-info.js";
|
|
2
|
+
/**
|
|
3
|
+
* Generic bundle type for resources with paging information.
|
|
4
|
+
* Used for paginated results from GraphQL queries.
|
|
5
|
+
*
|
|
6
|
+
* @typeParam T The type of resource contained in the bundle
|
|
7
|
+
* @category Models
|
|
8
|
+
* @title ResourceBundle
|
|
9
|
+
* @excerpt Generic bundle type for resources with paging information
|
|
10
|
+
*/
|
|
11
|
+
export type ResourceBundle<T> = {
|
|
12
|
+
/** Resource array */
|
|
13
|
+
resources: T[];
|
|
14
|
+
/** Paging information */
|
|
15
|
+
paging_info: PagingInfo | null;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Generic simple bundle type for entry-based bundles.
|
|
19
|
+
* Used for search result bundles that contain entries.
|
|
20
|
+
*
|
|
21
|
+
* @typeParam T The type of entry contained in the bundle
|
|
22
|
+
* @category Models
|
|
23
|
+
* @title EntryBundle
|
|
24
|
+
* @excerpt Generic simple bundle type for entry-based bundles
|
|
25
|
+
*/
|
|
26
|
+
export type EntryBundle<T> = {
|
|
27
|
+
/** Unique identifier */
|
|
28
|
+
id: string | null;
|
|
29
|
+
/** Entry array */
|
|
30
|
+
entry: (IdentifiedResourceEntry<T> | null)[] | null;
|
|
31
|
+
/** Total result count available on server (for paging) */
|
|
32
|
+
total: number | null;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Generic entry wrapper type for bundle entries with identifiers.
|
|
36
|
+
* Used to wrap resources within bundle entries that need tracking IDs.
|
|
37
|
+
*
|
|
38
|
+
* @typeParam T The type of resource being wrapped
|
|
39
|
+
* @category Models
|
|
40
|
+
* @title IdentifiedResourceEntry
|
|
41
|
+
* @excerpt Generic entry wrapper type for bundle entries with...
|
|
42
|
+
*/
|
|
43
|
+
export type IdentifiedResourceEntry<T> = {
|
|
44
|
+
/** Entry identifier */
|
|
45
|
+
id: string | null;
|
|
46
|
+
/** The wrapped resource */
|
|
47
|
+
resource: T | null;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* The SDK result type for health data queries that include paging information
|
|
51
|
+
* at the top level.
|
|
52
|
+
*
|
|
53
|
+
* @category Models
|
|
54
|
+
* @title HealthDataResponse
|
|
55
|
+
* @excerpt The SDK result type for health data queries that include paging information at the top level
|
|
56
|
+
*/
|
|
57
|
+
export type HealthDataResponse<T> = EntryBundle<T> & {
|
|
58
|
+
pagingInfo: SDKPagingInfo | null;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* The SDK result type for grouped health data queries that include paging information
|
|
62
|
+
* at the top level.
|
|
63
|
+
*
|
|
64
|
+
* @category Models
|
|
65
|
+
* @title GroupedHealthDataResponse
|
|
66
|
+
* @excerpt The SDK result type for grouped health data queries that include paging information at the top level
|
|
67
|
+
*/
|
|
68
|
+
export type GroupedHealthDataResponse<T> = Omit<ResourceBundle<T>, "paging_info"> & {
|
|
69
|
+
pagingInfo: SDKPagingInfo | null;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Common interface used to return paging information.
|
|
73
|
+
*
|
|
74
|
+
* @category Models
|
|
75
|
+
* @title PaginatedBundle
|
|
76
|
+
* @excerpt Common interface used to return paging information
|
|
77
|
+
*/
|
|
78
|
+
export type SDKPagingInfo = {
|
|
79
|
+
pageNumber: number | null;
|
|
80
|
+
pageSize: number | null;
|
|
81
|
+
totalItems: number | null;
|
|
82
|
+
totalPages: number | null;
|
|
83
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Coding } from "./coding.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a CodeableConcept with text and coded values.
|
|
4
|
+
* Used to represent concepts that can be coded in multiple systems.
|
|
5
|
+
*
|
|
6
|
+
* @category Models
|
|
7
|
+
* @title CodeableConcept
|
|
8
|
+
* @excerpt Represents a CodeableConcept with text and coded values
|
|
9
|
+
*/
|
|
10
|
+
export type CodeableConcept = {
|
|
11
|
+
/** Code identifier */
|
|
12
|
+
id: string | null;
|
|
13
|
+
/** Plain text representation */
|
|
14
|
+
text: string | null;
|
|
15
|
+
/** Coded representation */
|
|
16
|
+
coding: (Coding | null)[] | null;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a coding in FHIR/GraphQL-compatible format.
|
|
3
|
+
* Used within CodeableConcepts for coded concepts.
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title Coding
|
|
7
|
+
* @excerpt Represents a coding in FHIR/GraphQL-compatible format
|
|
8
|
+
*/
|
|
9
|
+
export type Coding = {
|
|
10
|
+
/** Coding identifier */
|
|
11
|
+
id: string | null;
|
|
12
|
+
/** Code system URI */
|
|
13
|
+
system: string | null;
|
|
14
|
+
/** Display name */
|
|
15
|
+
display: string | null;
|
|
16
|
+
/** Code value */
|
|
17
|
+
code: string | null;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CodeableConcept } from "./codeable-concept.js";
|
|
2
|
+
import type { Extension } from "./extension.js";
|
|
3
|
+
import type { ReferenceRange } from "./reference-range.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a component with code, value, reference range, interpretation, and data absent reason.
|
|
6
|
+
* Used in vital sign groups and other health data structures.
|
|
7
|
+
*
|
|
8
|
+
* @category Models
|
|
9
|
+
* @title Component
|
|
10
|
+
* @excerpt Represents a component with code, value, reference range,...
|
|
11
|
+
*/
|
|
12
|
+
export type Component = {
|
|
13
|
+
/** Code identifying the component */
|
|
14
|
+
code: CodeableConcept;
|
|
15
|
+
/** Value of the component */
|
|
16
|
+
value: Extension;
|
|
17
|
+
/** Reference range for the component */
|
|
18
|
+
referenceRange: ReferenceRange[];
|
|
19
|
+
/** Interpretation of the component value */
|
|
20
|
+
interpretation: CodeableConcept[];
|
|
21
|
+
/** Reason why data is absent */
|
|
22
|
+
dataAbsentReason: CodeableConcept;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ContactPoint model representing details for all kinds of technology mediated
|
|
3
|
+
* contact points for a person or organization, including telephone, email, etc.
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title ContactPoint
|
|
7
|
+
* @excerpt ContactPoint model representing details for all kinds of...
|
|
8
|
+
*/
|
|
9
|
+
export interface ContactPoint {
|
|
10
|
+
/** Unique identifier */
|
|
11
|
+
id: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* Telecommunications form for contact point - what communications system is
|
|
14
|
+
* required to make use of the contact.
|
|
15
|
+
* Uses the Code scalar type from the GraphQL schema.
|
|
16
|
+
*/
|
|
17
|
+
system: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* The actual contact point details, in a form that is meaningful to the
|
|
20
|
+
* designated communication system (i.e. phone number or email address).
|
|
21
|
+
*/
|
|
22
|
+
value: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies a preferred order in which to use a set of contacts. ContactPoints
|
|
25
|
+
* with lower rank values are more preferred than those with higher rank values. */
|
|
26
|
+
rank: number | null;
|
|
27
|
+
/**
|
|
28
|
+
* Identifies the purpose for the contact point.
|
|
29
|
+
* Uses the Code scalar type from the GraphQL schema.
|
|
30
|
+
*/
|
|
31
|
+
use: string | null;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { Organization, Period, Quantity, Reference } from "./index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents the initial fill component of a dispense request.
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title InitialFill
|
|
7
|
+
* @excerpt Represents the initial fill component of a dispense request.
|
|
8
|
+
*/
|
|
9
|
+
export type InitialFill = {
|
|
10
|
+
/**
|
|
11
|
+
* Unique id for the element.
|
|
12
|
+
*/
|
|
13
|
+
id: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* The amount or quantity to provide as part of the first dispense.
|
|
16
|
+
*/
|
|
17
|
+
quantity: Quantity | null;
|
|
18
|
+
/**
|
|
19
|
+
* The length of time that the first dispense is expected to last.
|
|
20
|
+
*/
|
|
21
|
+
duration: Quantity | null;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Represents a medication request dispense request.
|
|
25
|
+
* Indicates the specific details for the dispense or medication supply part of a
|
|
26
|
+
* medication request (also known as a Medication Prescription or Medication Order).
|
|
27
|
+
*
|
|
28
|
+
* @category Models
|
|
29
|
+
* @title DispenseRequest
|
|
30
|
+
* @excerpt Represents a medication request dispense request.
|
|
31
|
+
*/
|
|
32
|
+
export type DispenseRequest = {
|
|
33
|
+
/**
|
|
34
|
+
* Unique id for the element.
|
|
35
|
+
*/
|
|
36
|
+
id: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Indicates the quantity or duration for the first dispense of the medication.
|
|
39
|
+
*/
|
|
40
|
+
initialFill: InitialFill | null;
|
|
41
|
+
/**
|
|
42
|
+
* The minimum period of time that must occur between dispenses of the medication.
|
|
43
|
+
*/
|
|
44
|
+
dispenseInterval: Quantity | null;
|
|
45
|
+
/**
|
|
46
|
+
* This indicates the validity period of a prescription (stale dating the Prescription).
|
|
47
|
+
*/
|
|
48
|
+
validityPeriod: Period | null;
|
|
49
|
+
/**
|
|
50
|
+
* An integer indicating the number of times, in addition to the original dispense,
|
|
51
|
+
* (aka refills or repeats) that the patient can receive the prescribed medication.
|
|
52
|
+
*/
|
|
53
|
+
numberOfRepeatsAllowed: number | null;
|
|
54
|
+
/**
|
|
55
|
+
* The amount that is to be dispensed for one fill.
|
|
56
|
+
*/
|
|
57
|
+
quantity: Quantity | null;
|
|
58
|
+
/**
|
|
59
|
+
* Identifies the period time over which the supplied product is expected to be used,
|
|
60
|
+
* or the length of time the dispense is expected to last.
|
|
61
|
+
*/
|
|
62
|
+
expectedSupplyDuration: Quantity | null;
|
|
63
|
+
/**
|
|
64
|
+
* Indicates the intended dispensing Organization specified by the prescriber.
|
|
65
|
+
*/
|
|
66
|
+
performer: Reference<Organization> | null;
|
|
67
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { CodeableConcept } from "./codeable-concept.js";
|
|
2
|
+
import type { Quantity } from "./quantity.js";
|
|
3
|
+
import type { Range } from "./range.js";
|
|
4
|
+
import type { Ratio } from "./ratio.js";
|
|
5
|
+
import type { Timing } from "./timing.js";
|
|
6
|
+
/**
|
|
7
|
+
* Represents dose and rate information for medication dosage.
|
|
8
|
+
*
|
|
9
|
+
* @category Models
|
|
10
|
+
* @title DoseAndRate
|
|
11
|
+
* @excerpt Dose and rate information for medication dosage
|
|
12
|
+
*/
|
|
13
|
+
export type DoseAndRate = {
|
|
14
|
+
/** Unique identifier for this dose and rate element */
|
|
15
|
+
id: string | null;
|
|
16
|
+
/** The kind of dose or rate specified */
|
|
17
|
+
type: CodeableConcept | null;
|
|
18
|
+
/** Amount of medication per dose as a range */
|
|
19
|
+
doseRange: Range | null;
|
|
20
|
+
/** Amount of medication per dose as a quantity */
|
|
21
|
+
doseQuantity: Quantity | null;
|
|
22
|
+
/** Amount of medication per unit of time as a quantity */
|
|
23
|
+
rateQuantity: Quantity | null;
|
|
24
|
+
/** Amount of medication per unit of time as a range */
|
|
25
|
+
rateRange: Range | null;
|
|
26
|
+
/** Amount of medication per unit of time as a ratio */
|
|
27
|
+
rateRatio: Ratio | null;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Represents dosage instruction for medication.
|
|
31
|
+
* Indicates how the medication is/was taken or should be taken by the patient.
|
|
32
|
+
*
|
|
33
|
+
* @category Models
|
|
34
|
+
* @title Dosage
|
|
35
|
+
* @excerpt Dosage instruction for medication
|
|
36
|
+
*/
|
|
37
|
+
export type Dosage = {
|
|
38
|
+
/** Unique identifier for this dosage element */
|
|
39
|
+
id: string | null;
|
|
40
|
+
/** Supplemental instruction or warnings to the patient */
|
|
41
|
+
additionalInstruction: (CodeableConcept | null)[] | null;
|
|
42
|
+
/** Take "as needed" (boolean) */
|
|
43
|
+
asNeededBoolean: boolean | null;
|
|
44
|
+
/** Take "as needed" for condition */
|
|
45
|
+
asNeededCodeableConcept: CodeableConcept | null;
|
|
46
|
+
/** Amount of medication administered */
|
|
47
|
+
doseAndRate: (DoseAndRate | null)[] | null;
|
|
48
|
+
/** Upper limit on medication per administration */
|
|
49
|
+
maxDosePerAdministration: Quantity | null;
|
|
50
|
+
/** Upper limit on medication per lifetime of the patient */
|
|
51
|
+
maxDosePerLifetime: Quantity | null;
|
|
52
|
+
/** Upper limit on medication per unit of time */
|
|
53
|
+
maxDosePerPeriod: Ratio | null;
|
|
54
|
+
/** Technique for administering medication */
|
|
55
|
+
method: CodeableConcept | null;
|
|
56
|
+
/** Patient or consumer oriented instructions */
|
|
57
|
+
patientInstruction: string | null;
|
|
58
|
+
/** How drug should enter body */
|
|
59
|
+
route: CodeableConcept | null;
|
|
60
|
+
/** The order of the dosage instructions */
|
|
61
|
+
sequence: number | null;
|
|
62
|
+
/** Body site to administer to */
|
|
63
|
+
site: CodeableConcept | null;
|
|
64
|
+
/** Free text dosage instructions */
|
|
65
|
+
text: string | null;
|
|
66
|
+
/** When medication should be administered */
|
|
67
|
+
timing: Timing | null;
|
|
68
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EndpointStatus } from "../enums/endpoint-status.js";
|
|
2
|
+
import { Coding } from "./coding.js";
|
|
3
|
+
import { Identifier } from "./identifier.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a technical endpoint for communication.
|
|
6
|
+
* Contains connection details for accessing external systems or services.
|
|
7
|
+
*
|
|
8
|
+
* @category Models
|
|
9
|
+
* @title Endpoint
|
|
10
|
+
* @excerpt Technical endpoint for external system communication
|
|
11
|
+
*/
|
|
12
|
+
export type Endpoint = {
|
|
13
|
+
/** Human-readable name for the endpoint */
|
|
14
|
+
name: string | null;
|
|
15
|
+
/** Current operational status of the endpoint */
|
|
16
|
+
status: EndpointStatus | null;
|
|
17
|
+
/** Network address or URL for the endpoint */
|
|
18
|
+
address: string | null;
|
|
19
|
+
/** Business identifiers for the endpoint */
|
|
20
|
+
identifier: Identifier[] | null;
|
|
21
|
+
/** Type of connection (e.g., HL7-FHIR-REST, DICOM-WADO-RS) */
|
|
22
|
+
connectionType: Coding | null;
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents an expression used in FHIR resources.
|
|
3
|
+
* Used for computed values and conditional logic.
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title Expression
|
|
7
|
+
* @excerpt Represents an expression used in FHIR resources
|
|
8
|
+
*/
|
|
9
|
+
export type Expression = {
|
|
10
|
+
/** Natural language description */
|
|
11
|
+
description: string | null;
|
|
12
|
+
/** Short name assigned to expression */
|
|
13
|
+
name: string | null;
|
|
14
|
+
/** Expression language */
|
|
15
|
+
language: string | null;
|
|
16
|
+
/** Expression content */
|
|
17
|
+
expression: string | null;
|
|
18
|
+
/** Reference to expression definition */
|
|
19
|
+
reference: string | null;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CodeableConcept } from "./codeable-concept.js";
|
|
2
|
+
import { Expression } from "./expression.js";
|
|
3
|
+
import { Period } from "./period.js";
|
|
4
|
+
import { Quantity } from "./quantity.js";
|
|
5
|
+
import { Range } from "./range.js";
|
|
6
|
+
import { Ratio } from "./ratio.js";
|
|
7
|
+
import { Reference } from "./reference.js";
|
|
8
|
+
/**
|
|
9
|
+
* Represents an extension to FHIR resources.
|
|
10
|
+
* Used to add additional data elements beyond the base resource definition.
|
|
11
|
+
*
|
|
12
|
+
* @category Models
|
|
13
|
+
* @title Extension
|
|
14
|
+
* @excerpt Represents an extension to FHIR resources
|
|
15
|
+
*/
|
|
16
|
+
export type Extension = {
|
|
17
|
+
/** Extension identifier */
|
|
18
|
+
id: string | null;
|
|
19
|
+
/** Extension URL */
|
|
20
|
+
url: string | null;
|
|
21
|
+
/** Boolean extension value */
|
|
22
|
+
valueBoolean: boolean | null;
|
|
23
|
+
/** Integer extension value */
|
|
24
|
+
valueInteger: number | null;
|
|
25
|
+
/** String extension value */
|
|
26
|
+
valueString: string | null;
|
|
27
|
+
/** DateTime extension value */
|
|
28
|
+
valueDateTime: string | null;
|
|
29
|
+
/** Code extension value */
|
|
30
|
+
valueCode: string | null;
|
|
31
|
+
/** URI extension value */
|
|
32
|
+
valueUri: string | null;
|
|
33
|
+
/** Expression extension value */
|
|
34
|
+
valueExpression: Expression | null;
|
|
35
|
+
/** CodeableConcept extension value */
|
|
36
|
+
valueCodeableConcept: CodeableConcept | null;
|
|
37
|
+
/** Reference extension value */
|
|
38
|
+
valueReference: Reference | null;
|
|
39
|
+
/** Quantity extension value */
|
|
40
|
+
valueQuantity: Quantity | null;
|
|
41
|
+
/** Ratio extension value */
|
|
42
|
+
valueRatio: Ratio | null;
|
|
43
|
+
/** Range extension value */
|
|
44
|
+
valueRange: Range | null;
|
|
45
|
+
/** Period extension value */
|
|
46
|
+
valuePeriod: Period | null;
|
|
47
|
+
/** Time extension value */
|
|
48
|
+
valueTime: string | null;
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OperationOutcomeIssue } from "../../graphql/schema.js";
|
|
2
|
+
/**
|
|
3
|
+
* FhirError model for the b.well SDK
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title FhirError
|
|
7
|
+
* @excerpt FhirError model
|
|
8
|
+
*/
|
|
9
|
+
export type FhirError = {
|
|
10
|
+
code: string;
|
|
11
|
+
resource: FhirErrorResource;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* FhirErrorResource model for the b.well SDK
|
|
15
|
+
*
|
|
16
|
+
* @category Models
|
|
17
|
+
* @title FhirErrorResource
|
|
18
|
+
* @excerpt FhirErrorResource model
|
|
19
|
+
*/
|
|
20
|
+
export type FhirErrorResource = {
|
|
21
|
+
resourceType: string;
|
|
22
|
+
issue: OperationOutcomeIssue[];
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a human name with various components.
|
|
3
|
+
* Used across all models to represent person names with full FHIR compatibility.
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title HumanName
|
|
7
|
+
* @excerpt Represents a human name with various components
|
|
8
|
+
*/
|
|
9
|
+
export type HumanName = {
|
|
10
|
+
/** Full name as text */
|
|
11
|
+
text: string | null;
|
|
12
|
+
/** Family name (surname) */
|
|
13
|
+
family: string | null;
|
|
14
|
+
/** Given names (first name, middle names) */
|
|
15
|
+
given: (string | null)[] | null;
|
|
16
|
+
/** Name prefixes (titles) */
|
|
17
|
+
prefix: (string | null)[] | null;
|
|
18
|
+
/** Name suffixes */
|
|
19
|
+
suffix: (string | null)[] | null;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CodeableConcept } from "./codeable-concept.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents an identifier for uniquely identifying resources.
|
|
4
|
+
* Used to provide business identifiers for FHIR resources.
|
|
5
|
+
*
|
|
6
|
+
* @category Models
|
|
7
|
+
* @title Identifier
|
|
8
|
+
* @excerpt Represents an identifier for uniquely identifying resources
|
|
9
|
+
*/
|
|
10
|
+
export type Identifier = {
|
|
11
|
+
/** Unique id for the identifier */
|
|
12
|
+
id: string | null;
|
|
13
|
+
/** The namespace for the identifier value */
|
|
14
|
+
system: string | null;
|
|
15
|
+
/** The value that is unique within the system */
|
|
16
|
+
value: string | null;
|
|
17
|
+
/** Type of identifier */
|
|
18
|
+
type: CodeableConcept | null;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export * from "./fhir-error.js";
|
|
2
|
+
export * from "./coding.js";
|
|
3
|
+
export type { OperationOutcome } from "./operation-outcome.js";
|
|
4
|
+
export type { Meta } from "./meta.js";
|
|
5
|
+
export type { Identifier } from "./identifier.js";
|
|
6
|
+
export type { CodeableConcept } from "./codeable-concept.js";
|
|
7
|
+
export type { Quantity } from "./quantity.js";
|
|
8
|
+
export type { Money } from "./money.js";
|
|
9
|
+
export type { Attachment } from "./attachment.js";
|
|
10
|
+
export type { Reference } from "./reference.js";
|
|
11
|
+
export type { Extension } from "./extension.js";
|
|
12
|
+
export type { Expression } from "./expression.js";
|
|
13
|
+
export type { PagingInfo } from "./paging-info.js";
|
|
14
|
+
export type { Period } from "./period.js";
|
|
15
|
+
export type { HumanName } from "./human-name.js";
|
|
16
|
+
export type { Narrative } from "./narrative.js";
|
|
17
|
+
export type { Annotation } from "./annotation.js";
|
|
18
|
+
export type { Address } from "./address.js";
|
|
19
|
+
export type { ContactPoint } from "./contact-point.js";
|
|
20
|
+
export type { ResourceBundle, EntryBundle, IdentifiedResourceEntry, SDKPagingInfo, HealthDataResponse, GroupedHealthDataResponse, } from "./bundle.js";
|
|
21
|
+
export type { Location } from "./location.js";
|
|
22
|
+
export type { Range } from "./range.js";
|
|
23
|
+
export type { Ratio } from "./ratio.js";
|
|
24
|
+
export type { Dosage, DoseAndRate } from "./dosage.js";
|
|
25
|
+
export type { ReferenceRange } from "./reference-range.js";
|
|
26
|
+
export type { Component } from "./component.js";
|
|
27
|
+
export type { Score } from "./score.js";
|
|
28
|
+
export type { Endpoint } from "./endpoint.js";
|
|
29
|
+
export type { Organization, SearchResponseOrganization, } from "./organization.js";
|
|
30
|
+
export type { Timing } from "./timing.js";
|
|
31
|
+
export type { Specimen } from "./specimen.js";
|
|
32
|
+
export type { ServiceRequest } from "./service-request.js";
|
|
33
|
+
export type { Practitioner } from "./practitioner.js";
|
|
34
|
+
export type { Patient } from "./patient.js";
|
|
35
|
+
export type { PractitionerRole } from "./practitioner-role.js";
|
|
36
|
+
export type { RelatedPerson } from "./related-person.js";
|
|
37
|
+
export type { Medication } from "./medication.js";
|
|
38
|
+
export type { DispenseRequest, InitialFill } from "./dispense-request.js";
|