UNPKG

@claudebernard/medication-request-editor-element

Version:

An element which permit to edit a medication request.

1,456 lines 128 kB
{ "schemaVersion": "1.0.0", "readme": "", "modules": [ { "kind": "javascript-module", "path": "src/index.ts", "declarations": [], "exports": [ { "kind": "js", "name": "*", "declaration": { "name": "*", "package": "./medication-request/medication-request-builder" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "package": "./medication-request/medication-request.event" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "package": "./medication-request/medication-request.class" } }, { "kind": "js", "name": "*", "declaration": { "name": "*", "package": "./medication-request/medication-request.class" } } ] }, { "kind": "javascript-module", "path": "src/config/localization.ts", "declarations": [ { "kind": "variable", "name": "{ getLocale, setLocale }" } ], "exports": [ { "kind": "js", "name": "{ getLocale, setLocale }", "declaration": { "name": "{ getLocale, setLocale }", "module": "src/config/localization.ts" } } ] }, { "kind": "javascript-module", "path": "src/icons/bcb-icon.ts", "declarations": [ { "kind": "class", "description": "", "name": "BcbIcon", "members": [ { "kind": "field", "name": "iconStyle", "type": { "text": "string" }, "default": "\"solid\"", "attribute": "iconStyle" }, { "kind": "field", "name": "color", "type": { "text": "string" }, "default": "\"\"", "attribute": "color" }, { "kind": "field", "name": "name", "type": { "text": "string" }, "attribute": "name" } ], "attributes": [ { "name": "iconStyle", "type": { "text": "string" }, "default": "\"solid\"", "fieldName": "iconStyle" }, { "name": "color", "type": { "text": "string" }, "default": "\"\"", "fieldName": "color" }, { "name": "name", "type": { "text": "string" }, "fieldName": "name" } ], "superclass": { "name": "LitElement", "package": "lit" }, "tagName": "bcb-medication-request-icon", "customElement": true } ], "exports": [ { "kind": "js", "name": "BcbIcon", "declaration": { "name": "BcbIcon", "module": "src/icons/bcb-icon.ts" } }, { "kind": "custom-element-definition", "name": "bcb-medication-request-icon", "declaration": { "name": "BcbIcon", "module": "src/icons/bcb-icon.ts" } } ] }, { "kind": "javascript-module", "path": "src/dosage/dosage-editor-option.class.ts", "declarations": [ { "kind": "class", "description": "", "name": "DosageEditorOption", "members": [ { "kind": "field", "name": "score", "type": { "text": "number" } }, { "kind": "field", "name": "code", "type": { "text": "string" }, "default": "code" }, { "kind": "field", "name": "text", "type": { "text": "string" }, "default": "text" }, { "kind": "field", "name": "textForOption", "type": { "text": "string | undefined" } }, { "kind": "field", "name": "value", "type": { "text": "string" }, "readonly": true }, { "kind": "method", "name": "canFollow", "return": { "type": { "text": "boolean" } }, "parameters": [ { "name": "options", "type": { "text": "DosageEditorOption[]" } } ] }, { "kind": "method", "name": "isGuidingOption", "return": { "type": { "text": "boolean" } } }, { "kind": "method", "name": "isUserInputOption", "return": { "type": { "text": "boolean" } } } ] }, { "kind": "class", "description": "", "name": "DosageEditorGuidingOption", "members": [ { "kind": "method", "name": "isGuidingOption", "return": { "type": { "text": "boolean" } }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "score", "type": { "text": "number" }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "code", "type": { "text": "string" }, "default": "code", "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "text", "type": { "text": "string" }, "default": "text", "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "textForOption", "type": { "text": "string | undefined" }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "value", "type": { "text": "string" }, "readonly": true, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "method", "name": "canFollow", "return": { "type": { "text": "boolean" } }, "parameters": [ { "name": "options", "type": { "text": "DosageEditorOption[]" } } ], "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "method", "name": "isUserInputOption", "return": { "type": { "text": "boolean" } }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } } ], "superclass": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "class", "description": "", "name": "UserInputOption", "members": [ { "kind": "method", "name": "isUserInputOption", "return": { "type": { "text": "boolean" } }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "score", "type": { "text": "number" }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "code", "type": { "text": "string" }, "default": "code", "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "text", "type": { "text": "string" }, "default": "text", "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "textForOption", "type": { "text": "string | undefined" }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "value", "type": { "text": "string" }, "readonly": true, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "method", "name": "canFollow", "return": { "type": { "text": "boolean" } }, "parameters": [ { "name": "options", "type": { "text": "DosageEditorOption[]" } } ], "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "method", "name": "isGuidingOption", "return": { "type": { "text": "boolean" } }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } } ], "superclass": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } } ], "exports": [ { "kind": "js", "name": "DosageEditorOption", "declaration": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "js", "name": "DosageEditorGuidingOption", "declaration": { "name": "DosageEditorGuidingOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "js", "name": "UserInputOption", "declaration": { "name": "UserInputOption", "module": "src/dosage/dosage-editor-option.class.ts" } } ] }, { "kind": "javascript-module", "path": "src/dosage/dosage-editor.ts", "declarations": [ { "kind": "class", "description": "", "name": "DosageEditor", "members": [ { "kind": "field", "name": "dosage", "type": { "text": "Dosage" }, "attribute": "dosage" }, { "kind": "field", "name": "dosageId", "type": { "text": "number" }, "default": "dosageId", "attribute": "dosageId" }, { "kind": "field", "name": "selectedOptions", "type": { "text": "DosageEditorOption[]" }, "default": "[]" }, { "kind": "field", "name": "dosageInput", "type": { "text": "TomSelect | undefined" } }, { "kind": "field", "name": "options", "type": { "text": "DosageEditorOption[]" }, "default": "[]" }, { "kind": "field", "name": "events", "type": { "text": "object" }, "static": true, "default": "{\n DOSAGE_UPDATED: 'dosage-updated'\n }" }, { "kind": "method", "name": "_loadPrefixesAndSuffixes", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadDoseQuantityValues", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadDoseQuantityCodes", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadFrequencies", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadPeriodValues", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadPeriodUnits", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadPeriodDayOfWeekValues", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadBoundsDurationValues", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadBoundsDurationCodes", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadPeriodTimeOfDayValues", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_initTomSelect", "privacy": "private" }, { "kind": "method", "name": "_updateDosage", "privacy": "private", "parameters": [ { "name": "dosageText", "default": "''" } ] }, { "kind": "method", "name": "_updateDoseQuantity", "privacy": "private" }, { "kind": "method", "name": "_updateFrequency", "privacy": "private" }, { "kind": "method", "name": "_updateBoundsDuration", "privacy": "private" }, { "kind": "method", "name": "_clearMedicationDosage", "privacy": "private" }, { "kind": "method", "name": "_setValue", "privacy": "private", "parameters": [ { "name": "selectedOptionIds", "type": { "text": "string[]" } } ] }, { "kind": "method", "name": "_getDosageOptions", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } }, { "kind": "method", "name": "_loadOptions", "privacy": "private", "return": { "type": { "text": "DosageEditorOption[]" } } } ], "events": [ { "type": { "text": "DosageEvent" } } ], "attributes": [ { "name": "dosage", "type": { "text": "Dosage" }, "fieldName": "dosage" }, { "name": "dosageId", "type": { "text": "number" }, "default": "dosageId", "resolveInitializer": { "module": "src/dosage/dosage-editor.ts" }, "fieldName": "dosageId" } ], "superclass": { "name": "LitElement", "package": "lit" }, "tagName": "bcb-dosage-editor", "customElement": true } ], "exports": [ { "kind": "js", "name": "DosageEditor", "declaration": { "name": "DosageEditor", "module": "src/dosage/dosage-editor.ts" } }, { "kind": "custom-element-definition", "name": "bcb-dosage-editor", "declaration": { "name": "DosageEditor", "module": "src/dosage/dosage-editor.ts" } } ] }, { "kind": "javascript-module", "path": "src/dosage/dosage.class.ts", "declarations": [], "exports": [] }, { "kind": "javascript-module", "path": "src/dosage/dosage.enum.ts", "declarations": [], "exports": [] }, { "kind": "javascript-module", "path": "src/dosage/dosage.event.ts", "declarations": [ { "kind": "class", "description": "", "name": "DosageEvent", "members": [ { "kind": "field", "name": "dosage", "type": { "text": "Dosage" }, "default": "dosage" }, { "kind": "field", "name": "index", "type": { "text": "number | undefined" }, "default": "index" } ], "superclass": { "name": "Event", "module": "src/dosage/dosage.event.ts" } } ], "exports": [ { "kind": "js", "name": "DosageEvent", "declaration": { "name": "DosageEvent", "module": "src/dosage/dosage.event.ts" } } ] }, { "kind": "javascript-module", "path": "src/dosage/dosage.translations.ts", "declarations": [ { "kind": "function", "name": "localizedDaysOfWeek", "return": { "type": { "text": "Map<string, string>" } } }, { "kind": "function", "name": "localizedHours", "return": { "type": { "text": "Map<number, string>" } } }, { "kind": "function", "name": "localizedEventTimings", "return": { "type": { "text": "Record<string, EventTimingDescriptor>" } } }, { "kind": "function", "name": "localizedUnitsOfTime", "return": { "type": { "text": "Map<string, string>" } } }, { "kind": "function", "name": "localizedDoseUnits", "return": { "type": { "text": "Record<string, DoseUnitDescriptor>" } } }, { "kind": "function", "name": "localizedRouteBcbCodes", "return": { "type": { "text": "Record<string, string>" } } }, { "kind": "function", "name": "localizedRouteSnomedCodes", "return": { "type": { "text": "Record<string, string>" } } } ], "exports": [ { "kind": "js", "name": "localizedDaysOfWeek", "declaration": { "name": "localizedDaysOfWeek", "module": "src/dosage/dosage.translations.ts" } }, { "kind": "js", "name": "localizedHours", "declaration": { "name": "localizedHours", "module": "src/dosage/dosage.translations.ts" } }, { "kind": "js", "name": "localizedEventTimings", "declaration": { "name": "localizedEventTimings", "module": "src/dosage/dosage.translations.ts" } }, { "kind": "js", "name": "localizedUnitsOfTime", "declaration": { "name": "localizedUnitsOfTime", "module": "src/dosage/dosage.translations.ts" } }, { "kind": "js", "name": "localizedDoseUnits", "declaration": { "name": "localizedDoseUnits", "module": "src/dosage/dosage.translations.ts" } }, { "kind": "js", "name": "localizedRouteBcbCodes", "declaration": { "name": "localizedRouteBcbCodes", "module": "src/dosage/dosage.translations.ts" } }, { "kind": "js", "name": "localizedRouteSnomedCodes", "declaration": { "name": "localizedRouteSnomedCodes", "module": "src/dosage/dosage.translations.ts" } } ] }, { "kind": "javascript-module", "path": "src/medication-request/medication-request-builder.ts", "declarations": [ { "kind": "class", "description": "", "name": "MedicationRequestBuilder", "members": [ { "kind": "field", "name": "medicationRequest", "type": { "text": "MedicationRequest" }, "privacy": "private", "default": "{\n id: '',\n dosageInstruction: [{\n asNeeded: false,\n asNeededFor: [],\n doseAndRate: [],\n maxDosePerPeriod: [],\n sequence: 1\n }],\n resourceType: ResourceType.MedicationRequest,\n reason: [],\n medication: {\n reference: {\n reference: '',\n type: ResourceType.Medication\n }\n }\n }" }, { "kind": "method", "name": "withDosageInstruction", "return": { "type": { "text": "this" } }, "parameters": [ { "name": "dosageInstruction", "type": { "text": "Dosage[]" } } ] }, { "kind": "method", "name": "withReason", "return": { "type": { "text": "this" } }, "parameters": [ { "name": "reason", "type": { "text": "CodeableReference[]" } } ] }, { "kind": "method", "name": "withMedication", "return": { "type": { "text": "this" } }, "parameters": [ { "name": "medication", "type": { "text": "CodeableReference | undefined" } } ] }, { "kind": "method", "name": "build", "return": { "type": { "text": "MedicationRequest" } } } ] } ], "exports": [ { "kind": "js", "name": "MedicationRequestBuilder", "declaration": { "name": "MedicationRequestBuilder", "module": "src/medication-request/medication-request-builder.ts" } } ] }, { "kind": "javascript-module", "path": "src/medication-request/medication-request-editor.ts", "declarations": [ { "kind": "variable", "name": "{ setLocale, getLocale }" }, { "kind": "class", "description": "An element which permit to edit a medication request.", "name": "MedicationRequestEditor", "members": [ { "kind": "field", "name": "events", "type": { "text": "object" }, "static": true, "readonly": true, "default": "{\n MEDICATION_REQUEST_REMOVED: 'medication-request-removed',\n MEDICATION_REQUEST_UPDATED: 'medication-request-updated',\n }" }, { "kind": "field", "name": "lang", "type": { "text": "string" }, "default": "\"fr-FR\"", "attribute": "lang" }, { "kind": "field", "name": "medicationRequest", "type": { "text": "MedicationRequest" }, "attribute": "medicationRequest" }, { "kind": "method", "name": "withLocale", "parameters": [ { "name": "template", "type": { "text": "() => TemplateResult" } } ] }, { "kind": "method", "name": "_removeDosage", "privacy": "private", "return": { "type": { "text": "void" } }, "parameters": [ { "name": "index", "type": { "text": "number" } } ] }, { "kind": "method", "name": "_updateDosage", "privacy": "private", "parameters": [ { "name": "event", "type": { "text": "DosageEvent" } }, { "name": "index", "type": { "text": "number" } } ] }, { "kind": "method", "name": "_addDosage", "privacy": "private", "return": { "type": { "text": "void" } } }, { "kind": "method", "name": "dispatchEvent", "return": { "type": { "text": "boolean" } }, "parameters": [ { "name": "event", "type": { "text": "Event" } } ] } ], "events": [ { "type": { "text": "DosageEvent" } }, { "type": { "text": "MedicationRequest" }, "description": "medication request removed", "name": "medication-request-removed" }, { "type": { "text": "MedicationRequest" }, "description": "medication request updated", "name": "medication-request-updated" } ], "attributes": [ { "name": "lang", "type": { "text": "string" }, "default": "\"fr-FR\"", "fieldName": "lang" }, { "name": "medicationRequest", "type": { "text": "MedicationRequest" }, "fieldName": "medicationRequest" } ], "superclass": { "name": "LitElement", "package": "lit" }, "tagName": "bcb-medication-request-editor", "customElement": true } ], "exports": [ { "kind": "js", "name": "{ setLocale, getLocale }", "declaration": { "name": "{ setLocale, getLocale }", "module": "src/medication-request/medication-request-editor.ts" } }, { "kind": "js", "name": "MedicationRequestEditor", "declaration": { "name": "MedicationRequestEditor", "module": "src/medication-request/medication-request-editor.ts" } }, { "kind": "custom-element-definition", "name": "bcb-medication-request-editor", "declaration": { "name": "MedicationRequestEditor", "module": "src/medication-request/medication-request-editor.ts" } } ] }, { "kind": "javascript-module", "path": "src/medication-request/medication-request.class.ts", "declarations": [], "exports": [] }, { "kind": "javascript-module", "path": "src/medication-request/medication-request.event.ts", "declarations": [ { "kind": "class", "description": "", "name": "MedicationRequestEvent", "members": [ { "kind": "field", "name": "medicationRequest", "type": { "text": "MedicationRequest" }, "default": "medicationRequest" } ], "superclass": { "name": "Event", "module": "src/medication-request/medication-request.event.ts" } } ], "exports": [ { "kind": "js", "name": "MedicationRequestEvent", "declaration": { "name": "MedicationRequestEvent", "module": "src/medication-request/medication-request.event.ts" } } ] }, { "kind": "javascript-module", "path": "src/shared/colors.ts", "declarations": [ { "kind": "variable", "name": "colors", "default": "css`\n* {\n --primary-900: color-mix(in srgb, #0C75AD 20%, black);\n --primary-800: color-mix(in srgb, #0C75AD 40%, black);\n --primary-700: color-mix(in srgb, #0C75AD 60%, black);\n --primary-600: color-mix(in srgb, #0C75AD 80%, black);\n --primary-500: #0C75AD;\n --primary-400: color-mix(in srgb, #0C75AD 80%, white);\n --primary-300: color-mix(in srgb, #0C75AD 60%, white);\n --primary-200: color-mix(in srgb, #0C75AD 40%, white);\n --primary-100: color-mix(in srgb, #0C75AD 20%, white);\n --primary-50: color-mix(in srgb, #0C75AD 10%, white);\n\n\n --secondary-900: color-mix(in srgb, #4A0C8A 80%, black);\n --secondary-800: color-mix(in srgb, #4A0C8A 60%, black);\n --secondary-700: color-mix(in srgb, #4A0C8A 40%, black);\n --secondary-600: color-mix(in srgb, #4A0C8A 20%, black);\n --secondary-500: #4A0C8A;\n --secondary-400: color-mix(in srgb, #4A0C8A 20%, white);\n --secondary-300: color-mix(in srgb, #4A0C8A 40%, white);\n --secondary-200: color-mix(in srgb, #4A0C8A 60%, white);\n --secondary-100: color-mix(in srgb, #4A0C8A 80%, white);\n --secondary-50: color-mix(in srgb, #4A0C8A 90%, white);\n\n --info-900: color-mix(in srgb, #35B9C5 80%, black);\n --info-800: color-mix(in srgb, #35B9C5 60%, black);\n --info-700: color-mix(in srgb, #35B9C5 40%, black);\n --info-600: color-mix(in srgb, #35B9C5 20%, black);\n --info-500: #35B9C5;\n --info-400: color-mix(in srgb, #35B9C5 20%, white);\n --info-300: color-mix(in srgb, #35B9C5 40%, white);\n --info-200: color-mix(in srgb, #35B9C5 60%, white);\n --info-100: color-mix(in srgb, #35B9C5 80%, white);\n --info-50: color-mix(in srgb, #35B9C5 90%, white);\n\n --danger-900: color-mix(in srgb, #CF406E 80%, black);\n --danger-800: color-mix(in srgb, #CF406E 60%, black);\n --danger-700: color-mix(in srgb, #CF406E 40%, black);\n --danger-600: color-mix(in srgb, #CF406E 20%, black);\n --danger-500: #CF406E;\n --danger-400: color-mix(in srgb, #CF406E 20%, white);\n --danger-300: color-mix(in srgb, #CF406E 40%, white);\n --danger-200: color-mix(in srgb, #CF406E 60%, white);\n --danger-100: color-mix(in srgb, #CF406E 80%, white);\n --danger-50: color-mix(in srgb, #CF406E 90%, white);\n\n --warning-900: color-mix(in srgb, #F59F00 80%, black);\n --warning-800: color-mix(in srgb, #F59F00 60%, black);\n --warning-700: color-mix(in srgb, #F59F00 40%, black);\n --warning-600: color-mix(in srgb, #F59F00 20%, black);\n --warning-500: #F59F00;\n --warning-400: color-mix(in srgb, #F59F00 20%, white);\n --warning-300: color-mix(in srgb, #F59F00 40%, white);\n --warning-200: color-mix(in srgb, #F59F00 60%, white);\n --warning-100: color-mix(in srgb, #F59F00 80%, white);\n --warning-50: color-mix(in srgb, #F59F00 90%, white);\n\n --success-900: color-mix(in srgb, #74B822 80%, black);\n --success-800: color-mix(in srgb, #74B822 60%, black);\n --success-700: color-mix(in srgb, #74B822 40%, black);\n --success-600: color-mix(in srgb, #74B822 20%, black);\n --success-500: #74B822;\n --success-400: color-mix(in srgb, #74B822 20%, white);\n --success-300: color-mix(in srgb, #74B822 40%, white);\n --success-200: color-mix(in srgb, #74B822 60%, white);\n --success-100: color-mix(in srgb, #74B822 80%, white);\n --success-50: color-mix(in srgb, #74B822 90%, white);\n\n --gray-900: color-mix(in srgb, #64748b 20%, black);\n --gray-800: color-mix(in srgb, #64748b 40%, black);\n --gray-700: color-mix(in srgb, #64748b 60%, black);\n --gray-600: color-mix(in srgb, #64748b 80%, black);\n --gray-500: #64748b;\n --gray-400: color-mix(in srgb, #64748b 80%, white);\n --gray-300: color-mix(in srgb, #64748b 60%, white);\n --gray-200: color-mix(in srgb, #64748b 40%, white);\n --gray-100: color-mix(in srgb, #64748b 20%, white);\n --gray-50: color-mix(in srgb, #64748b 10%, white);\n\n --cyan-900: color-mix(in srgb, #00bcd4 80%, black);\n --cyan-800: color-mix(in srgb, #00bcd4 60%, black);\n --cyan-700: color-mix(in srgb, #00bcd4 40%, black);\n --cyan-600: color-mix(in srgb, #00bcd4 20%, black);\n --cyan-500: #00bcd4;\n --cyan-400: color-mix(in srgb, #00bcd4 20%, white);\n --cyan-300: color-mix(in srgb, #00bcd4 40%, white);\n --cyan-200: color-mix(in srgb, #00bcd4 60%, white);\n --cyan-100: color-mix(in srgb, #00bcd4 80%, white);\n --cyan-50: color-mix(in srgb, #00bcd4 90%, white);\n\n --blue-900: color-mix(in srgb, #0092D0 80%, black);\n --blue-800: color-mix(in srgb, #0092D0 60%, black);\n --blue-700: color-mix(in srgb, #0092D0 40%, black);\n --blue-600: color-mix(in srgb, #0092D0 20%, black);\n --blue-500: #0092D0;\n --blue-400: color-mix(in srgb, #0092D0 20%, white);\n --blue-300: color-mix(in srgb, #0092D0 40%, white);\n --blue-200: color-mix(in srgb, #0092D0 60%, white);\n --blue-100: color-mix(in srgb, #0092D0 80%, white);\n --blue-50: color-mix(in srgb, #0092D0 90%, white);\n\n --indigo-900: color-mix(in srgb, #155D78 80%, black);\n --indigo-800: color-mix(in srgb, #155D78 60%, black);\n --indigo-700: color-mix(in srgb, #155D78 40%, black);\n --indigo-600: color-mix(in srgb, #155D78 20%, black);\n --indigo-500: #155D78;\n --indigo-400: color-mix(in srgb, #155D78 20%, white);\n --indigo-300: color-mix(in srgb, #155D78 40%, white);\n --indigo-200: color-mix(in srgb, #155D78 60%, white);\n --indigo-100: color-mix(in srgb, #155D78 80%, white);\n --indigo-50: color-mix(in srgb, #155D78 90%, white);\n\n --yellow-900: color-mix(in srgb, #fec60a 80%, black);\n --yellow-800: color-mix(in srgb, #fec60a 60%, black);\n --yellow-700: color-mix(in srgb, #fec60a 40%, black);\n --yellow-600: color-mix(in srgb, #fec60a 20%, black);\n --yellow-500: #fec60a;\n --yellow-400: color-mix(in srgb, #fec60a 20%, white);\n --yellow-300: color-mix(in srgb, #fec60a 40%, white);\n --yellow-200: color-mix(in srgb, #fec60a 60%, white);\n --yellow-100: color-mix(in srgb, #fec60a 80%, white);\n --yellow-50: color-mix(in srgb, #fec60a 90%, white);\n\n --orange-900: color-mix(in srgb, #F76707 80%, black);\n --orange-800: color-mix(in srgb, #F76707 60%, black);\n --orange-700: color-mix(in srgb, #F76707 40%, black);\n --orange-600: color-mix(in srgb, #F76707 20%, black);\n --orange-500: #F76707;\n --orange-400: color-mix(in srgb, #F76707 20%, white);\n --orange-300: color-mix(in srgb, #F76707 40%, white);\n --orange-200: color-mix(in srgb, #F76707 60%, white);\n --orange-100: color-mix(in srgb, #F76707 80%, white);\n --orange-50: color-mix(in srgb, #F76707 90%, white);\n\n --red-900: color-mix(in srgb, #f44336 80%, black);\n --red-800: color-mix(in srgb, #f44336 60%, black);\n --red-700: color-mix(in srgb, #f44336 40%, black);\n --red-600: color-mix(in srgb, #f44336 20%, black);\n --red-500: #f44336;\n --red-400: color-mix(in srgb, #f44336 20%, white);\n --red-300: color-mix(in srgb, #f44336 40%, white);\n --red-200: color-mix(in srgb, #f44336 60%, white);\n --red-100: color-mix(in srgb, #f44336 80%, white);\n --red-50: color-mix(in srgb, #f44336 90%, white);\n\n --pink-900: color-mix(in srgb, #E47BA0 80%, black);\n --pink-800: color-mix(in srgb, #E47BA0 60%, black);\n --pink-700: color-mix(in srgb, #E47BA0 40%, black);\n --pink-600: color-mix(in srgb, #E47BA0 20%, black);\n --pink-500: #E47BA0;\n --pink-400: color-mix(in srgb, #E47BA0 20%, white);\n --pink-300: color-mix(in srgb, #E47BA0 40%, white);\n --pink-200: color-mix(in srgb, #E47BA0 60%, white);\n --pink-100: color-mix(in srgb, #E47BA0 80%, white);\n --pink-50: color-mix(in srgb, #E47BA0 90%, white);\n\n --purple-900: color-mix(in srgb, #9c27b0 80%, black);\n --purple-800: color-mix(in srgb, #9c27b0 60%, black);\n --purple-700: color-mix(in srgb, #9c27b0 40%, black);\n --purple-600: color-mix(in srgb, #9c27b0 20%, black);\n --purple-500: #9c27b0;\n --purple-400: color-mix(in srgb, #9c27b0 20%, white);\n --purple-300: color-mix(in srgb, #9c27b0 40%, white);\n --purple-200: color-mix(in srgb, #9c27b0 60%, white);\n --purple-100: color-mix(in srgb, #9c27b0 80%, white);\n --purple-50: color-mix(in srgb, #9c27b0 90%, white);\n\n --lime-900: color-mix(in srgb, #cddc39 80%, black);\n --lime-800: color-mix(in srgb, #cddc39 60%, black);\n --lime-700: color-mix(in srgb, #cddc39 40%, black);\n --lime-600: color-mix(in srgb, #cddc39 20%, black);\n --lime-500: #cddc39;\n --lime-400: color-mix(in srgb, #cddc39 20%, white);\n --lime-300: color-mix(in srgb, #cddc39 40%, white);\n --lime-200: color-mix(in srgb, #cddc39 60%, white);\n --lime-100: color-mix(in srgb, #cddc39 80%, white);\n --lime-50: color-mix(in srgb, #cddc39 90%, white);\n\n --green-900: color-mix(in srgb, #4caf50 80%, black);\n --green-800: color-mix(in srgb, #4caf50 60%, black);\n --green-700: color-mix(in srgb, #4caf50 40%, black);\n --green-600: color-mix(in srgb, #4caf50 20%, black);\n --green-500: #4caf50;\n --green-400: color-mix(in srgb, #4caf50 20%, white);\n --green-300: color-mix(in srgb, #4caf50 40%, white);\n --green-200: color-mix(in srgb, #4caf50 60%, white);\n --green-100: color-mix(in srgb, #4caf50 80%, white);\n --green-50: color-mix(in srgb, #4caf50 90%, white);\n\n --teal-900: color-mix(in srgb, #0CA678 80%, black);\n --teal-800: color-mix(in srgb, #0CA678 60%, black);\n --teal-700: color-mix(in srgb, #0CA678 40%, black);\n --teal-600: color-mix(in srgb, #0CA678 20%, black);\n --teal-500: #0CA678;\n --teal-400: color-mix(in srgb, #0CA678 20%, white);\n --teal-300: color-mix(in srgb, #0CA678 40%, white);\n --teal-200: color-mix(in srgb, #0CA678 60%, white);\n --teal-100: color-mix(in srgb, #0CA678 80%, white);\n --teal-50: color-mix(in srgb, #0CA678 90%, white);\n\n --gradient: linear-gradient(45deg, rgba(74,12,138,1) 0%, rgba(12,117,173,1) 100%);\n\n}\n`" } ], "exports": [ { "kind": "js", "name": "colors", "declaration": { "name": "colors", "module": "src/shared/colors.ts" } } ] }, { "kind": "javascript-module", "path": "src/shared/fhir.class.ts", "declarations": [], "exports": [] }, { "kind": "javascript-module", "path": "src/shared/styles.ts", "declarations": [ { "kind": "variable", "name": "sharedStyles", "default": "css`\n * {\n font-family: \"Ubuntu\", system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n }\n`" } ], "exports": [ { "kind": "js", "name": "sharedStyles", "declaration": { "name": "sharedStyles", "module": "src/shared/styles.ts" } } ] }, { "kind": "javascript-module", "path": "src/dosage/dosage-editor-options/bounds-duration.options.ts", "declarations": [ { "kind": "class", "description": "", "name": "BoundsDurationValueOption", "members": [ { "kind": "field", "name": "score", "type": { "text": "number" }, "default": "100", "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "method", "name": "canFollow", "return": { "type": { "text": "boolean" } }, "parameters": [ { "name": "options", "type": { "text": "DosageEditorOption[]" } } ], "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "textForOption", "type": { "text": "string | undefined" }, "default": "`${value} (${msg('hours, days, etc')})`", "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "code", "type": { "text": "string" }, "default": "code", "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "text", "type": { "text": "string" }, "default": "text", "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "field", "name": "value", "type": { "text": "string" }, "readonly": true, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "method", "name": "isGuidingOption", "return": { "type": { "text": "boolean" } }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } }, { "kind": "method", "name": "isUserInputOption", "return": { "type": { "text": "boolean" } }, "inheritedFrom": { "name": "DosageEditorOption", "module": "src/dosage/dosage-editor-option.class.ts" } } ], "superclass": { "name": "DosageEditorOption", "module": "/src/dosage/dosage-editor-option.class" } }, { "kind": "class", "description": "", "nam