@icure/cardinal-prescription-be-angular
Version:
This is a Belgian-specific Angular application for healthcare professionals to manage electronic prescriptions with SAM. Created by iCure.
42 lines (41 loc) • 2.1 kB
TypeScript
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
import { Commercialization, Reimbursement, SamText, SupplyProblem } from '@icure/cardinal-be-sam-sdk';
import { MedicationType } from '../../../../shared/types';
import { TranslationService } from '../../../../shared/services/translation/translation.service';
import * as i0 from "@angular/core";
export declare class MedicationCardComponent implements OnInit {
private translationService;
private cdr;
medication: MedicationType;
index: number;
focused?: boolean;
addPrescription: EventEmitter<MedicationType>;
constructor(translationService: TranslationService, cdr: ChangeDetectorRef);
language: keyof SamText;
isExpanded: boolean;
t: (key: string) => string;
commercialization?: Commercialization;
supplyProblem?: SupplyProblem;
reimbursement?: Reimbursement;
commercializationExtraInfo?: string[];
commercializationEnd?: string;
commercializationReason?: string;
commercializationImpact?: string;
supplyProblemExtraInfo?: string[];
supplyProblemReason?: string;
supplyProblemImpact?: string;
reimbursementCriterion?: string;
vmpName?: string;
vmpGroupName?: string;
handleMedicationClick(): void;
ngOnInit(): void;
toggleMedicationDetails(): void;
get showLinks(): boolean;
getSpecialRegulation(code: number): string;
formatTimestamp(timestamp: number): string | undefined;
getCategoryLabelForReimbursement(code?: string): string;
computeFeeAmount(fee: string): string;
getTranslatedText(text?: SamText, lang?: keyof SamText, fallback?: keyof SamText): string | undefined;
static ɵfac: i0.ɵɵFactoryDeclaration<MedicationCardComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<MedicationCardComponent, "cardinal-medication-card", never, { "medication": { "alias": "medication"; "required": true; }; "index": { "alias": "index"; "required": true; }; "focused": { "alias": "focused"; "required": false; }; }, { "addPrescription": "addPrescription"; }, never, never, true, never>;
}