@claudebernard/patient-profile-element 0.5.5 → 0.6.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/custom-elements.json +2123 -2035
- package/dist/patient-profile.d.ts +14 -1
- package/dist/patient-profile.es.js +222 -155
- package/package.json +4 -4
|
@@ -4,6 +4,11 @@ import { LitElement } from 'lit';
|
|
|
4
4
|
import { nothing } from 'lit';
|
|
5
5
|
import { TemplateResult } from 'lit';
|
|
6
6
|
|
|
7
|
+
declare interface FormPreferences {
|
|
8
|
+
age?: SectionPreferences;
|
|
9
|
+
sexe?: SectionPreferences;
|
|
10
|
+
}
|
|
11
|
+
|
|
7
12
|
export declare class PatientProfile extends LitElement {
|
|
8
13
|
patientProfile?: Bundle;
|
|
9
14
|
editButtonVisible: boolean | undefined;
|
|
@@ -29,7 +34,7 @@ export declare class PatientProfile extends LitElement {
|
|
|
29
34
|
static styles: CSSResult;
|
|
30
35
|
}
|
|
31
36
|
|
|
32
|
-
|
|
37
|
+
declare interface PatientProfilePreferences {
|
|
33
38
|
/**
|
|
34
39
|
* Filtre le type de pathologie utilisé lors de l'appel fetchPathologiesByTerm.
|
|
35
40
|
* - "AMM" : pathologies avec Autorisation de Mise sur le Marché
|
|
@@ -37,6 +42,7 @@ export declare interface PatientProfilePreferences {
|
|
|
37
42
|
* - "" : aucun filtre (toutes les pathologies)
|
|
38
43
|
*/
|
|
39
44
|
typePathology?: "AMM" | "CIM10" | "";
|
|
45
|
+
forms?: FormPreferences;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
export declare interface PatientProfileProps {
|
|
@@ -47,4 +53,11 @@ export declare interface PatientProfileProps {
|
|
|
47
53
|
preferences?: PatientProfilePreferences;
|
|
48
54
|
}
|
|
49
55
|
|
|
56
|
+
declare interface SectionPreferences {
|
|
57
|
+
/** @default true */
|
|
58
|
+
display?: boolean;
|
|
59
|
+
/** @default true */
|
|
60
|
+
readOnly?: boolean;
|
|
61
|
+
}
|
|
62
|
+
|
|
50
63
|
export { }
|