@ovok/core 0.4.49-dev.503 → 0.4.49-dev.513
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 +23 -666
- package/dist/client/ai-fhir/methods/AIFhirResources.d.ts +3 -1
- package/dist/client/ai-fhir/methods/AIFhirResources.js +3 -1
- package/dist/client/ai-fhir/types/AIFhirPlan.d.ts +8 -0
- package/dist/client/ai-fhir/types/AIFhirPlanRequest.d.ts +8 -0
- package/dist/client/ai-fhir/types/AIFhirRequest.d.ts +5 -0
- package/dist/client/ai-fhir/types/AIFhirResponse.d.ts +6 -0
- package/dist/client/auth/errors.d.ts +15 -2
- package/dist/client/auth/errors.js +12 -2
- package/dist/client/auth/methods/appleLogin.d.ts +1 -0
- package/dist/client/auth/methods/appleLogin.js +1 -0
- package/dist/client/auth/methods/changePassword.d.ts +1 -0
- package/dist/client/auth/methods/changePassword.js +1 -0
- package/dist/client/auth/methods/googleLogin.d.ts +1 -0
- package/dist/client/auth/methods/googleLogin.js +1 -0
- package/dist/client/auth/methods/login.d.ts +6 -0
- package/dist/client/auth/methods/login.js +6 -0
- package/dist/client/auth/methods/register.d.ts +5 -0
- package/dist/client/auth/methods/register.js +5 -0
- package/dist/client/auth/methods/registerPractitioner.d.ts +5 -0
- package/dist/client/auth/methods/registerPractitioner.js +5 -0
- package/dist/client/auth/methods/reloadSession.d.ts +3 -0
- package/dist/client/auth/methods/requestDeleteUser.d.ts +4 -5
- package/dist/client/auth/methods/requestDeleteUser.js +4 -5
- package/dist/client/auth/methods/setPasswordFromReset.d.ts +1 -0
- package/dist/client/auth/methods/setPasswordFromReset.js +1 -0
- package/dist/client/auth/session-fetch.d.ts +11 -0
- package/dist/client/auth/types/Account.d.ts +8 -1
- package/dist/client/auth/types/AppleLoginBody.d.ts +16 -0
- package/dist/client/auth/types/AppleLoginBody.js +5 -0
- package/dist/client/auth/types/AuthResponse.d.ts +12 -0
- package/dist/client/auth/types/ChangePasswordBody.d.ts +7 -0
- package/dist/client/auth/types/ChangePasswordResponse.d.ts +5 -0
- package/dist/client/auth/types/CompletePasswordResetBody.d.ts +8 -0
- package/dist/client/auth/types/GoogleLoginBody.d.ts +5 -0
- package/dist/client/auth/types/LoginBody.d.ts +15 -1
- package/dist/client/auth/types/LoginError.d.ts +21 -2
- package/dist/client/auth/types/LoginError.js +8 -2
- package/dist/client/auth/types/LoginResponse.d.ts +8 -1
- package/dist/client/auth/types/RegisterBody.d.ts +12 -0
- package/dist/client/auth/types/RegisterPractitionerBody.d.ts +5 -0
- package/dist/client/auth/types/RegisterResponse.d.ts +7 -0
- package/dist/client/auth/types/RequestDeleteUserBody.d.ts +7 -7
- package/dist/client/auth/types/RequestDeleteUserResponse.d.ts +14 -0
- package/dist/client/auth/types/ResetPasswordBody.d.ts +5 -0
- package/dist/client/auth/types/Session.d.ts +14 -2
- package/dist/client/change-history/methods.d.ts +6 -0
- package/dist/client/change-history/methods.js +6 -0
- package/dist/client/change-history/types.d.ts +82 -0
- package/dist/client/chat/ai/methods/createAiSession.d.ts +6 -0
- package/dist/client/chat/ai/methods/createAiSession.js +6 -0
- package/dist/client/chat/ai/types/CreateAiSessionResponse.d.ts +17 -0
- package/dist/client/chat/ai/types/SessionMessagesResponse.d.ts +9 -0
- package/dist/client/cms/locale.d.ts +12 -2
- package/dist/client/cms/locale.js +9 -2
- package/dist/client/cms/methods.d.ts +6 -2
- package/dist/client/cms/methods.js +7 -3
- package/dist/client/cms/types.d.ts +44 -4
- package/dist/client/consent/methods.d.ts +16 -0
- package/dist/client/consent/methods.js +16 -0
- package/dist/client/consent/types.d.ts +53 -1
- package/dist/client/consent/types.js +10 -1
- package/dist/client/email/methods.d.ts +3 -0
- package/dist/client/email/methods.js +3 -0
- package/dist/client/email/types.d.ts +33 -0
- package/dist/client/errors/field-errors.d.ts +3 -0
- package/dist/client/errors/field-errors.js +3 -0
- package/dist/client/errors/ovok-error-utils.d.ts +6 -0
- package/dist/client/errors/ovok-error-utils.js +6 -0
- package/dist/client/errors/ovok-error.d.ts +36 -4
- package/dist/client/errors/ovok-error.js +15 -4
- package/dist/client/errors/rate-limit-error.d.ts +11 -2
- package/dist/client/errors/rate-limit-error.js +10 -2
- package/dist/client/errors/sign-in-required-error.d.ts +5 -2
- package/dist/client/errors/sign-in-required-error.js +5 -2
- package/dist/client/experience/methods.d.ts +38 -0
- package/dist/client/experience/methods.js +35 -0
- package/dist/client/experience/types.d.ts +316 -0
- package/dist/client/experience/types.js +1 -0
- package/dist/client/invites/methods.d.ts +27 -9
- package/dist/client/invites/methods.js +27 -9
- package/dist/client/invites/parse-accept-invite-link.d.ts +3 -1
- package/dist/client/invites/parse-accept-invite-link.js +3 -1
- package/dist/client/invites/types.d.ts +55 -0
- package/dist/client/invites/types.js +12 -0
- package/dist/client/notifications/methods.d.ts +15 -0
- package/dist/client/notifications/methods.js +15 -0
- package/dist/client/notifications/types.d.ts +249 -2
- package/dist/client/observation/methods/generateObservationBodiesByMeasurement.d.ts +3 -0
- package/dist/client/observation/methods/generateObservationBodiesByMeasurement.js +3 -0
- package/dist/client/observation/methods/getLatestObservationsByCodes.d.ts +3 -0
- package/dist/client/observation/methods/getLatestObservationsByCodes.js +3 -0
- package/dist/client/observation/methods/observationsToMeasurements.d.ts +23 -1
- package/dist/client/observation/methods/observationsToMeasurements.js +8 -1
- package/dist/client/observation/methods/saveMeasurement.d.ts +3 -1
- package/dist/client/observation/methods/saveMeasurement.js +3 -1
- package/dist/client/observation/observation-bundle-utils.d.ts +6 -0
- package/dist/client/observation/observation-bundle-utils.js +6 -0
- package/dist/client/observation/series.d.ts +25 -3
- package/dist/client/observation/series.js +6 -2
- package/dist/client/observation/services/creator.d.ts +5 -0
- package/dist/client/observation/services/creator.js +5 -0
- package/dist/client/observation/services/uric-acid-service.js +0 -1
- package/dist/client/observation/types/GetLatestObservationsByCodeParams.d.ts +10 -0
- package/dist/client/observation/types/MeasurementTypeKey.d.ts +26 -0
- package/dist/client/observation/types/MeasurementTypeKey.js +26 -0
- package/dist/client/observation/types/ObservationCode.d.ts +64 -1
- package/dist/client/observation/types/ObservationCode.js +64 -1
- package/dist/client/observation/types/UrineAnalytes.d.ts +14 -0
- package/dist/client/observation/types/UrineAnalytes.js +1 -0
- package/dist/client/observation/types/generate-measurement/Sample.d.ts +33 -0
- package/dist/client/observation/types/generate-observation-body/GenerateObservationBodyParams.d.ts +9 -0
- package/dist/client/observation/types/measurement/BabySleepMeasurement.d.ts +3 -0
- package/dist/client/observation/types/measurement/BloodGlucoseMeasurement.d.ts +7 -0
- package/dist/client/observation/types/measurement/BloodPressureMeasurement.d.ts +10 -0
- package/dist/client/observation/types/measurement/BloodPressureStates.d.ts +10 -0
- package/dist/client/observation/types/measurement/BloodPressureStates.js +10 -0
- package/dist/client/observation/types/measurement/BodyTemperatureMeasurement.d.ts +7 -0
- package/dist/client/observation/types/measurement/BodyWeightMeasurmement.d.ts +8 -0
- package/dist/client/observation/types/measurement/EcgDiagnosticFlag.d.ts +18 -0
- package/dist/client/observation/types/measurement/EcgDiagnosticFlag.js +18 -0
- package/dist/client/observation/types/measurement/EcgMeasurement.d.ts +9 -0
- package/dist/client/observation/types/measurement/HeartRateMeasurement.d.ts +7 -0
- package/dist/client/observation/types/measurement/HeartRateVariabilityMeasurement.d.ts +7 -0
- package/dist/client/observation/types/measurement/LipidPanelMeasurement.d.ts +12 -0
- package/dist/client/observation/types/measurement/Measurement.d.ts +9 -0
- package/dist/client/observation/types/measurement/MeasurementDevice.d.ts +10 -0
- package/dist/client/observation/types/measurement/MeasurementSeries.d.ts +2 -0
- package/dist/client/observation/types/measurement/PulseOximeterMeasurement.d.ts +10 -0
- package/dist/client/observation/types/measurement/RespiratoryRateMeasurement.d.ts +7 -0
- package/dist/client/observation/types/measurement/RespiratoryTherapyMeasurement.d.ts +3 -0
- package/dist/client/observation/types/measurement/RestingHeartRateMeasurement.d.ts +7 -0
- package/dist/client/observation/types/measurement/SpirometryMeasurement.d.ts +23 -0
- package/dist/client/observation/types/measurement/StepCountMeasurement.d.ts +9 -0
- package/dist/client/observation/types/measurement/UrineAnalyzeMeasurement.d.ts +29 -0
- package/dist/client/observation/types/measurement/Vo2MaxMeasurement.d.ts +7 -0
- package/dist/client/observation/types/measurement/WalkingHeartRateAverageMeasurement.d.ts +7 -0
- package/dist/client/observation/types/service/MeasurementField.d.ts +5 -1
- package/dist/client/observation/utils/getObservationValueDisplay.d.ts +2 -0
- package/dist/client/offline/offline-measurement-queue.d.ts +56 -1
- package/dist/client/offline/offline-measurement-queue.js +21 -0
- package/dist/client/offline/shared-measurement-queue.d.ts +16 -1
- package/dist/client/offline/shared-measurement-queue.js +3 -1
- package/dist/client/ovok-client.d.ts +27 -6
- package/dist/client/ovok-client.js +8 -5
- package/dist/client/patient/methods.d.ts +21 -0
- package/dist/client/patient/methods.js +21 -0
- package/dist/client/patient/types.d.ts +131 -0
- package/dist/client/patient-sharing/methods.d.ts +18 -0
- package/dist/client/patient-sharing/methods.js +18 -0
- package/dist/client/patient-sharing/types.d.ts +89 -1
- package/dist/client/platform/methods.d.ts +22 -0
- package/dist/client/platform/methods.js +20 -0
- package/dist/client/platform/types.d.ts +194 -1
- package/dist/client/platform/types.js +24 -0
- package/dist/client/questionnaire-response/methods/createQuestionnaireResponseWithObservations.d.ts +3 -0
- package/dist/client/questionnaire-response/methods/createQuestionnaireResponseWithObservations.js +3 -0
- package/dist/client/questionnaire-response/methods/extractQuestionnaireObservations.d.ts +3 -0
- package/dist/client/questionnaire-response/methods/extractQuestionnaireObservations.js +3 -0
- package/dist/client/questionnaire-response/methods/populateQuestionnaire.d.ts +3 -0
- package/dist/client/questionnaire-response/methods/populateQuestionnaire.js +3 -0
- package/dist/client/questionnaire-response/methods/submitQuestionnaireResponse.d.ts +3 -0
- package/dist/client/questionnaire-response/methods/submitQuestionnaireResponse.js +3 -0
- package/dist/client/questionnaire-response/types.d.ts +6 -0
- package/dist/client/signals/errors.d.ts +13 -2
- package/dist/client/signals/errors.js +9 -2
- package/dist/client/signals/methods.d.ts +9 -0
- package/dist/client/signals/methods.js +9 -0
- package/dist/client/signals/types.d.ts +31 -0
- package/dist/client/slim/methods.d.ts +268 -21
- package/dist/client/slim/methods.js +264 -21
- package/dist/client/slim/paging.d.ts +22 -2
- package/dist/client/slim/paging.js +6 -2
- package/dist/client/slim/types.d.ts +920 -1
- package/dist/client/storage.d.ts +15 -1
- package/dist/client/storage.js +7 -1
- package/dist/client/wearables/methods.d.ts +24 -0
- package/dist/client/wearables/methods.js +24 -0
- package/dist/client/wearables/types.d.ts +74 -0
- package/dist/conformance/api-requirements.d.ts +31 -5
- package/dist/conformance/api-requirements.js +47 -10
- package/dist/conformance/capability-requirements.d.ts +4 -26
- package/dist/conformance/capability-requirements.js +5 -27
- package/dist/conformance/capability.d.ts +9 -1
- package/dist/conformance/capability.js +3 -1
- package/dist/hooks/account-hooks.d.ts +35 -0
- package/dist/hooks/account-hooks.js +33 -0
- package/dist/hooks/api-hooks.d.ts +74 -4
- package/dist/hooks/api-hooks.js +56 -4
- package/dist/hooks/cms-hooks.d.ts +9 -3
- package/dist/hooks/cms-hooks.js +9 -3
- package/dist/hooks/email-hooks.d.ts +3 -0
- package/dist/hooks/email-hooks.js +3 -0
- package/dist/hooks/experience-hooks.d.ts +26 -0
- package/dist/hooks/experience-hooks.js +24 -0
- package/dist/hooks/index.d.ts +18 -0
- package/dist/hooks/index.js +18 -0
- package/dist/hooks/invites-hooks.d.ts +21 -2
- package/dist/hooks/invites-hooks.js +21 -2
- package/dist/hooks/notification-ack-hooks.d.ts +6 -2
- package/dist/hooks/notification-ack-hooks.js +6 -2
- package/dist/hooks/notification-hooks.d.ts +27 -3
- package/dist/hooks/notification-hooks.js +27 -3
- package/dist/hooks/notification-note-hooks.d.ts +41 -0
- package/dist/hooks/notification-note-hooks.js +33 -0
- package/dist/hooks/observation-hooks.d.ts +29 -0
- package/dist/hooks/observation-hooks.js +23 -1
- package/dist/hooks/patient-hooks.d.ts +53 -0
- package/dist/hooks/patient-hooks.js +48 -0
- package/dist/hooks/patient-sharing-hooks.d.ts +18 -0
- package/dist/hooks/patient-sharing-hooks.js +18 -0
- package/dist/hooks/platform-hooks.d.ts +32 -0
- package/dist/hooks/platform-hooks.js +23 -0
- package/dist/hooks/poll-hooks.d.ts +17 -1
- package/dist/hooks/poll-hooks.js +3 -1
- package/dist/hooks/signals-hooks.d.ts +3 -0
- package/dist/hooks/signals-hooks.js +3 -0
- package/dist/hooks/wearables-hooks.d.ts +23 -0
- package/dist/hooks/wearables-hooks.js +21 -0
- package/dist/index.d.ts +1 -965
- package/dist/index.js +1 -71
- package/dist/next/auth/saved-accounts-store.d.ts +10 -0
- package/dist/next/auth/session.d.ts +17 -0
- package/dist/next/auth/user-session.d.ts +5 -0
- package/dist/next/config/ovok-config.d.ts +45 -0
- package/dist/next/errors/ovok-account-error.d.ts +14 -1
- package/dist/next/errors/ovok-account-error.js +8 -1
- package/dist/next/errors/ovok-errors.d.ts +88 -0
- package/dist/next/errors/ovok-errors.js +67 -0
- package/dist/next/http/http-client.d.ts +5 -0
- package/dist/next/http/transmit.d.ts +7 -0
- package/dist/next/http/url.d.ts +10 -0
- package/dist/next/ovok.d.ts +31 -1
- package/dist/next/ovok.js +5 -1
- package/dist/next/paging/page.d.ts +13 -1
- package/dist/next/react/context.d.ts +7 -0
- package/dist/next/react/context.js +7 -0
- package/dist/next/react/index.d.ts +24 -0
- package/dist/next/react/index.js +18 -0
- package/dist/next/react/query-hooks.d.ts +69 -0
- package/dist/next/react/query-hooks.js +31 -0
- package/dist/next/resources/accounts/accounts-resource.d.ts +6 -0
- package/dist/next/resources/accounts/accounts-resource.js +6 -0
- package/dist/next/resources/ai/ai-chat-resource.d.ts +7 -0
- package/dist/next/resources/ai/ai-chat-resource.js +5 -0
- package/dist/next/resources/ai/ai-resource.d.ts +13 -0
- package/dist/next/resources/ai/ai-resource.js +6 -0
- package/dist/next/resources/ai/chat-messages-resource.d.ts +7 -0
- package/dist/next/resources/ai/chat-messages-resource.js +7 -0
- package/dist/next/resources/ai/chat-sessions-resource.d.ts +14 -0
- package/dist/next/resources/ai/chat-sessions-resource.js +8 -0
- package/dist/next/resources/auth/auth-sessions-resource.d.ts +6 -1
- package/dist/next/resources/auth/auth-sessions-resource.js +6 -1
- package/dist/next/resources/auth/registration.d.ts +18 -1
- package/dist/next/resources/auth/social-login.d.ts +12 -0
- package/dist/next/resources/auth-resource.d.ts +54 -1
- package/dist/next/resources/auth-resource.js +23 -0
- package/dist/next/resources/bots/bots-resource.d.ts +15 -0
- package/dist/next/resources/bots/bots-resource.js +5 -0
- package/dist/next/resources/cms/cms-delivery.d.ts +14 -2
- package/dist/next/resources/cms/cms-documents-resource.d.ts +7 -1
- package/dist/next/resources/cms/cms-documents-resource.js +7 -1
- package/dist/next/resources/cms/cms-resource.d.ts +7 -0
- package/dist/next/resources/cms/cms-resource.js +5 -0
- package/dist/next/resources/cms/release-notes-resource.d.ts +6 -0
- package/dist/next/resources/cms/release-notes-resource.js +6 -0
- package/dist/next/resources/consent/consent-resource.d.ts +22 -0
- package/dist/next/resources/consent/consent-resource.js +20 -0
- package/dist/next/resources/content/content-resource.d.ts +18 -0
- package/dist/next/resources/content/content-resource.js +12 -0
- package/dist/next/resources/documents/documents-resource.d.ts +24 -0
- package/dist/next/resources/documents/documents-resource.js +10 -0
- package/dist/next/resources/email/email-resource.d.ts +6 -0
- package/dist/next/resources/email/email-resource.js +5 -0
- package/dist/next/resources/email/email-templates-resource.d.ts +6 -0
- package/dist/next/resources/email/email-templates-resource.js +6 -0
- package/dist/next/resources/fhir-resource.d.ts +36 -0
- package/dist/next/resources/fhir-resource.js +21 -0
- package/dist/next/resources/health-resource.d.ts +16 -0
- package/dist/next/resources/health-resource.js +5 -0
- package/dist/next/resources/invites/invite-flow-resource.d.ts +7 -1
- package/dist/next/resources/invites/invite-flow-resource.js +7 -1
- package/dist/next/resources/invites/invites-resource.d.ts +15 -0
- package/dist/next/resources/invites/invites-resource.js +5 -0
- package/dist/next/resources/localization/i18next-resource.d.ts +6 -0
- package/dist/next/resources/localization/i18next-resource.js +6 -0
- package/dist/next/resources/localization/locales-resource.d.ts +7 -0
- package/dist/next/resources/localization/locales-resource.js +7 -0
- package/dist/next/resources/localization/localizations-resource.d.ts +17 -0
- package/dist/next/resources/localization/localizations-resource.js +9 -0
- package/dist/next/resources/measurements/measurements-resource.d.ts +53 -1
- package/dist/next/resources/measurements/measurements-resource.js +14 -0
- package/dist/next/resources/measurements/observation-builder.d.ts +5 -0
- package/dist/next/resources/measurements/offline-measurement-queue-types.d.ts +32 -0
- package/dist/next/resources/patient/fhir-records.d.ts +19 -1
- package/dist/next/resources/patient/fhir-records.js +19 -1
- package/dist/next/resources/patient/patient-resource.d.ts +15 -0
- package/dist/next/resources/patient/patient-resource.js +6 -0
- package/dist/next/resources/projects/project-features-resource.d.ts +7 -0
- package/dist/next/resources/projects/project-features-resource.js +7 -0
- package/dist/next/resources/projects/project-members-resource.d.ts +19 -0
- package/dist/next/resources/projects/project-members-resource.js +9 -0
- package/dist/next/resources/projects/project-settings-resource.d.ts +8 -0
- package/dist/next/resources/projects/project-settings-resource.js +8 -0
- package/dist/next/resources/projects/projects-resource.d.ts +15 -0
- package/dist/next/resources/projects/projects-resource.js +5 -0
- package/dist/next/resources/questionnaires/questionnaires-resource.d.ts +13 -0
- package/dist/next/resources/questionnaires/questionnaires-resource.js +13 -0
- package/dist/next/resources/realtime/realtime-resource.d.ts +11 -0
- package/dist/next/resources/realtime/realtime-resource.js +11 -0
- package/dist/next/resources/realtime/realtime-types.d.ts +16 -0
- package/dist/next/resources/session/saved-accounts-resource.d.ts +16 -0
- package/dist/next/resources/session/saved-accounts-resource.js +16 -0
- package/dist/next/resources/session/session-resource.d.ts +8 -0
- package/dist/next/resources/session/session-resource.js +7 -0
- package/dist/next/resources/sharing/sharing-invites-resource.d.ts +7 -0
- package/dist/next/resources/sharing/sharing-invites-resource.js +7 -0
- package/dist/next/resources/sharing/sharing-resource.d.ts +8 -0
- package/dist/next/resources/sharing/sharing-resource.js +5 -0
- package/dist/next/resources/sharing/sharing-settings-resource.d.ts +7 -0
- package/dist/next/resources/sharing/sharing-settings-resource.js +7 -0
- package/dist/next/resources/sharing/sharing-shares-resource.d.ts +7 -0
- package/dist/next/resources/sharing/sharing-shares-resource.js +7 -0
- package/dist/next/resources/signals/signals-gateway-resource.d.ts +15 -0
- package/dist/next/resources/signals/signals-gateway-resource.js +6 -0
- package/dist/next/resources/signals/signals-resource.d.ts +7 -0
- package/dist/next/resources/signals/signals-resource.js +5 -0
- package/dist/next/resources/signals/undeliverable-resource.d.ts +35 -0
- package/dist/next/resources/signals/undeliverable-resource.js +6 -0
- package/dist/next/resources/slim/slim-alarms-resource.d.ts +7 -0
- package/dist/next/resources/slim/slim-alarms-resource.js +7 -0
- package/dist/next/resources/slim/slim-change-history-resource.d.ts +6 -0
- package/dist/next/resources/slim/slim-change-history-resource.js +6 -0
- package/dist/next/resources/slim/slim-child-projects-resource.d.ts +21 -0
- package/dist/next/resources/slim/slim-child-projects-resource.js +8 -0
- package/dist/next/resources/slim/slim-devices-resource.d.ts +31 -0
- package/dist/next/resources/slim/slim-devices-resource.js +16 -0
- package/dist/next/resources/slim/slim-exports-resource.d.ts +6 -0
- package/dist/next/resources/slim/slim-exports-resource.js +6 -0
- package/dist/next/resources/slim/slim-locations-resource.d.ts +9 -0
- package/dist/next/resources/slim/slim-locations-resource.js +9 -0
- package/dist/next/resources/slim/slim-medical-notifications-resource.d.ts +6 -0
- package/dist/next/resources/slim/slim-medical-notifications-resource.js +6 -0
- package/dist/next/resources/slim/slim-notification-notes-resource.d.ts +10 -0
- package/dist/next/resources/slim/slim-notification-notes-resource.js +10 -0
- package/dist/next/resources/slim/slim-notifications-resource.d.ts +10 -0
- package/dist/next/resources/slim/slim-notifications-resource.js +6 -0
- package/dist/next/resources/slim/slim-organizations-resource.d.ts +9 -0
- package/dist/next/resources/slim/slim-organizations-resource.js +9 -0
- package/dist/next/resources/slim/slim-out-of-bed-resource.d.ts +12 -0
- package/dist/next/resources/slim/slim-out-of-bed-resource.js +7 -0
- package/dist/next/resources/slim/slim-patient-thresholds-resource.d.ts +6 -0
- package/dist/next/resources/slim/slim-patient-thresholds-resource.js +6 -0
- package/dist/next/resources/slim/slim-patients-resource.d.ts +11 -0
- package/dist/next/resources/slim/slim-patients-resource.js +10 -0
- package/dist/next/resources/slim/slim-policies-resource.d.ts +10 -0
- package/dist/next/resources/slim/slim-policies-resource.js +10 -0
- package/dist/next/resources/slim/slim-practitioners-resource.d.ts +6 -0
- package/dist/next/resources/slim/slim-practitioners-resource.js +6 -0
- package/dist/next/resources/slim/slim-projects-resource.d.ts +12 -0
- package/dist/next/resources/slim/slim-projects-resource.js +11 -0
- package/dist/next/resources/slim/slim-queries.d.ts +51 -0
- package/dist/next/resources/slim/slim-resource.d.ts +21 -0
- package/dist/next/resources/slim/slim-resource.js +6 -0
- package/dist/next/resources/slim/slim-sleep-resource.d.ts +6 -0
- package/dist/next/resources/slim/slim-sleep-resource.js +6 -0
- package/dist/next/resources/slim/slim-thresholds-resource.d.ts +5 -0
- package/dist/next/resources/slim/slim-thresholds-resource.js +5 -0
- package/dist/next/resources/slim/slim-trends-resource.d.ts +6 -0
- package/dist/next/resources/slim/slim-trends-resource.js +6 -0
- package/dist/next/resources/slim/slim-users-resource.d.ts +12 -0
- package/dist/next/resources/slim/slim-users-resource.js +6 -0
- package/dist/next/resources/slim/slim-zones-resource.d.ts +8 -0
- package/dist/next/resources/slim/slim-zones-resource.js +8 -0
- package/dist/next/resources/video-calls/video-call-access-resource.d.ts +13 -0
- package/dist/next/resources/video-calls/video-call-access-resource.js +8 -0
- package/dist/next/resources/video-calls/video-call-appointments-resource.d.ts +8 -0
- package/dist/next/resources/video-calls/video-call-appointments-resource.js +8 -0
- package/dist/next/resources/video-calls/video-call-emails-resource.d.ts +8 -0
- package/dist/next/resources/video-calls/video-call-emails-resource.js +8 -0
- package/dist/next/resources/video-calls/video-calls-resource.d.ts +14 -0
- package/dist/next/resources/video-calls/video-calls-resource.js +6 -0
- package/dist/next/resources/wearables/wearable-connections-resource.d.ts +8 -0
- package/dist/next/resources/wearables/wearable-connections-resource.js +8 -0
- package/dist/next/resources/wearables/wearable-providers-resource.d.ts +10 -0
- package/dist/next/resources/wearables/wearable-providers-resource.js +10 -0
- package/dist/next/resources/wearables/wearables-resource.d.ts +7 -0
- package/dist/next/resources/wearables/wearables-resource.js +5 -0
- package/dist/next/storage/ovok-storage.d.ts +16 -0
- package/dist/next/storage/ovok-storage.js +8 -0
- package/dist/types/ValidationError.d.ts +9 -0
- package/dist/utils/patch/getPatchOperationType.d.ts +3 -0
- package/dist/utils/patch/getPatchOperationType.js +3 -0
- package/package.json +51 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,965 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export * from "./types";
|
|
3
|
-
declare const Medplum: {
|
|
4
|
-
accepted(location: string): import("@medplum/fhirtypes").OperationOutcome;
|
|
5
|
-
accessPolicySupportsInteraction(accessPolicy: import("@medplum/fhirtypes").AccessPolicy, interaction: MedplumCore.AccessPolicyInteraction, resourceType: import("@medplum/fhirtypes").ResourceType): boolean;
|
|
6
|
-
add(object: any, operation: MedplumCore.AddOperation, options?: MedplumCore.PatchOptions): MedplumCore.MissingError | null;
|
|
7
|
-
addPreferredPharmacyToPatient(patient: import("@medplum/fhirtypes").Patient, orgRef: import("@medplum/fhirtypes").Reference<import("@medplum/fhirtypes").Organization>, isPrimary: boolean, preferenceTypeSystem?: string): import("@medplum/fhirtypes").Patient;
|
|
8
|
-
addProfileToResource<T extends import("@medplum/fhirtypes").Resource = import("@medplum/fhirtypes").Resource>(resource: T, profileUrl: string): T;
|
|
9
|
-
append<T>(array: T[] | undefined, value: T): T[];
|
|
10
|
-
apply(object: any, operation: MedplumCore.Operation, options?: MedplumCore.PatchOptions): MedplumCore.MissingError | MedplumCore.InvalidOperationError | MedplumCore.TestError | null;
|
|
11
|
-
applyDefaultValuesToElement(existingValue: object, elements: Record<string, MedplumCore.InternalSchemaElement>, key?: string): object;
|
|
12
|
-
applyDefaultValuesToResource(resource: import("@medplum/fhirtypes").Resource, schema: MedplumCore.InternalTypeSchema): import("@medplum/fhirtypes").Resource;
|
|
13
|
-
applyFixedOrPatternValue(inputValue: any, key: string, element: MedplumCore.InternalSchemaElement, elements: Record<string, MedplumCore.InternalSchemaElement>): any;
|
|
14
|
-
applyPatch(object: any, patch: MedplumCore.Operation[], options?: MedplumCore.PatchOptions): (null | MedplumCore.MissingError | MedplumCore.InvalidOperationError | MedplumCore.TestError)[];
|
|
15
|
-
arrayBufferToBase64(arrayBuffer: ArrayBufferLike | ArrayBufferView): string;
|
|
16
|
-
arrayBufferToHex(arrayBuffer: ArrayBufferLike | ArrayBufferView): string;
|
|
17
|
-
arrayify<T>(value: NonNullable<T> | NonNullable<T>[]): T[];
|
|
18
|
-
arrayify<T>(value: T | T[] | undefined): T[] | undefined;
|
|
19
|
-
assertContextVersionOptional(event: string): asserts event is MedplumCore.FhircastEventVersionOptional;
|
|
20
|
-
assertNever(value: never): never;
|
|
21
|
-
assertOk<T>(outcome: import("@medplum/fhirtypes").OperationOutcome, resource: T | undefined): asserts resource is T;
|
|
22
|
-
assertReleaseManifest(candidate: unknown): asserts candidate is MedplumCore.ReleaseManifest;
|
|
23
|
-
assertValidMedplumSemver(version: string): asserts version is MedplumCore.MedplumSemver;
|
|
24
|
-
badRequest(details: string, expression?: string | string[]): import("@medplum/fhirtypes").OperationOutcome;
|
|
25
|
-
booleanToTypedValue(value: boolean): [MedplumCore.TypedValue];
|
|
26
|
-
buildCdsRequest(medplum: MedplumCore.MedplumClient, user: MedplumCore.CdsUserResource, service: MedplumCore.CdsService, context: Record<string, unknown>): Promise<MedplumCore.CdsRequest>;
|
|
27
|
-
buildElementsContext({ parentContext, path, elements, profileUrl, debugMode, accessPolicyResource, }: {
|
|
28
|
-
parentContext: MedplumCore.ElementsContextType | undefined;
|
|
29
|
-
path: string;
|
|
30
|
-
elements: Record<string, MedplumCore.InternalSchemaElement>;
|
|
31
|
-
profileUrl?: string;
|
|
32
|
-
debugMode?: boolean;
|
|
33
|
-
accessPolicyResource?: import("@medplum/fhirtypes").AccessPolicyResource;
|
|
34
|
-
}): MedplumCore.ElementsContextType | undefined;
|
|
35
|
-
buildMedicationRequestResponseLostStatusReason(): import("@medplum/fhirtypes").CodeableConcept;
|
|
36
|
-
buildTypeName(components: string[]): string;
|
|
37
|
-
businessRule(key: string, message: string): import("@medplum/fhirtypes").OperationOutcome;
|
|
38
|
-
calculateAge(birthDateStr: string, endDateStr?: string): {
|
|
39
|
-
years: number;
|
|
40
|
-
months: number;
|
|
41
|
-
days: number;
|
|
42
|
-
};
|
|
43
|
-
calculateAgeString(birthDateStr: string, endDateStr?: string): string | undefined;
|
|
44
|
-
canReadResourceType(accessPolicy: import("@medplum/fhirtypes").AccessPolicy, resourceType: import("@medplum/fhirtypes").ResourceType): boolean;
|
|
45
|
-
canWriteResource(accessPolicy: import("@medplum/fhirtypes").AccessPolicy, resource: import("@medplum/fhirtypes").Resource): boolean;
|
|
46
|
-
canWriteResourceType(accessPolicy: import("@medplum/fhirtypes").AccessPolicy, resourceType: import("@medplum/fhirtypes").ResourceType): boolean;
|
|
47
|
-
capitalize(word: string): string;
|
|
48
|
-
checkForNull(value: unknown, path: string, issues: import("@medplum/fhirtypes").OperationOutcomeIssue[]): void;
|
|
49
|
-
checkIfValidMedplumVersion(appName: string, version: string): Promise<boolean>;
|
|
50
|
-
clearReleaseCache(): void;
|
|
51
|
-
clearScheduleParameter(schedule: import("@medplum/fhirtypes").Schedule, service: MedplumCore.WithId<import("@medplum/fhirtypes").HealthcareService>, url: string): import("@medplum/fhirtypes").Schedule;
|
|
52
|
-
codeableConceptMatchesToken(codeableConcept: import("@medplum/fhirtypes").CodeableConcept, token: string): boolean;
|
|
53
|
-
codingMatchesToken(coding: import("@medplum/fhirtypes").Coding, token: string): boolean;
|
|
54
|
-
compareVersions(a: MedplumCore.MedplumSemver, b: MedplumCore.MedplumSemver): number;
|
|
55
|
-
compressElement(element: MedplumCore.InternalSchemaElement): Partial<MedplumCore.InternalSchemaElement>;
|
|
56
|
-
concatUrls(baseUrl: string | URL, path: string): string;
|
|
57
|
-
conceptMapTranslate(map: import("@medplum/fhirtypes").ConceptMap, params: MedplumCore.ConceptMapTranslateParameters): MedplumCore.ConceptMapTranslateOutput;
|
|
58
|
-
conflict(details: string, code?: string): import("@medplum/fhirtypes").OperationOutcome;
|
|
59
|
-
contentTooLarge(text: string): import("@medplum/fhirtypes").OperationOutcome;
|
|
60
|
-
convertContainedResourcesToBundle(resource: import("@medplum/fhirtypes").Resource & {
|
|
61
|
-
contained?: import("@medplum/fhirtypes").Resource[];
|
|
62
|
-
}): import("@medplum/fhirtypes").Bundle;
|
|
63
|
-
convertToSearchableDates(typedValues: MedplumCore.TypedValue[]): import("@medplum/fhirtypes").Period[];
|
|
64
|
-
convertToSearchableNumbers(typedValues: MedplumCore.TypedValue[]): [number | undefined, number | undefined][];
|
|
65
|
-
convertToSearchableQuantities(typedValues: MedplumCore.TypedValue[]): import("@medplum/fhirtypes").Quantity[];
|
|
66
|
-
convertToSearchableReferences(typedValues: MedplumCore.TypedValue[]): string[];
|
|
67
|
-
convertToSearchableStrings(typedValues: MedplumCore.TypedValue[]): string[];
|
|
68
|
-
convertToSearchableTokens(typedValues: MedplumCore.TypedValue[], context?: MedplumCore.TokensContext): MedplumCore.SearchableToken[];
|
|
69
|
-
convertToSearchableUris(typedValues: MedplumCore.TypedValue[]): string[];
|
|
70
|
-
convertToTransactionBundle(bundle: import("@medplum/fhirtypes").Bundle): import("@medplum/fhirtypes").Bundle;
|
|
71
|
-
copy(object: any, operation: MedplumCore.CopyOperation, _options?: MedplumCore.PatchOptions): MedplumCore.MissingError | null;
|
|
72
|
-
countBy<T, K extends keyof any>(items: Iterable<T>, keyFn: (value: T) => K): Partial<Record<K, number>>;
|
|
73
|
-
countWhere<T>(items: Iterable<T>, fn: (value: T) => boolean): number;
|
|
74
|
-
crawlTypedValue(typedValue: MedplumCore.TypedValue, visitor: MedplumCore.CrawlerVisitor, options?: MedplumCore.CrawlerOptions): void;
|
|
75
|
-
crawlTypedValueAsync(typedValue: MedplumCore.TypedValue, visitor: MedplumCore.AsyncCrawlerVisitor, options?: MedplumCore.CrawlerOptions): Promise<void>;
|
|
76
|
-
createConstraintIssue(expression: string, constraint: MedplumCore.Constraint): import("@medplum/fhirtypes").OperationOutcomeIssue;
|
|
77
|
-
createFhircastMessagePayload<EventName extends MedplumCore.FhircastEventVersionOptional | MedplumCore.FhircastEventVersionRequired>(topic: string, event: EventName, context: MedplumCore.FhircastEventContext<EventName> | MedplumCore.FhircastEventContext<EventName>[], versionId?: string): MedplumCore.FhircastMessagePayload<EventName>;
|
|
78
|
-
createOperationOutcomeIssue(severity: MedplumCore.IssueSeverity, code: MedplumCore.IssueType, message: string, path: string, data?: Record<string, any>): import("@medplum/fhirtypes").OperationOutcomeIssue;
|
|
79
|
-
createPatch(input: any, output: any, diff?: MedplumCore.VoidableDiff): MedplumCore.Operation[];
|
|
80
|
-
createPreferredPharmacyExtension(orgRef: import("@medplum/fhirtypes").Reference<import("@medplum/fhirtypes").Organization>, isPrimary: boolean, preferenceTypeSystem?: string): import("@medplum/fhirtypes").Extension;
|
|
81
|
-
createProcessingIssue(expression: string, message: string, err: Error, data?: Record<string, any>): import("@medplum/fhirtypes").OperationOutcomeIssue;
|
|
82
|
-
createReference<T extends import("@medplum/fhirtypes").Resource>(resource: T): import("@medplum/fhirtypes").Reference<T> & {
|
|
83
|
-
reference: string;
|
|
84
|
-
};
|
|
85
|
-
createStructureIssue(expression: string, details: string): import("@medplum/fhirtypes").OperationOutcomeIssue;
|
|
86
|
-
createTests(input: any, patch: MedplumCore.Operation[]): MedplumCore.TestOperation[];
|
|
87
|
-
decodeBase64(data: string): string;
|
|
88
|
-
decodeBase64Url(data: string): string;
|
|
89
|
-
deepClone<T>(input: T): T;
|
|
90
|
-
deepEquals(object1: unknown, object2: unknown, path?: string): boolean;
|
|
91
|
-
deepIncludes(value: any, pattern: any): boolean;
|
|
92
|
-
deriveIdentifierSearchParameter(inputParam: import("@medplum/fhirtypes").SearchParameter): import("@medplum/fhirtypes").SearchParameter;
|
|
93
|
-
diffAny(input: any, output: any, ptr: MedplumCore.Pointer, diff?: MedplumCore.Diff): MedplumCore.Operation[];
|
|
94
|
-
diffArrays<T>(input: T[], output: T[], ptr: MedplumCore.Pointer, diff?: MedplumCore.Diff): MedplumCore.Operation[];
|
|
95
|
-
diffObjects(input: any, output: any, ptr: MedplumCore.Pointer, diff?: MedplumCore.Diff): MedplumCore.Operation[];
|
|
96
|
-
encodeBase64(data: string): string;
|
|
97
|
-
encodeBase64Url(data: string): string;
|
|
98
|
-
encodeSmartHealthLink(payload: MedplumCore.SmartHealthLinkPayload): string;
|
|
99
|
-
encryptSHA256(str: string): Promise<ArrayBuffer>;
|
|
100
|
-
ensureNoLeadingSlash(url: string): string;
|
|
101
|
-
ensureTrailingSlash(url: string): string;
|
|
102
|
-
escapeHtml(unsafe: string): string;
|
|
103
|
-
escapeToken(token: string): string;
|
|
104
|
-
evalFhirPath(expression: string | MedplumCore.FhirPathAtom, input: unknown, variables?: Record<string, MedplumCore.TypedValue>, cache?: MedplumCore.LRUCache<MedplumCore.FhirPathAtom> | undefined): unknown[];
|
|
105
|
-
evalFhirPathTyped(expression: string | MedplumCore.FhirPathAtom, input: MedplumCore.TypedValue[], variables?: Record<string, MedplumCore.TypedValue>, cache?: MedplumCore.LRUCache<MedplumCore.FhirPathAtom> | undefined): (MedplumCore.TypedValue | MedplumCore.TypedValueWithPath)[];
|
|
106
|
-
evalSqlOnFhir(view: import("@medplum/fhirtypes").ViewDefinition, resources: import("@medplum/fhirtypes").Resource[]): MedplumCore.OutputRow[];
|
|
107
|
-
expandSampledData(sample: import("@medplum/fhirtypes").SampledData): number[];
|
|
108
|
-
expandSampledObservation(obs: import("@medplum/fhirtypes").Observation): import("@medplum/fhirtypes").Observation[];
|
|
109
|
-
extractAccountReferences(meta: import("@medplum/fhirtypes").Meta | undefined): import("@medplum/fhirtypes").Reference[] | undefined;
|
|
110
|
-
extractServiceTypeReferences(serviceType: import("@medplum/fhirtypes").CodeableConcept[] | undefined): import("@medplum/fhirtypes").Reference<import("@medplum/fhirtypes").HealthcareService>[];
|
|
111
|
-
fetchAllVersionStrings(appName: string, params?: Record<string, string>): Promise<MedplumCore.MedplumSemver[]>;
|
|
112
|
-
fetchLatestVersionString(appName: string): Promise<MedplumCore.MedplumSemver>;
|
|
113
|
-
fetchVersionManifest(appName: string, version?: string, params?: Record<string, string>): Promise<MedplumCore.ReleaseManifest>;
|
|
114
|
-
fhirPathArrayEquals(x: MedplumCore.TypedValue[], y: MedplumCore.TypedValue[]): MedplumCore.TypedValue[];
|
|
115
|
-
fhirPathArrayEquivalent(x: MedplumCore.TypedValue[], y: MedplumCore.TypedValue[]): MedplumCore.TypedValue[];
|
|
116
|
-
fhirPathArrayNotEquals(x: MedplumCore.TypedValue[], y: MedplumCore.TypedValue[]): MedplumCore.TypedValue[];
|
|
117
|
-
fhirPathEquals(x: MedplumCore.TypedValue, y: MedplumCore.TypedValue): MedplumCore.TypedValue[];
|
|
118
|
-
fhirPathEquivalent(x: MedplumCore.TypedValue, y: MedplumCore.TypedValue): MedplumCore.TypedValue[];
|
|
119
|
-
fhirPathIs(typedValue: MedplumCore.TypedValue, desiredType: string): boolean;
|
|
120
|
-
fhirPathNot(input: MedplumCore.TypedValue[]): MedplumCore.TypedValue[];
|
|
121
|
-
fhirpathPatchTypedValue(original: MedplumCore.TypedValue, patch: MedplumCore.FhirPathPatch[]): void;
|
|
122
|
-
findCodeBySystem(categories: import("@medplum/fhirtypes").CodeableConcept[] | undefined, system: string): string | undefined;
|
|
123
|
-
findObservationInterval(definition: import("@medplum/fhirtypes").ObservationDefinition, patient: import("@medplum/fhirtypes").Patient, value: number, category?: "reference" | "critical" | "absolute"): import("@medplum/fhirtypes").ObservationDefinitionQualifiedInterval | undefined;
|
|
124
|
-
findObservationReferenceRange(definition: import("@medplum/fhirtypes").ObservationDefinition, patient: import("@medplum/fhirtypes").Patient, names?: string[]): import("@medplum/fhirtypes").ObservationDefinitionQualifiedInterval | undefined;
|
|
125
|
-
findObservationReferenceRanges(definition: import("@medplum/fhirtypes").ObservationDefinition, patient: import("@medplum/fhirtypes").Patient, names?: string[]): import("@medplum/fhirtypes").ObservationDefinitionQualifiedInterval[];
|
|
126
|
-
findResourceByCode(resources: MedplumCore.ResourceWithCode[], code: import("@medplum/fhirtypes").CodeableConcept | string, system: string): MedplumCore.ResourceWithCode | undefined;
|
|
127
|
-
findResourceInBundle<K extends import("@medplum/fhirtypes").ResourceType>(bundle: import("@medplum/fhirtypes").Bundle, resourceType: K, id: string): import("@medplum/fhirtypes").ExtractResource<K>;
|
|
128
|
-
flatMapFilter<T, U>(arr: T[] | undefined, fn: (value: T, idx: number) => U | U[] | undefined): U[];
|
|
129
|
-
formatAddress(address: import("@medplum/fhirtypes").Address | undefined, options?: MedplumCore.AddressFormatOptions): string;
|
|
130
|
-
formatCodeableConcept(codeableConcept: import("@medplum/fhirtypes").CodeableConcept | undefined): string;
|
|
131
|
-
formatCoding(coding: import("@medplum/fhirtypes").Coding | undefined, includeCode?: boolean): string;
|
|
132
|
-
formatDate(date: string | undefined, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
133
|
-
formatDateTime(dateTime: string | undefined, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
134
|
-
formatFamilyName(name: import("@medplum/fhirtypes").HumanName): string;
|
|
135
|
-
formatGivenName(name: import("@medplum/fhirtypes").HumanName): string;
|
|
136
|
-
formatHl7DateTime(isoDate: Date | string): string;
|
|
137
|
-
formatHumanName(name: import("@medplum/fhirtypes").HumanName | undefined, options?: MedplumCore.HumanNameFormatOptions): string;
|
|
138
|
-
formatMoney(money: import("@medplum/fhirtypes").Money | undefined): string;
|
|
139
|
-
formatObservationValue(obs: import("@medplum/fhirtypes").Observation | import("@medplum/fhirtypes").ObservationComponent | undefined): string;
|
|
140
|
-
formatPeriod(period: import("@medplum/fhirtypes").Period | undefined, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
141
|
-
formatQuantity(quantity: import("@medplum/fhirtypes").Quantity | undefined, precision?: number): string;
|
|
142
|
-
formatRange(range: import("@medplum/fhirtypes").Range | undefined, precision?: number, exclusive?: boolean): string;
|
|
143
|
-
formatReferenceString(value: import("@medplum/fhirtypes").Reference | undefined): string;
|
|
144
|
-
formatSearchQuery(definition: MedplumCore.SearchRequest): string;
|
|
145
|
-
formatTime(time: string | undefined, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
146
|
-
formatTiming(timing: import("@medplum/fhirtypes").Timing | undefined): string;
|
|
147
|
-
formatWallTime(time: string | undefined, locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
148
|
-
generateId(): string;
|
|
149
|
-
getAllDataTypes(): MedplumCore.DataTypesMap;
|
|
150
|
-
getAllQuestionnaireAnswers(response: import("@medplum/fhirtypes").QuestionnaireResponse): Record<string, import("@medplum/fhirtypes").QuestionnaireResponseItemAnswer[]>;
|
|
151
|
-
getBuffer(): typeof Buffer | undefined;
|
|
152
|
-
getCodeBySystem(concept: import("@medplum/fhirtypes").CodeableConcept, system: string): string | undefined;
|
|
153
|
-
getDataType(type: string, profileUrl?: string): MedplumCore.InternalTypeSchema;
|
|
154
|
-
getDateProperty(date: string | undefined): Date | undefined;
|
|
155
|
-
getDefaultValuesForNewSliceEntry(key: string, slice: MedplumCore.SliceDefinition, slicing: MedplumCore.SlicingRules, schema: MedplumCore.InternalTypeSchema): import("@medplum/fhirtypes").Resource;
|
|
156
|
-
getDisplayString(resource: import("@medplum/fhirtypes").Resource): string;
|
|
157
|
-
getElementDefinition(typeName: string, propertyName: string, profileUrl?: string): MedplumCore.InternalSchemaElement | undefined;
|
|
158
|
-
getElementDefinitionForPath(typeName: string, path: string, profileUrl?: string): MedplumCore.InternalSchemaElement | undefined;
|
|
159
|
-
getElementDefinitionFromElements(elements: MedplumCore.InternalTypeSchema["elements"], propertyName: string): MedplumCore.InternalSchemaElement | undefined;
|
|
160
|
-
getElementDefinitionTypeName(elementDefinition: import("@medplum/fhirtypes").ElementDefinition): string;
|
|
161
|
-
getExpressionForResourceType(resourceType: string, expression: string): string | undefined;
|
|
162
|
-
getExpressionsForResourceType(resourceType: string, expression: string): MedplumCore.Atom[];
|
|
163
|
-
getExtension(resource: any, ...urls: string[]): import("@medplum/fhirtypes").Extension | undefined;
|
|
164
|
-
getExtensions(extensible: MedplumCore.Extensible | undefined, urlOrUrls: string | string[]): import("@medplum/fhirtypes").Extension[];
|
|
165
|
-
getExtensionValue(resource: any, ...urls: string[]): import("@medplum/fhirtypes").ExtensionValue | undefined;
|
|
166
|
-
getIdentifier(resource: import("@medplum/fhirtypes").Resource, system: string): string | undefined;
|
|
167
|
-
getIdentifierByType(resource: import("@medplum/fhirtypes").Resource, type: import("@medplum/fhirtypes").Coding): string | undefined;
|
|
168
|
-
getImageSrc(resource: import("@medplum/fhirtypes").Resource): string | undefined;
|
|
169
|
-
getInnerDerivedIdentifierExpression(expression: string): string | undefined;
|
|
170
|
-
getMedicationOrderIframeUrl(medicationRequest: import("@medplum/fhirtypes").MedicationRequest, ext: MedplumCore.MedicationOrderExtensions): string | undefined;
|
|
171
|
-
getNestedProperty(value: MedplumCore.TypedValueWithPath | undefined, key: string, options: {
|
|
172
|
-
profileUrl?: string;
|
|
173
|
-
withPath: true;
|
|
174
|
-
}): (MedplumCore.TypedValueWithPath | MedplumCore.TypedValueWithPath[])[];
|
|
175
|
-
getNestedProperty(value: MedplumCore.TypedValue | undefined, key: string, options?: {
|
|
176
|
-
profileUrl?: string;
|
|
177
|
-
withPath?: false;
|
|
178
|
-
}): (MedplumCore.TypedValue | MedplumCore.TypedValue[] | undefined)[];
|
|
179
|
-
getOutcomeRedirectUrl(outcome: import("@medplum/fhirtypes").OperationOutcome | undefined): string | undefined;
|
|
180
|
-
getParsedDerivedIdentifierExpression(originalExpression: string, atom: MedplumCore.FhirPathAtom): MedplumCore.FhirPathAtom;
|
|
181
|
-
getParsedExpressionForResourceType(resourceType: string, expression: string): MedplumCore.FhirPathAtom;
|
|
182
|
-
getPathDifference(parentPath: string, path: string): string | undefined;
|
|
183
|
-
getPathDisplayName(path: string): string;
|
|
184
|
-
getPendingMedicationOrderId(medicationRequest: import("@medplum/fhirtypes").MedicationRequest, ext: MedplumCore.MedicationOrderExtensions): string | undefined;
|
|
185
|
-
getPendingMedicationOrderStatus(medicationRequest: import("@medplum/fhirtypes").MedicationRequest, ext: MedplumCore.MedicationOrderExtensions): string | undefined;
|
|
186
|
-
getPreferredPharmaciesFromPatient(patient: import("@medplum/fhirtypes").Patient, preferenceTypeSystem?: string): MedplumCore.PreferredPharmacy[];
|
|
187
|
-
getPropertyDisplayName(propertyName: string): string;
|
|
188
|
-
getQueryString(query: MedplumCore.QueryTypes): string;
|
|
189
|
-
getQuestionnaireAnswers(response: import("@medplum/fhirtypes").QuestionnaireResponse): Record<string, import("@medplum/fhirtypes").QuestionnaireResponseItemAnswer>;
|
|
190
|
-
getRandomString(): string;
|
|
191
|
-
getRateLimitReset(outcome: import("@medplum/fhirtypes").OperationOutcome): number | undefined;
|
|
192
|
-
getReferenceString(input: (import("@medplum/fhirtypes").Reference & {
|
|
193
|
-
reference: string;
|
|
194
|
-
}) | MedplumCore.WithId<import("@medplum/fhirtypes").Resource>): string;
|
|
195
|
-
getReferenceString(input: import("@medplum/fhirtypes").Reference | import("@medplum/fhirtypes").Resource): string | undefined;
|
|
196
|
-
getResourceTypes(): import("@medplum/fhirtypes").ResourceType[];
|
|
197
|
-
getScheduleParameters(schedule: import("@medplum/fhirtypes").Schedule, service: MedplumCore.WithId<import("@medplum/fhirtypes").HealthcareService>, url: string): import("@medplum/fhirtypes").Extension[];
|
|
198
|
-
getSchedulingTimezone(service: MedplumCore.WithId<import("@medplum/fhirtypes").HealthcareService>, schedule?: import("@medplum/fhirtypes").Schedule, actor?: import("@medplum/fhirtypes").Resource): string | undefined;
|
|
199
|
-
getSearchParameter(resourceType: string, code: string): import("@medplum/fhirtypes").SearchParameter | undefined;
|
|
200
|
-
getSearchParameterDetails(resourceType: string, searchParam: import("@medplum/fhirtypes").SearchParameter): MedplumCore.SearchParameterDetails;
|
|
201
|
-
getSearchParameters(resourceType: string): Record<string, import("@medplum/fhirtypes").SearchParameter> | undefined;
|
|
202
|
-
getSearchResourceTypes(searchRequest: MedplumCore.SearchRequest): import("@medplum/fhirtypes").ResourceType[];
|
|
203
|
-
getSmartHealthLinkId(manifestUrl: string): string | undefined;
|
|
204
|
-
getStatus(outcome: import("@medplum/fhirtypes").OperationOutcome): number;
|
|
205
|
-
getTypedPropertyValue(input: MedplumCore.TypedValue, path: string, options?: MedplumCore.GetTypedPropertyValueOptions): MedplumCore.TypedValue[] | MedplumCore.TypedValue | undefined;
|
|
206
|
-
getTypedPropertyValueWithoutSchema(typedValue: MedplumCore.TypedValue, path: string): MedplumCore.TypedValue[] | MedplumCore.TypedValue | undefined;
|
|
207
|
-
getTypedPropertyValueWithPath(input: MedplumCore.TypedValue | MedplumCore.TypedValueWithPath, path: string, options?: MedplumCore.GetTypedPropertyValueOptions): MedplumCore.TypedValueWithPath[] | MedplumCore.TypedValueWithPath;
|
|
208
|
-
getTypedPropertyValueWithSchema(typedValue: MedplumCore.TypedValue, path: string, element: MedplumCore.InternalSchemaElement): MedplumCore.TypedValue[] | MedplumCore.TypedValue | undefined;
|
|
209
|
-
getValueSliceName(value: any, slices: MedplumCore.SliceDefinitionWithTypes[], discriminators: MedplumCore.SliceDiscriminator[], profileUrl: string | undefined): string | undefined;
|
|
210
|
-
getWebSocketUrl(baseUrl: URL | string, path: string): string;
|
|
211
|
-
getWindow(): Window | undefined;
|
|
212
|
-
hasSchedulingParameters(resource: import("@medplum/fhirtypes").Schedule | import("@medplum/fhirtypes").HealthcareService): boolean;
|
|
213
|
-
indexConceptMapCodings(params: MedplumCore.ConceptMapTranslateParameters): Record<string, string[]>;
|
|
214
|
-
indexDefaultSearchParameters(bundle: import("@medplum/fhirtypes").StructureDefinition[] | import("@medplum/fhirtypes").Bundle): void;
|
|
215
|
-
indexSearchParameter(searchParam: import("@medplum/fhirtypes").SearchParameter): void;
|
|
216
|
-
indexSearchParameterBundle(bundle: import("@medplum/fhirtypes").Bundle<import("@medplum/fhirtypes").SearchParameter>): void;
|
|
217
|
-
indexStructureDefinitionBundle(bundle: import("@medplum/fhirtypes").StructureDefinition[] | import("@medplum/fhirtypes").Bundle): void;
|
|
218
|
-
inflateBaseSchema(base: MedplumCore.BaseSchema): MedplumCore.DataTypesMap;
|
|
219
|
-
inflateElement(path: string, partial: Partial<MedplumCore.InternalSchemaElement>): MedplumCore.InternalSchemaElement;
|
|
220
|
-
initFhirPathParserBuilder(): MedplumCore.ParserBuilder;
|
|
221
|
-
intersection(objects: ArrayLike<{
|
|
222
|
-
[index: string]: any;
|
|
223
|
-
}>): string[];
|
|
224
|
-
invalidSearchOperator(operator: MedplumCore.Operator, searchParameterCodeOrId: string): import("@medplum/fhirtypes").OperationOutcome;
|
|
225
|
-
isAccepted(outcome: import("@medplum/fhirtypes").OperationOutcome): boolean;
|
|
226
|
-
isAckCode(value: string | undefined): value is MedplumCore.AckCode;
|
|
227
|
-
isAddPharmacyResponse(value: unknown): value is MedplumCore.AddPharmacyResponse;
|
|
228
|
-
isBrowserEnvironment(): boolean;
|
|
229
|
-
isCodeableConcept(value: unknown): value is import("@medplum/fhirtypes").CodeableConcept & {
|
|
230
|
-
coding: import("@medplum/fhirtypes").Coding[];
|
|
231
|
-
};
|
|
232
|
-
isCoding(value: unknown): value is import("@medplum/fhirtypes").Coding & {
|
|
233
|
-
code: string;
|
|
234
|
-
};
|
|
235
|
-
isCompletedSubscriptionRequest(subscriptionRequest: MedplumCore.SubscriptionRequest | MedplumCore.PendingSubscriptionRequest): subscriptionRequest is MedplumCore.SubscriptionRequest;
|
|
236
|
-
isComplexTypeCode(code: string): boolean;
|
|
237
|
-
isConflict(outcome: import("@medplum/fhirtypes").OperationOutcome): boolean;
|
|
238
|
-
isContextVersionRequired(event: string): event is MedplumCore.FhircastEventVersionRequired;
|
|
239
|
-
isCreated(outcome: import("@medplum/fhirtypes").OperationOutcome): boolean;
|
|
240
|
-
isDataTypeLoaded(type: string): boolean;
|
|
241
|
-
isDateString(input: unknown): input is string;
|
|
242
|
-
isDateTimeString(input: unknown): input is string;
|
|
243
|
-
isDayOfWeek(value: string | undefined): value is MedplumCore.DayOfWeek;
|
|
244
|
-
isDefined<T>(value: T | undefined | null): value is T;
|
|
245
|
-
isDestructive({ op }: MedplumCore.Operation): boolean;
|
|
246
|
-
isEmpty(v: unknown): boolean;
|
|
247
|
-
isError(value: unknown): value is Error;
|
|
248
|
-
isFhircastResourceType(resourceType: MedplumCore.FhircastResourceType): boolean;
|
|
249
|
-
isFhirCriteriaMet(subscription: import("@medplum/fhirtypes").Subscription, currentResource: import("@medplum/fhirtypes").Resource, getPreviousResource: (currentResource: import("@medplum/fhirtypes").Resource) => Promise<import("@medplum/fhirtypes").Resource | undefined>): Promise<boolean>;
|
|
250
|
-
isGone(outcome: import("@medplum/fhirtypes").OperationOutcome): boolean;
|
|
251
|
-
isJwt(token: string): boolean;
|
|
252
|
-
isLowerCase(c: string): boolean;
|
|
253
|
-
isMedicationArray(value: unknown): value is import("@medplum/fhirtypes").Medication[];
|
|
254
|
-
isMedicationCartManageResponse(value: unknown): value is MedplumCore.MedicationCartManageResponse;
|
|
255
|
-
isMedicationCheckoutResponse(value: unknown): value is MedplumCore.MedicationCheckoutResponse;
|
|
256
|
-
isMedicationOrderResponse(value: unknown): value is MedplumCore.MedicationOrderResponse;
|
|
257
|
-
isMedicationOrderSetResponse(value: unknown): value is MedplumCore.MedicationOrderSetResponse;
|
|
258
|
-
isMedplumAccessToken(accessToken: string): boolean;
|
|
259
|
-
isNodeEnvironment(): boolean;
|
|
260
|
-
isNotFound(outcome: import("@medplum/fhirtypes").OperationOutcome): boolean;
|
|
261
|
-
isObject(obj: unknown): obj is Record<string, unknown>;
|
|
262
|
-
isOk(outcome: import("@medplum/fhirtypes").OperationOutcome): boolean;
|
|
263
|
-
isOperationOutcome(value: unknown): value is import("@medplum/fhirtypes").OperationOutcome;
|
|
264
|
-
isOrganizationArray(value: unknown): value is import("@medplum/fhirtypes").Organization[];
|
|
265
|
-
isPeriod(input: unknown): input is import("@medplum/fhirtypes").Period;
|
|
266
|
-
isPopulated<T extends {
|
|
267
|
-
length: number;
|
|
268
|
-
} | Record<string, any>>(arg: MedplumCore.CanBePopulated | undefined | null): arg is T;
|
|
269
|
-
isPrimitiveType(code: string): boolean;
|
|
270
|
-
isProfileLoaded(profileUrl: string): boolean;
|
|
271
|
-
isProfileResource(resource: import("@medplum/fhirtypes").Resource): resource is MedplumCore.ProfileResource;
|
|
272
|
-
isQuantity(input: unknown): input is import("@medplum/fhirtypes").Quantity;
|
|
273
|
-
isQuantityEquivalent(x: import("@medplum/fhirtypes").Quantity, y: import("@medplum/fhirtypes").Quantity): boolean;
|
|
274
|
-
isRedirect(outcome: import("@medplum/fhirtypes").OperationOutcome): boolean;
|
|
275
|
-
isReference<T extends import("@medplum/fhirtypes").Resource = import("@medplum/fhirtypes").Resource>(value: unknown, resourceType?: T["resourceType"]): value is import("@medplum/fhirtypes").Reference<T> & {
|
|
276
|
-
reference: string;
|
|
277
|
-
};
|
|
278
|
-
isResource<T extends import("@medplum/fhirtypes").Resource>(value: unknown, resourceType?: T["resourceType"]): value is T;
|
|
279
|
-
isResourceType(resourceType: string): resourceType is import("@medplum/fhirtypes").ResourceType;
|
|
280
|
-
isResourceTypeSchema(typeSchema: MedplumCore.InternalTypeSchema): boolean;
|
|
281
|
-
isResourceWithId<T extends import("@medplum/fhirtypes").Resource>(resource: unknown, resourceType?: T["resourceType"]): resource is MedplumCore.WithId<T>;
|
|
282
|
-
isSliceDefinitionWithTypes(slice: MedplumCore.SliceDefinition): slice is MedplumCore.SliceDefinitionWithTypes;
|
|
283
|
-
isString(value: unknown): value is string;
|
|
284
|
-
isStringArray(arr: any[]): arr is string[];
|
|
285
|
-
isTextObject(value: unknown): value is {
|
|
286
|
-
text: string;
|
|
287
|
-
};
|
|
288
|
-
isTypedValue(value: unknown): value is MedplumCore.TypedValue;
|
|
289
|
-
isUnauthenticated(outcome: import("@medplum/fhirtypes").OperationOutcome): boolean;
|
|
290
|
-
isUUID(input: string): input is string;
|
|
291
|
-
isValidDate(date: Date): boolean;
|
|
292
|
-
isValidHostname(input: string): boolean;
|
|
293
|
-
isValidMedplumSemver(version: string): version is MedplumCore.MedplumSemver;
|
|
294
|
-
lazy<T>(fn: () => T): () => T;
|
|
295
|
-
loadDataType(sd: import("@medplum/fhirtypes").StructureDefinition): void;
|
|
296
|
-
mapByIdentifier<T extends import("@medplum/fhirtypes").Resource = import("@medplum/fhirtypes").Resource>(resourceBundle: import("@medplum/fhirtypes").Bundle<T>, identifierSystem: string): Map<string, T>;
|
|
297
|
-
matchDiscriminant(value: MedplumCore.TypedValue | MedplumCore.TypedValue[] | undefined, discriminator: MedplumCore.SliceDiscriminator, slice: MedplumCore.SliceDefinition, elements?: Record<string, MedplumCore.InternalSchemaElement>): boolean;
|
|
298
|
-
matchesRange(value: number, range: import("@medplum/fhirtypes").Range, precision?: number): boolean;
|
|
299
|
-
matchesSearchRequest(resource: import("@medplum/fhirtypes").Resource, searchRequest: MedplumCore.SearchRequest): boolean;
|
|
300
|
-
medicationCartClearRequestToParameters(req: MedplumCore.MedicationCartClearRequest): import("@medplum/fhirtypes").Parameters;
|
|
301
|
-
medicationCartRemoveRequestToParameters(req: MedplumCore.MedicationCartRemoveRequest): import("@medplum/fhirtypes").Parameters;
|
|
302
|
-
medicationCheckoutRequestToParameters(req: MedplumCore.MedicationCheckoutRequest): import("@medplum/fhirtypes").Parameters;
|
|
303
|
-
medicationOrderRequestToParameters(req: MedplumCore.MedicationOrderRequest): import("@medplum/fhirtypes").Parameters;
|
|
304
|
-
medicationOrderSetRequestToParameters(req: MedplumCore.MedicationOrderSetRequest): import("@medplum/fhirtypes").Parameters;
|
|
305
|
-
medicationSearchParamsToParameters(params: MedplumCore.MedicationSearchParams): import("@medplum/fhirtypes").Parameters;
|
|
306
|
-
move(object: any, operation: MedplumCore.MoveOperation, _options?: MedplumCore.PatchOptions): MedplumCore.MissingError | null;
|
|
307
|
-
normalizeArrayBufferView(typedArrayOrBuffer: ArrayBufferLike | ArrayBufferView): ArrayBufferLike;
|
|
308
|
-
normalizeCreateBinaryOptions(arg1: MedplumCore.BinarySource | MedplumCore.CreateBinaryOptions, arg2: string | undefined | MedplumCore.MedplumRequestOptions, arg3?: string, arg4?: (e: ProgressEvent) => void): MedplumCore.CreateBinaryOptions;
|
|
309
|
-
normalizeCreatePdfOptions(arg1: TDocumentDefinitions | MedplumCore.CreatePdfOptions, arg2: string | undefined | MedplumCore.MedplumRequestOptions, arg3: Record<string, CustomTableLayout> | undefined, arg4: TFontDictionary | undefined): MedplumCore.CreatePdfOptions;
|
|
310
|
-
normalizeErrorEvent(event: Event | MedplumCore.ErrorEvent, target: unknown): MedplumCore.ErrorEvent;
|
|
311
|
-
normalizeErrorString(error: unknown): string;
|
|
312
|
-
normalizeOperationOutcome(error: unknown): import("@medplum/fhirtypes").OperationOutcome;
|
|
313
|
-
operationOutcomeIssueToString(issue: import("@medplum/fhirtypes").OperationOutcomeIssue): string;
|
|
314
|
-
operationOutcomeToString(outcome: import("@medplum/fhirtypes").OperationOutcome): string;
|
|
315
|
-
parametersToMedicationCartManageResponse(params: import("@medplum/fhirtypes").Parameters): MedplumCore.MedicationCartManageResponse;
|
|
316
|
-
parametersToMedicationCheckoutResponse(params: import("@medplum/fhirtypes").Parameters): MedplumCore.MedicationCheckoutResponse;
|
|
317
|
-
parametersToMedicationOrderResponse(params: import("@medplum/fhirtypes").Parameters): MedplumCore.MedicationOrderResponse;
|
|
318
|
-
parametersToMedicationOrderSetResponse(params: import("@medplum/fhirtypes").Parameters): MedplumCore.MedicationOrderSetResponse;
|
|
319
|
-
parametersToOrderSetSyncResponse(params: import("@medplum/fhirtypes").Parameters): MedplumCore.OrderSetSyncResponse;
|
|
320
|
-
parseFhirPath(input: string): MedplumCore.FhirPathAtom;
|
|
321
|
-
parseFhirPathPatchParameters(parameters: import("@medplum/fhirtypes").Parameters): MedplumCore.FhirPathPatch[];
|
|
322
|
-
parseFilterParameter(input: string): MedplumCore.FhirFilterExpression;
|
|
323
|
-
parseHl7DateTime(hl7DateTime: string | undefined, options?: MedplumCore.Hl7DateParseOptions): string | undefined;
|
|
324
|
-
parseJWTPayload(token: string): MedplumCore.JWTPayload;
|
|
325
|
-
parseLogLevel(level: string): MedplumCore.LogLevel;
|
|
326
|
-
parseMappingLanguage(input: string): import("@medplum/fhirtypes").StructureMap;
|
|
327
|
-
parseParameter(searchParam: import("@medplum/fhirtypes").SearchParameter, operator: MedplumCore.Operator, modifier: string, value: string): MedplumCore.Filter;
|
|
328
|
-
parseReference<T extends import("@medplum/fhirtypes").Resource>(reference: import("@medplum/fhirtypes").Reference<T> | undefined): [T["resourceType"], string];
|
|
329
|
-
parseSearchRequest<T extends import("@medplum/fhirtypes").Resource = import("@medplum/fhirtypes").Resource>(url: URL | string, query?: Record<string, string[] | string | undefined>): MedplumCore.SearchRequest<T>;
|
|
330
|
-
parseSmartHealthLink(input: string): MedplumCore.SmartHealthLinkPayload;
|
|
331
|
-
parseStructureDefinition(sd: import("@medplum/fhirtypes").StructureDefinition): MedplumCore.InternalTypeSchema;
|
|
332
|
-
parseXFhirQuery(query: string, variables: Record<string, MedplumCore.TypedValue>, context?: MedplumCore.TypedValue[]): MedplumCore.SearchRequest;
|
|
333
|
-
pathToJSONPointer(path: string): string;
|
|
334
|
-
preciseEquals(a: number, b: number, precision?: number): boolean;
|
|
335
|
-
preciseGreaterThan(a: number, b: number, precision?: number): boolean;
|
|
336
|
-
preciseGreaterThanOrEquals(a: number, b: number, precision?: number): boolean;
|
|
337
|
-
preciseLessThan(a: number, b: number, precision?: number): boolean;
|
|
338
|
-
preciseLessThanOrEquals(a: number, b: number, precision?: number): boolean;
|
|
339
|
-
preciseRound(a: number, precision: number): number;
|
|
340
|
-
redirect(url: URL): import("@medplum/fhirtypes").OperationOutcome;
|
|
341
|
-
redirectOk(url: URL): import("@medplum/fhirtypes").OperationOutcome;
|
|
342
|
-
remove(object: any, operation: MedplumCore.RemoveOperation, _options?: MedplumCore.PatchOptions): MedplumCore.MissingError | null;
|
|
343
|
-
removeDuplicates(arr: MedplumCore.TypedValue[]): MedplumCore.TypedValue[];
|
|
344
|
-
removePreferredPharmacyFromPatient(patient: import("@medplum/fhirtypes").Patient, orgRef: import("@medplum/fhirtypes").Reference<import("@medplum/fhirtypes").Organization>): import("@medplum/fhirtypes").Patient;
|
|
345
|
-
removeProfileFromResource<T extends import("@medplum/fhirtypes").Resource = import("@medplum/fhirtypes").Resource>(resource: T, profileUrl: string): T;
|
|
346
|
-
reorderBundle(bundle: import("@medplum/fhirtypes").Bundle): import("@medplum/fhirtypes").Bundle;
|
|
347
|
-
replace(object: any, operation: MedplumCore.ReplaceOperation, _options?: MedplumCore.PatchOptions): MedplumCore.MissingError | null;
|
|
348
|
-
replaceQueryVariables(user: MedplumCore.CdsUserResource, context: Record<string, unknown>, query: string): string;
|
|
349
|
-
resolveId(input: import("@medplum/fhirtypes").Reference | import("@medplum/fhirtypes").Resource | undefined): string | undefined;
|
|
350
|
-
resourceMatchesSubscriptionCriteria({ resource, subscription, context, getPreviousResource, logger, }: MedplumCore.ResourceMatchesSubscriptionCriteria): Promise<boolean>;
|
|
351
|
-
satisfiedAccessPolicy(resource: import("@medplum/fhirtypes").Resource, interaction: MedplumCore.AccessPolicyInteraction, accessPolicy: import("@medplum/fhirtypes").AccessPolicy | undefined): import("@medplum/fhirtypes").AccessPolicyResource | undefined;
|
|
352
|
-
schedulingDurationToMinutes(duration: import("@medplum/fhirtypes").Duration | undefined): number | undefined;
|
|
353
|
-
serializeError(error: Error, depth?: number, maxDepth?: number): Record<string, any>;
|
|
354
|
-
serializeFhircastSubscriptionRequest(subscriptionRequest: MedplumCore.SubscriptionRequest | MedplumCore.PendingSubscriptionRequest): string;
|
|
355
|
-
serverError(err: Error): import("@medplum/fhirtypes").OperationOutcome;
|
|
356
|
-
serverTimeout(msg?: string): import("@medplum/fhirtypes").OperationOutcome;
|
|
357
|
-
serviceTypeIncludesService(serviceType: import("@medplum/fhirtypes").CodeableConcept[] | undefined, service: MedplumCore.WithId<import("@medplum/fhirtypes").HealthcareService> | (import("@medplum/fhirtypes").Reference<import("@medplum/fhirtypes").HealthcareService> & {
|
|
358
|
-
reference: string;
|
|
359
|
-
})): boolean;
|
|
360
|
-
setCodeBySystem(concept: import("@medplum/fhirtypes").CodeableConcept, system: string, code: string): void;
|
|
361
|
-
setIdentifier(resource: import("@medplum/fhirtypes").Resource & {
|
|
362
|
-
identifier?: import("@medplum/fhirtypes").Identifier[];
|
|
363
|
-
}, system: string, value: string, options?: MedplumCore.SetIdentifierOptions): void;
|
|
364
|
-
setRateLimitReset(outcome: import("@medplum/fhirtypes").OperationOutcome, msBeforeNext: number): void;
|
|
365
|
-
setScheduleParameter(schedule: import("@medplum/fhirtypes").Schedule, service: MedplumCore.WithId<import("@medplum/fhirtypes").HealthcareService>, subextension: import("@medplum/fhirtypes").Extension): import("@medplum/fhirtypes").Schedule;
|
|
366
|
-
singleton(collection: MedplumCore.TypedValue[], type?: string): MedplumCore.TypedValue | undefined;
|
|
367
|
-
singularize<T>(value: T | T[] | undefined): T | undefined;
|
|
368
|
-
sortStringArray(array: string[]): string[];
|
|
369
|
-
splitN(str: string, delim: string, n: number): string[];
|
|
370
|
-
splitSearchOnComma(input: string): string[];
|
|
371
|
-
streamToBuffer(stream: import("stream").Readable): Promise<Buffer>;
|
|
372
|
-
stringify(value: any, pretty?: boolean): string;
|
|
373
|
-
stringifyTypedValue(v: MedplumCore.TypedValue): string;
|
|
374
|
-
structureMapTransform(structureMap: import("@medplum/fhirtypes").StructureMap, input: MedplumCore.TypedValue[], transformMaps?: MedplumCore.TransformMapCollection): MedplumCore.TypedValue[];
|
|
375
|
-
subsetResource<T extends import("@medplum/fhirtypes").Resource>(resource: T | undefined, properties: string[]): T | undefined;
|
|
376
|
-
subtract(minuend: {
|
|
377
|
-
[index: string]: any;
|
|
378
|
-
}, subtrahend: {
|
|
379
|
-
[index: string]: any;
|
|
380
|
-
}): string[];
|
|
381
|
-
sumBy<T>(items: Iterable<T>, fn: (value: T) => number): number;
|
|
382
|
-
summarizeObservations(observations: import("@medplum/fhirtypes").Observation[] | import("@medplum/fhirtypes").Bundle<import("@medplum/fhirtypes").Observation>, summaryCode: import("@medplum/fhirtypes").CodeableConcept, summarizeFn: MedplumCore.StatsFn): import("@medplum/fhirtypes").Observation;
|
|
383
|
-
toJsBoolean(obj: MedplumCore.TypedValue[]): boolean;
|
|
384
|
-
toPeriod(input: unknown): import("@medplum/fhirtypes").Period | undefined;
|
|
385
|
-
toServiceTypeCodeableConcepts(service: MedplumCore.WithId<import("@medplum/fhirtypes").HealthcareService>): import("@medplum/fhirtypes").CodeableConcept[];
|
|
386
|
-
toTypedValue(value: unknown): MedplumCore.TypedValue;
|
|
387
|
-
trimTrailingEmptyElements<T>(arr: T[] | undefined): T[] | undefined;
|
|
388
|
-
tryGetDataType(type: string, profileUrl?: string): MedplumCore.InternalTypeSchema | undefined;
|
|
389
|
-
tryGetJwtExpiration(token: string): number | undefined;
|
|
390
|
-
tryGetProfile(profileUrl: string): MedplumCore.InternalTypeSchema | undefined;
|
|
391
|
-
typedValueToString(typedValue: MedplumCore.TypedValue | undefined): string;
|
|
392
|
-
unescapeToken(token: string): string;
|
|
393
|
-
validateFhircastSubscriptionRequest(subscriptionRequest: MedplumCore.SubscriptionRequest | MedplumCore.PendingSubscriptionRequest): boolean;
|
|
394
|
-
validateResource(resource: import("@medplum/fhirtypes").Resource, options?: MedplumCore.ValidatorOptions): import("@medplum/fhirtypes").OperationOutcomeIssue[];
|
|
395
|
-
validateResourceType(resourceType: string): void;
|
|
396
|
-
validateTypedValue(typedValue: MedplumCore.TypedValue, options?: MedplumCore.ValidatorOptions): import("@medplum/fhirtypes").OperationOutcomeIssue[];
|
|
397
|
-
validationError(details: string, expressions?: string[], code?: MedplumCore.IssueType, diagnostics?: string): import("@medplum/fhirtypes").OperationOutcome;
|
|
398
|
-
warnIfNewerVersionAvailable(appName: string, params?: Record<string, string>): Promise<void>;
|
|
399
|
-
wordWrap(text: string, maxLength: number): string[];
|
|
400
|
-
AccessPolicyInteraction: {
|
|
401
|
-
readonly READ: "read";
|
|
402
|
-
readonly VREAD: "vread";
|
|
403
|
-
readonly UPDATE: "update";
|
|
404
|
-
readonly DELETE: "delete";
|
|
405
|
-
readonly HISTORY: "history";
|
|
406
|
-
readonly CREATE: "create";
|
|
407
|
-
readonly SEARCH: "search";
|
|
408
|
-
};
|
|
409
|
-
AckCode: {
|
|
410
|
-
readonly AA: "AA";
|
|
411
|
-
readonly AE: "AE";
|
|
412
|
-
readonly AR: "AR";
|
|
413
|
-
readonly CA: "CA";
|
|
414
|
-
readonly CE: "CE";
|
|
415
|
-
readonly CR: "CR";
|
|
416
|
-
};
|
|
417
|
-
allOk: import("@medplum/fhirtypes").OperationOutcome;
|
|
418
|
-
AndAtom: typeof MedplumCore.AndAtom;
|
|
419
|
-
ArithmeticOperatorAtom: typeof MedplumCore.ArithmeticOperatorAtom;
|
|
420
|
-
AsAtom: typeof MedplumCore.AsAtom;
|
|
421
|
-
assert: typeof MedplumCore.assert;
|
|
422
|
-
ClientStorage: typeof MedplumCore.ClientStorage;
|
|
423
|
-
ConcatAtom: typeof MedplumCore.ConcatAtom;
|
|
424
|
-
ContainsAtom: typeof MedplumCore.ContainsAtom;
|
|
425
|
-
ContentType: {
|
|
426
|
-
readonly CSS: "text/css";
|
|
427
|
-
readonly DICOM: "application/dicom";
|
|
428
|
-
readonly DICOM_JSON: "application/dicom+json";
|
|
429
|
-
readonly EVENT_STREAM: "text/event-stream";
|
|
430
|
-
readonly FAVICON: "image/vnd.microsoft.icon";
|
|
431
|
-
readonly FHIR_JSON: "application/fhir+json";
|
|
432
|
-
readonly FORM_URL_ENCODED: "application/x-www-form-urlencoded";
|
|
433
|
-
readonly HL7_V2: "x-application/hl7-v2+er7";
|
|
434
|
-
readonly HTML: "text/html";
|
|
435
|
-
readonly JAVASCRIPT: "text/javascript";
|
|
436
|
-
readonly JOSE: "application/jose";
|
|
437
|
-
readonly JSON: "application/json";
|
|
438
|
-
readonly JSON_PATCH: "application/json-patch+json";
|
|
439
|
-
readonly JWT: "application/jwt";
|
|
440
|
-
readonly MULTIPART_FORM_DATA: "multipart/form-data";
|
|
441
|
-
readonly PNG: "image/png";
|
|
442
|
-
readonly SCIM_JSON: "application/scim+json";
|
|
443
|
-
readonly SVG: "image/svg+xml";
|
|
444
|
-
readonly TEXT: "text/plain";
|
|
445
|
-
readonly TYPESCRIPT: "text/typescript";
|
|
446
|
-
readonly PING: "x-application/ping";
|
|
447
|
-
readonly XML: "text/xml";
|
|
448
|
-
readonly CDA_XML: "application/cda+xml";
|
|
449
|
-
readonly OCTET_STREAM: "application/octet-stream";
|
|
450
|
-
};
|
|
451
|
-
CPT: "http://www.ama-assn.org/go/cpt";
|
|
452
|
-
created: import("@medplum/fhirtypes").OperationOutcome;
|
|
453
|
-
DataSampler: typeof MedplumCore.DataSampler;
|
|
454
|
-
DAYS_OF_WEEK: readonly ["mon", "tue", "wed", "thu", "fri", "sat", "sun"];
|
|
455
|
-
DEFAULT_ACCEPT: string;
|
|
456
|
-
DEFAULT_MAX_SEARCH_COUNT: 1000;
|
|
457
|
-
DEFAULT_SEARCH_COUNT: 20;
|
|
458
|
-
DotAtom: typeof MedplumCore.DotAtom;
|
|
459
|
-
EMPTY: readonly [];
|
|
460
|
-
EmptySetAtom: typeof MedplumCore.EmptySetAtom;
|
|
461
|
-
EqualsAtom: typeof MedplumCore.EqualsAtom;
|
|
462
|
-
EquivalentAtom: typeof MedplumCore.EquivalentAtom;
|
|
463
|
-
EventTarget: typeof MedplumCore.EventTarget;
|
|
464
|
-
ExternalSecretSystems: {
|
|
465
|
-
readonly aws_ssm_parameter_store: "aws_ssm_parameter_store";
|
|
466
|
-
};
|
|
467
|
-
FHIRCAST_EVENT_NAMES: {
|
|
468
|
-
readonly "Patient-open": "Patient-open";
|
|
469
|
-
readonly "Patient-close": "Patient-close";
|
|
470
|
-
readonly "ImagingStudy-open": "ImagingStudy-open";
|
|
471
|
-
readonly "ImagingStudy-close": "ImagingStudy-close";
|
|
472
|
-
readonly "Encounter-open": "Encounter-open";
|
|
473
|
-
readonly "Encounter-close": "Encounter-close";
|
|
474
|
-
readonly "DiagnosticReport-open": "DiagnosticReport-open";
|
|
475
|
-
readonly "DiagnosticReport-close": "DiagnosticReport-close";
|
|
476
|
-
readonly "DiagnosticReport-select": "DiagnosticReport-select";
|
|
477
|
-
readonly "DiagnosticReport-update": "DiagnosticReport-update";
|
|
478
|
-
readonly syncerror: "syncerror";
|
|
479
|
-
};
|
|
480
|
-
FHIRCAST_EVENT_RESOURCES: {
|
|
481
|
-
readonly "Patient-open": {
|
|
482
|
-
readonly patient: {
|
|
483
|
-
readonly resourceType: "Patient";
|
|
484
|
-
};
|
|
485
|
-
readonly encounter: {
|
|
486
|
-
readonly resourceType: "Encounter";
|
|
487
|
-
readonly optional: true;
|
|
488
|
-
};
|
|
489
|
-
};
|
|
490
|
-
readonly "Patient-close": {
|
|
491
|
-
readonly patient: {
|
|
492
|
-
readonly resourceType: "Patient";
|
|
493
|
-
};
|
|
494
|
-
readonly encounter: {
|
|
495
|
-
readonly resourceType: "Encounter";
|
|
496
|
-
readonly optional: true;
|
|
497
|
-
};
|
|
498
|
-
};
|
|
499
|
-
readonly "ImagingStudy-open": {
|
|
500
|
-
readonly study: {
|
|
501
|
-
readonly resourceType: "ImagingStudy";
|
|
502
|
-
};
|
|
503
|
-
readonly encounter: {
|
|
504
|
-
readonly resourceType: "Encounter";
|
|
505
|
-
readonly optional: true;
|
|
506
|
-
};
|
|
507
|
-
readonly patient: {
|
|
508
|
-
readonly resourceType: "Patient";
|
|
509
|
-
readonly optional: true;
|
|
510
|
-
};
|
|
511
|
-
};
|
|
512
|
-
readonly "ImagingStudy-close": {
|
|
513
|
-
readonly study: {
|
|
514
|
-
readonly resourceType: "ImagingStudy";
|
|
515
|
-
};
|
|
516
|
-
readonly encounter: {
|
|
517
|
-
readonly resourceType: "Encounter";
|
|
518
|
-
readonly optional: true;
|
|
519
|
-
};
|
|
520
|
-
readonly patient: {
|
|
521
|
-
readonly resourceType: "Patient";
|
|
522
|
-
readonly optional: true;
|
|
523
|
-
};
|
|
524
|
-
};
|
|
525
|
-
readonly "Encounter-open": {
|
|
526
|
-
readonly encounter: {
|
|
527
|
-
readonly resourceType: "Encounter";
|
|
528
|
-
};
|
|
529
|
-
readonly patient: {
|
|
530
|
-
readonly resourceType: "Patient";
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
readonly "Encounter-close": {
|
|
534
|
-
readonly encounter: {
|
|
535
|
-
readonly resourceType: "Encounter";
|
|
536
|
-
};
|
|
537
|
-
readonly patient: {
|
|
538
|
-
readonly resourceType: "Patient";
|
|
539
|
-
};
|
|
540
|
-
};
|
|
541
|
-
readonly "DiagnosticReport-open": {
|
|
542
|
-
readonly report: {
|
|
543
|
-
readonly resourceType: "DiagnosticReport";
|
|
544
|
-
};
|
|
545
|
-
readonly encounter: {
|
|
546
|
-
readonly resourceType: "Encounter";
|
|
547
|
-
readonly optional: true;
|
|
548
|
-
};
|
|
549
|
-
readonly study: {
|
|
550
|
-
readonly resourceType: "ImagingStudy";
|
|
551
|
-
readonly optional: true;
|
|
552
|
-
readonly manyAllowed: true;
|
|
553
|
-
};
|
|
554
|
-
readonly patient: {
|
|
555
|
-
readonly resourceType: "Patient";
|
|
556
|
-
};
|
|
557
|
-
};
|
|
558
|
-
readonly "DiagnosticReport-close": {
|
|
559
|
-
readonly report: {
|
|
560
|
-
readonly resourceType: "DiagnosticReport";
|
|
561
|
-
};
|
|
562
|
-
readonly encounter: {
|
|
563
|
-
readonly resourceType: "Encounter";
|
|
564
|
-
readonly optional: true;
|
|
565
|
-
};
|
|
566
|
-
readonly study: {
|
|
567
|
-
readonly resourceType: "ImagingStudy";
|
|
568
|
-
readonly optional: true;
|
|
569
|
-
readonly manyAllowed: true;
|
|
570
|
-
};
|
|
571
|
-
readonly patient: {
|
|
572
|
-
readonly resourceType: "Patient";
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
readonly "DiagnosticReport-select": {
|
|
576
|
-
readonly report: {
|
|
577
|
-
readonly resourceType: "DiagnosticReport";
|
|
578
|
-
readonly reference: true;
|
|
579
|
-
};
|
|
580
|
-
readonly patient: {
|
|
581
|
-
readonly resourceType: "Patient";
|
|
582
|
-
readonly optional: true;
|
|
583
|
-
readonly reference: true;
|
|
584
|
-
};
|
|
585
|
-
readonly select: {
|
|
586
|
-
readonly resourceType: "*";
|
|
587
|
-
readonly reference: true;
|
|
588
|
-
readonly manyAllowed: true;
|
|
589
|
-
};
|
|
590
|
-
};
|
|
591
|
-
readonly "DiagnosticReport-update": {
|
|
592
|
-
readonly report: {
|
|
593
|
-
readonly resourceType: "DiagnosticReport";
|
|
594
|
-
readonly reference: true;
|
|
595
|
-
};
|
|
596
|
-
readonly patient: {
|
|
597
|
-
readonly resourceType: "Patient";
|
|
598
|
-
readonly optional: true;
|
|
599
|
-
readonly reference: true;
|
|
600
|
-
};
|
|
601
|
-
readonly updates: {
|
|
602
|
-
readonly resourceType: "Bundle";
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
readonly syncerror: {
|
|
606
|
-
readonly operationoutcome: {
|
|
607
|
-
readonly resourceType: "OperationOutcome";
|
|
608
|
-
};
|
|
609
|
-
};
|
|
610
|
-
};
|
|
611
|
-
FHIRCAST_EVENT_VERSION_REQUIRED: readonly ["DiagnosticReport-update"];
|
|
612
|
-
FHIRCAST_RESOURCE_TYPES: readonly ["Patient", "Encounter", "ImagingStudy", "DiagnosticReport", "OperationOutcome", "Bundle"];
|
|
613
|
-
FhircastConnection: typeof MedplumCore.FhircastConnection;
|
|
614
|
-
FhirFilterComparison: typeof MedplumCore.FhirFilterComparison;
|
|
615
|
-
FhirFilterConnective: typeof MedplumCore.FhirFilterConnective;
|
|
616
|
-
FhirFilterNegation: typeof MedplumCore.FhirFilterNegation;
|
|
617
|
-
FhirPathAtom: typeof MedplumCore.FhirPathAtom;
|
|
618
|
-
fhirTypeToJsType: {
|
|
619
|
-
readonly base64Binary: "string";
|
|
620
|
-
readonly boolean: "boolean";
|
|
621
|
-
readonly canonical: "string";
|
|
622
|
-
readonly code: "string";
|
|
623
|
-
readonly date: "string";
|
|
624
|
-
readonly dateTime: "string";
|
|
625
|
-
readonly decimal: "number";
|
|
626
|
-
readonly id: "string";
|
|
627
|
-
readonly instant: "string";
|
|
628
|
-
readonly integer: "number";
|
|
629
|
-
readonly integer64: "string";
|
|
630
|
-
readonly markdown: "string";
|
|
631
|
-
readonly oid: "string";
|
|
632
|
-
readonly positiveInt: "number";
|
|
633
|
-
readonly string: "string";
|
|
634
|
-
readonly time: "string";
|
|
635
|
-
readonly unsignedInt: "number";
|
|
636
|
-
readonly uri: "string";
|
|
637
|
-
readonly url: "string";
|
|
638
|
-
readonly uuid: "string";
|
|
639
|
-
readonly xhtml: "string";
|
|
640
|
-
readonly "http://hl7.org/fhirpath/System.String": "string";
|
|
641
|
-
};
|
|
642
|
-
FileBuilder: typeof MedplumCore.FileBuilder;
|
|
643
|
-
forbidden: import("@medplum/fhirtypes").OperationOutcome;
|
|
644
|
-
FunctionAtom: typeof MedplumCore.FunctionAtom;
|
|
645
|
-
globalSchema: MedplumCore.IndexedStructureDefinition;
|
|
646
|
-
gone: import("@medplum/fhirtypes").OperationOutcome;
|
|
647
|
-
HL7_V2_0203: "http://terminology.hl7.org/CodeSystem/v2-0203";
|
|
648
|
-
Hl7Context: typeof MedplumCore.Hl7Context;
|
|
649
|
-
Hl7Field: typeof MedplumCore.Hl7Field;
|
|
650
|
-
Hl7Message: typeof MedplumCore.Hl7Message;
|
|
651
|
-
Hl7Segment: typeof MedplumCore.Hl7Segment;
|
|
652
|
-
HTTP_HL7_ORG: "http://hl7.org";
|
|
653
|
-
HTTP_TERMINOLOGY_HL7_ORG: "http://terminology.hl7.org";
|
|
654
|
-
ICD10: "http://hl7.org/fhir/sid/icd-10";
|
|
655
|
-
ImpliesAtom: typeof MedplumCore.ImpliesAtom;
|
|
656
|
-
InAtom: typeof MedplumCore.InAtom;
|
|
657
|
-
IndexerAtom: typeof MedplumCore.IndexerAtom;
|
|
658
|
-
InfixOperatorAtom: typeof MedplumCore.InfixOperatorAtom;
|
|
659
|
-
INVALID_MEDICATION_CART_RESPONSE: "Invalid response from cart-management bot";
|
|
660
|
-
INVALID_MEDICATION_CHECKOUT_RESPONSE: "Invalid response from checkout-medications bot";
|
|
661
|
-
INVALID_MEDICATION_ORDER_RESPONSE: "Invalid response from order medication bot";
|
|
662
|
-
INVALID_MEDICATION_ORDER_SET_RESPONSE: "Invalid response from order-set bot";
|
|
663
|
-
INVALID_MEDICATION_SEARCH_RESPONSE: "Invalid response from medication search bot";
|
|
664
|
-
InvalidOperationError: typeof MedplumCore.InvalidOperationError;
|
|
665
|
-
IsAtom: typeof MedplumCore.IsAtom;
|
|
666
|
-
LiteralAtom: typeof MedplumCore.LiteralAtom;
|
|
667
|
-
locationUtils: {
|
|
668
|
-
assign(url: string): void;
|
|
669
|
-
reload(): void;
|
|
670
|
-
getSearch(): string;
|
|
671
|
-
getPathname(): string;
|
|
672
|
-
getLocation(): string;
|
|
673
|
-
getOrigin(): string;
|
|
674
|
-
};
|
|
675
|
-
Logger: typeof MedplumCore.Logger;
|
|
676
|
-
LogLevel: {
|
|
677
|
-
NONE: number;
|
|
678
|
-
ERROR: number;
|
|
679
|
-
WARN: number;
|
|
680
|
-
INFO: number;
|
|
681
|
-
DEBUG: number;
|
|
682
|
-
};
|
|
683
|
-
LogLevelNames: readonly ["NONE", "ERROR", "WARN", "INFO", "DEBUG"];
|
|
684
|
-
LOINC: "http://loinc.org";
|
|
685
|
-
LRUCache: typeof MedplumCore.LRUCache;
|
|
686
|
-
MEDICATION_REQUEST_STATUS_REASON_RESPONSE_NOT_RECEIVED: "response-not-received";
|
|
687
|
-
MEDICATION_REQUEST_STATUS_REASON_SYSTEM: "https://medplum.com/fhir/CodeSystem/medication-request-status-reason";
|
|
688
|
-
MEDPLUM_CLI_CLIENT_ID: "medplum-cli";
|
|
689
|
-
MEDPLUM_RELEASES_URL: "https://meta.medplum.com/releases";
|
|
690
|
-
MEDPLUM_SEMVER_REGEX: RegExp;
|
|
691
|
-
MEDPLUM_VERSION: string;
|
|
692
|
-
MedplumKeyValueClient: typeof MedplumCore.MedplumKeyValueClient;
|
|
693
|
-
MemoryStorage: typeof MedplumCore.MemoryStorage;
|
|
694
|
-
MissingError: typeof MedplumCore.MissingError;
|
|
695
|
-
MockAsyncClientStorage: typeof MedplumCore.MockAsyncClientStorage;
|
|
696
|
-
MRN_IDENTIFIER_TYPE: import("@medplum/fhirtypes").Coding;
|
|
697
|
-
multipleMatches: import("@medplum/fhirtypes").OperationOutcome;
|
|
698
|
-
NDC: "http://hl7.org/fhir/sid/ndc";
|
|
699
|
-
NOOP: () => void;
|
|
700
|
-
NotEqualsAtom: typeof MedplumCore.NotEqualsAtom;
|
|
701
|
-
NotEquivalentAtom: typeof MedplumCore.NotEquivalentAtom;
|
|
702
|
-
notFound: import("@medplum/fhirtypes").OperationOutcome;
|
|
703
|
-
notModified: import("@medplum/fhirtypes").OperationOutcome;
|
|
704
|
-
OAuthClientAssertionType: {
|
|
705
|
-
readonly JwtBearer: "urn:ietf:params:oauth:client-assertion-type:jwt-bearer";
|
|
706
|
-
};
|
|
707
|
-
OAuthGrantType: {
|
|
708
|
-
readonly ClientCredentials: "client_credentials";
|
|
709
|
-
readonly AuthorizationCode: "authorization_code";
|
|
710
|
-
readonly RefreshToken: "refresh_token";
|
|
711
|
-
readonly JwtBearer: "urn:ietf:params:oauth:grant-type:jwt-bearer";
|
|
712
|
-
readonly TokenExchange: "urn:ietf:params:oauth:grant-type:token-exchange";
|
|
713
|
-
readonly PreAuthorizedCode: "urn:ietf:params:oauth:grant-type:pre-authorized_code";
|
|
714
|
-
};
|
|
715
|
-
OAuthSigningAlgorithm: {
|
|
716
|
-
readonly ES256: "ES256";
|
|
717
|
-
readonly ES384: "ES384";
|
|
718
|
-
readonly ES512: "ES512";
|
|
719
|
-
readonly HS256: "HS256";
|
|
720
|
-
readonly RS256: "RS256";
|
|
721
|
-
readonly RS384: "RS384";
|
|
722
|
-
readonly RS512: "RS512";
|
|
723
|
-
};
|
|
724
|
-
OAuthTokenAuthMethod: {
|
|
725
|
-
readonly ClientSecretBasic: "client_secret_basic";
|
|
726
|
-
readonly ClientSecretPost: "client_secret_post";
|
|
727
|
-
readonly ClientSecretJwt: "client_secret_jwt";
|
|
728
|
-
readonly PrivateKeyJwt: "private_key_jwt";
|
|
729
|
-
readonly None: "none";
|
|
730
|
-
};
|
|
731
|
-
OAuthTokenType: {
|
|
732
|
-
readonly AccessToken: "urn:ietf:params:oauth:token-type:access_token";
|
|
733
|
-
readonly RefreshToken: "urn:ietf:params:oauth:token-type:refresh_token";
|
|
734
|
-
readonly IdToken: "urn:ietf:params:oauth:token-type:id_token";
|
|
735
|
-
readonly Saml1Token: "urn:ietf:params:oauth:token-type:saml1";
|
|
736
|
-
readonly Saml2Token: "urn:ietf:params:oauth:token-type:saml2";
|
|
737
|
-
};
|
|
738
|
-
OperationOutcomeError: typeof MedplumCore.OperationOutcomeError;
|
|
739
|
-
Operator: {
|
|
740
|
-
readonly EQUALS: "eq";
|
|
741
|
-
readonly NOT_EQUALS: "ne";
|
|
742
|
-
readonly GREATER_THAN: "gt";
|
|
743
|
-
readonly LESS_THAN: "lt";
|
|
744
|
-
readonly GREATER_THAN_OR_EQUALS: "ge";
|
|
745
|
-
readonly LESS_THAN_OR_EQUALS: "le";
|
|
746
|
-
readonly STARTS_AFTER: "sa";
|
|
747
|
-
readonly ENDS_BEFORE: "eb";
|
|
748
|
-
readonly APPROXIMATELY: "ap";
|
|
749
|
-
readonly CONTAINS: "contains";
|
|
750
|
-
readonly STARTS_WITH: "sw";
|
|
751
|
-
readonly EXACT: "exact";
|
|
752
|
-
readonly TEXT: "text";
|
|
753
|
-
readonly NOT: "not";
|
|
754
|
-
readonly ABOVE: "above";
|
|
755
|
-
readonly BELOW: "below";
|
|
756
|
-
readonly IN: "in";
|
|
757
|
-
readonly NOT_IN: "not-in";
|
|
758
|
-
readonly OF_TYPE: "of-type";
|
|
759
|
-
readonly MISSING: "missing";
|
|
760
|
-
readonly PRESENT: "present";
|
|
761
|
-
readonly IDENTIFIER: "identifier";
|
|
762
|
-
readonly ITERATE: "iterate";
|
|
763
|
-
};
|
|
764
|
-
OperatorPrecedence: {
|
|
765
|
-
FunctionCall: number;
|
|
766
|
-
Dot: number;
|
|
767
|
-
Indexer: number;
|
|
768
|
-
UnaryAdd: number;
|
|
769
|
-
UnarySubtract: number;
|
|
770
|
-
Multiply: number;
|
|
771
|
-
Divide: number;
|
|
772
|
-
IntegerDivide: number;
|
|
773
|
-
Modulo: number;
|
|
774
|
-
Add: number;
|
|
775
|
-
Subtract: number;
|
|
776
|
-
Ampersand: number;
|
|
777
|
-
Is: number;
|
|
778
|
-
As: number;
|
|
779
|
-
Union: number;
|
|
780
|
-
GreaterThan: number;
|
|
781
|
-
GreaterThanOrEquals: number;
|
|
782
|
-
LessThan: number;
|
|
783
|
-
LessThanOrEquals: number;
|
|
784
|
-
Equals: number;
|
|
785
|
-
Equivalent: number;
|
|
786
|
-
NotEquals: number;
|
|
787
|
-
NotEquivalent: number;
|
|
788
|
-
In: number;
|
|
789
|
-
Contains: number;
|
|
790
|
-
And: number;
|
|
791
|
-
Xor: number;
|
|
792
|
-
Or: number;
|
|
793
|
-
Implies: number;
|
|
794
|
-
Arrow: number;
|
|
795
|
-
Semicolon: number;
|
|
796
|
-
};
|
|
797
|
-
OrAtom: typeof MedplumCore.OrAtom;
|
|
798
|
-
Parser: typeof MedplumCore.Parser;
|
|
799
|
-
ParserBuilder: typeof MedplumCore.ParserBuilder;
|
|
800
|
-
PATIENT_PREFERRED_PHARMACY_URL: "http://hl7.org/fhir/StructureDefinition/patient-preferredPharmacy";
|
|
801
|
-
PHARMACY_PREFERENCE_TYPE_SYSTEM: "https://medplum.com/fhir/CodeSystem/pharmacy-preference-type";
|
|
802
|
-
PHARMACY_TYPE_PREFERRED: "preferred";
|
|
803
|
-
PHARMACY_TYPE_PRIMARY: "primary";
|
|
804
|
-
Pointer: typeof MedplumCore.Pointer;
|
|
805
|
-
preconditionFailed: import("@medplum/fhirtypes").OperationOutcome;
|
|
806
|
-
PrefixOperatorAtom: typeof MedplumCore.PrefixOperatorAtom;
|
|
807
|
-
projectAdminResourceTypes: string[];
|
|
808
|
-
PropertyType: {
|
|
809
|
-
readonly Address: "Address";
|
|
810
|
-
readonly Age: "Age";
|
|
811
|
-
readonly Annotation: "Annotation";
|
|
812
|
-
readonly Attachment: "Attachment";
|
|
813
|
-
readonly BackboneElement: "BackboneElement";
|
|
814
|
-
readonly CodeableConcept: "CodeableConcept";
|
|
815
|
-
readonly Coding: "Coding";
|
|
816
|
-
readonly ContactDetail: "ContactDetail";
|
|
817
|
-
readonly ContactPoint: "ContactPoint";
|
|
818
|
-
readonly Contributor: "Contributor";
|
|
819
|
-
readonly Count: "Count";
|
|
820
|
-
readonly DataRequirement: "DataRequirement";
|
|
821
|
-
readonly Distance: "Distance";
|
|
822
|
-
readonly Dosage: "Dosage";
|
|
823
|
-
readonly Duration: "Duration";
|
|
824
|
-
readonly Element: "Element";
|
|
825
|
-
readonly ElementDefinition: "ElementDefinition";
|
|
826
|
-
readonly Expression: "Expression";
|
|
827
|
-
readonly Extension: "Extension";
|
|
828
|
-
readonly HumanName: "HumanName";
|
|
829
|
-
readonly Identifier: "Identifier";
|
|
830
|
-
readonly MarketingStatus: "MarketingStatus";
|
|
831
|
-
readonly Meta: "Meta";
|
|
832
|
-
readonly Money: "Money";
|
|
833
|
-
readonly MoneyQuantity: "MoneyQuantity";
|
|
834
|
-
readonly Narrative: "Narrative";
|
|
835
|
-
readonly ParameterDefinition: "ParameterDefinition";
|
|
836
|
-
readonly Period: "Period";
|
|
837
|
-
readonly Population: "Population";
|
|
838
|
-
readonly ProdCharacteristic: "ProdCharacteristic";
|
|
839
|
-
readonly ProductShelfLife: "ProductShelfLife";
|
|
840
|
-
readonly Quantity: "Quantity";
|
|
841
|
-
readonly Range: "Range";
|
|
842
|
-
readonly Ratio: "Ratio";
|
|
843
|
-
readonly Reference: "Reference";
|
|
844
|
-
readonly RelatedArtifact: "RelatedArtifact";
|
|
845
|
-
readonly SampledData: "SampledData";
|
|
846
|
-
readonly Signature: "Signature";
|
|
847
|
-
readonly SimpleQuantity: "SimpleQuantity";
|
|
848
|
-
readonly SubstanceAmount: "SubstanceAmount";
|
|
849
|
-
readonly SystemString: "http://hl7.org/fhirpath/System.String";
|
|
850
|
-
readonly Timing: "Timing";
|
|
851
|
-
readonly TriggerDefinition: "TriggerDefinition";
|
|
852
|
-
readonly UsageContext: "UsageContext";
|
|
853
|
-
readonly base64Binary: "base64Binary";
|
|
854
|
-
readonly boolean: "boolean";
|
|
855
|
-
readonly canonical: "canonical";
|
|
856
|
-
readonly code: "code";
|
|
857
|
-
readonly date: "date";
|
|
858
|
-
readonly dateTime: "dateTime";
|
|
859
|
-
readonly decimal: "decimal";
|
|
860
|
-
readonly id: "id";
|
|
861
|
-
readonly instant: "instant";
|
|
862
|
-
readonly integer: "integer";
|
|
863
|
-
readonly markdown: "markdown";
|
|
864
|
-
readonly oid: "oid";
|
|
865
|
-
readonly positiveInt: "positiveInt";
|
|
866
|
-
readonly string: "string";
|
|
867
|
-
readonly time: "time";
|
|
868
|
-
readonly unsignedInt: "unsignedInt";
|
|
869
|
-
readonly uri: "uri";
|
|
870
|
-
readonly url: "url";
|
|
871
|
-
readonly uuid: "uuid";
|
|
872
|
-
readonly xhtml: "xhtml";
|
|
873
|
-
};
|
|
874
|
-
protectedResourceTypes: string[];
|
|
875
|
-
RATE_LIMIT_RESET_EXTENSION_URL: "https://medplum.com/fhir/StructureDefinition/rate-limit-reset";
|
|
876
|
-
ReadablePromise: typeof MedplumCore.ReadablePromise;
|
|
877
|
-
readInteractions: MedplumCore.AccessPolicyInteraction[];
|
|
878
|
-
ReconnectingWebSocket: typeof MedplumCore.ReconnectingWebSocket;
|
|
879
|
-
ReturnAckCategory: {
|
|
880
|
-
readonly FIRST: "first";
|
|
881
|
-
readonly APPLICATION: "application";
|
|
882
|
-
};
|
|
883
|
-
RXNORM: "http://www.nlm.nih.gov/research/umls/rxnorm";
|
|
884
|
-
SchedulingEncounterCodingURI: "https://medplum.com/fhir/StructureDefinition/SchedulingEncounterCoding";
|
|
885
|
-
SchedulingParametersURI: "https://medplum.com/fhir/StructureDefinition/SchedulingParameters";
|
|
886
|
-
SchedulingPlanDefinitionURI: "https://medplum.com/fhir/StructureDefinition/SchedulingPlanDefinition";
|
|
887
|
-
SchedulingScheduleColorURI: "https://medplum.com/fhir/StructureDefinition/SchedulingColor";
|
|
888
|
-
SearchParameterType: {
|
|
889
|
-
readonly BOOLEAN: "BOOLEAN";
|
|
890
|
-
readonly NUMBER: "NUMBER";
|
|
891
|
-
readonly QUANTITY: "QUANTITY";
|
|
892
|
-
readonly TEXT: "TEXT";
|
|
893
|
-
readonly REFERENCE: "REFERENCE";
|
|
894
|
-
readonly CANONICAL: "CANONICAL";
|
|
895
|
-
readonly DATE: "DATE";
|
|
896
|
-
readonly DATETIME: "DATETIME";
|
|
897
|
-
readonly PERIOD: "PERIOD";
|
|
898
|
-
readonly UUID: "UUID";
|
|
899
|
-
};
|
|
900
|
-
ServiceTypeReferenceURI: "https://medplum.com/fhir/service-type-reference";
|
|
901
|
-
sleep: (ms: number, options?: MedplumCore.SleepOptions) => Promise<void>;
|
|
902
|
-
SNOMED: "http://snomed.info/sct";
|
|
903
|
-
SubscriptionEmitter: typeof MedplumCore.SubscriptionEmitter;
|
|
904
|
-
SubscriptionManager: typeof MedplumCore.SubscriptionManager;
|
|
905
|
-
SymbolAtom: typeof MedplumCore.SymbolAtom;
|
|
906
|
-
test: typeof MedplumCore.test;
|
|
907
|
-
TestError: typeof MedplumCore.TestError;
|
|
908
|
-
TimezoneExtensionURI: "http://hl7.org/fhir/StructureDefinition/timezone";
|
|
909
|
-
Tokenizer: typeof MedplumCore.Tokenizer;
|
|
910
|
-
tooManyRequests: import("@medplum/fhirtypes").OperationOutcome;
|
|
911
|
-
TransformMapCollection: typeof MedplumCore.TransformMapCollection;
|
|
912
|
-
TypedEventTarget: typeof MedplumCore.TypedEventTarget;
|
|
913
|
-
UCUM: "http://unitsofmeasure.org";
|
|
914
|
-
UnaryOperatorAtom: typeof MedplumCore.UnaryOperatorAtom;
|
|
915
|
-
unauthorized: import("@medplum/fhirtypes").OperationOutcome;
|
|
916
|
-
unauthorizedTokenAudience: import("@medplum/fhirtypes").OperationOutcome;
|
|
917
|
-
unauthorizedTokenExpired: import("@medplum/fhirtypes").OperationOutcome;
|
|
918
|
-
UnionAtom: typeof MedplumCore.UnionAtom;
|
|
919
|
-
unsupportedMediaType: import("@medplum/fhirtypes").OperationOutcome;
|
|
920
|
-
VALID_HOSTNAME_REGEX: RegExp;
|
|
921
|
-
validationRegexes: Record<string, RegExp>;
|
|
922
|
-
XorAtom: typeof MedplumCore.XorAtom;
|
|
923
|
-
};
|
|
924
|
-
export { Medplum };
|
|
925
|
-
export { OvokClient } from "./client/ovok-client";
|
|
926
|
-
export type { OvokClientOptions, OvokUnauthenticatedReason } from "./client/ovok-client";
|
|
927
|
-
export * from "./client/errors/rate-limit-error";
|
|
928
|
-
export * from "./client/errors/sign-in-required-error";
|
|
929
|
-
export * from "./client/errors/ovok-error";
|
|
930
|
-
export * from "./client/auth/errors";
|
|
931
|
-
export type { RegisterBody } from "./client/auth/types/RegisterBody";
|
|
932
|
-
export type { RegisterPractitionerBody } from "./client/auth/types/RegisterPractitionerBody";
|
|
933
|
-
export type { OvokSavedAccount } from "./client/auth/types/Account";
|
|
934
|
-
export { LoginError } from "./client/auth/types/LoginError";
|
|
935
|
-
export type { LoginProfile, TenantLoginStart } from "./client/auth/types/LoginError";
|
|
936
|
-
export { MAX_CONDITIONAL_OBSERVATION_ENTRIES, MAX_OBSERVATION_BUNDLE_BYTES, } from "./client/ovok-client";
|
|
937
|
-
export type { SaveObservationsOptions, SaveObservationsResult } from "./client/ovok-client";
|
|
938
|
-
export * from "./client/offline";
|
|
939
|
-
export * from "./hooks";
|
|
940
|
-
export * from "./utils";
|
|
941
|
-
export * from "./client/observation/services";
|
|
942
|
-
export * from "./client/observation/methods";
|
|
943
|
-
export * from "./client/observation/measurement-fields";
|
|
944
|
-
export * from "./client/observation/series";
|
|
945
|
-
export { saveMeasurement } from "./client/observation/methods/saveMeasurement";
|
|
946
|
-
export * from "./conformance/capability-requirements";
|
|
947
|
-
export * from "./conformance/api-requirements";
|
|
948
|
-
export * from "./conformance/capability";
|
|
949
|
-
export * from "./client/platform/types";
|
|
950
|
-
export * from "./client/change-history";
|
|
951
|
-
export * from "./client/consent";
|
|
952
|
-
export * from "./client/email";
|
|
953
|
-
export * from "./client/cms";
|
|
954
|
-
export * from "./client/invites";
|
|
955
|
-
export * from "./client/notifications";
|
|
956
|
-
export * from "./client/slim/types";
|
|
957
|
-
export * from "./client/slim/paging";
|
|
958
|
-
export * from "./client/experience/types";
|
|
959
|
-
export * from "./client/patient/types";
|
|
960
|
-
export * from "./client/patient-sharing";
|
|
961
|
-
export * from "./client/wearables";
|
|
962
|
-
export { SignalsError, isSignalsError, mapSignalsError } from "./client/signals/errors";
|
|
963
|
-
export * from "./client/storage";
|
|
964
|
-
export * from "./client/questionnaire-response/methods";
|
|
965
|
-
export * from "./client/questionnaire-response/types";
|
|
1
|
+
export * from "./next";
|