@icanbwell/bwell-sdk-ts 1.54.0-rc.1766515022 → 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 -44
- 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/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 -11
- 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 -315
- package/dist/graphql/operations/index.js +1891 -2311
- package/dist/graphql/operations/types.d.ts +16893 -18936
- 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 +23 -19
- 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-comment-request.d.ts +0 -13
- package/dist/api/base/support/create-support-comment-request.js +0 -18
- 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-articles-request.d.ts +0 -14
- package/dist/api/base/support/get-support-articles-request.js +0 -12
- package/dist/api/base/support/get-support-attachment-request.d.ts +0 -14
- package/dist/api/base/support/get-support-attachment-request.js +0 -18
- package/dist/api/base/support/get-support-comments-request.d.ts +0 -14
- package/dist/api/base/support/get-support-comments-request.js +0 -15
- 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 -9
- package/dist/api/base/support/index.js +0 -9
- package/dist/api/base/support/support-manager.d.ts +0 -78
- 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-comment-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/create-support-comment-request-factory.js +0 -12
- 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-articles-bwell-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/get-support-articles-bwell-request-factory.js +0 -15
- package/dist/api/graphql-api/support/get-support-attachment-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/get-support-attachment-request-factory.js +0 -11
- package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.d.ts +0 -6
- package/dist/api/graphql-api/support/get-support-comments-bwell-request-factory.js +0 -14
- 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 -28
- package/dist/api/graphql-api/support/graphql-support-manager.js +0 -210
- 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,134 @@
|
|
|
1
|
+
import { HealthDataResponse } from "../common/index.js";
|
|
2
|
+
import type { Annotation, CodeableConcept, EntryBundle, Identifier, Meta, Narrative, Period, Reference } from "../common/index.js";
|
|
3
|
+
import { Timing } from "../common/timing.js";
|
|
4
|
+
import { Condition } from "./condition.js";
|
|
5
|
+
/**
|
|
6
|
+
* Represents a care plan resource.
|
|
7
|
+
*
|
|
8
|
+
* @category Models
|
|
9
|
+
* @title CarePlan
|
|
10
|
+
* @excerpt Represents a care plan resource.
|
|
11
|
+
*/
|
|
12
|
+
export type CarePlan = {
|
|
13
|
+
/** A set of rules under which this content was created */
|
|
14
|
+
resourceType: string | null;
|
|
15
|
+
/** Logical id of this artifact */
|
|
16
|
+
id: string;
|
|
17
|
+
/** Identifiers for this care plan */
|
|
18
|
+
identifier: (Identifier | null)[] | null;
|
|
19
|
+
/** Metadata about the resource */
|
|
20
|
+
meta: Meta | null;
|
|
21
|
+
/** Text summary of the resource, for human interpretation */
|
|
22
|
+
text: Narrative | null;
|
|
23
|
+
/** Human-readable description of the care plan */
|
|
24
|
+
description: string | null;
|
|
25
|
+
/** Human-friendly name for the care plan.*/
|
|
26
|
+
title: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Identifies what "kind" of plan this is to support differentiation between
|
|
29
|
+
* multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma",
|
|
30
|
+
* "disease management", "wellness plan", etc.
|
|
31
|
+
*/
|
|
32
|
+
category: (CodeableConcept | null)[] | null;
|
|
33
|
+
/** Indicates when the plan did (or is intended to) come into effect and end. */
|
|
34
|
+
period: Period | null;
|
|
35
|
+
/**
|
|
36
|
+
* Represents when this particular CarePlan record was created in the system,
|
|
37
|
+
* which is often a system-generated date.
|
|
38
|
+
*/
|
|
39
|
+
created: string | null;
|
|
40
|
+
/** General notes about the care plan not covered elsewhere. */
|
|
41
|
+
note: (Annotation | null)[] | null;
|
|
42
|
+
/**
|
|
43
|
+
* Indicates whether the plan is currently being acted upon,
|
|
44
|
+
* represents future intentions or is now a historical record.
|
|
45
|
+
*/
|
|
46
|
+
status: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Indicates the level of authority/intentionality associated
|
|
49
|
+
* with the care plan and where the care plan fits into the workflow chain.
|
|
50
|
+
*/
|
|
51
|
+
intent: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Identifies a planned action to occur as part of the plan. For example,
|
|
54
|
+
* a medication to be used, lab tests to perform, self-monitoring,
|
|
55
|
+
* education, etc.
|
|
56
|
+
*/
|
|
57
|
+
activity: (CarePlanActivity | null)[] | null;
|
|
58
|
+
/**
|
|
59
|
+
* Identifies the conditions/problems/concerns/diagnoses/etc. whose
|
|
60
|
+
* management and/or mitigation are handled by this plan.
|
|
61
|
+
*/
|
|
62
|
+
addresses: (Reference<Condition> | null)[] | null;
|
|
63
|
+
/**
|
|
64
|
+
* Identifies the patient or group whose intended care is described by the plan.
|
|
65
|
+
*/
|
|
66
|
+
subject: Reference | null;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Represents a planned activity within a care plan.
|
|
70
|
+
*
|
|
71
|
+
* @category Models
|
|
72
|
+
* @title CarePlanActivity
|
|
73
|
+
* @excerpt Represents a planned activity within a care plan
|
|
74
|
+
*/
|
|
75
|
+
export type CarePlanActivity = {
|
|
76
|
+
/**
|
|
77
|
+
* A simple summary of a planned activity suitable for a general care plan
|
|
78
|
+
* system (e.g. form driven) that doesn't know about specific resources such
|
|
79
|
+
* as procedure etc.
|
|
80
|
+
*/
|
|
81
|
+
detail: CarePlanDetail | null;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* A simple summary of a planned activity suitable for a general care plan
|
|
85
|
+
* system (e.g. form driven) that doesn't know about specific resources such
|
|
86
|
+
* as procedure etc.
|
|
87
|
+
*
|
|
88
|
+
* @category Models
|
|
89
|
+
* @title CarePlanDetail
|
|
90
|
+
* @excerpt A simple summary of a planned activity suitable for a general care plan system.
|
|
91
|
+
*/
|
|
92
|
+
export type CarePlanDetail = {
|
|
93
|
+
/**
|
|
94
|
+
* A description of the kind of resource the in-line definition of a care plan
|
|
95
|
+
* activity is representing. The CarePlan.activity.detail is an in-line definition
|
|
96
|
+
* when a resource is not referenced using CarePlan.activity.reference. For example,
|
|
97
|
+
* a MedicationRequest, a ServiceRequest, or a CommunicationRequest.
|
|
98
|
+
*/
|
|
99
|
+
kind: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Detailed description of the type of planned activity; e.g. what lab test,
|
|
102
|
+
* what procedure, what kind of encounter.
|
|
103
|
+
*/
|
|
104
|
+
code: CodeableConcept | null;
|
|
105
|
+
/** Identifies what progress is being made for the specific activity. */
|
|
106
|
+
status: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Indicates when the activity is scheduled to occur.
|
|
109
|
+
*/
|
|
110
|
+
scheduledPeriod: Period | null;
|
|
111
|
+
/**
|
|
112
|
+
* Indicates when the activity is scheduled to occur (as a string).
|
|
113
|
+
*/
|
|
114
|
+
scheduledString: string | null;
|
|
115
|
+
/** Indicates when the activity is scheduled to occur (as a timing). */
|
|
116
|
+
scheduledTiming: Timing | null;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Bundle of care plan search results.
|
|
120
|
+
* Contains multiple care plan entries from search operations.
|
|
121
|
+
*
|
|
122
|
+
* @category Models
|
|
123
|
+
* @title CarePlanBundle
|
|
124
|
+
* @excerpt Bundle of care plan search results
|
|
125
|
+
*/
|
|
126
|
+
export type CarePlanBundle = EntryBundle<CarePlan>;
|
|
127
|
+
/**
|
|
128
|
+
* Response for care plan search results with paging info.
|
|
129
|
+
*
|
|
130
|
+
* @category Models
|
|
131
|
+
* @title CarePlanResponse
|
|
132
|
+
* @excerpt Response for care plan search results with paging info.
|
|
133
|
+
*/
|
|
134
|
+
export type CarePlanResponse = HealthDataResponse<CarePlan>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { CodeableConcept, EntryBundle, HealthDataResponse, Identifier, Meta, Organization, Practitioner, Reference, RelatedPerson } from "../common/index.js";
|
|
2
|
+
import { PractitionerRole } from "../common/practitioner-role.js";
|
|
3
|
+
/**
|
|
4
|
+
* A care team resource representing a set of people, organizations, and/or other care teams coordinating to deliver care.
|
|
5
|
+
*
|
|
6
|
+
* @category Models
|
|
7
|
+
* @title CareTeam
|
|
8
|
+
* @excerpt A care team represents people, organizations, and other care teams coordinating to deliver care.
|
|
9
|
+
*/
|
|
10
|
+
export type CareTeam = {
|
|
11
|
+
/** The type of resource, always "CareTeam". */
|
|
12
|
+
resourceType: "CareTeam";
|
|
13
|
+
/** Logical id of the care team resource. */
|
|
14
|
+
id: string;
|
|
15
|
+
/** Business identifiers for the care team. */
|
|
16
|
+
identifier: (Identifier | null)[] | null;
|
|
17
|
+
/** Metadata about the resource. */
|
|
18
|
+
meta: Meta | null;
|
|
19
|
+
/** Status of the care team (e.g., active, suspended, inactive). */
|
|
20
|
+
status: string | null;
|
|
21
|
+
/** Name of the care team. */
|
|
22
|
+
name: string | null;
|
|
23
|
+
/** Category of the care team (e.g., long-term care, encounter-focused). */
|
|
24
|
+
category: (CodeableConcept | null)[] | null;
|
|
25
|
+
/** List of participants in the care team. */
|
|
26
|
+
participant: (CareTeamParticipant | null)[] | null;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Participant in a care team.
|
|
30
|
+
*
|
|
31
|
+
* @category Models
|
|
32
|
+
* @title CareTeamParticipant
|
|
33
|
+
* @excerpt Participant in a care team.
|
|
34
|
+
*/
|
|
35
|
+
export type CareTeamParticipant = {
|
|
36
|
+
/** Roles of the participant in the care team. */
|
|
37
|
+
role: (CodeableConcept | null)[] | null;
|
|
38
|
+
/** Member reference and details. */
|
|
39
|
+
member: Reference<CareTeamParticipantMember> | null;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Organization participant in a care team.
|
|
43
|
+
*
|
|
44
|
+
* Represents an organization that is a member of a care team, with the organization name provided as `organizationName`.
|
|
45
|
+
* Extends the Organization type, omitting the `name` property in favor of `organizationName`.
|
|
46
|
+
*
|
|
47
|
+
* @category Models
|
|
48
|
+
* @title CareTeamParticipantMemberOrganization
|
|
49
|
+
* @excerpt Organization participant in a care team.
|
|
50
|
+
*/
|
|
51
|
+
export type CareTeamParticipantMemberOrganization = {
|
|
52
|
+
organizationName: string;
|
|
53
|
+
} & Omit<Organization, "name">;
|
|
54
|
+
/**
|
|
55
|
+
* Member of a care team participant.
|
|
56
|
+
*
|
|
57
|
+
* @category Models
|
|
58
|
+
* @title CareTeamParticipantMember
|
|
59
|
+
* @excerpt Member of a care team participant
|
|
60
|
+
*/
|
|
61
|
+
export type CareTeamParticipantMember = CareTeamParticipantMemberOrganization | Practitioner | PractitionerRole | RelatedPerson;
|
|
62
|
+
/**
|
|
63
|
+
* Bundle containing care team search results.
|
|
64
|
+
*
|
|
65
|
+
* @category Models
|
|
66
|
+
* @title CareTeamBundle
|
|
67
|
+
* @excerpt Bundle containing care team search results
|
|
68
|
+
*/
|
|
69
|
+
export type CareTeamBundle = EntryBundle<CareTeam>;
|
|
70
|
+
/**
|
|
71
|
+
* Response for care team search results with paging info.
|
|
72
|
+
*
|
|
73
|
+
* @category Models
|
|
74
|
+
* @title CareTeamResponse
|
|
75
|
+
* @excerpt Response for care team search results with paging info.
|
|
76
|
+
*/
|
|
77
|
+
export type CareTeamResponse = HealthDataResponse<CareTeam>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Response containing grouped condition data with paging information.
|
|
4
|
+
* Represents aggregated condition information organized by groups.
|
|
5
|
+
*
|
|
6
|
+
* @category Models
|
|
7
|
+
* @title ConditionGroupBundle
|
|
8
|
+
* @excerpt Response containing grouped condition data with paging information
|
|
9
|
+
*/
|
|
10
|
+
export type ConditionGroupBundle = ResourceBundle<ConditionGroup>;
|
|
11
|
+
/**
|
|
12
|
+
* Response for grouped condition data with paging information.
|
|
13
|
+
*
|
|
14
|
+
* @category Models
|
|
15
|
+
* @title ConditionGroupsResponse
|
|
16
|
+
* @excerpt Response for grouped condition data with paging information
|
|
17
|
+
*/
|
|
18
|
+
export type ConditionGroupsResponse = GroupedHealthDataResponse<ConditionGroup>;
|
|
19
|
+
/**
|
|
20
|
+
* Grouped condition data with summary information.
|
|
21
|
+
* Contains aggregated information about conditions organized by category or type.
|
|
22
|
+
*
|
|
23
|
+
* @category Models
|
|
24
|
+
* @title ConditionGroup
|
|
25
|
+
* @excerpt Grouped condition data with summary information
|
|
26
|
+
*/
|
|
27
|
+
export type ConditionGroup = {
|
|
28
|
+
/** Unique identifier for this group */
|
|
29
|
+
id: string | null;
|
|
30
|
+
/** Display name for this group */
|
|
31
|
+
name: string | null;
|
|
32
|
+
/** References to underlying resources */
|
|
33
|
+
references: (string | null)[] | null;
|
|
34
|
+
/** Date when the record was created */
|
|
35
|
+
recordedDate: string | null;
|
|
36
|
+
/** Source of the information */
|
|
37
|
+
source: (string | null)[] | null;
|
|
38
|
+
/** Display names for sources */
|
|
39
|
+
sourceDisplay: (string | null)[] | null;
|
|
40
|
+
/** Coded representation of the condition */
|
|
41
|
+
coding: Coding | null;
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { Annotation, CodeableConcept, EntryBundle, Extension, HealthDataResponse, Identifier, Meta, Narrative, Patient, Period, Practitioner, Reference } from "../common/index.js";
|
|
2
|
+
import { Encounter } from "./index.js";
|
|
3
|
+
/**
|
|
4
|
+
* Represents a condition resource.
|
|
5
|
+
*
|
|
6
|
+
* @category Models
|
|
7
|
+
* @title Condition
|
|
8
|
+
* @excerpt Represents a condition resource.
|
|
9
|
+
*/
|
|
10
|
+
export type Condition = {
|
|
11
|
+
/** Resource type */
|
|
12
|
+
resourceType: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
/** Identifiers for this condition */
|
|
18
|
+
identifier: (Identifier | null)[] | null;
|
|
19
|
+
/**
|
|
20
|
+
* The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
|
|
21
|
+
*/
|
|
22
|
+
meta: Meta | null;
|
|
23
|
+
/** Text summary of the resource, for human interpretation. */
|
|
24
|
+
text: Narrative | null;
|
|
25
|
+
/** Additional condition extensions. */
|
|
26
|
+
extension: (Extension | null)[] | null;
|
|
27
|
+
/**
|
|
28
|
+
* Identification of the condition, problem or diagnosis.
|
|
29
|
+
*/
|
|
30
|
+
code: CodeableConcept | null;
|
|
31
|
+
/**
|
|
32
|
+
* The clinical status of the condition.
|
|
33
|
+
*/
|
|
34
|
+
clinicalStatus: CodeableConcept | null;
|
|
35
|
+
/**
|
|
36
|
+
* None
|
|
37
|
+
*/
|
|
38
|
+
onsetDateTime: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.
|
|
41
|
+
*/
|
|
42
|
+
recordedDate: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Individual who recorded the record and takes responsibility for its content.
|
|
45
|
+
*/
|
|
46
|
+
recorder: Reference<Patient | Practitioner> | null;
|
|
47
|
+
/**
|
|
48
|
+
* Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.
|
|
49
|
+
*/
|
|
50
|
+
note: (Annotation | null)[] | null;
|
|
51
|
+
/**
|
|
52
|
+
* None
|
|
53
|
+
*/
|
|
54
|
+
onsetPeriod: Period | null;
|
|
55
|
+
/**
|
|
56
|
+
* None
|
|
57
|
+
*/
|
|
58
|
+
abatementDateTime: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* None
|
|
61
|
+
*/
|
|
62
|
+
abatementPeriod: Period | null;
|
|
63
|
+
/**
|
|
64
|
+
* The patient the condition record is associated with.
|
|
65
|
+
*/
|
|
66
|
+
subject: Reference<Patient> | null;
|
|
67
|
+
/**
|
|
68
|
+
* A category assigned to the condition.
|
|
69
|
+
*/
|
|
70
|
+
category: CodeableConcept[] | null;
|
|
71
|
+
/**
|
|
72
|
+
* A subjective assessment of the severity of the condition as evaluated by the clinician.
|
|
73
|
+
*/
|
|
74
|
+
severity: CodeableConcept | null;
|
|
75
|
+
/**
|
|
76
|
+
* The verification status to support the clinical status of the condition.
|
|
77
|
+
*/
|
|
78
|
+
verificationStatus: CodeableConcept | null;
|
|
79
|
+
/**
|
|
80
|
+
* The anatomical location where this condition manifests itself.
|
|
81
|
+
*/
|
|
82
|
+
bodySite: CodeableConcept[] | null;
|
|
83
|
+
/** Individual who is making the condition statement. */
|
|
84
|
+
asserter: Reference<Patient> | null;
|
|
85
|
+
/** The encounter during which this condition was made. */
|
|
86
|
+
encounter: Reference<Encounter> | null;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Bundle of condition search results.
|
|
90
|
+
* Contains multiple conditions from search operations.
|
|
91
|
+
*
|
|
92
|
+
* @category Models
|
|
93
|
+
* @title ConditionBundle
|
|
94
|
+
* @excerpt Bundle of condition search results
|
|
95
|
+
*/
|
|
96
|
+
export type ConditionBundle = EntryBundle<Condition>;
|
|
97
|
+
/**
|
|
98
|
+
* Response for condition search results with paging info.
|
|
99
|
+
*
|
|
100
|
+
* @category Models
|
|
101
|
+
* @title ConditionResponse
|
|
102
|
+
* @excerpt Response for condition search results with paging info.
|
|
103
|
+
*/
|
|
104
|
+
export type ConditionResponse = HealthDataResponse<Condition>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Bundle containing diagnostic report lab group data with paging information.
|
|
4
|
+
* Maps exactly to GraphQL GetDiagnosticReportLabGroupsQueryResults structure.
|
|
5
|
+
*
|
|
6
|
+
* @category Models
|
|
7
|
+
* @title DiagnosticReportLabGroupBundle
|
|
8
|
+
* @excerpt Bundle containing diagnostic report lab group data with...
|
|
9
|
+
*/
|
|
10
|
+
export type DiagnosticReportLabGroupBundle = ResourceBundle<DiagnosticReportLabGroup>;
|
|
11
|
+
/**
|
|
12
|
+
* Response for grouped diagnostic report lab data with paging information.
|
|
13
|
+
*
|
|
14
|
+
* @category Models
|
|
15
|
+
* @title DiagnosticReportLabGroupsResponse
|
|
16
|
+
* @excerpt Response for grouped diagnostic report lab data with paging information
|
|
17
|
+
*/
|
|
18
|
+
export type DiagnosticReportLabGroupsResponse = GroupedHealthDataResponse<DiagnosticReportLabGroup>;
|
|
19
|
+
/**
|
|
20
|
+
* Represents a diagnostic report lab group resource matching GraphQL structure.
|
|
21
|
+
*
|
|
22
|
+
* @category Models
|
|
23
|
+
* @title DiagnosticReportLabGroup
|
|
24
|
+
* @excerpt Represents a diagnostic report lab group resource matching...
|
|
25
|
+
*/
|
|
26
|
+
export interface DiagnosticReportLabGroup {
|
|
27
|
+
/** Resource identifier */
|
|
28
|
+
id: string;
|
|
29
|
+
/** Effective date time */
|
|
30
|
+
effectiveDateTime: string;
|
|
31
|
+
/** Issued date */
|
|
32
|
+
issued: string;
|
|
33
|
+
/** Group name */
|
|
34
|
+
name: string;
|
|
35
|
+
/** Performer information */
|
|
36
|
+
performer: string;
|
|
37
|
+
/** References to underlying resources */
|
|
38
|
+
references: string[];
|
|
39
|
+
/** Source information */
|
|
40
|
+
source: string[];
|
|
41
|
+
/** Source display names */
|
|
42
|
+
sourceDisplay: string[];
|
|
43
|
+
/** Coding information */
|
|
44
|
+
coding: Coding;
|
|
45
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { Attachment, CodeableConcept, EntryBundle, HealthDataResponse, Identifier, Meta, Reference } from "../common/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a diagnostic report resource.
|
|
4
|
+
* The findings and interpretation of diagnostic tests performed on patients, groups of patients,
|
|
5
|
+
* devices, and locations, and/or specimens derived from these.
|
|
6
|
+
*
|
|
7
|
+
* @category Models
|
|
8
|
+
* @title DiagnosticReport
|
|
9
|
+
* @excerpt Represents a diagnostic report resource.
|
|
10
|
+
*/
|
|
11
|
+
export type DiagnosticReport = {
|
|
12
|
+
/** Resource type */
|
|
13
|
+
resourceType: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* The logical id of the resource.
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* The metadata about the resource.
|
|
20
|
+
*/
|
|
21
|
+
meta: Meta | null;
|
|
22
|
+
/**
|
|
23
|
+
* Identifiers assigned to this report by the performer or other systems.
|
|
24
|
+
*/
|
|
25
|
+
identifier: (Identifier | null)[] | null;
|
|
26
|
+
/**
|
|
27
|
+
* Details concerning a service requested.
|
|
28
|
+
*/
|
|
29
|
+
basedOn: (Reference | null)[] | null;
|
|
30
|
+
/**
|
|
31
|
+
* The status of the diagnostic report.
|
|
32
|
+
*/
|
|
33
|
+
status: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* A code that classifies the clinical discipline, department or diagnostic service that created the report.
|
|
36
|
+
*/
|
|
37
|
+
category: (CodeableConcept | null)[] | null;
|
|
38
|
+
/**
|
|
39
|
+
* A code or name that describes this diagnostic report.
|
|
40
|
+
*/
|
|
41
|
+
code: CodeableConcept | null;
|
|
42
|
+
/**
|
|
43
|
+
* The time or time-period the observed values are related to.
|
|
44
|
+
*/
|
|
45
|
+
effectiveDateTime: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* The healthcare event which this DiagnosticReport is about.
|
|
48
|
+
*/
|
|
49
|
+
encounter: Reference | null;
|
|
50
|
+
/**
|
|
51
|
+
* The date and time that this version of the report was made available to providers.
|
|
52
|
+
*/
|
|
53
|
+
issued: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* The diagnostic service that is responsible for issuing the report.
|
|
56
|
+
*/
|
|
57
|
+
performer: (Reference | null)[] | null;
|
|
58
|
+
/**
|
|
59
|
+
* Rich text representation of the entire result as issued by the diagnostic service.
|
|
60
|
+
*/
|
|
61
|
+
presentedForm: (Attachment | null)[] | null;
|
|
62
|
+
/**
|
|
63
|
+
* Observations that are part of this diagnostic report.
|
|
64
|
+
*/
|
|
65
|
+
result: (Reference | null)[] | null;
|
|
66
|
+
/**
|
|
67
|
+
* The healthcare professionals responsible for interpreting the results.
|
|
68
|
+
*/
|
|
69
|
+
resultsInterpreter: (Reference | null)[] | null;
|
|
70
|
+
/**
|
|
71
|
+
* The subject of the report, typically a patient.
|
|
72
|
+
*/
|
|
73
|
+
subject: Reference | null;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Bundle of diagnostic report results.
|
|
77
|
+
*
|
|
78
|
+
* @category Models
|
|
79
|
+
* @title DiagnosticReportBundle
|
|
80
|
+
* @excerpt Bundle of diagnostic report results.
|
|
81
|
+
*/
|
|
82
|
+
export type DiagnosticReportBundle = EntryBundle<DiagnosticReport>;
|
|
83
|
+
/**
|
|
84
|
+
* Response for diagnostic report search results with paging info.
|
|
85
|
+
*
|
|
86
|
+
* @category Models
|
|
87
|
+
* @title DiagnosticReportResponse
|
|
88
|
+
* @excerpt Response for diagnostic report search results with paging info.
|
|
89
|
+
*/
|
|
90
|
+
export type DiagnosticReportResponse = HealthDataResponse<DiagnosticReport>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Bundle containing encounter group data with paging information.
|
|
4
|
+
* Maps exactly to GraphQL GetEncountersGroupQueryResults structure.
|
|
5
|
+
*
|
|
6
|
+
* @category Models
|
|
7
|
+
* @title EncounterGroupBundle
|
|
8
|
+
* @excerpt Bundle containing encounter group data with paging information
|
|
9
|
+
*/
|
|
10
|
+
export type EncounterGroupBundle = ResourceBundle<EncounterGroup>;
|
|
11
|
+
/**
|
|
12
|
+
* Response for grouped encounter data with paging information.
|
|
13
|
+
*
|
|
14
|
+
* @category Models
|
|
15
|
+
* @title EncounterGroupsResponse
|
|
16
|
+
* @excerpt Response for grouped encounter data with paging information
|
|
17
|
+
*/
|
|
18
|
+
export type EncounterGroupsResponse = GroupedHealthDataResponse<EncounterGroup>;
|
|
19
|
+
/**
|
|
20
|
+
* Represents an encounter group with aggregated data.
|
|
21
|
+
* Maps exactly to GraphQL encounter group resource structure.
|
|
22
|
+
*
|
|
23
|
+
* @category Models
|
|
24
|
+
* @title EncounterGroup
|
|
25
|
+
* @excerpt Represents an encounter group with aggregated data
|
|
26
|
+
*/
|
|
27
|
+
export interface EncounterGroup {
|
|
28
|
+
/** Group identifier */
|
|
29
|
+
id: string;
|
|
30
|
+
/** Name of the group */
|
|
31
|
+
name: string;
|
|
32
|
+
/** Array of references in this group */
|
|
33
|
+
references: string[];
|
|
34
|
+
/** Participant information */
|
|
35
|
+
participant: string;
|
|
36
|
+
/** Date information */
|
|
37
|
+
date: string;
|
|
38
|
+
/** Source information */
|
|
39
|
+
source: string[];
|
|
40
|
+
/** Source display names */
|
|
41
|
+
sourceDisplay: string[];
|
|
42
|
+
/** Class information */
|
|
43
|
+
class: Coding;
|
|
44
|
+
/** Type information */
|
|
45
|
+
type: Coding;
|
|
46
|
+
/** Coding information */
|
|
47
|
+
coding: Coding;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { CodeableConcept, Coding, EntryBundle, HealthDataResponse, Identifier, Location, Meta, Narrative, Organization, Patient, Period, Practitioner, PractitionerRole, Reference, RelatedPerson } from "../common/index.js";
|
|
2
|
+
import { Condition } from "./index.js";
|
|
3
|
+
/**
|
|
4
|
+
* Represents an Encounter resource.
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title Encounter
|
|
7
|
+
* @excerpt Represents an Encounter resource.
|
|
8
|
+
*/
|
|
9
|
+
export type Encounter = {
|
|
10
|
+
/** Resource type */
|
|
11
|
+
resourceType: string | null;
|
|
12
|
+
/** Logical id of the resource */
|
|
13
|
+
id: string;
|
|
14
|
+
/** Identifiers for this encounter */
|
|
15
|
+
identifier: (Identifier | null)[] | null;
|
|
16
|
+
/** Metadata about the resource */
|
|
17
|
+
meta: Meta | null;
|
|
18
|
+
/** Text summary of the resource, for human interpretation */
|
|
19
|
+
text: Narrative | null;
|
|
20
|
+
/** Encounter type(s) */
|
|
21
|
+
type: (CodeableConcept | null)[] | null;
|
|
22
|
+
/** Status of the encounter */
|
|
23
|
+
status: string | null;
|
|
24
|
+
/** The period during which the encounter occurred */
|
|
25
|
+
period: Period | null;
|
|
26
|
+
/** Reason codes for the encounter */
|
|
27
|
+
reasonCode: (CodeableConcept | null)[] | null;
|
|
28
|
+
/** Class of the encounter */
|
|
29
|
+
class: Coding | null;
|
|
30
|
+
/** Hospitalization details */
|
|
31
|
+
hospitalization: {
|
|
32
|
+
dischargeDisposition: CodeableConcept | null;
|
|
33
|
+
} | null;
|
|
34
|
+
/** Locations associated with the encounter */
|
|
35
|
+
location: (EncounterLocation | null)[] | null;
|
|
36
|
+
/** Participants in the encounter */
|
|
37
|
+
participant: (EncounterParticipant | null)[] | null;
|
|
38
|
+
/** Service provider organization */
|
|
39
|
+
serviceProvider: Reference<Organization> | null;
|
|
40
|
+
/** Subject of the encounter (a patient) */
|
|
41
|
+
subject: Reference<Patient> | null;
|
|
42
|
+
/** Reason reference (linked condition) */
|
|
43
|
+
reasonReference: (Reference<Condition> | null)[] | null;
|
|
44
|
+
};
|
|
45
|
+
type EncounterLocation = {
|
|
46
|
+
/** Reference to the location resource */
|
|
47
|
+
location: Reference<Location> | null;
|
|
48
|
+
/** Status of the location during the encounter (e.g., active, completed) */
|
|
49
|
+
status: string | null;
|
|
50
|
+
/** Physical type of the location (e.g., room, ward) */
|
|
51
|
+
physicalType: CodeableConcept | null;
|
|
52
|
+
/** The period of time the patient was at this location */
|
|
53
|
+
period: Period | null;
|
|
54
|
+
};
|
|
55
|
+
type EncounterParticipant = {
|
|
56
|
+
/** Reference to the individual participating in the encounter (Practitioner, PractitionerRole, or RelatedPerson) */
|
|
57
|
+
individual: Reference<PractitionerRole | RelatedPerson | Practitioner> | null;
|
|
58
|
+
/** Role(s) of the participant in the encounter (e.g., primary, consulting) */
|
|
59
|
+
type: (CodeableConcept | null)[] | null;
|
|
60
|
+
/** The period of time the participant was involved in the encounter */
|
|
61
|
+
period: Period | null;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Bundle of encounter results.
|
|
65
|
+
*
|
|
66
|
+
* @category Models
|
|
67
|
+
* @title EncounterBundle
|
|
68
|
+
* @excerpt Bundle of encounter results.
|
|
69
|
+
*/
|
|
70
|
+
export type EncounterBundle = EntryBundle<Encounter>;
|
|
71
|
+
/**
|
|
72
|
+
* Response for encounter search results with paging info.
|
|
73
|
+
*
|
|
74
|
+
* @category Models
|
|
75
|
+
* @title EncounterResponse
|
|
76
|
+
* @excerpt Response for encounter search results with paging info.
|
|
77
|
+
*/
|
|
78
|
+
export type EncounterResponse = HealthDataResponse<Encounter>;
|
|
79
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { HealthSummaryCategory } from "../../graphql/schema.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a health summary with resource groups and counts.
|
|
4
|
+
* Maps directly to GraphQL GetHealthSummaryQueryResults structure.
|
|
5
|
+
*
|
|
6
|
+
* @category Models
|
|
7
|
+
* @title HealthSummary
|
|
8
|
+
* @excerpt Represents a health summary with resource groups and counts
|
|
9
|
+
*/
|
|
10
|
+
export type HealthSummary = {
|
|
11
|
+
/** Array of health resource categories with counts */
|
|
12
|
+
resources: {
|
|
13
|
+
/** The category of health resource */
|
|
14
|
+
category: HealthSummaryCategory | null;
|
|
15
|
+
/** Total count for this category */
|
|
16
|
+
total: number | null;
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|