UNPKG

@vidal-community/vidal-web-components

Version:

Vidal Web Components

34 lines 1.7 kB
import { LitElement } from 'lit'; import { PrescriptionLine } from '../model/prescription-line'; import { EquivalentDrug } from '../model/equivalent-drug'; import './vidal-equivalent-form'; export declare class VidalEquivalents extends LitElement { associatedFormularyAndEquivalents: Map<PrescriptionLine, EquivalentDrug[]>; prescriptionLines: PrescriptionLine[]; availableFormularyDrugUris: string[]; prescribableFetchingSupplier: ((url: string) => Promise<Response>) | undefined; fetchingSupplierWithBody: ((url: any, body: any, headers: any) => Promise<Response>) | undefined; emitSubmitEvent: (submitEvent: any) => void; private prescribableService; private drugService; private equivalentFormularyFilter; loading: boolean; updated(changedProperties: any): void; render(): import("lit-html").TemplateResult<1>; private getEquivalentFormulary; private findEquivalentPackage; private findEquivalentVmp; private findEquivalentProduct; private isDrugAlreadyPresent; private exist; private findEquivalentsUcd; hydrateIndicatorsForPrescriptionLineWithoutEquivalents(equivalentFormulary: Map<PrescriptionLine, EquivalentDrug[]>): Promise<Map<PrescriptionLine, EquivalentDrug[]>>; private findMonoComposedEquivalentUcdForMultiComposedPrescriptionLinesWithoutEquivalentDrugs; findMultiComposableEquivalents(currentPrescriptionLine: PrescriptionLine, prescribableFetchingSupplier: ((url: string) => Promise<Response>) | undefined): Promise<EquivalentDrug[]>; } declare global { interface HTMLElementTagNameMap { 'vidal-equivalent': VidalEquivalents; } } //# sourceMappingURL=vidal-equivalents.d.ts.map