UNPKG

@claudebernard/prescription-scanner-element

Version:

An element providing a medical prescription scanner and analyzer.

1,850 lines (1,849 loc) 564 kB
{ "schemaVersion": "1.0.0", "readme": "", "modules": [ { "kind": "javascript-module", "path": "src/index.ts", "declarations": [], "exports": [ { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/prescription-scanner/prescription-scanner" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/prescription-scanner/prescription-scanner.event" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/prescription-scanner/prescription-scanner.function" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/shared/medical-documents-api/generated/graphql" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/prescription-scanner/actions-bar" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/prescription-scanner.event.ts", "declarations": [ { "kind": "class", "description": "", "name": "BundleEvent", "members": [ { "kind": "field", "name": "bundle", "type": { "text": "Bundle" }, "default": "bundle" } ], "superclass": { "name": "Event", "module": "src/prescription-scanner/prescription-scanner.event.ts" } }, { "kind": "class", "description": "", "name": "BundlesEvent", "members": [ { "kind": "field", "name": "bundles", "type": { "text": "Bundle[]" }, "default": "bundles" } ], "superclass": { "name": "Event", "module": "src/prescription-scanner/prescription-scanner.event.ts" } } ], "exports": [ { "kind": "js", "name": "BundleEvent", "declaration": { "name": "BundleEvent", "module": "src/prescription-scanner/prescription-scanner.event.ts" } }, { "kind": "js", "name": "BundlesEvent", "declaration": { "name": "BundlesEvent", "module": "src/prescription-scanner/prescription-scanner.event.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/prescription-scanner.function.ts", "declarations": [], "exports": [ { "kind": "js", "name": "FindMedicationFunction", "declaration": { "name": "FindMedicationFunction", "module": "./medication/find-medication.function" } }, { "kind": "js", "name": "FormatMedicationLabelFunction", "declaration": { "name": "FormatMedicationLabelFunction", "module": "./medication/format-medication-label.function" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/prescription-scanner.stories.ts", "declarations": [ { "kind": "variable", "name": "meta", "type": { "text": "WebComponentsMeta<any, any>" } }, { "kind": "variable", "name": "Base", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "With_Highlight", "type": { "text": "WebComponentsStory<any, any>" } } ], "exports": [ { "kind": "js", "name": "default", "declaration": { "name": "meta", "module": "src/prescription-scanner/prescription-scanner.stories.ts" } }, { "kind": "js", "name": "Base", "declaration": { "name": "Base", "module": "src/prescription-scanner/prescription-scanner.stories.ts" } }, { "kind": "js", "name": "With_Highlight", "declaration": { "name": "With_Highlight", "module": "src/prescription-scanner/prescription-scanner.stories.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/prescription-scanner.ts", "declarations": [ { "kind": "variable", "name": "{ setLocale, getLocale }" }, { "kind": "class", "description": "An element providing a medical prescription scanner and analyzer.", "name": "PrescriptionScanner", "slots": [ { "description": "Custom actions. Better to directly use <bcb-actions-buttons> that already has the correct slot property.", "name": "actions-buttons" } ], "members": [ { "kind": "field", "name": "apiUrlChanged", "static": true, "readonly": true }, { "kind": "field", "name": "apiKeyChanged", "static": true, "readonly": true }, { "kind": "field", "name": "apiUrl", "type": { "text": "string" }, "default": "\"https://platform.claudebernard.fr/api/medical-documents\"", "attribute": "apiUrl" }, { "kind": "field", "name": "apiBcbUrl", "type": { "text": "string | undefined" }, "attribute": "apiBcbUrl" }, { "kind": "field", "name": "apiKey", "type": { "text": "string | undefined" }, "attribute": "apiKey" }, { "kind": "field", "name": "model", "type": { "text": "Model | undefined" }, "attribute": "model" }, { "kind": "field", "name": "fileUploadId", "type": { "text": "string | undefined" }, "attribute": "fileUploadId" }, { "kind": "field", "name": "lang", "type": { "text": "string" }, "default": "\"fr-FR\"", "attribute": "lang" }, { "kind": "field", "name": "selectionDisabled", "type": { "text": "boolean" }, "default": "false", "attribute": "selection-disabled" }, { "kind": "field", "name": "dosageEditionDisabled", "type": { "text": "boolean" }, "default": "false", "attribute": "dosage-edition-disabled" }, { "kind": "field", "name": "analysisFixingDisabled", "type": { "text": "boolean" }, "default": "false", "attribute": "analysis-fixing-disabled" }, { "kind": "field", "name": "prescriptionItemDeletionDisabled", "type": { "text": "boolean" }, "default": "false", "attribute": "prescription-item-deletion-disabled" }, { "kind": "field", "name": "findMedication", "type": { "text": "FindMedicationFunction" } }, { "kind": "field", "name": "formatMedicationLabel", "type": { "text": "FormatMedicationLabelFunction" } }, { "kind": "field", "name": "addMedicationButtonVisible", "type": { "text": "boolean" }, "default": "true", "attribute": "add-medication-button-visible" }, { "kind": "field", "name": "highlightVisible", "type": { "text": "boolean | undefined" }, "default": "true", "attribute": "highlight-visible" }, { "kind": "field", "name": "webSocketDisabled", "type": { "text": "boolean | undefined" }, "default": "false", "attribute": "websocket-disabled" }, { "kind": "field", "name": "_onMobileInterface", "type": { "text": "boolean" }, "privacy": "private", "default": "false" }, { "kind": "field", "name": "_activeMobileSection", "type": { "text": "number" }, "privacy": "private", "default": "0" }, { "kind": "field", "name": "_boundIsUserOnMobileInterface", "type": { "text": "() => void" }, "privacy": "private" }, { "kind": "field", "name": "selectedFileAnalysis", "type": { "text": "FileAnalysis | undefined" }, "privacy": "private" }, { "kind": "field", "name": "analysis", "type": { "text": "Analysis" }, "privacy": "private", "default": "{ fileAnalysis: [], ignoredResourceIds: [] }" }, { "kind": "field", "name": "errorMessage", "type": { "text": "string" }, "privacy": "private", "default": "\"\"" }, { "kind": "field", "name": "highlightMedicationsList", "type": { "text": "HighlightMedicationListByDocument[]" }, "privacy": "private", "default": "[]" }, { "kind": "field", "name": "_hoveredMedicationId", "type": { "text": "string | undefined" }, "privacy": "private" }, { "kind": "field", "name": "_events", "type": { "text": "object" }, "privacy": "private", "static": true, "default": "{ NEW_BUNDLE: \"new-bundle\", BUNDLES_FILTERED: \"bundles-filtered\", BUNDLES_UPDATED: \"bundles-updated\", FILES_UPLOADED: \"files-uploaded\", }" }, { "kind": "method", "name": "_isUserOnMobileInterface", "privacy": "private", "return": { "type": { "text": "void" } } }, { "kind": "method", "name": "updateHighlightMedicationsList", "privacy": "private", "return": { "type": { "text": "void" } } }, { "kind": "method", "name": "removeHighlightMedicationsList", "privacy": "private", "parameters": [ { "name": "file", "type": { "text": "File" } } ] }, { "kind": "field", "name": "bundles", "type": { "text": "Bundle[]" }, "privacy": "public", "readonly": true }, { "kind": "method", "name": "handleMobileNavigation", "parameters": [ { "name": "event", "type": { "text": "CustomEvent" } } ] }, { "kind": "method", "name": "_withLocale", "privacy": "private", "parameters": [ { "name": "template", "type": { "text": "() => TemplateResult" } } ] }, { "kind": "method", "name": "_renderErrorMessage", "privacy": "private" }, { "kind": "method", "name": "_isAnalysisLoading", "privacy": "private", "return": { "type": { "text": "boolean" } } }, { "kind": "method", "name": "_addPrescriptionItem", "privacy": "private", "parameters": [ { "name": "event", "type": { "text": "PrescriptionItemEvent" } } ] }, { "kind": "method", "name": "_prescriptionItemDeleted", "privacy": "private", "parameters": [ { "name": "event", "type": { "text": "PrescriptionItemEvent" } } ] }, { "kind": "method", "name": "_medicationRequestUpdated", "privacy": "private", "parameters": [ { "name": "event", "type": { "text": "MedicationRequestEvent" } } ] }, { "kind": "method", "name": "_medicationUpdated", "privacy": "private", "parameters": [ { "name": "event", "type": { "text": "MedicationEvent" } } ] }, { "kind": "method", "name": "_sanitizePractitioner", "privacy": "private", "return": { "type": { "text": "PractitionerInput | undefined" } }, "parameters": [ { "name": "practitioner", "optional": true, "type": { "text": "PractitionerInput" } } ] }, { "kind": "method", "name": "_sanitizeComposition", "privacy": "private", "return": { "type": { "text": "CompositionInput | undefined" } }, "parameters": [ { "name": "composition", "optional": true, "type": { "text": "CompositionInput" } } ] }, { "kind": "method", "name": "_sanitizeMedicationRequest", "privacy": "private", "return": { "type": { "text": "MedicationRequestInput" } }, "parameters": [ { "name": "resource", "type": { "text": "any" } } ] }, { "kind": "method", "name": "_sanitizeDosageInstruction", "privacy": "private", "return": { "type": { "text": "any[]" } }, "parameters": [ { "name": "dosageInstruction", "type": { "text": "any" } } ] }, { "kind": "method", "name": "_mapBundleEntriesToInputResources", "privacy": "private", "return": { "type": { "text": "ResourcesInput" } }, "parameters": [ { "name": "entries", "type": { "text": "BundleEntry[]" } } ] }, { "kind": "method", "name": "_fileUploadIdProvided", "privacy": "private", "parameters": [ { "name": "fileUploadId", "type": { "text": "string" } } ] }, { "kind": "method", "name": "_filesUploaded", "privacy": "private", "parameters": [ { "name": "e", "type": { "text": "FilesEvent" } } ] }, { "kind": "method", "name": "_fileSelected", "privacy": "private", "parameters": [ { "name": "fileEvent", "type": { "text": "FileEvent" } } ] }, { "kind": "method", "name": "_onHighlightHover", "privacy": "private", "parameters": [ { "name": "event", "type": { "text": "HighlightHoverEvent" } } ] }, { "kind": "method", "name": "_onHighlightLeave", "privacy": "private", "parameters": [ { "name": "_event", "type": { "text": "HighlightHoverEvent" } } ] }, { "kind": "method", "name": "_fileDeleted", "privacy": "private", "parameters": [ { "name": "e", "type": { "text": "FileEvent" } } ] }, { "kind": "method", "name": "_updateSelectedPrescriptionItems", "privacy": "private", "parameters": [ { "name": "e", "type": { "text": "PrescriptionItemSelectionEvent" } } ] }, { "kind": "method", "name": "_getFilteredBundles", "privacy": "private", "return": { "type": { "text": "Bundle[]" } } }, { "kind": "method", "name": "dispatchEvent", "return": { "type": { "text": "boolean" } }, "parameters": [ { "name": "event", "type": { "text": "Event" } } ] }, { "kind": "method", "name": "_updateAnalysis", "privacy": "private", "return": { "type": { "text": "void" } } }, { "kind": "method", "name": "_runAnalysis", "privacy": "private", "parameters": [ { "name": "fileAnalysis", "type": { "text": "FileAnalysis" } }, { "name": "fileUploadId", "optional": true, "type": { "text": "string" } } ] }, { "kind": "method", "name": "_extractReasons", "privacy": "private", "parameters": [ { "name": "bundle", "type": { "text": "Bundle" } } ] } ], "events": [ { "type": { "text": "BundleEvent" } }, { "type": { "text": "BundleEvent" }, "description": "new bundle analyzed", "name": "new-bundle" }, { "type": { "text": "BundlesEvent" }, "description": "user selected or unselected some prescription items", "name": "bundles-filtered" }, { "type": { "text": "BundlesEvent" }, "description": "user edited the content of bundles", "name": "bundles-updated" } ], "attributes": [ { "name": "apiUrl", "type": { "text": "string" }, "default": "\"https://platform.claudebernard.fr/api/medical-documents\"", "fieldName": "apiUrl" }, { "name": "apiBcbUrl", "type": { "text": "string | undefined" }, "fieldName": "apiBcbUrl" }, { "name": "apiKey", "type": { "text": "string | undefined" }, "fieldName": "apiKey" }, { "name": "model", "type": { "text": "Model | undefined" }, "fieldName": "model" }, { "name": "fileUploadId", "type": { "text": "string | undefined" }, "fieldName": "fileUploadId" }, { "name": "lang", "type": { "text": "string" }, "default": "\"fr-FR\"", "fieldName": "lang" }, { "name": "selection-disabled", "type": { "text": "boolean" }, "default": "false", "fieldName": "selectionDisabled" }, { "name": "dosage-edition-disabled", "type": { "text": "boolean" }, "default": "false", "fieldName": "dosageEditionDisabled" }, { "name": "analysis-fixing-disabled", "type": { "text": "boolean" }, "default": "false", "fieldName": "analysisFixingDisabled" }, { "name": "prescription-item-deletion-disabled", "type": { "text": "boolean" }, "default": "false", "fieldName": "prescriptionItemDeletionDisabled" }, { "name": "add-medication-button-visible", "type": { "text": "boolean" }, "default": "true", "fieldName": "addMedicationButtonVisible" }, { "name": "highlight-visible", "type": { "text": "boolean | undefined" }, "default": "true", "fieldName": "highlightVisible" }, { "name": "websocket-disabled", "type": { "text": "boolean | undefined" }, "default": "false", "fieldName": "webSocketDisabled" } ], "superclass": { "name": "LitElement", "package": "lit" }, "tagName": "bcb-prescription-scanner", "customElement": true } ], "exports": [ { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/index" } }, { "kind": "js", "name": "{ setLocale, getLocale }", "declaration": { "name": "{ setLocale, getLocale }", "module": "src/prescription-scanner/prescription-scanner.ts" } }, { "kind": "js", "name": "PrescriptionScanner", "declaration": { "name": "PrescriptionScanner", "module": "src/prescription-scanner/prescription-scanner.ts" } }, { "kind": "custom-element-definition", "name": "bcb-prescription-scanner", "declaration": { "name": "PrescriptionScanner", "module": "src/prescription-scanner/prescription-scanner.ts" } } ] }, { "kind": "javascript-module", "path": "src/service/prescription-data-holder.ts", "declarations": [ { "kind": "variable", "name": "prescriptionDataHolder", "default": "new PrescriptionDataHolder()" } ], "exports": [ { "kind": "js", "name": "prescriptionDataHolder", "declaration": { "name": "prescriptionDataHolder", "module": "src/service/prescription-data-holder.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/actions-bar/actions-bar.ts", "declarations": [ { "kind": "class", "description": "", "name": "ActionsBar", "slots": [ { "description": "Actions elements (e.g buttons)", "name": "" } ], "members": [], "superclass": { "name": "LitElement", "package": "lit" }, "tagName": "bcb-actions-bar", "customElement": true } ], "exports": [ { "kind": "js", "name": "ActionsBar", "declaration": { "name": "ActionsBar", "module": "src/prescription-scanner/actions-bar/actions-bar.ts" } }, { "kind": "custom-element-definition", "name": "bcb-actions-bar", "declaration": { "name": "ActionsBar", "module": "src/prescription-scanner/actions-bar/actions-bar.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/actions-bar/actions-buttons.ts", "declarations": [ { "kind": "class", "description": "", "name": "ActionsButtons", "slots": [ { "description": "Custom actions. Can be <bcb-action-button> or anything else.", "name": "" } ], "members": [ { "kind": "field", "name": "slot", "type": { "text": "string" }, "default": "\"actions-buttons\"", "attribute": "slot", "reflects": true } ], "attributes": [ { "name": "slot", "type": { "text": "string" }, "default": "\"actions-buttons\"", "fieldName": "slot" } ], "superclass": { "name": "LitElement", "package": "lit" }, "tagName": "bcb-actions-buttons", "customElement": true } ], "exports": [ { "kind": "js", "name": "ActionsButtons", "declaration": { "name": "ActionsButtons", "module": "src/prescription-scanner/actions-bar/actions-buttons.ts" } }, { "kind": "custom-element-definition", "name": "bcb-actions-buttons", "declaration": { "name": "ActionsButtons", "module": "src/prescription-scanner/actions-bar/actions-buttons.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/actions-bar/actions.utils.ts", "declarations": [ { "kind": "function", "name": "renderBundleRawText", "return": { "type": { "text": "Promise<string>" } }, "parameters": [ { "name": "bundle", "type": { "text": "Bundle" } } ] } ], "exports": [ { "kind": "js", "name": "renderMedicationRequestLabel", "declaration": { "name": "renderMedicationRequestLabel", "module": "../medication/medication-request/format-medication-request-label.function" } }, { "kind": "js", "name": "renderMedicationLabel", "declaration": { "name": "renderMedicationLabel", "module": "../medication/format-medication-label.function" } }, { "kind": "js", "name": "renderBundleRawText", "declaration": { "name": "renderBundleRawText", "module": "src/prescription-scanner/actions-bar/actions.utils.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/actions-bar/index.ts", "declarations": [], "exports": [ { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/prescription-scanner/actions-bar/actions-buttons" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/prescription-scanner/actions-bar/action-button/action-button" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "module": "src/prescription-scanner/actions-bar/actions.utils" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/actions-menu/actions-menu.stories.ts", "declarations": [ { "kind": "variable", "name": "meta", "type": { "text": "WebComponentsMeta<any, any>" } }, { "kind": "variable", "name": "Base", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "SingleItem", "type": { "text": "WebComponentsStory<any, any>" } } ], "exports": [ { "kind": "js", "name": "default", "declaration": { "name": "meta", "module": "src/prescription-scanner/actions-menu/actions-menu.stories.ts" } }, { "kind": "js", "name": "Base", "declaration": { "name": "Base", "module": "src/prescription-scanner/actions-menu/actions-menu.stories.ts" } }, { "kind": "js", "name": "SingleItem", "declaration": { "name": "SingleItem", "module": "src/prescription-scanner/actions-menu/actions-menu.stories.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/actions-menu/actions-menu.ts", "declarations": [ { "kind": "class", "description": "", "name": "ActionsMenu", "members": [ { "kind": "field", "name": "items", "type": { "text": "MenuItem[]" }, "default": "[]", "attribute": "items" }, { "kind": "field", "name": "menuVisible", "type": { "text": "boolean" }, "privacy": "private", "default": "false" }, { "kind": "field", "name": "_menuId", "privacy": "private", "readonly": true }, { "kind": "field", "name": "toggleMenu", "privacy": "private" }, { "kind": "method", "name": "openMenu", "privacy": "private" }, { "kind": "field", "name": "handleWindowPointerDown", "privacy": "private" }, { "kind": "field", "name": "handleWindowKeyDown", "privacy": "private" }, { "kind": "field", "name": "handleTriggerKeyDown", "privacy": "private" }, { "kind": "method", "name": "handleMenuItemClick", "privacy": "private", "parameters": [ { "name": "event", "type": { "text": "Event" } } ] }, { "kind": "method", "name": "closeMenu", "privacy": "private" }, { "kind": "method", "name": "renderOptionList", "privacy": "private" } ], "attributes": [ { "name": "items", "type": { "text": "MenuItem[]" }, "default": "[]", "fieldName": "items" } ], "superclass": { "name": "LitElement", "package": "lit" }, "tagName": "actions-menu", "customElement": true } ], "exports": [ { "kind": "js", "name": "ActionsMenu", "declaration": { "name": "ActionsMenu", "module": "src/prescription-scanner/actions-menu/actions-menu.ts" } }, { "kind": "custom-element-definition", "name": "actions-menu", "declaration": { "name": "ActionsMenu", "module": "src/prescription-scanner/actions-menu/actions-menu.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/documents/documents.stories.ts", "declarations": [ { "kind": "variable", "name": "meta", "type": { "text": "WebComponentsMeta<any, any>" } }, { "kind": "variable", "name": "Base", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "Loading", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "WithFiles", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "SelectionSync", "type": { "text": "WebComponentsStory<any, any>" } } ], "exports": [ { "kind": "js", "name": "default", "declaration": { "name": "meta", "module": "src/prescription-scanner/documents/documents.stories.ts" } }, { "kind": "js", "name": "Base", "declaration": { "name": "Base", "module": "src/prescription-scanner/documents/documents.stories.ts" } }, { "kind": "js", "name": "Loading", "declaration": { "name": "Loading", "module": "src/prescription-scanner/documents/documents.stories.ts" } }, { "kind": "js", "name": "WithFiles", "declaration": { "name": "WithFiles", "module": "src/prescription-scanner/documents/documents.stories.ts" } }, { "kind": "js", "name": "SelectionSync", "declaration": { "name": "SelectionSync", "module": "src/prescription-scanner/documents/documents.stories.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/documents/documents.ts", "declarations": [ { "kind": "class", "description": "", "name": "Documents", "members": [ { "kind": "field", "name": "acceptTextFiles", "type": { "text": "boolean" }, "default": "false", "attribute": "acceptTextFiles" }, { "kind": "field", "name": "loading", "type": { "text": "boolean" }, "default": "false", "attribute": "loading" }, { "kind": "field", "name": "files", "type": { "text": "File[]" }, "default": "[]" }, { "kind": "field", "name": "selectedFile", "type": { "text": "File | undefined" } }, { "kind": "field", "name": "highlightMedicationsList", "type": { "text": "HighlightMedicationListByDocument[]" }, "default": "[]" }, { "kind": "field", "name": "events", "type": { "text": "object" }, "static": true, "readonly": true, "default": "{ FILE_SELECTED: \"file-selected\", FILES_UPLOADED: \"files-uploaded\", FILE_DELETED: \"file-deleted\", }" }, { "kind": "method", "name": "_renderFilePreview", "privacy": "private" }, { "kind": "method", "name": "_triggerFileUpload", "privacy": "private" }, { "kind": "method", "name": "_renderFileViewer", "privacy": "private" }, { "kind": "method", "name": "_filesUploaded", "privacy": "private", "parameters": [ { "name": "e", "type": { "text": "FilesEvent | InputEvent" } } ] }, { "kind": "method", "name": "_fileSelected", "privacy": "private", "parameters": [ { "name": "fileEvent", "type": { "text": "FileEvent" } } ] }, { "kind": "method", "name": "_fileDeleted", "privacy": "private", "parameters": [ { "name": "e", "type": { "text": "FileEvent" } } ] } ], "events": [ { "type": { "text": "FilesEvent" } } ], "attributes": [ { "name": "acceptTextFiles", "type": { "text": "boolean" }, "default": "false", "fieldName": "acceptTextFiles" }, { "name": "loading", "type": { "text": "boolean" }, "default": "false", "fieldName": "loading" } ], "superclass": { "name": "LitElement", "package": "lit" }, "tagName": "bcb-documents", "customElement": true } ], "exports": [ { "kind": "js", "name": "Documents", "declaration": { "name": "Documents", "module": "src/prescription-scanner/documents/documents.ts" } }, { "kind": "custom-element-definition", "name": "bcb-documents", "declaration": { "name": "Documents", "module": "src/prescription-scanner/documents/documents.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/documents/files.event.ts", "declarations": [ { "kind": "class", "description": "", "name": "FileEvent", "members": [ { "kind": "field", "name": "file", "type": { "text": "File" }, "default": "file" } ], "superclass": { "name": "Event", "module": "src/prescription-scanner/documents/files.event.ts" } }, { "kind": "class", "description": "", "name": "FilesEvent", "members": [ { "kind": "field", "name": "files", "type": { "text": "File[]" } } ], "superclass": { "name": "Event", "module": "src/prescription-scanner/documents/files.event.ts" } } ], "exports": [ { "kind": "js", "name": "FileEvent", "declaration": { "name": "FileEvent", "module": "src/prescription-scanner/documents/files.event.ts" } }, { "kind": "js", "name": "FilesEvent", "declaration": { "name": "FilesEvent", "module": "src/prescription-scanner/documents/files.event.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/medication/find-medication.function.ts", "declarations": [], "exports": [] }, { "kind": "javascript-module", "path": "src/prescription-scanner/medication/format-medication-label.function.ts", "declarations": [ { "kind": "function", "name": "renderMedicationLabel", "return": { "type": { "text": "string | undefined" } }, "parameters": [ { "name": "medication", "type": { "text": "Medication" } } ] }, { "kind": "function", "name": "getLowerATCClass", "return": { "type": { "text": "Coding | undefined" } }, "parameters": [ { "name": "medication", "type": { "text": "Medication" } } ] } ], "exports": [ { "kind": "js", "name": "renderMedicationLabel", "declaration": { "name": "renderMedicationLabel", "module": "src/prescription-scanner/medication/format-medication-label.function.ts" } }, { "kind": "js", "name": "getLowerATCClass", "declaration": { "name": "getLowerATCClass", "module": "src/prescription-scanner/medication/format-medication-label.function.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/medication/medication.event.ts", "declarations": [ { "kind": "class", "description": "", "name": "MedicationEvent", "members": [ { "kind": "field", "name": "medication", "type": { "text": "Medication" }, "default": "medication" }, { "kind": "field", "name": "originalId", "type": { "text": "string | undefined" }, "default": "originalId" } ], "superclass": { "name": "Event", "module": "src/prescription-scanner/medication/medication.event.ts" } } ], "exports": [ { "kind": "js", "name": "MedicationEvent", "declaration": { "name": "MedicationEvent", "module": "src/prescription-scanner/medication/medication.event.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/medication/reason.event.ts", "declarations": [ { "kind": "class", "description": "", "name": "ReasonEvent", "members": [ { "kind": "field", "name": "reason", "type": { "text": "string" }, "default": "reason" } ], "superclass": { "name": "Event", "module": "src/prescription-scanner/medication/reason.event.ts" } } ], "exports": [ { "kind": "js", "name": "ReasonEvent", "declaration": { "name": "ReasonEvent", "module": "src/prescription-scanner/medication/reason.event.ts" } } ] }, { "kind": "javascript-module", "path": "src/prescription-scanner/loading-container/loading-container.stories.ts", "declarations": [ { "kind": "variable", "name": "meta", "type": { "text": "WebComponentsMeta<any, any>" } }, { "kind": "variable", "name": "Base", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "NotLoading", "type": { "text": "WebComponentsStory<any, any>" } }, { "kind": "variable", "name": "WithCustomText", "type": { "text": "WebComponentsStory<any, any>" }