@claudebernard/patient-profile-element 0.6.0 → 0.6.2
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 +18 -18
- package/dist/patient-profile.es.js +5 -5
- package/package.json +3 -3
|
@@ -1238,24 +1238,6 @@
|
|
|
1238
1238
|
}
|
|
1239
1239
|
]
|
|
1240
1240
|
},
|
|
1241
|
-
{
|
|
1242
|
-
"kind": "javascript-module",
|
|
1243
|
-
"path": "src/shared/interfaces/api-return.interface.ts",
|
|
1244
|
-
"declarations": [],
|
|
1245
|
-
"exports": []
|
|
1246
|
-
},
|
|
1247
|
-
{
|
|
1248
|
-
"kind": "javascript-module",
|
|
1249
|
-
"path": "src/shared/interfaces/patient.ts",
|
|
1250
|
-
"declarations": [],
|
|
1251
|
-
"exports": []
|
|
1252
|
-
},
|
|
1253
|
-
{
|
|
1254
|
-
"kind": "javascript-module",
|
|
1255
|
-
"path": "src/shared/interfaces/properties.ts",
|
|
1256
|
-
"declarations": [],
|
|
1257
|
-
"exports": []
|
|
1258
|
-
},
|
|
1259
1241
|
{
|
|
1260
1242
|
"kind": "javascript-module",
|
|
1261
1243
|
"path": "src/shared/mocks/pathologies.mock.ts",
|
|
@@ -1320,6 +1302,24 @@
|
|
|
1320
1302
|
}
|
|
1321
1303
|
]
|
|
1322
1304
|
},
|
|
1305
|
+
{
|
|
1306
|
+
"kind": "javascript-module",
|
|
1307
|
+
"path": "src/shared/interfaces/api-return.interface.ts",
|
|
1308
|
+
"declarations": [],
|
|
1309
|
+
"exports": []
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"kind": "javascript-module",
|
|
1313
|
+
"path": "src/shared/interfaces/patient.ts",
|
|
1314
|
+
"declarations": [],
|
|
1315
|
+
"exports": []
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"kind": "javascript-module",
|
|
1319
|
+
"path": "src/shared/interfaces/properties.ts",
|
|
1320
|
+
"declarations": [],
|
|
1321
|
+
"exports": []
|
|
1322
|
+
},
|
|
1323
1323
|
{
|
|
1324
1324
|
"kind": "javascript-module",
|
|
1325
1325
|
"path": "src/shared/services/api-prescription.service.ts",
|
|
@@ -1012,7 +1012,7 @@ function setPatientAllergies(patient, allergies) {
|
|
|
1012
1012
|
code: {
|
|
1013
1013
|
coding: [
|
|
1014
1014
|
{
|
|
1015
|
-
system: "
|
|
1015
|
+
system: "https://platform.claudebernard.fr/fhir/CodeSystem/products-ingredients",
|
|
1016
1016
|
code: allergy.value,
|
|
1017
1017
|
display: allergy.label
|
|
1018
1018
|
}
|
|
@@ -1657,7 +1657,7 @@ const i3 = e(class extends i$1 {
|
|
|
1657
1657
|
return t2 !== this.key && (p(r2), this.key = t2), e2;
|
|
1658
1658
|
}
|
|
1659
1659
|
});
|
|
1660
|
-
const patientProfileEditionCSS = ".claudebernard-edition-modal {\n font-size: 0.9rem;\n}\n.claudebernard-edition-modal-content {\n display: flex;\n flex-direction: column;\n width: 100%;\n min-width: 60vw;\n height: 100%;\n max-height: 60vh;\n gap: 16px;\n}\n.claudebernard-edition-modal-large-section {\n display: flex;\n flex-direction: column;\n gap: 5px;\n width: 100%;\n}\n.claudebernard-edition-modal-information-section {\n display: flex;\n flex-direction: row;\n gap: 16px;\n}\n.claudebernard-edition-modal-little-section {\n display: flex;\n flex-direction: column;\n gap: 5px;\n flex: 1;\n min-width: 0;\n}\n.claudebernard-edition-modal-little-section bcbd-input {\n height: 100%;\n}\n.claudebernard-edition-modal-pregnant-div {\n display: flex;\n align-items: center;\n gap: 16px;\n}\n.claudebernard-edition-modal-pregnant-div bcbd-input {\n width: 40% !important;\n}\n.claudebernard-edition-modal-action-buttons {\n display: flex;\n justify-content: flex-end;\n height: 100%;\n gap: 16px;\n
|
|
1660
|
+
const patientProfileEditionCSS = ".claudebernard-edition-modal {\n font-size: 0.9rem;\n}\n.claudebernard-edition-modal-content {\n display: flex;\n flex-direction: column;\n width: 100%;\n min-width: 60vw;\n height: 100%;\n max-height: 60vh;\n gap: 16px;\n}\n.claudebernard-edition-modal-large-section {\n display: flex;\n flex-direction: column;\n gap: 5px;\n width: 100%;\n}\n.claudebernard-edition-modal-information-section {\n display: flex;\n flex-direction: row;\n gap: 16px;\n}\n.claudebernard-edition-modal-little-section {\n display: flex;\n flex-direction: column;\n gap: 5px;\n flex: 1;\n min-width: 0;\n}\n.claudebernard-edition-modal-little-section bcbd-input {\n height: 100%;\n}\n.claudebernard-edition-modal-pregnant-div {\n display: flex;\n align-items: center;\n gap: 16px;\n}\n.claudebernard-edition-modal-pregnant-div bcbd-input {\n width: 40% !important;\n}\n.claudebernard-edition-modal-action-buttons {\n display: flex;\n justify-content: flex-end;\n height: 100%;\n gap: 16px;\n align-items: flex-end;\n}\n.claudebernard-edition-modal-subtitle {\n font-weight: 600;\n font-size: 1.1rem;\n color: var(--bcbd-primary-color, #0C75AD);\n}\n.claudebernard-edition-modal-error-message {\n color: var(--bcbd-danger-color, #CF406E);\n font-size: 0.8rem;\n}\n.claudebernard-edition-modal-age-input-group {\n display: flex;\n gap: 8px;\n}\n.claudebernard-edition-modal-age-input-group bcbd-input {\n width: 50% !important;\n}\n.claudebernard-edition-modal-age-input-group bcbd-select {\n width: 50% !important;\n}\n.claudebernard-edition-modal-fieldset {\n border: 1px solid var(--bcbd-border-gray-color, #CBD5E1);\n margin-inline: 0;\n border-radius: 4px;\n padding: 16px;\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n.claudebernard-edition-modal-disclaimer-section {\n font-size: 0.8rem;\n}\n\nbcbd-checkbox {\n --bcbd-checkbox-font-size: .9rem;\n}";
|
|
1661
1661
|
var __defProp$1 = Object.defineProperty;
|
|
1662
1662
|
var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
|
|
1663
1663
|
var __decorateClass$1 = (decorators, target, key, kind) => {
|
|
@@ -2135,13 +2135,13 @@ let PatientProfileEdition = class extends i$2 {
|
|
|
2135
2135
|
<div class="${PREFIX}-edition-modal-disclaimer-section">
|
|
2136
2136
|
<b>Important :</b> La qualité des alertes générées est directement liée à l'exhaustivité des données patient renseignées. Des informations incomplètes peuvent entraîner des alertes manquantes ou peu pertinentes. Nous vous recommandons de compléter l'ensemble des champs disponibles pour une analyse pharmaceutique fiable.
|
|
2137
2137
|
</div>
|
|
2138
|
-
|
|
2139
|
-
|
|
2138
|
+
</div>
|
|
2139
|
+
<div slot="actions" class="${PREFIX}-edition-modal-action-buttons" data-test-id="action-buttons">
|
|
2140
2140
|
<bcbd-button ?disabled=${this.ageErrorMessageInput !== "" || this.sizeErrorMessageInput !== "" || this.weightErrorMessageInput !== ""}
|
|
2141
2141
|
data-test-id="save-button" background-color="primary" @click=${this.validateForm}>Valider</bcbd-button>
|
|
2142
2142
|
<bcbd-button data-test-id="cancel-button" outlined background-color="primary" @click=${this.handleCancel}>Annuler</bcbd-button>
|
|
2143
2143
|
</div>
|
|
2144
|
-
|
|
2144
|
+
`)}
|
|
2145
2145
|
</bcbd-modal>`;
|
|
2146
2146
|
}
|
|
2147
2147
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claudebernard/patient-profile-element",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"main": "dist/patient-profile.es.js",
|
|
5
5
|
"module": "dist/patient-profile.es.js",
|
|
6
6
|
"types": "dist/patient-profile.d.ts",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"@types/fhir": "^0.0.41",
|
|
63
63
|
"@types/he": "^1.2.3",
|
|
64
64
|
"@types/node": "^24.9.2",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
66
|
-
"@typescript-eslint/parser": "8.
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "8.64.0",
|
|
66
|
+
"@typescript-eslint/parser": "8.64.0",
|
|
67
67
|
"@vitest/browser-playwright": "^4.0.5",
|
|
68
68
|
"@vitest/coverage-v8": "^4.0.5",
|
|
69
69
|
"@webcomponents/webcomponentsjs": "^2.8.0",
|