@claudebernard/therapeutic-alternative-element 1.1.0 → 2.1.0
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/dist/therapeutic-alternative.d.ts +65 -530
- package/dist/therapeutic-alternative.es.js +1124 -468
- package/package.json +15 -18
|
@@ -1,552 +1,87 @@
|
|
|
1
1
|
import { Bundle } from 'fhir/r5.js';
|
|
2
2
|
import { CSSResult } from 'lit';
|
|
3
3
|
import { LitElement } from 'lit';
|
|
4
|
-
import { Medication } from 'fhir/r5';
|
|
5
|
-
import { MedicationRequest } from 'fhir/r5';
|
|
6
4
|
import { TemplateResult } from 'lit-html';
|
|
7
5
|
|
|
8
6
|
/**
|
|
9
|
-
*
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
medicationRequest: MedicationRequest | null;
|
|
14
|
-
idPrescription: string;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
declare type ProductAtcClassBean = {
|
|
18
|
-
code?: string;
|
|
19
|
-
label?: string;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Products
|
|
24
|
-
*/
|
|
25
|
-
declare type ProductBean = {
|
|
26
|
-
code?: string;
|
|
27
|
-
productId?: number;
|
|
28
|
-
type?: number;
|
|
29
|
-
typeCategory?: number;
|
|
30
|
-
labelHtml?: string;
|
|
31
|
-
code13?: string;
|
|
32
|
-
deletedDate?: string;
|
|
33
|
-
deleted?: boolean;
|
|
34
|
-
replacementProductId?: number;
|
|
35
|
-
replacementProductLabel?: string;
|
|
36
|
-
labels?: ProductLabelsBean;
|
|
37
|
-
properties?: ProductPropertiesBean;
|
|
38
|
-
prices?: ProductPricesBean;
|
|
39
|
-
searchProperties?: ProductSearchPropertiesBean;
|
|
40
|
-
extendedProperties?: ProductExtendedPropertiesBean;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
declare type ProductCareBasketBean = {
|
|
44
|
-
code?: string;
|
|
45
|
-
startDate?: string;
|
|
46
|
-
endDate?: string;
|
|
47
|
-
averagePrice?: string;
|
|
48
|
-
visibility?: number;
|
|
49
|
-
label?: string;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
declare type ProductClassBean = {
|
|
53
|
-
code?: string;
|
|
54
|
-
label?: string;
|
|
55
|
-
codeLvl1?: string;
|
|
56
|
-
labelLvl1?: string;
|
|
57
|
-
codeLvl2?: string;
|
|
58
|
-
labelLvl2?: string;
|
|
59
|
-
codeLvl3?: string;
|
|
60
|
-
labelLvl3?: string;
|
|
61
|
-
codeLvl4?: string;
|
|
62
|
-
labelLvl4?: string;
|
|
63
|
-
codeLvl5?: string;
|
|
64
|
-
labelLvl5?: string;
|
|
65
|
-
codeLvl6?: string;
|
|
66
|
-
labelLvl6?: string;
|
|
67
|
-
codeLvl7?: string;
|
|
68
|
-
labelLvl7?: string;
|
|
69
|
-
notSubstituable?: number;
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
declare type ProductCodesBean = {
|
|
73
|
-
cip7?: string;
|
|
74
|
-
cip13?: string;
|
|
75
|
-
cip13Referent?: string;
|
|
76
|
-
ucd7?: string;
|
|
77
|
-
ucd13?: string;
|
|
78
|
-
cis?: string;
|
|
79
|
-
code13Referent?: string;
|
|
80
|
-
ean13?: Array<ProductEan13Bean>;
|
|
81
|
-
udi?: Array<ProductUdiBean>;
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
declare type ProductComponentBean = {
|
|
85
|
-
code?: string;
|
|
86
|
-
label?: string;
|
|
87
|
-
parentCode?: string;
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
declare type ProductComponentsBean = {
|
|
91
|
-
activeSubstances?: Array<ProductComponentBean>;
|
|
92
|
-
excipients?: Array<ProductComponentBean>;
|
|
93
|
-
excipientsWithKnownEffects?: Array<ProductComponentBean>;
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
declare type ProductCrushabilityBean = {
|
|
97
|
-
unpleasantTaste?: number;
|
|
98
|
-
crushable?: number;
|
|
99
|
-
openable?: number;
|
|
100
|
-
disintegrationPossible?: number;
|
|
101
|
-
canBeTakenWithWater?: number;
|
|
102
|
-
canBeTakenWithOrangeJuice?: number;
|
|
103
|
-
canBeTakenWithMilk?: number;
|
|
104
|
-
canBeTakenWithYogurt?: number;
|
|
105
|
-
canBeTakenWithCompote?: number;
|
|
106
|
-
immediateMedicationPossible?: number;
|
|
107
|
-
informations?: string;
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
declare type ProductDocumentBean = {
|
|
111
|
-
code?: string;
|
|
112
|
-
name?: string;
|
|
113
|
-
extension?: string;
|
|
114
|
-
source?: string;
|
|
115
|
-
date?: string;
|
|
116
|
-
title?: string;
|
|
117
|
-
titleHtml?: string;
|
|
118
|
-
category?: string;
|
|
119
|
-
categoryHtml?: string;
|
|
120
|
-
link?: string;
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
declare type ProductEan13Bean = {
|
|
124
|
-
code?: string;
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
declare type ProductExtendedFlagsBean = {
|
|
128
|
-
bloodDerivative?: number;
|
|
129
|
-
anticoagulant?: number;
|
|
130
|
-
vaccin?: number;
|
|
131
|
-
soluteDilution?: number;
|
|
132
|
-
emergencyContraceptive?: number;
|
|
133
|
-
minorContraceptive?: number;
|
|
134
|
-
fridge?: number;
|
|
135
|
-
humanAntibiotic?: number;
|
|
136
|
-
veterinaryAntibiotic?: number;
|
|
137
|
-
veterinaryPrescription?: number;
|
|
138
|
-
deconditionning?: number;
|
|
139
|
-
seasonalFluVaccine?: number;
|
|
140
|
-
ghs?: number;
|
|
141
|
-
horsGhs?: number;
|
|
142
|
-
infertilityTreatment?: number;
|
|
143
|
-
mindalteringSubstance?: number;
|
|
144
|
-
testReagent?: number;
|
|
145
|
-
firstAgeMilk?: number;
|
|
146
|
-
abortionDrug?: number;
|
|
147
|
-
mte?: number;
|
|
148
|
-
tfr?: number;
|
|
149
|
-
biosimilarReferent?: number;
|
|
150
|
-
freezer?: number;
|
|
151
|
-
reinforcedMonitoring?: number;
|
|
152
|
-
t2a?: number;
|
|
153
|
-
communityApproval?: number;
|
|
154
|
-
drugException?: number;
|
|
155
|
-
hybridReferent?: number;
|
|
156
|
-
pregnancyPictogram?: number;
|
|
157
|
-
foodSupplement?: number;
|
|
158
|
-
foodSupplementInfo?: number;
|
|
159
|
-
paraInfo?: number;
|
|
160
|
-
specificDrug?: number;
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
declare type ProductExtendedPropertiesBean = {
|
|
164
|
-
brandCode?: string;
|
|
165
|
-
brandLabel?: string;
|
|
166
|
-
brandLabelHtml?: string;
|
|
167
|
-
rangeCode?: string;
|
|
168
|
-
rangeLabel?: string;
|
|
169
|
-
rangeLabelHtml?: string;
|
|
170
|
-
biosimilarGroupLabel?: string;
|
|
171
|
-
numberOfUcds?: number;
|
|
172
|
-
listCode?: string;
|
|
173
|
-
listLabel?: string;
|
|
174
|
-
statusCode?: number;
|
|
175
|
-
statusLabel?: string;
|
|
176
|
-
commonNameCode?: string;
|
|
177
|
-
commonNameLabel?: string;
|
|
178
|
-
revisionDate?: string;
|
|
179
|
-
segmentationStatus?: string;
|
|
180
|
-
segmentationStatusHtml?: string;
|
|
181
|
-
actCode?: string;
|
|
182
|
-
actLabelHtml?: string;
|
|
183
|
-
ammNumber?: string;
|
|
184
|
-
segments?: string;
|
|
185
|
-
segmentsHtml?: string;
|
|
186
|
-
equivalentDosage?: Array<string>;
|
|
187
|
-
genericGroups?: Array<ProductGenericGroupBean>;
|
|
188
|
-
ammDate?: string;
|
|
189
|
-
ammRevisionDate?: string;
|
|
190
|
-
composition?: ProductComponentsBean;
|
|
191
|
-
holderLab?: ProductLaboratoryBean;
|
|
192
|
-
operatingLab?: ProductLaboratoryBean;
|
|
193
|
-
chapters?: Array<ProductMonographChaptersBean>;
|
|
194
|
-
paradocChapters?: Array<ProductMonographChaptersBean>;
|
|
195
|
-
atcClass?: Array<ProductClassBean>;
|
|
196
|
-
bcbClass?: Array<ProductClassBean>;
|
|
197
|
-
routes?: Array<ProductRouteAdministrationBean>;
|
|
198
|
-
prescriptibles?: ProductPrescriptibleBean;
|
|
199
|
-
restrictedPrescription?: Array<ProductRestrictedPrescriptionBean>;
|
|
200
|
-
documents?: Array<ProductDocumentBean>;
|
|
201
|
-
segmentationAttributes?: ProductSegmentationAttributesBean;
|
|
202
|
-
keywords?: ProductKeywordBean;
|
|
203
|
-
crushability?: ProductCrushabilityBean;
|
|
204
|
-
specialPrescription?: Array<ProductSpecialPrescriptionBean>;
|
|
205
|
-
photo?: string;
|
|
206
|
-
sam?: ProductSamBean;
|
|
207
|
-
creationDate?: string;
|
|
208
|
-
pricesHistory?: Array<ProductPriceHistoryBean>;
|
|
209
|
-
tips?: Array<ProductTipsBean>;
|
|
210
|
-
identifier?: ProductIdentifierBean;
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
declare type ProductFlagsBean = {
|
|
214
|
-
misuse?: number;
|
|
215
|
-
careBasket?: number;
|
|
216
|
-
doping?: number;
|
|
217
|
-
driveWarning?: string;
|
|
218
|
-
narcotic?: number;
|
|
219
|
-
crushable?: number;
|
|
220
|
-
referent?: number;
|
|
221
|
-
generic?: number;
|
|
222
|
-
biosimilar?: number;
|
|
223
|
-
hospitalDelivery?: number;
|
|
224
|
-
internal?: number;
|
|
225
|
-
medicalDevice?: number;
|
|
226
|
-
homeo?: number;
|
|
227
|
-
pediatrics?: number;
|
|
228
|
-
hybrid?: number;
|
|
229
|
-
extendedFlags?: ProductExtendedFlagsBean;
|
|
230
|
-
};
|
|
231
|
-
|
|
232
|
-
declare type ProductGenericGroupBean = {
|
|
233
|
-
genericGroupCode?: string;
|
|
234
|
-
genericGroupLabel?: string;
|
|
235
|
-
genericGroupLabelHtml?: string;
|
|
236
|
-
};
|
|
237
|
-
|
|
238
|
-
declare type ProductIdentifierBean = {
|
|
239
|
-
numberOfPresentations?: string;
|
|
240
|
-
unitsPerPresentation?: string;
|
|
241
|
-
presentationLabel?: string;
|
|
242
|
-
packagingLabel?: string;
|
|
243
|
-
unitPresentationLabel?: string;
|
|
244
|
-
unitPresentationLabelPlural?: string;
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
declare type ProductIntakeUnitBean = {
|
|
248
|
-
order?: number;
|
|
249
|
-
code?: number;
|
|
250
|
-
labelHtml?: string;
|
|
251
|
-
pluralLabelHtml?: string;
|
|
252
|
-
shortLabelHtml?: string;
|
|
253
|
-
dispensationNumber?: string;
|
|
254
|
-
distributionNumber?: string;
|
|
255
|
-
intakeUnitNumber?: string;
|
|
256
|
-
round?: number;
|
|
257
|
-
throwTheRest?: number;
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
declare type ProductKeywordBean = {
|
|
261
|
-
indicationsKeywords?: Array<ProductKeywordDetailBean>;
|
|
262
|
-
contraindicationsKeywords?: Array<ProductKeywordDetailBean>;
|
|
263
|
-
contraindicationsNotRecommendedKeywords?: Array<ProductKeywordDetailBean>;
|
|
264
|
-
sideEffectsKeywords?: Array<ProductKeywordDetailBean>;
|
|
265
|
-
precautionsForUseKeywords?: Array<ProductKeywordDetailBean>;
|
|
266
|
-
};
|
|
267
|
-
|
|
268
|
-
declare type ProductKeywordDetailBean = {
|
|
269
|
-
code?: string;
|
|
270
|
-
label?: string;
|
|
271
|
-
labelHtml?: string;
|
|
272
|
-
frequencyCode?: string;
|
|
273
|
-
frequencyLabel?: string;
|
|
274
|
-
frequencyLabelHtml?: string;
|
|
275
|
-
socCode?: string;
|
|
276
|
-
socLabel?: string;
|
|
277
|
-
socShortLabel?: string;
|
|
278
|
-
glossary?: number;
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
declare type ProductLabelsBean = {
|
|
282
|
-
typeLabel?: string;
|
|
283
|
-
label?: string;
|
|
284
|
-
shortLabel?: string;
|
|
285
|
-
shortLabelHtml?: string;
|
|
286
|
-
longLabel?: string;
|
|
287
|
-
longLabelHtml?: string;
|
|
288
|
-
searchLabel?: string;
|
|
289
|
-
};
|
|
290
|
-
|
|
291
|
-
declare type ProductLaboratoryBean = {
|
|
292
|
-
code?: string;
|
|
293
|
-
label?: string;
|
|
294
|
-
address?: string;
|
|
295
|
-
zipCode?: string;
|
|
296
|
-
town?: string;
|
|
297
|
-
website?: string;
|
|
298
|
-
email?: string;
|
|
299
|
-
phone?: string;
|
|
300
|
-
fax?: string;
|
|
301
|
-
country?: string;
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
declare type ProductLppBean = {
|
|
305
|
-
code?: string;
|
|
306
|
-
label?: string;
|
|
307
|
-
order?: string;
|
|
308
|
-
coefficient?: string;
|
|
309
|
-
text?: string;
|
|
310
|
-
qualifying?: string;
|
|
311
|
-
price?: string;
|
|
312
|
-
maxAmount?: string;
|
|
313
|
-
};
|
|
314
|
-
|
|
315
|
-
declare type ProductMatchBean = {
|
|
316
|
-
type?: string;
|
|
317
|
-
code?: string;
|
|
318
|
-
label?: string;
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
declare type ProductMedicabaseBean = {
|
|
322
|
-
medicabaseCode?: string;
|
|
323
|
-
medicabaseLabel?: string;
|
|
324
|
-
standardCodeTerm?: string;
|
|
325
|
-
dosageUse?: string;
|
|
326
|
-
dosageNumerator?: string;
|
|
327
|
-
dosageNumeratorUnit?: string;
|
|
328
|
-
dosageDenominator?: string;
|
|
329
|
-
dosageDenominatorUnit?: string;
|
|
330
|
-
molecules?: Array<ProductMoleculeBean>;
|
|
331
|
-
};
|
|
332
|
-
|
|
333
|
-
declare type ProductMoleculeBean = {
|
|
334
|
-
moleculeId?: string;
|
|
335
|
-
moleculeLabel?: string;
|
|
336
|
-
country?: string;
|
|
337
|
-
dosageQuantity?: number;
|
|
338
|
-
dosageUnit?: string;
|
|
339
|
-
dosageConcatenation?: string;
|
|
340
|
-
dosageBaseExpression?: boolean;
|
|
341
|
-
};
|
|
342
|
-
|
|
343
|
-
declare type ProductMonographChaptersBean = {
|
|
344
|
-
id?: string;
|
|
345
|
-
label?: string;
|
|
346
|
-
text?: string;
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
declare type ProductPrescriptibleBean = {
|
|
350
|
-
nurse?: string;
|
|
351
|
-
podiatrist?: string;
|
|
352
|
-
physiotherapist?: string;
|
|
353
|
-
midwifeForWomen?: string;
|
|
354
|
-
midwifeForNewborns?: string;
|
|
355
|
-
speechTherapist?: string;
|
|
356
|
-
orthoptist?: string;
|
|
357
|
-
midwifeForPatient?: string;
|
|
358
|
-
advancedPracticeNurse?: string;
|
|
359
|
-
dentist?: string;
|
|
360
|
-
biologist?: string;
|
|
361
|
-
pharmacist?: string;
|
|
362
|
-
occupationalTherapist?: string;
|
|
363
|
-
doctor?: string;
|
|
364
|
-
veterinary?: string;
|
|
365
|
-
};
|
|
366
|
-
|
|
367
|
-
declare type ProductPriceHistoryBean = {
|
|
368
|
-
field?: string;
|
|
369
|
-
applicationDate?: string;
|
|
370
|
-
value?: string;
|
|
371
|
-
opposabilityDate?: string;
|
|
372
|
-
joDate?: string;
|
|
373
|
-
nor?: string;
|
|
374
|
-
correctedValue?: string;
|
|
375
|
-
correctedOpposabilityDate?: string;
|
|
376
|
-
correctionSource?: string;
|
|
377
|
-
sourceLabel?: string;
|
|
378
|
-
};
|
|
379
|
-
|
|
380
|
-
declare type ProductPricesBean = {
|
|
381
|
-
ucdPrice?: string;
|
|
382
|
-
repaymentRate?: number;
|
|
383
|
-
vatRate?: string;
|
|
384
|
-
reimbursementBase?: string;
|
|
385
|
-
sellingPrice?: string;
|
|
386
|
-
tfr?: string;
|
|
387
|
-
};
|
|
388
|
-
|
|
389
|
-
declare type ProductPropertiesBean = {
|
|
390
|
-
thumbnail?: string;
|
|
391
|
-
productName?: string;
|
|
392
|
-
productDosage?: string;
|
|
393
|
-
galenicFormCode?: string;
|
|
394
|
-
galenicFormLabel?: string;
|
|
395
|
-
galenicFormLabelHtml?: string;
|
|
396
|
-
aspect?: string;
|
|
397
|
-
inFacilityFormulary?: boolean;
|
|
398
|
-
medicabase?: ProductMedicabaseBean;
|
|
399
|
-
virtualDrug?: ProductVirtualDrugBean;
|
|
400
|
-
codes?: ProductCodesBean;
|
|
401
|
-
flags?: ProductFlagsBean;
|
|
402
|
-
careBasket?: ProductCareBasketBean;
|
|
403
|
-
segmentationAttributes?: Array<string>;
|
|
404
|
-
excipientsWithKnowEffects?: Array<ProductComponentBean>;
|
|
405
|
-
atcClasses?: Array<ProductAtcClassBean>;
|
|
406
|
-
intakeUnits?: Array<ProductIntakeUnitBean>;
|
|
407
|
-
lpp?: Array<ProductLppBean>;
|
|
408
|
-
subLaboratories?: Array<ProductSubLaboratoryBean>;
|
|
409
|
-
};
|
|
410
|
-
|
|
411
|
-
declare type ProductRestrictedPrescriptionBean = {
|
|
412
|
-
code?: string;
|
|
413
|
-
title?: string;
|
|
414
|
-
titleHtml?: string;
|
|
415
|
-
decree?: string;
|
|
416
|
-
decreeHtml?: string;
|
|
417
|
-
};
|
|
418
|
-
|
|
419
|
-
declare type ProductRouteAdministrationBean = {
|
|
420
|
-
code?: string;
|
|
421
|
-
label?: string;
|
|
422
|
-
};
|
|
423
|
-
|
|
424
|
-
declare type ProductSamBean = {
|
|
425
|
-
code?: string;
|
|
426
|
-
name?: string;
|
|
427
|
-
author?: string;
|
|
428
|
-
coAuthor?: string;
|
|
429
|
-
referencingDate?: string;
|
|
430
|
-
title?: string;
|
|
431
|
-
requester?: string;
|
|
432
|
-
hospitalLAP?: number;
|
|
433
|
-
outpatientLAP?: number;
|
|
434
|
-
pharmacyLAD?: number;
|
|
435
|
-
puiLAD?: number;
|
|
436
|
-
validationDate?: string;
|
|
437
|
-
updateDate?: string;
|
|
438
|
-
versionNumber?: string;
|
|
439
|
-
status?: string;
|
|
440
|
-
source?: string;
|
|
441
|
-
contact?: string;
|
|
442
|
-
logo?: string;
|
|
443
|
-
pdf?: string;
|
|
444
|
-
hospitalLAPText?: string;
|
|
445
|
-
outpatientLAPText?: string;
|
|
446
|
-
pharmacyLADText?: string;
|
|
447
|
-
};
|
|
448
|
-
|
|
449
|
-
declare type ProductSearchPropertiesBean = {
|
|
450
|
-
score?: number;
|
|
451
|
-
safeScore?: number;
|
|
452
|
-
safeDetails?: Array<SafeSearchBean>;
|
|
453
|
-
samCode?: string;
|
|
454
|
-
samPatient?: boolean;
|
|
455
|
-
match?: ProductMatchBean;
|
|
456
|
-
};
|
|
457
|
-
|
|
458
|
-
declare type ProductSegmentationAttributesBean = {
|
|
459
|
-
others?: Array<string>;
|
|
460
|
-
patientGrounds?: Array<string>;
|
|
461
|
-
distributionChannels?: Array<string>;
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
declare type ProductSpecialPrescriptionBean = {
|
|
465
|
-
label?: string;
|
|
466
|
-
speciality?: string;
|
|
467
|
-
};
|
|
468
|
-
|
|
469
|
-
declare type ProductSubLaboratoryBean = {
|
|
470
|
-
code?: number;
|
|
471
|
-
label?: string;
|
|
472
|
-
};
|
|
473
|
-
|
|
474
|
-
declare type ProductTipsBean = {
|
|
475
|
-
order?: string;
|
|
476
|
-
operator?: string;
|
|
477
|
-
coefficient?: string;
|
|
478
|
-
qualifying?: string;
|
|
479
|
-
code?: string;
|
|
480
|
-
label?: string;
|
|
481
|
-
startDate?: string;
|
|
482
|
-
endDate?: string;
|
|
483
|
-
natureOfService?: string;
|
|
484
|
-
price?: string;
|
|
485
|
-
type?: string;
|
|
486
|
-
actCode?: string;
|
|
487
|
-
publicPrice?: string;
|
|
488
|
-
};
|
|
489
|
-
|
|
490
|
-
declare type ProductUdiBean = {
|
|
491
|
-
order?: string;
|
|
492
|
-
udiType?: string;
|
|
493
|
-
udi?: string;
|
|
494
|
-
};
|
|
495
|
-
|
|
496
|
-
declare type ProductVirtualDrugBean = {
|
|
497
|
-
virtualDrugCode?: number;
|
|
498
|
-
virtualDrugLabel?: string;
|
|
499
|
-
};
|
|
500
|
-
|
|
501
|
-
declare type SafeSearchBean = {
|
|
502
|
-
codeAlerte?: number;
|
|
503
|
-
libelleAlerte?: string;
|
|
504
|
-
typeAlerte?: string;
|
|
505
|
-
niveauAlerte?: number;
|
|
506
|
-
idAlerte?: string;
|
|
507
|
-
productId2?: number;
|
|
508
|
-
productLabel2?: string;
|
|
509
|
-
details?: string;
|
|
510
|
-
};
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Composant pour afficher les alternatives thérapeutiques d'un médicament donné
|
|
514
|
-
* Permet à l'utilisateur de sélectionner une indication pour laquelle il souhaite trouver une alternative thérapeutique, et affiche les résultats correspondants.
|
|
7
|
+
* Composant pour afficher les alternatives thérapeutiques d'un médicament donné.
|
|
8
|
+
* Permet à l'utilisateur d'affiner sa recherche via des critères d'inclusion, d'exclusion et des
|
|
9
|
+
* filtres rapides, et affiche les résultats correspondants — toute la recherche/agrégation reste
|
|
10
|
+
* côté serveur, ce composant ne fait qu'envoyer les critères et afficher ce qui revient.
|
|
515
11
|
* @element bcb-therapeutic-alternative
|
|
516
12
|
*/
|
|
517
13
|
export declare class TherapeuticAlternative extends LitElement {
|
|
518
14
|
hasTitle: boolean;
|
|
519
|
-
medication:
|
|
15
|
+
medication: Bundle | null;
|
|
520
16
|
patientProfile: Bundle | null;
|
|
521
17
|
apiUrl: string;
|
|
522
18
|
apiKey: string | undefined;
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
19
|
+
private sourceProduct;
|
|
20
|
+
private results;
|
|
21
|
+
private totalElements;
|
|
22
|
+
private lastRequestHadNoSelectedCriteria;
|
|
23
|
+
private currentPage;
|
|
24
|
+
private include;
|
|
25
|
+
private exclude;
|
|
26
|
+
private quickFilters;
|
|
27
|
+
private includeFacets;
|
|
28
|
+
private excludeFacets;
|
|
29
|
+
private truncatedGroups;
|
|
30
|
+
private expandFacetGroupKey;
|
|
31
|
+
private includeLabels;
|
|
32
|
+
private excludeLabels;
|
|
33
|
+
private openInclusionGroup;
|
|
34
|
+
private openExclusionGroup;
|
|
35
|
+
private checklistSearchTerm;
|
|
36
|
+
private sectionCollapsed;
|
|
37
|
+
private apiSearchError;
|
|
38
|
+
private apiSearchLoading;
|
|
39
|
+
private pendingToggleIds;
|
|
40
|
+
private apiReplaceError;
|
|
41
|
+
private apiReplaceLoading;
|
|
42
|
+
private missingPrescriptionError;
|
|
43
|
+
private hasAppliedInitialInclude;
|
|
44
|
+
private refetchTimer;
|
|
45
|
+
private requestSeq;
|
|
46
|
+
private get currentMedication();
|
|
47
|
+
private get currentMedicationRequest();
|
|
48
|
+
private get sourceProductId();
|
|
538
49
|
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
|
539
|
-
|
|
540
|
-
private
|
|
541
|
-
private
|
|
542
|
-
private
|
|
50
|
+
disconnectedCallback(): void;
|
|
51
|
+
private clearScheduledRefetch;
|
|
52
|
+
private scheduleRefetch;
|
|
53
|
+
private hasNoSelectedCriteria;
|
|
54
|
+
private fetchAlternatives;
|
|
55
|
+
private applyResponse;
|
|
56
|
+
private static buildIncludeFacets;
|
|
57
|
+
private static buildExcludeFacets;
|
|
58
|
+
private static deriveInitialInclude;
|
|
59
|
+
private toggleInclude;
|
|
60
|
+
private toggleExclude;
|
|
61
|
+
private toggleQuickFilter;
|
|
62
|
+
private exclusionTruncatedGroupKey;
|
|
63
|
+
private toggleInclusionPanel;
|
|
64
|
+
private toggleExclusionPanel;
|
|
65
|
+
private requestMoreFacetValues;
|
|
66
|
+
private toggleSection;
|
|
543
67
|
private cancelAlternative;
|
|
544
68
|
private handlePageChange;
|
|
545
69
|
private emitReplacedProduct;
|
|
546
|
-
private
|
|
547
|
-
private
|
|
70
|
+
private renderChecklistPanel;
|
|
71
|
+
private renderChecklistSearch;
|
|
72
|
+
private renderSelectedChips;
|
|
73
|
+
private renderPill;
|
|
74
|
+
private renderInclusionSection;
|
|
75
|
+
private renderExclusionSection;
|
|
76
|
+
private renderQuickFiltersSection;
|
|
77
|
+
private renderSectionHeader;
|
|
78
|
+
private matchReasonLabels;
|
|
79
|
+
private renderResults;
|
|
548
80
|
render(): TemplateResult<1>;
|
|
549
81
|
static styles: CSSResult;
|
|
550
82
|
}
|
|
551
83
|
|
|
84
|
+
|
|
85
|
+
export * from "@claudebernard/web-component-fhir-utils";
|
|
86
|
+
|
|
552
87
|
export { }
|