@openmrs/esm-framework 6.3.1-pre.3105 → 6.3.1-pre.3119
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/.turbo/turbo-build.log +1 -1
- package/dist/openmrs-esm-framework.js.map +1 -1
- package/docs/classes/OpenmrsFetchError.md +4 -4
- package/docs/enumerations/Type.md +10 -10
- package/docs/enumerations/VisitMode.md +4 -4
- package/docs/enumerations/VisitStatus.md +3 -3
- package/docs/functions/ConfigurableLink.md +1 -1
- package/docs/functions/CustomOverflowMenu.md +1 -1
- package/docs/functions/DashboardExtension.md +1 -1
- package/docs/functions/ExtensionSlot.md +1 -1
- package/docs/functions/OpenmrsAppContext.md +2 -2
- package/docs/functions/PatientBannerActionsMenu.md +1 -1
- package/docs/functions/PatientBannerContactDetails.md +1 -1
- package/docs/functions/PatientBannerPatientIdentifiers.md +1 -1
- package/docs/functions/PatientBannerPatientInfo.md +1 -1
- package/docs/functions/PatientBannerToggleContactDetailsButton.md +1 -1
- package/docs/functions/PatientPhoto.md +1 -1
- package/docs/functions/WorkspaceContainer.md +1 -1
- package/docs/functions/attach.md +1 -1
- package/docs/functions/beginEditSynchronizationItem.md +1 -1
- package/docs/functions/canBeginEditSynchronizationItemsOfType.md +1 -1
- package/docs/functions/clearCurrentUser.md +1 -1
- package/docs/functions/closeWorkspace.md +1 -1
- package/docs/functions/compile.md +1 -1
- package/docs/functions/createAttachment.md +1 -1
- package/docs/functions/createGlobalStore.md +1 -1
- package/docs/functions/createUseStore.md +1 -1
- package/docs/functions/defineConfigSchema.md +1 -1
- package/docs/functions/defineExtensionConfigSchema.md +1 -1
- package/docs/functions/deleteAttachmentPermanently.md +1 -1
- package/docs/functions/deleteSynchronizationItem.md +1 -1
- package/docs/functions/detach.md +1 -1
- package/docs/functions/detachAll.md +1 -1
- package/docs/functions/evaluate.md +1 -1
- package/docs/functions/evaluateAsBoolean.md +3 -3
- package/docs/functions/evaluateAsBooleanAsync.md +3 -3
- package/docs/functions/evaluateAsNumber.md +1 -1
- package/docs/functions/evaluateAsNumberAsync.md +1 -1
- package/docs/functions/evaluateAsType.md +1 -1
- package/docs/functions/evaluateAsTypeAsync.md +1 -1
- package/docs/functions/evaluateAsync.md +1 -1
- package/docs/functions/extractVariableNames.md +1 -1
- package/docs/functions/fetchCurrentPatient.md +1 -1
- package/docs/functions/filterBreadcrumbs.md +1 -1
- package/docs/functions/generateOfflineUuid.md +1 -1
- package/docs/functions/getAssignedExtensions.md +1 -1
- package/docs/functions/getAsyncLifecycle.md +1 -1
- package/docs/functions/getAttachmentByUuid.md +1 -1
- package/docs/functions/getAttachments.md +1 -1
- package/docs/functions/getBreadcrumbs.md +1 -1
- package/docs/functions/getBreadcrumbsFor.md +1 -1
- package/docs/functions/getConfig.md +1 -1
- package/docs/functions/getContext.md +2 -2
- package/docs/functions/getCoreTranslation.md +1 -1
- package/docs/functions/getCurrentOfflineMode.md +1 -1
- package/docs/functions/getCurrentUser.md +3 -3
- package/docs/functions/getDynamicOfflineDataEntries.md +1 -1
- package/docs/functions/getDynamicOfflineDataEntriesFor.md +1 -1
- package/docs/functions/getDynamicOfflineDataHandlers.md +1 -1
- package/docs/functions/getExtensionNameFromId.md +1 -1
- package/docs/functions/getExtensionStore.md +1 -1
- package/docs/functions/getFeatureFlag.md +1 -1
- package/docs/functions/getFhirServerPaginationHandlers.md +1 -1
- package/docs/functions/getFullSynchronizationItems.md +1 -1
- package/docs/functions/getFullSynchronizationItemsFor.md +1 -1
- package/docs/functions/getGlobalStore.md +1 -1
- package/docs/functions/getHistory.md +1 -1
- package/docs/functions/getLifecycle.md +1 -1
- package/docs/functions/getLocations.md +1 -1
- package/docs/functions/getLoggedInUser.md +1 -1
- package/docs/functions/getOfflinePatientDataStore.md +1 -1
- package/docs/functions/getSessionLocation.md +1 -1
- package/docs/functions/getSessionStore.md +1 -1
- package/docs/functions/getSyncLifecycle.md +1 -1
- package/docs/functions/getSynchronizationItem.md +1 -1
- package/docs/functions/getSynchronizationItems.md +1 -1
- package/docs/functions/getVisitStore.md +1 -1
- package/docs/functions/getVisitTypes.md +1 -1
- package/docs/functions/getVisitsForPatient.md +1 -1
- package/docs/functions/goBackInHistory.md +1 -1
- package/docs/functions/importDynamic.md +1 -1
- package/docs/functions/inRange.md +1 -1
- package/docs/functions/interpolateString.md +1 -1
- package/docs/functions/interpolateUrl.md +1 -1
- package/docs/functions/isDesktop.md +1 -1
- package/docs/functions/isDevEnabled.md +1 -1
- package/docs/functions/isOfflineUuid.md +1 -1
- package/docs/functions/isUrlWithTemplateParameters.md +1 -1
- package/docs/functions/launchWorkspace.md +1 -1
- package/docs/functions/launchWorkspaceGroup.md +1 -1
- package/docs/functions/makeUrl.md +1 -1
- package/docs/functions/messageOmrsServiceWorker.md +1 -1
- package/docs/functions/navigate.md +1 -1
- package/docs/functions/navigateAndLaunchWorkspace.md +1 -1
- package/docs/functions/oneOf.md +1 -1
- package/docs/functions/openmrsFetch.md +1 -1
- package/docs/functions/openmrsObservableFetch.md +1 -1
- package/docs/functions/provide.md +1 -1
- package/docs/functions/putDynamicOfflineData.md +1 -1
- package/docs/functions/putDynamicOfflineDataFor.md +1 -1
- package/docs/functions/queueSynchronizationItem.md +1 -1
- package/docs/functions/refetchCurrentUser.md +1 -1
- package/docs/functions/registerBreadcrumb.md +1 -1
- package/docs/functions/registerBreadcrumbs.md +1 -1
- package/docs/functions/registerContext.md +2 -2
- package/docs/functions/registerFeatureFlag.md +1 -1
- package/docs/functions/registerOfflinePatientHandler.md +1 -1
- package/docs/functions/removeDynamicOfflineData.md +1 -1
- package/docs/functions/removeDynamicOfflineDataFor.md +1 -1
- package/docs/functions/renderExtension.md +1 -1
- package/docs/functions/saveVisit.md +1 -1
- package/docs/functions/setCurrentVisit.md +1 -1
- package/docs/functions/setLeftNav.md +1 -1
- package/docs/functions/setSessionLocation.md +1 -1
- package/docs/functions/setUserLanguage.md +1 -1
- package/docs/functions/setUserProperties.md +1 -1
- package/docs/functions/setupDynamicOfflineDataHandler.md +1 -1
- package/docs/functions/setupOfflineSync.md +1 -1
- package/docs/functions/showActionableNotification.md +1 -1
- package/docs/functions/showModal.md +1 -1
- package/docs/functions/showNotification.md +1 -1
- package/docs/functions/showSnackbar.md +1 -1
- package/docs/functions/showToast.md +1 -1
- package/docs/functions/subscribeTo.md +2 -2
- package/docs/functions/subscribeToContext.md +2 -2
- package/docs/functions/syncAllDynamicOfflineData.md +1 -1
- package/docs/functions/syncDynamicOfflineData.md +1 -1
- package/docs/functions/syncOfflinePatientData.md +1 -1
- package/docs/functions/toLocationObject.md +1 -1
- package/docs/functions/toVisitTypeObject.md +1 -1
- package/docs/functions/translateFrom.md +1 -1
- package/docs/functions/unregisterContext.md +1 -1
- package/docs/functions/unsetLeftNav.md +1 -1
- package/docs/functions/updateContext.md +2 -2
- package/docs/functions/updateVisit.md +1 -1
- package/docs/functions/useAbortController.md +1 -1
- package/docs/functions/useAppContext.md +2 -2
- package/docs/functions/useAssignedExtensionIds.md +1 -1
- package/docs/functions/useAssignedExtensions.md +1 -1
- package/docs/functions/useAttachments.md +1 -1
- package/docs/functions/useBodyScrollLock.md +1 -1
- package/docs/functions/useConfig.md +1 -1
- package/docs/functions/useConnectivity.md +1 -1
- package/docs/functions/useDebounce.md +1 -1
- package/docs/functions/useDefineAppContext.md +2 -2
- package/docs/functions/useEmrConfiguration.md +1 -1
- package/docs/functions/useExtensionSlotMeta.md +1 -1
- package/docs/functions/useExtensionSlotStore.md +1 -1
- package/docs/functions/useFeatureFlag.md +1 -1
- package/docs/functions/useFhirFetchAll.md +1 -1
- package/docs/functions/useFhirInfinite.md +1 -1
- package/docs/functions/useFhirPagination.md +1 -1
- package/docs/functions/useLayoutType.md +1 -1
- package/docs/functions/useLeftNav.md +1 -1
- package/docs/functions/useLeftNavStore.md +1 -1
- package/docs/functions/useLocations.md +1 -1
- package/docs/functions/useOnClickOutside.md +1 -1
- package/docs/functions/useOnVisible.md +1 -1
- package/docs/functions/useOpenmrsFetchAll.md +1 -1
- package/docs/functions/useOpenmrsInfinite.md +1 -1
- package/docs/functions/useOpenmrsPagination.md +1 -1
- package/docs/functions/useOpenmrsSWR.md +1 -1
- package/docs/functions/usePagination.md +1 -1
- package/docs/functions/usePatient.md +1 -1
- package/docs/functions/usePatientPhoto.md +1 -1
- package/docs/functions/usePrimaryIdentifierCode.md +1 -1
- package/docs/functions/useRenderableExtensions.md +1 -1
- package/docs/functions/useSession.md +1 -1
- package/docs/functions/useStore.md +4 -4
- package/docs/functions/useStoreWithActions.md +1 -1
- package/docs/functions/useVisit.md +1 -1
- package/docs/functions/useVisitContextStore.md +1 -1
- package/docs/functions/useVisitTypes.md +1 -1
- package/docs/functions/useWorkspaces.md +1 -1
- package/docs/functions/userHasAccess.md +1 -1
- package/docs/functions/validator.md +1 -1
- package/docs/interfaces/ActionMenuButtonProps.md +7 -7
- package/docs/interfaces/ActionableNotificationDescriptor.md +27 -27
- package/docs/interfaces/AssignedExtension.md +9 -9
- package/docs/interfaces/Attachment.md +8 -8
- package/docs/interfaces/AttachmentResponse.md +7 -7
- package/docs/interfaces/AuditInfo.md +13 -13
- package/docs/interfaces/BreadcrumbRegistration.md +3 -3
- package/docs/interfaces/BreadcrumbSettings.md +5 -5
- package/docs/interfaces/CancelLoading.md +2 -2
- package/docs/interfaces/ClearDynamicRoutesMessage.md +2 -2
- package/docs/interfaces/CloseWorkspaceOptions.md +4 -4
- package/docs/interfaces/ComponentConfig.md +4 -4
- package/docs/interfaces/Concept.md +18 -18
- package/docs/interfaces/ConceptClass.md +9 -9
- package/docs/interfaces/ConceptDatatype.md +10 -10
- package/docs/interfaces/ConceptName.md +10 -10
- package/docs/interfaces/Config.md +1 -1
- package/docs/interfaces/ConfigObject.md +3 -3
- package/docs/interfaces/ConfigSchema.md +4 -4
- package/docs/interfaces/ConfigurableLinkProps.md +4 -4
- package/docs/interfaces/ConnectedExtension.md +6 -6
- package/docs/interfaces/CurrentPatientOptions.md +2 -2
- package/docs/interfaces/DashboardExtensionProps.md +5 -5
- package/docs/interfaces/DefaultWorkspaceProps.md +5 -5
- package/docs/interfaces/Diagnosis.md +9 -9
- package/docs/interfaces/DisplayConditionsConfigObject.md +5 -5
- package/docs/interfaces/DynamicOfflineData.md +6 -6
- package/docs/interfaces/DynamicOfflineDataHandler.md +6 -6
- package/docs/interfaces/DynamicOfflineDataSyncState.md +6 -6
- package/docs/interfaces/EmrApiConfigurationResponse.md +53 -53
- package/docs/interfaces/Encounter.md +10 -10
- package/docs/interfaces/EncounterProvider.md +3 -3
- package/docs/interfaces/EncounterRole.md +4 -4
- package/docs/interfaces/EncounterType.md +4 -4
- package/docs/interfaces/ErrorStateProps.md +3 -3
- package/docs/interfaces/ExtensionData.md +4 -4
- package/docs/interfaces/ExtensionMeta.md +1 -1
- package/docs/interfaces/ExtensionRegistration.md +10 -10
- package/docs/interfaces/ExtensionSlotBaseProps.md +5 -5
- package/docs/interfaces/ExtensionSlotConfig.md +5 -5
- package/docs/interfaces/ExtensionSlotConfigObject.md +4 -4
- package/docs/interfaces/ExtensionSlotConfigureValueObject.md +1 -1
- package/docs/interfaces/ExtensionSlotProps.md +6 -6
- package/docs/interfaces/ExtensionSlotState.md +3 -3
- package/docs/interfaces/ExtensionStore.md +2 -2
- package/docs/interfaces/FHIRCode.md +4 -4
- package/docs/interfaces/FHIRLocationResource.md +2 -2
- package/docs/interfaces/FHIRResource.md +2 -2
- package/docs/interfaces/FetchConfig.md +3 -3
- package/docs/interfaces/FetchError.md +3 -3
- package/docs/interfaces/FetchHeaders.md +1 -1
- package/docs/interfaces/FetchResponse.md +2 -2
- package/docs/interfaces/FetchResponseJson.md +1 -1
- package/docs/interfaces/LeftNavStore.md +5 -5
- package/docs/interfaces/Link.md +4 -4
- package/docs/interfaces/Location.md +30 -30
- package/docs/interfaces/LoggedInUser.md +12 -12
- package/docs/interfaces/LoggedInUserFetchResponse.md +2 -2
- package/docs/interfaces/MessageServiceWorkerResult.md +4 -4
- package/docs/interfaces/NavigateOptions.md +3 -3
- package/docs/interfaces/NewVisitPayload.md +8 -8
- package/docs/interfaces/NotificationDescriptor.md +8 -8
- package/docs/interfaces/Obs.md +18 -18
- package/docs/interfaces/OfflineModeResult.md +4 -4
- package/docs/interfaces/OfflinePatientArgs.md +3 -3
- package/docs/interfaces/OfflinePatientDataSyncHandler.md +3 -3
- package/docs/interfaces/OfflinePatientDataSyncState.md +7 -7
- package/docs/interfaces/OfflinePatientDataSyncStore.md +3 -3
- package/docs/interfaces/OmrsServiceWorkerMessage.md +2 -2
- package/docs/interfaces/OnImportMapChangedMessage.md +3 -3
- package/docs/interfaces/OnlyThePatient.md +2 -2
- package/docs/interfaces/OpenWorkspace.md +7 -7
- package/docs/interfaces/OpenmrsAppContextProps.md +4 -4
- package/docs/interfaces/OpenmrsDatePickerProps.md +15 -15
- package/docs/interfaces/OpenmrsResource.md +6 -6
- package/docs/interfaces/OpenmrsResourceStrict.md +6 -6
- package/docs/interfaces/PageHeaderContentProps.md +4 -4
- package/docs/interfaces/PageHeaderWrapperProps.md +3 -3
- package/docs/interfaces/Patient.md +4 -4
- package/docs/interfaces/PatientBannerActionsMenuProps.md +5 -5
- package/docs/interfaces/PatientBannerToggleContactDetailsButtonProps.md +4 -4
- package/docs/interfaces/PatientIdentifier.md +6 -6
- package/docs/interfaces/PatientIdentifierType.md +10 -10
- package/docs/interfaces/PatientPhotoProps.md +3 -3
- package/docs/interfaces/PatientWithFullResponse.md +2 -2
- package/docs/interfaces/Person.md +22 -22
- package/docs/interfaces/PersonAddress.md +32 -32
- package/docs/interfaces/PersonAttribute.md +9 -9
- package/docs/interfaces/PersonName.md +16 -16
- package/docs/interfaces/PrimaryIdentifier.md +2 -2
- package/docs/interfaces/Privilege.md +4 -4
- package/docs/interfaces/Prompt.md +6 -6
- package/docs/interfaces/QueueItemDescriptor.md +5 -5
- package/docs/interfaces/RegisterDynamicRouteMessage.md +5 -5
- package/docs/interfaces/ResponsiveWrapperProps.md +2 -2
- package/docs/interfaces/Role.md +4 -4
- package/docs/interfaces/Session.md +8 -8
- package/docs/interfaces/SessionLocation.md +4 -4
- package/docs/interfaces/SetLeftNavParams.md +5 -5
- package/docs/interfaces/SnackbarDescriptor.md +10 -10
- package/docs/interfaces/SnackbarMeta.md +11 -11
- package/docs/interfaces/StyleguideConfigObject.md +10 -10
- package/docs/interfaces/SyncItem.md +8 -8
- package/docs/interfaces/SyncProcessOptions.md +6 -6
- package/docs/interfaces/ToastDescriptor.md +7 -7
- package/docs/interfaces/ToastNotificationMeta.md +8 -8
- package/docs/interfaces/UploadedFile.md +8 -8
- package/docs/interfaces/UseConfigOptions.md +2 -2
- package/docs/interfaces/UsePatientPhotoResult.md +4 -4
- package/docs/interfaces/UseServerFetchAllOptions.md +5 -5
- package/docs/interfaces/UseServerInfiniteOptions.md +4 -4
- package/docs/interfaces/UseServerPaginationOptions.md +4 -4
- package/docs/interfaces/User.md +6 -6
- package/docs/interfaces/UserHasAccessProps.md +4 -4
- package/docs/interfaces/Visit.md +10 -10
- package/docs/interfaces/VisitItem.md +5 -5
- package/docs/interfaces/VisitReturnType.md +8 -8
- package/docs/interfaces/VisitStoreState.md +4 -4
- package/docs/interfaces/VisitType.md +4 -4
- package/docs/interfaces/WorkspaceContainerProps.md +6 -6
- package/docs/interfaces/WorkspaceRegistration.md +12 -12
- package/docs/interfaces/WorkspacesInfo.md +12 -8
- package/docs/type-aliases/ActionFunction.md +1 -1
- package/docs/type-aliases/ActionableNotificationType.md +1 -1
- package/docs/type-aliases/Actions.md +1 -1
- package/docs/type-aliases/ArgumentsTuple.md +1 -1
- package/docs/type-aliases/BoundActions.md +1 -1
- package/docs/type-aliases/ConfigValue.md +1 -1
- package/docs/type-aliases/ContextCallback.md +2 -2
- package/docs/type-aliases/CoreTranslationKey.md +1 -1
- package/docs/type-aliases/CurrentPatient.md +1 -1
- package/docs/type-aliases/DefaultEvaluateReturnType.md +1 -1
- package/docs/type-aliases/ExtensionProps.md +1 -1
- package/docs/type-aliases/IconProps.md +4 -4
- package/docs/type-aliases/InlineNotificationType.md +1 -1
- package/docs/type-aliases/Key.md +1 -1
- package/docs/type-aliases/KnownOmrsServiceWorkerMessages.md +1 -1
- package/docs/type-aliases/LayoutType.md +1 -1
- package/docs/type-aliases/LoadedSessionStore.md +3 -3
- package/docs/type-aliases/NullablePatient.md +1 -1
- package/docs/type-aliases/OfflineMode.md +1 -1
- package/docs/type-aliases/OmrsOfflineCachingStrategy.md +1 -1
- package/docs/type-aliases/OmrsOfflineHttpHeaderNames.md +1 -1
- package/docs/type-aliases/OmrsOfflineHttpHeaders.md +4 -4
- package/docs/type-aliases/PageHeaderProps.md +1 -1
- package/docs/type-aliases/PatientUuid.md +1 -1
- package/docs/type-aliases/PictogramProps.md +3 -3
- package/docs/type-aliases/ProvidedConfig.md +3 -3
- package/docs/type-aliases/ResourceName.md +1 -1
- package/docs/type-aliases/SessionStore.md +1 -1
- package/docs/type-aliases/SnackbarType.md +1 -1
- package/docs/type-aliases/SvgIconProps.md +3 -3
- package/docs/type-aliases/SvgPictogramProps.md +3 -3
- package/docs/type-aliases/TemplateParams.md +1 -1
- package/docs/type-aliases/ToastType.md +1 -1
- package/docs/type-aliases/UnloadedSessionStore.md +3 -3
- package/docs/type-aliases/UpdateVisitPayload.md +1 -1
- package/docs/type-aliases/UseOpenmrsSWROptions.md +5 -5
- package/docs/type-aliases/Validator.md +1 -1
- package/docs/type-aliases/ValidatorFunction.md +1 -1
- package/docs/type-aliases/VariablesMap.md +1 -1
- package/docs/variables/ActionMenuButton.md +1 -1
- package/docs/variables/ActivityIcon.md +1 -1
- package/docs/variables/AddIcon.md +1 -1
- package/docs/variables/AllergiesIcon.md +1 -1
- package/docs/variables/AppointmentsPictogram.md +1 -1
- package/docs/variables/ArrowDownIcon.md +1 -1
- package/docs/variables/ArrowLeftIcon.md +1 -1
- package/docs/variables/ArrowRightIcon.md +1 -1
- package/docs/variables/ArrowUpIcon.md +1 -1
- package/docs/variables/AttachmentIcon.md +1 -1
- package/docs/variables/BabyIcon.md +1 -1
- package/docs/variables/CalendarHeatMapIcon.md +1 -1
- package/docs/variables/CalendarIcon.md +1 -1
- package/docs/variables/CaretDownIcon.md +1 -1
- package/docs/variables/CaretLeftIcon.md +1 -1
- package/docs/variables/CaretRightIcon.md +1 -1
- package/docs/variables/CaretUpIcon.md +1 -1
- package/docs/variables/ChartAverageIcon.md +1 -1
- package/docs/variables/CheckmarkFilledIcon.md +1 -1
- package/docs/variables/CheckmarkOutlineIcon.md +1 -1
- package/docs/variables/ChemistryIcon.md +1 -1
- package/docs/variables/ChevronDownIcon.md +1 -1
- package/docs/variables/ChevronLeftIcon.md +1 -1
- package/docs/variables/ChevronRightIcon.md +1 -1
- package/docs/variables/ChevronUpIcon.md +1 -1
- package/docs/variables/CloseFilledIcon.md +1 -1
- package/docs/variables/CloseIcon.md +1 -1
- package/docs/variables/CloseOutlineIcon.md +1 -1
- package/docs/variables/ConditionsIcon.md +1 -1
- package/docs/variables/DiagnosisTags.md +1 -1
- package/docs/variables/DocumentAttachmentIcon.md +1 -1
- package/docs/variables/DocumentIcon.md +1 -1
- package/docs/variables/DownloadIcon.md +1 -1
- package/docs/variables/DrugOrderIcon.md +1 -1
- package/docs/variables/EditIcon.md +1 -1
- package/docs/variables/ErrorState.md +1 -1
- package/docs/variables/EventScheduleIcon.md +1 -1
- package/docs/variables/EventsIcon.md +1 -1
- package/docs/variables/Extension.md +1 -1
- package/docs/variables/GenderFemaleIcon.md +1 -1
- package/docs/variables/GenderMaleIcon.md +1 -1
- package/docs/variables/GenderOtherIcon.md +1 -1
- package/docs/variables/GenderUnknownIcon.md +1 -1
- package/docs/variables/GenericOrderTypeIcon.md +1 -1
- package/docs/variables/GroupAccessIcon.md +1 -1
- package/docs/variables/GroupIcon.md +1 -1
- package/docs/variables/HomePictogram.md +1 -1
- package/docs/variables/HospitalBedIcon.md +1 -1
- package/docs/variables/Icon.md +1 -1
- package/docs/variables/ImageMedicalIcon.md +1 -1
- package/docs/variables/InPatientPictogram.md +1 -1
- package/docs/variables/InformationFilledIcon.md +1 -1
- package/docs/variables/InformationIcon.md +1 -1
- package/docs/variables/InformationSquareIcon.md +1 -1
- package/docs/variables/InventoryManagementIcon.md +1 -1
- package/docs/variables/LabOrderIcon.md +1 -1
- package/docs/variables/LaboratoryPictogram.md +1 -1
- package/docs/variables/LeftNavMenu.md +1 -1
- package/docs/variables/ListCheckedIcon.md +1 -1
- package/docs/variables/LocationIcon.md +1 -1
- package/docs/variables/LocationPicker.md +1 -1
- package/docs/variables/MaterialOrderIcon.md +1 -1
- package/docs/variables/MaximizeIcon.md +1 -1
- package/docs/variables/MaybeIcon.md +1 -1
- package/docs/variables/MaybePictogram.md +1 -1
- package/docs/variables/MedicationIcon.md +1 -1
- package/docs/variables/MessageQueueIcon.md +1 -1
- package/docs/variables/MicroscopeIcon.md +1 -1
- package/docs/variables/MoneyIcon.md +1 -1
- package/docs/variables/MotherIcon.md +1 -1
- package/docs/variables/MovementIcon.md +1 -1
- package/docs/variables/OpenmrsDatePicker.md +1 -1
- package/docs/variables/OverflowMenuHorizontalIcon.md +1 -1
- package/docs/variables/OverflowMenuVerticalIcon.md +1 -1
- package/docs/variables/PageHeader.md +1 -1
- package/docs/variables/PageHeaderContent.md +1 -1
- package/docs/variables/PasswordIcon.md +1 -1
- package/docs/variables/PatientListsPictogram.md +1 -1
- package/docs/variables/PedestrianFamilyIcon.md +1 -1
- package/docs/variables/PenIcon.md +1 -1
- package/docs/variables/PharmacyPictogram.md +1 -1
- package/docs/variables/Pictogram.md +1 -1
- package/docs/variables/PrinterIcon.md +1 -1
- package/docs/variables/ProcedureOrderIcon.md +1 -1
- package/docs/variables/ProgramsIcon.md +1 -1
- package/docs/variables/RadiologyIcon.md +1 -1
- package/docs/variables/ReferralOrderIcon.md +1 -1
- package/docs/variables/RegistrationPictogram.md +1 -1
- package/docs/variables/RenderIfValueIsTruthy.md +1 -1
- package/docs/variables/RenewIcon.md +1 -1
- package/docs/variables/ReportIcon.md +1 -1
- package/docs/variables/ResetIcon.md +1 -1
- package/docs/variables/ResponsiveWrapper.md +1 -1
- package/docs/variables/SaveIcon.md +1 -1
- package/docs/variables/SearchIcon.md +1 -1
- package/docs/variables/ServiceQueuesPictogram.md +1 -1
- package/docs/variables/ShoppingCartAddItemIcon.md +1 -1
- package/docs/variables/ShoppingCartArrowDownIcon.md +1 -1
- package/docs/variables/ShoppingCartIcon.md +1 -1
- package/docs/variables/StickyNoteAddIcon.md +1 -1
- package/docs/variables/StockManagementPictogram.md +1 -1
- package/docs/variables/SwitcherIcon.md +1 -1
- package/docs/variables/SyringeIcon.md +1 -1
- package/docs/variables/TableIcon.md +1 -1
- package/docs/variables/TableOfContentsIcon.md +1 -1
- package/docs/variables/TimeIcon.md +1 -1
- package/docs/variables/ToolsIcon.md +1 -1
- package/docs/variables/TranslateIcon.md +1 -1
- package/docs/variables/TrashCanIcon.md +1 -1
- package/docs/variables/TreeViewAltIcon.md +1 -1
- package/docs/variables/UserAvatarIcon.md +1 -1
- package/docs/variables/UserFollowIcon.md +1 -1
- package/docs/variables/UserHasAccess.md +1 -1
- package/docs/variables/UserIcon.md +1 -1
- package/docs/variables/UserXrayIcon.md +1 -1
- package/docs/variables/ViewIcon.md +1 -1
- package/docs/variables/ViewOffIcon.md +1 -1
- package/docs/variables/WarningIcon.md +1 -1
- package/docs/variables/attachmentUrl.md +1 -1
- package/docs/variables/backendDependencies.md +1 -1
- package/docs/variables/defaultVisitCustomRepresentation.md +1 -1
- package/docs/variables/fhirBaseUrl.md +1 -1
- package/docs/variables/getAsyncExtensionLifecycle.md +1 -1
- package/docs/variables/getStartedVisit.md +1 -1
- package/docs/variables/isUrl.md +1 -1
- package/docs/variables/offlineUuidPrefix.md +1 -1
- package/docs/variables/omrsOfflineCachingStrategyHttpHeaderName.md +1 -1
- package/docs/variables/omrsOfflineResponseBodyHttpHeaderName.md +1 -1
- package/docs/variables/omrsOfflineResponseStatusHttpHeaderName.md +1 -1
- package/docs/variables/restBaseUrl.md +1 -1
- package/docs/variables/sessionEndpoint.md +1 -1
- package/docs/variables/useConnectedExtensions.md +1 -1
- package/docs/variables/useExtensionStore.md +1 -1
- package/docs/variables/validators.md +1 -1
- package/package.json +21 -21
- package/typedoc.json +1 -0
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Class: OpenmrsFetchError
|
4
4
|
|
5
|
-
Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:301](https://github.com/openmrs/openmrs-esm-core/blob/
|
5
|
+
Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:301](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/openmrs-fetch.ts#L301)
|
6
6
|
|
7
7
|
## Extends
|
8
8
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:301](https://github
|
|
18
18
|
|
19
19
|
> **new OpenmrsFetchError**(`url`, `response`, `responseBody`, `requestStacktrace`): `OpenmrsFetchError`
|
20
20
|
|
21
|
-
Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:302](https://github.com/openmrs/openmrs-esm-core/blob/
|
21
|
+
Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:302](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/openmrs-fetch.ts#L302)
|
22
22
|
|
23
23
|
#### Parameters
|
24
24
|
|
@@ -120,7 +120,7 @@ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
120
120
|
|
121
121
|
> **response**: `Response`
|
122
122
|
|
123
|
-
Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:310](https://github.com/openmrs/openmrs-esm-core/blob/
|
123
|
+
Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:310](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/openmrs-fetch.ts#L310)
|
124
124
|
|
125
125
|
#### Implementation of
|
126
126
|
|
@@ -132,7 +132,7 @@ Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:310](https://github
|
|
132
132
|
|
133
133
|
> **responseBody**: `null` \| `string` \| [`FetchResponseJson`](../interfaces/FetchResponseJson.md)
|
134
134
|
|
135
|
-
Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:311](https://github.com/openmrs/openmrs-esm-core/blob/
|
135
|
+
Defined in: [packages/framework/esm-api/src/openmrs-fetch.ts:311](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/openmrs-fetch.ts#L311)
|
136
136
|
|
137
137
|
#### Implementation of
|
138
138
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Enumeration: Type
|
4
4
|
|
5
|
-
Defined in: [packages/framework/esm-config/src/types.ts:1](https://github.com/openmrs/openmrs-esm-core/blob/
|
5
|
+
Defined in: [packages/framework/esm-config/src/types.ts:1](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L1)
|
6
6
|
|
7
7
|
## Enumeration Members
|
8
8
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/framework/esm-config/src/types.ts:1](https://github.com/op
|
|
10
10
|
|
11
11
|
> **Array**: `"Array"`
|
12
12
|
|
13
|
-
Defined in: [packages/framework/esm-config/src/types.ts:2](https://github.com/openmrs/openmrs-esm-core/blob/
|
13
|
+
Defined in: [packages/framework/esm-config/src/types.ts:2](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L2)
|
14
14
|
|
15
15
|
***
|
16
16
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/framework/esm-config/src/types.ts:2](https://github.com/op
|
|
18
18
|
|
19
19
|
> **Boolean**: `"Boolean"`
|
20
20
|
|
21
|
-
Defined in: [packages/framework/esm-config/src/types.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/
|
21
|
+
Defined in: [packages/framework/esm-config/src/types.ts:3](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L3)
|
22
22
|
|
23
23
|
***
|
24
24
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/framework/esm-config/src/types.ts:3](https://github.com/op
|
|
26
26
|
|
27
27
|
> **ConceptUuid**: `"ConceptUuid"`
|
28
28
|
|
29
|
-
Defined in: [packages/framework/esm-config/src/types.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/
|
29
|
+
Defined in: [packages/framework/esm-config/src/types.ts:4](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L4)
|
30
30
|
|
31
31
|
***
|
32
32
|
|
@@ -34,7 +34,7 @@ Defined in: [packages/framework/esm-config/src/types.ts:4](https://github.com/op
|
|
34
34
|
|
35
35
|
> **Number**: `"Number"`
|
36
36
|
|
37
|
-
Defined in: [packages/framework/esm-config/src/types.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/
|
37
|
+
Defined in: [packages/framework/esm-config/src/types.ts:5](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L5)
|
38
38
|
|
39
39
|
***
|
40
40
|
|
@@ -42,7 +42,7 @@ Defined in: [packages/framework/esm-config/src/types.ts:5](https://github.com/op
|
|
42
42
|
|
43
43
|
> **Object**: `"Object"`
|
44
44
|
|
45
|
-
Defined in: [packages/framework/esm-config/src/types.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/
|
45
|
+
Defined in: [packages/framework/esm-config/src/types.ts:6](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L6)
|
46
46
|
|
47
47
|
***
|
48
48
|
|
@@ -50,7 +50,7 @@ Defined in: [packages/framework/esm-config/src/types.ts:6](https://github.com/op
|
|
50
50
|
|
51
51
|
> **PatientIdentifierTypeUuid**: `"PatientIdentifierTypeUuid"`
|
52
52
|
|
53
|
-
Defined in: [packages/framework/esm-config/src/types.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/
|
53
|
+
Defined in: [packages/framework/esm-config/src/types.ts:10](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L10)
|
54
54
|
|
55
55
|
***
|
56
56
|
|
@@ -58,7 +58,7 @@ Defined in: [packages/framework/esm-config/src/types.ts:10](https://github.com/o
|
|
58
58
|
|
59
59
|
> **PersonAttributeTypeUuid**: `"PersonAttributeTypeUuid"`
|
60
60
|
|
61
|
-
Defined in: [packages/framework/esm-config/src/types.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/
|
61
|
+
Defined in: [packages/framework/esm-config/src/types.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L9)
|
62
62
|
|
63
63
|
***
|
64
64
|
|
@@ -66,7 +66,7 @@ Defined in: [packages/framework/esm-config/src/types.ts:9](https://github.com/op
|
|
66
66
|
|
67
67
|
> **String**: `"String"`
|
68
68
|
|
69
|
-
Defined in: [packages/framework/esm-config/src/types.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/
|
69
|
+
Defined in: [packages/framework/esm-config/src/types.ts:7](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L7)
|
70
70
|
|
71
71
|
***
|
72
72
|
|
@@ -74,4 +74,4 @@ Defined in: [packages/framework/esm-config/src/types.ts:7](https://github.com/op
|
|
74
74
|
|
75
75
|
> **UUID**: `"UUID"`
|
76
76
|
|
77
|
-
Defined in: [packages/framework/esm-config/src/types.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/
|
77
|
+
Defined in: [packages/framework/esm-config/src/types.ts:8](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/types.ts#L8)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Enumeration: VisitMode
|
4
4
|
|
5
|
-
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/
|
5
|
+
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:14](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/visit-utils.ts#L14)
|
6
6
|
|
7
7
|
## Enumeration Members
|
8
8
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:14](https://githu
|
|
10
10
|
|
11
11
|
> **EDITVISIT**: `"editVisit"`
|
12
12
|
|
13
|
-
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/
|
13
|
+
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/visit-utils.ts#L16)
|
14
14
|
|
15
15
|
***
|
16
16
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:16](https://githu
|
|
18
18
|
|
19
19
|
> **LOADING**: `"loadingVisit"`
|
20
20
|
|
21
|
-
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/
|
21
|
+
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/visit-utils.ts#L17)
|
22
22
|
|
23
23
|
***
|
24
24
|
|
@@ -26,4 +26,4 @@ Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:17](https://githu
|
|
26
26
|
|
27
27
|
> **NEWVISIT**: `"startVisit"`
|
28
28
|
|
29
|
-
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/
|
29
|
+
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:15](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/visit-utils.ts#L15)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
# Enumeration: VisitStatus
|
4
4
|
|
5
|
-
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:20](https://github.com/openmrs/openmrs-esm-core/blob/
|
5
|
+
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/visit-utils.ts#L20)
|
6
6
|
|
7
7
|
## Enumeration Members
|
8
8
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:20](https://githu
|
|
10
10
|
|
11
11
|
> **NOTSTARTED**: `"notStarted"`
|
12
12
|
|
13
|
-
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/
|
13
|
+
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/visit-utils.ts#L21)
|
14
14
|
|
15
15
|
***
|
16
16
|
|
@@ -18,4 +18,4 @@ Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:21](https://githu
|
|
18
18
|
|
19
19
|
> **ONGOING**: `"ongoing"`
|
20
20
|
|
21
|
-
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:22](https://github.com/openmrs/openmrs-esm-core/blob/
|
21
|
+
Defined in: [packages/framework/esm-emr-api/src/visit-utils.ts:22](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/visit-utils.ts#L22)
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **ConfigurableLink**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:49](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/ConfigurableLink.tsx:49](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ConfigurableLink.tsx#L49)
|
8
8
|
|
9
9
|
A React link component which calls [[navigate]] when clicked
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **CustomOverflowMenu**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:12](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx:12](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/custom-overflow-menu/custom-overflow-menu.component.tsx#L12)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **DashboardExtension**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/dashboard-extension/index.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/dashboard-extension/index.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/dashboard-extension/index.tsx#L16)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **ExtensionSlot**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/ExtensionSlot.tsx:71](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/ExtensionSlot.tsx:71](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/ExtensionSlot.tsx#L71)
|
8
8
|
|
9
9
|
An [extension slot](https://o3-docs.openmrs.org/docs/extension-system).
|
10
10
|
A place with a name. Extensions that get connected to that name
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **OpenmrsAppContext**\<`T`\>(`__namedParameters`): `null`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/OpenmrsContext.ts:
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/OpenmrsContext.ts:26](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/OpenmrsContext.ts#L26)
|
8
8
|
|
9
9
|
OpenmrsAppContext is a simple React component meant to function similarly to React's Context,
|
10
10
|
but built on top of the OpenmrsAppContext.
|
@@ -13,7 +13,7 @@ but built on top of the OpenmrsAppContext.
|
|
13
13
|
|
14
14
|
### T
|
15
15
|
|
16
|
-
`T` *extends* `
|
16
|
+
`T` *extends* `Record`\<`string` \| `number` \| `symbol`, `unknown`\> = `Record`\<`string` \| `number` \| `symbol`, `any`\>
|
17
17
|
|
18
18
|
## Parameters
|
19
19
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **PatientBannerActionsMenu**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/patient-banner/actions-menu/patient-banner-actions-menu.component.tsx:20](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/patient-banner/actions-menu/patient-banner-actions-menu.component.tsx:20](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-banner/actions-menu/patient-banner-actions-menu.component.tsx#L20)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **PatientBannerContactDetails**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-contact-details.component.tsx:183](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-contact-details.component.tsx:183](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-contact-details.component.tsx#L183)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **PatientBannerPatientIdentifiers**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/patient-banner/patient-info/patient-banner-patient-identifiers.component.tsx:39](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/patient-banner/patient-info/patient-banner-patient-identifiers.component.tsx:39](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-banner/patient-info/patient-banner-patient-identifiers.component.tsx#L39)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **PatientBannerPatientInfo**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/patient-banner/patient-info/patient-banner-patient-info.component.tsx:61](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/patient-banner/patient-info/patient-banner-patient-info.component.tsx:61](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-banner/patient-info/patient-banner-patient-info.component.tsx#L61)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **PatientBannerToggleContactDetailsButton**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-toggle-contact-details-button.component.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-toggle-contact-details-button.component.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-banner/contact-details/patient-banner-toggle-contact-details-button.component.tsx#L16)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **PatientPhoto**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/patient-photo/patient-photo.component.tsx:19](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/patient-photo/patient-photo.component.tsx:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/patient-photo/patient-photo.component.tsx#L19)
|
8
8
|
|
9
9
|
A component which displays the patient photo https://zeroheight.com/23a080e38/p/6663f3-patient-header. If there is no photo, it will display a generated avatar. The default size is 56px.
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **WorkspaceContainer**(`__namedParameters`): `Element`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/container/workspace-container.component.tsx:68](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/container/workspace-container.component.tsx:68](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/container/workspace-container.component.tsx#L68)
|
8
8
|
|
9
9
|
Use this component to render the [workspace window](https://zeroheight.com/23a080e38/p/483a22-workspace)
|
10
10
|
in an app such as the patient chart, or a workspace overlay in an app such as the clinic dashboard.
|
package/docs/functions/attach.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **attach**(`slotName`, `extensionId`): `void`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-extensions/src/extensions.ts:215](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-extensions/src/extensions.ts:215](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L215)
|
8
8
|
|
9
9
|
Attach an extension to an extension slot.
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **beginEditSynchronizationItem**(`id`): `Promise`\<`void`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-offline/src/sync.ts:330](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-offline/src/sync.ts:330](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-offline/src/sync.ts#L330)
|
8
8
|
|
9
9
|
Triggers an edit flow for the given synchronization item.
|
10
10
|
If this is not possible, throws an error.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **canBeginEditSynchronizationItemsOfType**(`type`): `boolean`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-offline/src/sync.ts:320](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-offline/src/sync.ts:320](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-offline/src/sync.ts#L320)
|
8
8
|
|
9
9
|
Returns whether editing synchronization items of the given type is supported by the currently
|
10
10
|
registered synchronization handlers.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **clearCurrentUser**(): `void`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-api/src/current-user.ts:177](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-api/src/current-user.ts:177](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-api/src/current-user.ts#L177)
|
8
8
|
|
9
9
|
## Returns
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **closeWorkspace**(`name`, `options`): `boolean`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-styleguide/src/workspaces/workspaces.ts:432](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-styleguide/src/workspaces/workspaces.ts:432](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-styleguide/src/workspaces/workspaces.ts#L432)
|
8
8
|
|
9
9
|
Function to close an opened workspace
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **compile**(`expression`): `Expression`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:324](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/evaluator.ts#L324)
|
8
8
|
|
9
9
|
`compile()` is a companion function for use with [()](evaluate.md) and the various `evaluateAs*()` functions.
|
10
10
|
It processes an expression string into the resulting AST that is executed by those functions. This is useful if
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **createAttachment**(`patientUuid`, `fileToUpload`): `Promise`\<`FetchResponse`\<`any`\>\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-emr-api/src/attachments.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-emr-api/src/attachments.ts:19](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/attachments.ts#L19)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **createGlobalStore**\<`T`\>(`name`, `initialState`): `StoreApi`\<`T`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-state/src/state.ts:30](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-state/src/state.ts:30](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-state/src/state.ts#L30)
|
8
8
|
|
9
9
|
Creates a Zustand store.
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **createUseStore**\<`T`\>(`store`): \{(): `T`; \<`A`\>(`actions`): `T` & [`BoundActions`](../type-aliases/BoundActions.md)\<`T`, `A`\>; \<`A`\>(`actions?`): `T` & [`BoundActions`](../type-aliases/BoundActions.md)\<`T`, `A`\>; \}
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:95](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-react-utils/src/useStore.ts:95](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-react-utils/src/useStore.ts#L95)
|
8
8
|
|
9
9
|
Whenever possible, use `useStore(yourStore)` instead. This function is for creating a
|
10
10
|
custom hook for a specific store.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **defineConfigSchema**(`moduleName`, `schema`): `void`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:168](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:168](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L168)
|
8
8
|
|
9
9
|
This defines a configuration schema for a module. The schema tells the
|
10
10
|
configuration system how the module can be configured. It specifies
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **defineExtensionConfigSchema**(`extensionName`, `schema`): `void`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:244](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-config/src/module-config/module-config.ts:244](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-config/src/module-config/module-config.ts#L244)
|
8
8
|
|
9
9
|
This defines a configuration schema for an extension. When a schema is defined
|
10
10
|
for an extension, that extension will receive the configuration corresponding
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **deleteAttachmentPermanently**(`attachmentUuid`, `abortController`): `Promise`\<`FetchResponse`\<`any`\>\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-emr-api/src/attachments.ts:38](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-emr-api/src/attachments.ts:38](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/attachments.ts#L38)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **deleteSynchronizationItem**(`id`): `Promise`\<`void`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-offline/src/sync.ts:350](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-offline/src/sync.ts:350](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-offline/src/sync.ts#L350)
|
8
8
|
|
9
9
|
Deletes a queued up sync item with the given ID.
|
10
10
|
|
package/docs/functions/detach.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **detach**(`extensionSlotName`, `extensionId`): `void`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-extensions/src/extensions.ts:248](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-extensions/src/extensions.ts:248](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L248)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **detachAll**(`extensionSlotName`): `void`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-extensions/src/extensions.ts:272](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-extensions/src/extensions.ts:272](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-extensions/src/extensions.ts#L272)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **evaluate**(`expression`, `variables`): [`DefaultEvaluateReturnType`](../type-aliases/DefaultEvaluateReturnType.md)
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:97](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/evaluator.ts#L97)
|
8
8
|
|
9
9
|
`evaluate()` implements a relatively safe version of `eval()` that is limited to evaluating synchronous
|
10
10
|
Javascript expressions. This allows us to safely add features that depend on user-supplied code without
|
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
# Function: evaluateAsBoolean()
|
4
4
|
|
5
|
-
> **evaluateAsBoolean**(`expression`, `variables`): `
|
5
|
+
> **evaluateAsBoolean**(`expression`, `variables`): `boolean`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:180](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/evaluator.ts#L180)
|
8
8
|
|
9
9
|
`evaluateAsBoolean()` is a variant of [()](evaluate.md) which only supports boolean results. Useful
|
10
10
|
if valid expression must return boolean values.
|
@@ -26,6 +26,6 @@ Optional object which contains any variables, functions, etc. that will be avail
|
|
26
26
|
|
27
27
|
## Returns
|
28
28
|
|
29
|
-
`
|
29
|
+
`boolean`
|
30
30
|
|
31
31
|
The result of evaluating the expression
|
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
# Function: evaluateAsBooleanAsync()
|
4
4
|
|
5
|
-
> **evaluateAsBooleanAsync**(`expression`, `variables`): `Promise`\<`
|
5
|
+
> **evaluateAsBooleanAsync**(`expression`, `variables`): `Promise`\<`boolean`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:193](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/evaluator.ts#L193)
|
8
8
|
|
9
9
|
`evaluateAsBooleanAsync()` is a variant of [()](evaluateAsync.md) which only supports boolean results. Useful
|
10
10
|
if valid expression must return boolean values.
|
@@ -26,6 +26,6 @@ Optional object which contains any variables, functions, etc. that will be avail
|
|
26
26
|
|
27
27
|
## Returns
|
28
28
|
|
29
|
-
`Promise`\<`
|
29
|
+
`Promise`\<`boolean`\>
|
30
30
|
|
31
31
|
The result of evaluating the expression
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **evaluateAsNumber**(`expression`, `variables`): `number`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:206](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/evaluator.ts#L206)
|
8
8
|
|
9
9
|
`evaluateAsNumber()` is a variant of [()](evaluate.md) which only supports number results. Useful
|
10
10
|
if valid expression must return numeric values.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **evaluateAsNumberAsync**(`expression`, `variables`): `Promise`\<`number`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:219](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/evaluator.ts#L219)
|
8
8
|
|
9
9
|
`evaluateAsNumberAsync()` is a variant of [()](evaluateAsync.md) which only supports number results. Useful
|
10
10
|
if valid expression must return numeric values.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **evaluateAsType**\<`T`\>(`expression`, `variables`, `typePredicate`): `T`
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:236](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/evaluator.ts#L236)
|
8
8
|
|
9
9
|
`evaluateAsType()` is a type-safe version of [()](evaluate.md) which returns a result if the result
|
10
10
|
passes a custom type predicate. The main use-case for this is to narrow the return types allowed based on
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **evaluateAsTypeAsync**\<`T`\>(`expression`, `variables`, `typePredicate`): `Promise`\<`T`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:278](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/evaluator.ts#L278)
|
8
8
|
|
9
9
|
`evaluateAsTypeAsync()` is a type-safe version of [()](evaluateAsync.md) which returns a result if the result
|
10
10
|
passes a custom type predicate. The main use-case for this is to narrow the return types allowed based on
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **evaluateAsync**(`expression`, `variables`): `Promise`\<[`DefaultEvaluateReturnType`](../type-aliases/DefaultEvaluateReturnType.md)\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/evaluator.ts:167](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/evaluator.ts#L167)
|
8
8
|
|
9
9
|
`evaluateAsync()` implements a relatively safe version of `eval()` that can evaluate Javascript expressions
|
10
10
|
that use Promises. This allows us to safely add features that depend on user-supplied code without
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **extractVariableNames**(`expression`): `string`[]
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-expression-evaluator/src/extractor.ts:44](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-expression-evaluator/src/extractor.ts:44](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-expression-evaluator/src/extractor.ts#L44)
|
8
8
|
|
9
9
|
`extractVariableNames()` is a companion function for `evaluate()` and `evaluateAsync()` which extracts the
|
10
10
|
names of all unbound identifiers used in the expression. The idea is to be able to extract all of the names
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
> **fetchCurrentPatient**(`patientUuid`, `fetchInit?`, `includeOfflinePatients?`): `Promise`\<`null` \| `Patient`\>
|
6
6
|
|
7
|
-
Defined in: [packages/framework/esm-emr-api/src/current-patient.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/
|
7
|
+
Defined in: [packages/framework/esm-emr-api/src/current-patient.ts:21](https://github.com/openmrs/openmrs-esm-core/blob/main/packages/framework/esm-emr-api/src/current-patient.ts#L21)
|
8
8
|
|
9
9
|
## Parameters
|
10
10
|
|