@claudebernard/patient-profile-element 0.3.5 → 0.4.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 +1945 -1968
- package/dist/patient-profile.d.ts +12 -0
- package/dist/patient-profile.es.js +15 -9
- package/package.json +14 -9
|
@@ -6,48 +6,22 @@
|
|
|
6
6
|
"kind": "javascript-module",
|
|
7
7
|
"path": "src/patient-profile/patient-profile.stories.ts",
|
|
8
8
|
"declarations": [
|
|
9
|
-
{
|
|
10
|
-
"kind": "variable",
|
|
11
|
-
"name": "meta",
|
|
12
|
-
"type": {
|
|
13
|
-
"text": "Meta<PatientProfile>"
|
|
14
|
-
},
|
|
15
|
-
"default": "{\n parameters: {\n deepControls: { enabled: true },\n docs: {\n story: {\n autoplay: false,\n },\n },\n },\n tags: [\"autodocs\"],\n render: (args: PatientProfileProps) => html`<bcb-patient-profile\n .patientProfile=${args.patientProfile}\n .editButtonVisible=${args.editButtonVisible}\n .apiUrl=${args.apiUrl}\n .apiKey=${args.apiKey}\n ></bcb-patient-profile>`,\n argTypes: {\n patientProfile: {\n control: { type: \"object\" },\n description: \"FHIR Patient resource with extensions for medical data\",\n },\n editButtonVisible: {\n control: { type: \"boolean\" },\n description: \"Flag to show or hide the edit button\",\n },\n apiUrl: {\n control: { type: \"text\" },\n description: \"The API URL used to perform pathologies and allergies searches.\",\n },\n apiKey: {\n control: { type: \"text\" },\n description: \"The API key to allow access to the resources of the API URL.\",\n },\n },\n args: {\n patientProfile: clonePatientProfile(),\n apiUrl: DEFAULT_API_URL,\n apiKey: DEFAULT_API_KEY,\n editButtonVisible: true,\n },\n}"
|
|
16
|
-
},
|
|
17
9
|
{
|
|
18
10
|
"kind": "variable",
|
|
19
11
|
"name": "Base",
|
|
20
12
|
"type": {
|
|
21
|
-
"text": "
|
|
22
|
-
}
|
|
23
|
-
"default": "{\n args: {\n patientProfile: clonePatientProfile(),\n },\n play: async({ canvasElement, step }) => {\n const component = canvasElement.querySelector(\"bcb-patient-profile\") as HTMLElement | null;\n\n await step(\"Verify the patient ID information\", () => {\n const divName = component?.shadowRoot?.querySelector(\"div[data-test-id=\\\"patient-name\\\"]\") as HTMLElement | null;\n expect(divName?.textContent).toContain(\"Marie Dupont\");\n\n const divGender = component?.shadowRoot?.querySelector(\"div[data-test-id=\\\"patient-gender\\\"]\") as HTMLElement | null;\n expect(divGender?.textContent).toContain(\"Femme\");\n\n const divAge = component?.shadowRoot?.querySelector(\"div[data-test-id=\\\"patient-age\\\"]\") as HTMLElement | null;\n expect(divAge?.textContent).toContain(\"42 ans\");\n });\n\n await step(\"Verify the patient physical information\", () => {\n const divHeight = component?.shadowRoot?.querySelector(\"div[data-test-id=\\\"patient-height\\\"]\") as HTMLElement | null;\n const textHeight = divHeight?.textContent ?? \"\";\n expect(textHeight).toContain(\"Taille\");\n expect(textHeight).toContain(\"170\");\n expect(textHeight).toContain(\"cm\");\n\n const divWeight = component?.shadowRoot?.querySelector(\"div[data-test-id=\\\"patient-weight\\\"]\") as HTMLElement | null;\n const textWeight = divWeight?.textContent ?? \"\";\n expect(textWeight).toContain(\"Poids\");\n expect(textWeight).toContain(\"84\");\n expect(textWeight).toContain(\"kg\");\n\n const divIMC = component?.shadowRoot?.querySelector(\"div[data-test-id=\\\"patient-IMC\\\"]\") as HTMLElement | null;\n expect(divIMC?.textContent).toContain(\"29.1\");\n });\n\n const divActions = component?.shadowRoot?.querySelector(\"div[data-test-id=\\\"action-buttons\\\"]\") as HTMLElement | null;\n const modifyButton = divActions?.querySelector(\"bcbd-button[data-test-id=\\\"modify-button\\\"]\") as HTMLElement | null;\n const visibleButton = divActions?.querySelector(\"bcbd-button[data-test-id=\\\"visible-button\\\"]\") as HTMLElement | null;\n\n await step(\"Verify the action buttons and more information section\", async() => {\n await expect(modifyButton).not.toBeNull();\n await expect(visibleButton).not.toBeNull();\n });\n\n const moreInfoDiv = component?.shadowRoot?.querySelector(\"div[data-test-id=\\\"more-information-section\\\"]\") as HTMLElement | null;\n\n await step(\"Verify the more information section is not visible\", () => {\n expect(moreInfoDiv?.className).not.toContain(\"active\");\n expect(moreInfoDiv).not.toBeVisible();\n });\n\n await step(\"Click on the more information button and verify the displayed information\", async() => {\n if (visibleButton) {\n await visibleButton.click();\n }\n expect(moreInfoDiv).toBeVisible();\n });\n\n // eslint-disable-next-line complexity\n await step(\"Verify the content of more information section\", () => {\n const pregnancyDiv = moreInfoDiv?.querySelector(\"div[data-test-id=\\\"pregnancy-section\\\"]\") as HTMLElement | null;\n expect(pregnancyDiv).toBeVisible();\n const textPregnancy = pregnancyDiv?.textContent ?? \"\";\n expect(textPregnancy).toContain(\"Oui - 20 semaine(s)\");\n\n const breastfeedingDiv = moreInfoDiv?.querySelector(\"div[data-test-id=\\\"breastfeeding-section\\\"]\") as HTMLElement | null;\n expect(breastfeedingDiv).toBeVisible();\n const textBreastfeeding = breastfeedingDiv?.textContent ?? \"\";\n expect(textBreastfeeding).toContain(\"Oui\");\n\n const pathologyDiv = moreInfoDiv?.querySelector(\"div[data-test-id=\\\"pathology-section\\\"]\") as HTMLElement | null;\n expect(pathologyDiv).toBeVisible();\n const textPathology = pathologyDiv?.textContent ?? \"\";\n expect(textPathology).toContain(\"Pathologies suivies\");\n expect(textPathology).toContain(\"Insuffisance hépatique\");\n expect(textPathology).toContain(\"Insuffisance rénale aigüe\");\n expect(textPathology).toContain(\"Insuffisance hépatique mo.\");\n expect(textPathology).toContain(\"Insuffisance cardiaque\");\n\n const allergyDiv = moreInfoDiv?.querySelector(\"div[data-test-id=\\\"allergy-section\\\"]\") as HTMLElement | null;\n expect(allergyDiv).toBeVisible();\n const textAllergy = allergyDiv?.textContent ?? \"\";\n expect(textAllergy).toContain(\"Allergies\");\n expect(textAllergy).toContain(\"Allergie au paracétamol\");\n\n const hepaticInsufficiencyDiv = moreInfoDiv?.querySelector(\"div[data-test-id=\\\"hepatic-insufficiency-section\\\"]\") as HTMLElement | null;\n expect(hepaticInsufficiencyDiv).toBeVisible();\n const textHepaticInsufficiency = hepaticInsufficiencyDiv?.textContent ?? \"\";\n expect(textHepaticInsufficiency).toContain(\"Insuffisance hépatique\");\n expect(textHepaticInsufficiency).toContain(\"Stade B\");\n\n const clairanceDiv = moreInfoDiv?.querySelector(\"div[data-test-id=\\\"clearance-section\\\"]\") as HTMLElement | null;\n expect(clairanceDiv).toBeVisible();\n const textClairance = clairanceDiv?.textContent ?? \"\";\n expect(textClairance).toContain(\"Clairance créatinine\");\n expect(textClairance).toContain(\"71 mL/min\");\n\n const dfgDiv = moreInfoDiv?.querySelector(\"div[data-test-id=\\\"dfg-section\\\"]\") as HTMLElement | null;\n expect(dfgDiv).toBeVisible();\n const textDfg = dfgDiv?.textContent ?? \"\";\n expect(textDfg).toContain(\"DFG\");\n expect(textDfg).toContain(\"45 mL/min\");\n });\n\n //Close the more information section at the end of the test\n if (visibleButton) {\n await visibleButton.click();\n }\n },\n}"
|
|
13
|
+
"text": "WebComponentsStory<any, any>"
|
|
14
|
+
}
|
|
24
15
|
},
|
|
25
16
|
{
|
|
26
17
|
"kind": "variable",
|
|
27
18
|
"name": "WithoutEditButton",
|
|
28
19
|
"type": {
|
|
29
|
-
"text": "
|
|
30
|
-
}
|
|
31
|
-
"default": "{\n args: {\n patientProfile: clonePatientProfile(),\n editButtonVisible: false,\n },\n play: async({ canvasElement, step }) => {\n const component = canvasElement.querySelector(\"bcb-patient-profile\") as HTMLElement | null;\n const divActions = component?.shadowRoot?.querySelector(\"div[data-test-id=\\\"action-buttons\\\"]\") as HTMLElement | null;\n const modifyButton = divActions?.querySelector(\"bcbd-button[data-test-id=\\\"modify-button\\\"]\") as HTMLElement | null;\n\n await step(\"Look at the visibility of Edit Button\", async() => {\n await expect(modifyButton).toBeNull();\n });\n },\n}"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"kind": "variable",
|
|
35
|
-
"name": "BaseTestStory",
|
|
36
|
-
"type": {
|
|
37
|
-
"text": "Story"
|
|
38
|
-
},
|
|
39
|
-
"default": "{\n args: {\n patientProfile: clonePatientProfile(),\n },\n play: async({ canvasElement, step }) => {\n const restoreFetch = installFetchMockForPathologies(mockPathologies);\n try {\n const component = canvasElement.querySelector(\"bcb-patient-profile\") as HTMLElement | null;\n\n if (component) {\n component.setAttribute(\"patientProfile\", JSON.stringify(clonePatientProfile()));\n // Ou si c'est une propriété :\n (component as any).patientProfile = clonePatientProfile();\n }\n \n const shadow = component?.shadowRoot;\n\n await step(\"Verify initial value\", () => {\n const heightDiv = shadow?.querySelector(\"div[data-test-id=\\\"patient-height\\\"]\") as HTMLElement | null;\n const weightDiv = shadow?.querySelector(\"div[data-test-id=\\\"patient-weight\\\"]\") as HTMLElement | null;\n const ageDiv = shadow?.querySelector(\"div[data-test-id=\\\"patient-age\\\"]\") as HTMLElement | null;\n\n expect(heightDiv?.textContent ?? \"\").toContain(\"170 cm\");\n expect(weightDiv?.textContent ?? \"\").toContain(\"84 kg\");\n expect(ageDiv?.textContent ?? \"\").toContain(\"42 ans\");\n });\n\n const editionComponent = component?.shadowRoot?.querySelector(\"bcb-patient-profile-edition\") as HTMLElement | null;\n const editionContent = editionComponent?.shadowRoot?.querySelector(\"div\") as HTMLElement | null;\n\n // eslint-disable-next-line complexity\n await step(\"Basculer en mode édition et modifier les champs\", async() => {\n const actionsDiv = shadow?.querySelector(\"div[data-test-id=\\\"action-buttons\\\"]\") as HTMLElement | null;\n const modifyButton = actionsDiv?.querySelector(\"bcbd-button[data-test-id=\\\"modify-button\\\"]\") as HTMLElement | null;\n await modifyButton?.click();\n\n const sizeInput = editionContent?.querySelector(\"[data-test-id=\\\"size-input\\\"]\") as HTMLInputElement | null;\n const ageInput = editionContent?.querySelector(\"[data-test-id=\\\"age-input\\\"]\") as HTMLInputElement | null;\n const weightInput = editionContent?.querySelector(\"[data-test-id=\\\"weight-input\\\"]\") as HTMLInputElement | null;\n\n if (sizeInput) {\n sizeInput.value = \"\";\n sizeInput.dispatchEvent(new InputEvent(\"input\", { bubbles: true, composed: true }));\n sizeInput.value = \"20\";\n sizeInput.dispatchEvent(new InputEvent(\"input\", { bubbles: true, composed: true }));\n }\n\n if (ageInput) {\n ageInput.value = \"\";\n ageInput.dispatchEvent(new InputEvent(\"input\", { bubbles: true, composed: true }));\n ageInput.value = \"50\";\n ageInput.dispatchEvent(new InputEvent(\"input\", { bubbles: true, composed: true }));\n }\n\n if (weightInput) {\n weightInput.value = \"\";\n weightInput.dispatchEvent(new InputEvent(\"input\", { bubbles: true, composed: true }));\n weightInput.value = \"90\";\n weightInput.dispatchEvent(new InputEvent(\"input\", { bubbles: true, composed: true }));\n }\n const pathologieSelect = editionContent?.querySelector(\"[data-test-id=\\\"pathologies-select\\\"]\");\n\n const pathologiesSearch = pathologieSelect?.shadowRoot?.querySelector(\"input[type=\\\"text\\\"]\") as HTMLInputElement | null;\n if (pathologiesSearch) {\n await pathologiesSearch.click();\n pathologiesSearch.value = \"tes\";\n pathologiesSearch.dispatchEvent(new InputEvent(\"input\", { bubbles: true, composed: true }));\n await pathologiesSearch.click();\n }\n const optionSelector = \"div[data-test-id=\\\"select-option-K63\\\\.0\\\"]\";\n if (pathologieSelect instanceof HTMLElement) {\n const optionPatho = await waitForOption(pathologieSelect, optionSelector, 4000);\n await optionPatho.click();\n }\n\n const hepaticSelect = editionContent?.querySelector(\"[data-test-id=\\\"hepatic-stade-select\\\"]\") as HTMLElement | null;\n if (hepaticSelect instanceof HTMLElement) {\n await hepaticSelect?.click();\n\n const optionA = \"div[data-test-id=\\\"select-option-A\\\"]\";\n const optionStade = await waitForOption(hepaticSelect, optionA, 4000);\n await optionStade?.click();\n }\n\n const validateButton = editionContent?.querySelector(\"[data-test-id=\\\"save-button\\\"]\") as HTMLButtonElement | null;\n await validateButton?.click();\n });\n\n await step(\"Vérifier les valeurs modifiées en mode visuel\", () => {\n const pathologyDiv = shadow?.querySelector(\"div[data-test-id=\\\"pathology-section\\\"]\") as HTMLElement | null;\n const heightDiv = shadow?.querySelector(\"div[data-test-id=\\\"patient-height\\\"]\") as HTMLElement | null;\n const weightDiv = shadow?.querySelector(\"div[data-test-id=\\\"patient-weight\\\"]\") as HTMLElement | null;\n const ageDiv = shadow?.querySelector(\"div[data-test-id=\\\"patient-age\\\"]\") as HTMLElement | null;\n\n expect(heightDiv?.textContent ?? \"\").toContain(\"20 cm\");\n expect(weightDiv?.textContent ?? \"\").toContain(\"90 kg\");\n expect(ageDiv?.textContent ?? \"\").toContain(\"50 ans\");\n\n const pathologyText = pathologyDiv?.textContent ?? \"\";\n expect(pathologyText).toContain(\"Abces de l'intestin\");\n });\n } finally {\n restoreFetch();\n }\n },\n}"
|
|
20
|
+
"text": "WebComponentsStory<any, any>"
|
|
21
|
+
}
|
|
40
22
|
}
|
|
41
23
|
],
|
|
42
24
|
"exports": [
|
|
43
|
-
{
|
|
44
|
-
"kind": "js",
|
|
45
|
-
"name": "default",
|
|
46
|
-
"declaration": {
|
|
47
|
-
"name": "meta",
|
|
48
|
-
"module": "src/patient-profile/patient-profile.stories.ts"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
25
|
{
|
|
52
26
|
"kind": "js",
|
|
53
27
|
"name": "Base",
|
|
@@ -63,14 +37,6 @@
|
|
|
63
37
|
"name": "WithoutEditButton",
|
|
64
38
|
"module": "src/patient-profile/patient-profile.stories.ts"
|
|
65
39
|
}
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"kind": "js",
|
|
69
|
-
"name": "BaseTestStory",
|
|
70
|
-
"declaration": {
|
|
71
|
-
"name": "BaseTestStory",
|
|
72
|
-
"module": "src/patient-profile/patient-profile.stories.ts"
|
|
73
|
-
}
|
|
74
40
|
}
|
|
75
41
|
]
|
|
76
42
|
},
|
|
@@ -117,6 +83,14 @@
|
|
|
117
83
|
},
|
|
118
84
|
"attribute": "api-key"
|
|
119
85
|
},
|
|
86
|
+
{
|
|
87
|
+
"kind": "field",
|
|
88
|
+
"name": "preferences",
|
|
89
|
+
"type": {
|
|
90
|
+
"text": "PatientProfilePreferences | undefined"
|
|
91
|
+
},
|
|
92
|
+
"attribute": "preferences"
|
|
93
|
+
},
|
|
120
94
|
{
|
|
121
95
|
"kind": "field",
|
|
122
96
|
"name": "moreInformationVisible",
|
|
@@ -274,6 +248,13 @@
|
|
|
274
248
|
"text": "string | undefined"
|
|
275
249
|
},
|
|
276
250
|
"fieldName": "apiKey"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "preferences",
|
|
254
|
+
"type": {
|
|
255
|
+
"text": "PatientProfilePreferences | undefined"
|
|
256
|
+
},
|
|
257
|
+
"fieldName": "preferences"
|
|
277
258
|
}
|
|
278
259
|
],
|
|
279
260
|
"superclass": {
|
|
@@ -305,2442 +286,2438 @@
|
|
|
305
286
|
},
|
|
306
287
|
{
|
|
307
288
|
"kind": "javascript-module",
|
|
308
|
-
"path": "src/
|
|
309
|
-
"declarations": [],
|
|
310
|
-
"exports": []
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"kind": "javascript-module",
|
|
314
|
-
"path": "src/shared/interfaces/patient.ts",
|
|
315
|
-
"declarations": [],
|
|
316
|
-
"exports": []
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
"kind": "javascript-module",
|
|
320
|
-
"path": "src/shared/mocks/pathologies.mock.ts",
|
|
321
|
-
"declarations": [
|
|
322
|
-
{
|
|
323
|
-
"kind": "variable",
|
|
324
|
-
"name": "mockPathologies",
|
|
325
|
-
"type": {
|
|
326
|
-
"text": "object"
|
|
327
|
-
},
|
|
328
|
-
"default": "{\n \"content\": [\n {\n \"code\": \"0000011731\",\n \"label\": \"Abaissement des bicarbonates sanguins\",\n \"labelHtml\": \"Abaissement des bicarbonates sanguins\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"K63.0\",\n \"label\": \"Abces de l'intestin\",\n \"labelHtml\": \"Abcès de l’intestin\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Q55.0\",\n \"label\": \"Absence (congenitale) et aplasie du testicule\",\n \"labelHtml\": \"Absence (congénitale) et aplasie du testicule\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000030994\",\n \"label\": \"Absence de test de grossesse negatif a l'initiation du traitement\",\n \"labelHtml\": \"Absence de test de grossesse négatif à l’initiation du traitement\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"Q41.8\",\n \"label\": \"Absence. atresie et stenose congenitales d'autres localisations precisees de l'intestin grele\",\n \"labelHtml\": \"Absence, atrésie et sténose congénitales d’autres localisations précisées de l’intestin grêle\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Q41\",\n \"label\": \"Absence. atresie et stenose congenitales de l'intestin grele\",\n \"labelHtml\": \"Absence, atrésie et sténose congénitales de l’intestin grêle\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Q41.9\",\n \"label\": \"Absence. atresie et stenose congenitales de l'intestin grele. sans precision de localisation\",\n \"labelHtml\": \"Absence, atrésie et sténose congénitales de l’intestin grêle, sans précision de localisation\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E10.9L83\",\n \"label\": \"Acanthosis nigricans au cours du diabete sucre de type 1 sans complication\",\n \"labelHtml\": \"Acanthosis nigricans au cours du diabète sucré de type 1 sans complication\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E11.9L83\",\n \"label\": \"Acanthosis nigricans au cours du diabete sucre de type 2 sans complication\",\n \"labelHtml\": \"Acanthosis nigricans au cours du diabète sucré de type 2 sans complication\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"R70.0\",\n \"label\": \"Acceleration de la vitesse de sedimentation\",\n \"labelHtml\": \"Accélération de la vitesse de sédimentation\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"R70\",\n \"label\": \"Acceleration de la vitesse de sedimentation et anomalies de la viscosite plasmatique\",\n \"labelHtml\": \"Accélération de la vitesse de sédimentation et anomalies de la viscosité plasmatique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000012730\",\n \"label\": \"Acceleration du transit intestinal\",\n \"labelHtml\": \"Accélération du transit intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"V95\",\n \"label\": \"Accident d'aeronef a moteur dans lequel un occupant est blesse\",\n \"labelHtml\": \"Accident d’aéronef à moteur dans lequel un occupant est blessé\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"V96\",\n \"label\": \"Accident d'aeronef sans moteur dans lequel un occupant est blesse\",\n \"labelHtml\": \"Accident d’aéronef sans moteur dans lequel un occupant est blessé\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"G45\",\n \"label\": \"Accidents ischemiques cerebraux transitoires et syndromes apparentes\",\n \"labelHtml\": \"Accidents ischémiques cérébraux transitoires et syndromes apparentés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y88\",\n \"label\": \"Actes medicaux et chirurgicaux consideres comme cause externe de sequelles\",\n \"labelHtml\": \"Actes médicaux et chirurgicaux considérés comme cause externe de séquelles\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"F52.7\",\n \"label\": \"Activite sexuelle excessive\",\n \"labelHtml\": \"Activité sexuelle excessive\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000007838\",\n \"label\": \"Activite sportive intense\",\n \"labelHtml\": \"Activité sportive intense\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"K56.5\",\n \"label\": \"Adherences de l'intestin (brides). avec occlusion\",\n \"labelHtml\": \"Adhérences de l’intestin (brides), avec occlusion\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000034881\",\n \"label\": \"Administration d'eau et d'electrolytes avec une faible quantite d'hydrates de carbone\",\n \"labelHtml\": \"Administration d’eau et d’électrolytes avec une faible quantité d’hydrates de carbone\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000024719\",\n \"label\": \"Administration d'heparine au cours des 48h precedant l'AVC avec un temps de thromboplastine > limite superieure de la normale\",\n \"labelHtml\": \"Administration d’héparine au cours des 48h précédant l’AVC avec un temps de thromboplastine > limite supérieure de la normale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"J70.4Y43.1\",\n \"label\": \"Affection pulmonaire interstitielle due aux antimetabolites antitumoraux\",\n \"labelHtml\": \"Affection pulmonaire interstitielle due aux antimétabolites antitumoraux\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D57.2\",\n \"label\": \"Affections a hematies falciformes [drepanocytaires] heterozygotes doubles\",\n \"labelHtml\": \"Affections à hématies falciformes [drépanocytaires] hétérozygotes doubles\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E13.6M73.8\",\n \"label\": \"Affections des tissus mous au cours d'autres diabetes sucres precises\",\n \"labelHtml\": \"Affections des tissus mous au cours d’autres diabètes sucrés précisés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E12.6M73.8\",\n \"label\": \"Affections des tissus mous au cours du diabete sucre de malnutrition\",\n \"labelHtml\": \"Affections des tissus mous au cours du diabète sucré de malnutrition\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E11.6M73.8\",\n \"label\": \"Affections des tissus mous au cours du diabete sucre de type 2 \",\n \"labelHtml\": \"Affections des tissus mous au cours du diabète sucré de type 2 \",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E10.6M73.8\",\n \"label\": \"Affections des tissus mous au cours du diabete sucre insulinodependant\",\n \"labelHtml\": \"Affections des tissus mous au cours du diabète sucré insulinodépendant\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E14.6M73.8\",\n \"label\": \"Affections des tissus mous au cours du diabete sucre. sans precision\",\n \"labelHtml\": \"Affections des tissus mous au cours du diabète sucré, sans précision\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"N51.1\",\n \"label\": \"Affections du testicule et de l'epididyme au cours de maladies classees ailleurs\",\n \"labelHtml\": \"Affections du testicule et de l’épididyme au cours de maladies classées ailleurs\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"N49.1\",\n \"label\": \"Affections inflammatoires du cordon spermatique. de la tunique vaginale du testicule et du canal deferent\",\n \"labelHtml\": \"Affections inflammatoires du cordon spermatique, de la tunique vaginale du testicule et du canal déférent\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000035151\",\n \"label\": \"Agressivite persistante dans le trouble des conduites\",\n \"labelHtml\": \"Agressivité persistante dans le trouble des conduites\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"Z04.0\",\n \"label\": \"Alcootest et recherche de substances pharmacologiques dans le sang\",\n \"labelHtml\": \"Alcootest et recherche de substances pharmacologiques dans le sang\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000012717\",\n \"label\": \"Allongement des tests de coagulation\",\n \"labelHtml\": \"Allongement des tests de coagulation\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000000587\",\n \"label\": \"Amibiase intestinale\",\n \"labelHtml\": \"Amibiase intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"A06.1\",\n \"label\": \"Amibiase intestinale chronique\",\n \"labelHtml\": \"Amibiase intestinale chronique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"A06.3\",\n \"label\": \"Amoebome (de l'intestin)\",\n \"labelHtml\": \"Amoebome (de l’intestin)\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"S08.8\",\n \"label\": \"Amputation traumatique d'autres parties de la tete\",\n \"labelHtml\": \"Amputation traumatique d’autres parties de la tête\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"S08\",\n \"label\": \"Amputation traumatique d'une partie de la tete\",\n \"labelHtml\": \"Amputation traumatique d’une partie de la tête\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"G12\",\n \"label\": \"Amyotrophie spinale et syndromes apparentes\",\n \"labelHtml\": \"Amyotrophie spinale et syndromes apparentés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000034195\",\n \"label\": \"Analgesie de courte duree des actes douloureux\",\n \"labelHtml\": \"Analgésie de courte durée des actes douloureux\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000020159\",\n \"label\": \"Anemie liee aux maladies inflammatoires chroniques de l'intestin\",\n \"labelHtml\": \"Anémie liée aux maladies inflammatoires chroniques de l’intestin\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"D52.1Y43.1\",\n \"label\": \"Anemie par carence en acide folique due aux antimetabolites tumoraux\",\n \"labelHtml\": \"Anémie par carence en acide folique due aux antimétabolites tumoraux\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D46.2\",\n \"label\": \"Anemie refractaire avec exces de blastes [AREB]\",\n \"labelHtml\": \"Anémie réfractaire avec excès de blastes [AREB]\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000015863\",\n \"label\": \"Anemie refractaire avec exces de blastes en transformation\",\n \"labelHtml\": \"Anémie réfractaire avec excès de blastes en transformation\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"D46.3\",\n \"label\": \"Anemie refractaire avec exces de blastes en transformation\",\n \"labelHtml\": \"Anémie réfractaire avec excès de blastes en transformation\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D46.1\",\n \"label\": \"Anemie refractaire avec sideroblastes en couronne\",\n \"labelHtml\": \"Anémie réfractaire avec sidéroblastes en couronne\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D46.0\",\n \"label\": \"Anemie refractaire sans sideroblastes en couronne. ainsi precisee\",\n \"labelHtml\": \"Anémie réfractaire sans sidéroblastes en couronne, ainsi précisée\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000035332\",\n \"label\": \"Anesthesie des petites interventions\",\n \"labelHtml\": \"Anesthésie des petites interventions\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"F44.6\",\n \"label\": \"Anesthesie dissociative et atteintes sensorielles\",\n \"labelHtml\": \"Anesthésie dissociative et atteintes sensorielles\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000029304\",\n \"label\": \"Anesthesie locale des extremites\",\n \"labelHtml\": \"Anesthésie locale des extrémités\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"M31.6I72.9\",\n \"label\": \"Anevrisme au cours d'autres arterites a cellules geante\",\n \"labelHtml\": \"Anévrisme au cours d’autres artérites à cellules géante\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000016647\",\n \"label\": \"Angio oedeme intestinal\",\n \"labelHtml\": \"Angio-oedème intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"K55.3\",\n \"label\": \"Angiodysplasie de l'intestin grele\",\n \"labelHtml\": \"Angiodysplasie de l’intestin grêle\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E11.5I79.2\",\n \"label\": \"Angiopathie peripherique au cours du diabete sucre de type 2 \",\n \"labelHtml\": \"Angiopathie périphérique au cours du diabète sucré de type 2 \",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"B81.3\",\n \"label\": \"Angiostrongyloidose [angiostrongylose] intestinale\",\n \"labelHtml\": \"Angiostrongyloïdose [angiostrongylose] intestinale\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000032547\",\n \"label\": \"Angor intestinal\",\n \"labelHtml\": \"Angor intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000007686\",\n \"label\": \"Anguillulose gastro intestinale\",\n \"labelHtml\": \"Anguillulose gastro-intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"B78.0\",\n \"label\": \"Anguillulose intestinale\",\n \"labelHtml\": \"Anguillulose intestinale\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D72.9\",\n \"label\": \"Anomalie des leucocytes. sans precision\",\n \"labelHtml\": \"Anomalie des leucocytes, sans précision\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000017715\",\n \"label\": \"Anomalie des plaquettes\",\n \"labelHtml\": \"Anomalie des plaquettes\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"E74.9\",\n \"label\": \"Anomalie du metabolisme des hydrates de carbone. sans precision\",\n \"labelHtml\": \"Anomalie du métabolisme des hydrates de carbone, sans précision\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D71\",\n \"label\": \"Anomalies fonctionnelles des granulocytes neutrophiles\",\n \"labelHtml\": \"Anomalies fonctionnelles des granulocytes neutrophiles\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D72.0\",\n \"label\": \"Anomalies genetiques des leucocytes\",\n \"labelHtml\": \"Anomalies génétiques des leucocytes\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"K07.0\",\n \"label\": \"Anomalies importantes de dimension des machoires\",\n \"labelHtml\": \"Anomalies importantes de dimension des mâchoires\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y54.1\",\n \"label\": \"Antagonistes de mineralocorticoides ayant provoque des effets indesirables au cours de leur usage therapeutique\",\n \"labelHtml\": \"Antagonistes de minéralocorticoïdes ayant provoqué des effets indésirables au cours de leur usage thérapeutique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y44.3\",\n \"label\": \"Antagonistes des anticoagulants. Vit K et autres coagulants ayant provoque des effets indesirables au cours de leur usage therap\",\n \"labelHtml\": \"Antagonistes des anticoagulants, Vit K et autres coagulants ayant provoqué des effets indésirables au cours de leur usage thérap\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000007843\",\n \"label\": \"Antecedent d'anastomose intestinale\",\n \"labelHtml\": \"Antécédent d’anastomose intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000007281\",\n \"label\": \"Antecedent d'hepatite severe medicamenteuse\",\n \"labelHtml\": \"Antécédent d’hépatite sévère médicamenteuse\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000011646\",\n \"label\": \"Antecedent d'occlusion gastro intestinale\",\n \"labelHtml\": \"Antécédent d’occlusion gastro-intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000008470\",\n \"label\": \"Antecedent d'ulcere gastro intestinal\",\n \"labelHtml\": \"Antécédent d’ulcère gastro-intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000017966\",\n \"label\": \"Antecedent de colite secondaire aux antibiotiques\",\n \"labelHtml\": \"Antécédent de colite secondaire aux antibiotiques\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000022549\",\n \"label\": \"Antecedent de perforation gastro intestinale\",\n \"labelHtml\": \"Antécédent de perforation gastro-intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000021331\",\n \"label\": \"Antecedent de photosensibilisation par des fibrates\",\n \"labelHtml\": \"Antécédent de photosensibilisation par des fibrates\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000021330\",\n \"label\": \"Antecedent de reaction phototoxique par des fibrates\",\n \"labelHtml\": \"Antécédent de réaction phototoxique par des fibrates\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000015141\",\n \"label\": \"Antecedent de resection chirurgicale de l'intestin grele\",\n \"labelHtml\": \"Antécédent de résection chirurgicale de l’intestin grêle\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000011898\",\n \"label\": \"Antecedent de resection intestinale chez le mucoviscidosique\",\n \"labelHtml\": \"Antécédent de résection intestinale chez le mucoviscidosique\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000016978\",\n \"label\": \"Antecedent de saignement gastro intestinal\",\n \"labelHtml\": \"Antécédent de saignement gastro-intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000032656\",\n \"label\": \"Antecedent de saignement ou d'ulcere gastrointestinal au cours d'un traitement par AINS\",\n \"labelHtml\": \"Antécédent de saignement ou d’ulcère gastrointestinal au cours d’un traitement par AINS\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000031320\",\n \"label\": \"Antecedent de thrombopenie sous pentosane polysulfate sodique\",\n \"labelHtml\": \"Antécédent de thrombopénie sous pentosane polysulfate sodique\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000012561\",\n \"label\": \"Antecedent de torsades de pointes\",\n \"labelHtml\": \"Antécédent de torsades de pointes\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000000717\",\n \"label\": \"Antecedent familial d'hepatite severe\",\n \"labelHtml\": \"Antécédent familial d’hépatite sévère\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000012810\",\n \"label\": \"Antecedent gastro intestinal\",\n \"labelHtml\": \"Antécédent gastro-intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000023815\",\n \"label\": \"Antecedent pulmonaire associe aux agonistes dopaminergiques\",\n \"labelHtml\": \"Antécédent pulmonaire associé aux agonistes dopaminergiques\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000024346\",\n \"label\": \"Antecedents d'infections recurrentes\",\n \"labelHtml\": \"Antécédents d’infections récurrentes\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"Z82.8\",\n \"label\": \"Antecedents familiaux d'autres incapacites et maladies chroniques conduisant a l'invalidite. non classees ailleurs\",\n \"labelHtml\": \"Antécédents familiaux d’autres incapacités et maladies chroniques conduisant à l’invalidité, non classées ailleurs\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Z80.7\",\n \"label\": \"Antecedents familiaux d'autres tumeurs des tissus lymphoide. hematopoietique et apparentes\",\n \"labelHtml\": \"Antécédents familiaux d’autres tumeurs des tissus lymphoïde, hématopoïétique et apparentés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Z82\",\n \"label\": \"Antecedents familiaux de certaines incapacites et maladies chroniques conduisant a l'invalidite\",\n \"labelHtml\": \"Antécédents familiaux de certaines incapacités et maladies chroniques conduisant à l’invalidité\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Z83.3\",\n \"label\": \"Antecedents familiaux de diabete sucre\",\n \"labelHtml\": \"Antécédents familiaux de diabète sucré\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Z85.7\",\n \"label\": \"Antecedents personnels d'autres tumeurs malignes des tissus lymphoide. hematopoietique et apparentes\",\n \"labelHtml\": \"Antécédents personnels d’autres tumeurs malignes des tissus lymphoïde, hématopoïétique et apparentés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000032625\",\n \"label\": \"Anticorps anti cytoplasme des polynucleaires neutrophiles (ANCA) augmentes\",\n \"labelHtml\": \"Anticorps anti-cytoplasme des polynucléaires neutrophiles (ANCA) augmentés\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"Y57.2\",\n \"label\": \"Antidotes et chelateurs ayant provoque des effets indesirables lors de leur usage therapeutique\",\n \"labelHtml\": \"Antidotes et chélateurs ayant provoqué des effets indésirables lors de leur usage thérapeutique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y43.1\",\n \"label\": \"Antimetabolites tumoraux ayant provoque des effets indesirables au cours de leur usage therapeutique\",\n \"labelHtml\": \"Antimétabolites tumoraux ayant provoqué des effets indésirables au cours de leur usage thérapeutique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000026742\",\n \"label\": \"Anxiete sociale\",\n \"labelHtml\": \"Anxiété sociale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"F93.2\",\n \"label\": \"Anxiete sociale de l'enfance\",\n \"labelHtml\": \"Anxiété sociale de l’enfance\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"M31.6I79.1\",\n \"label\": \"Aortite au cours d'autres arterites a cellules geantes\",\n \"labelHtml\": \"Aortite au cours d’autres artérites à cellules géantes\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"A52.0I79.1\",\n \"label\": \"Aortite syphilitique\",\n \"labelHtml\": \"Aortite syphilitique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"K12.0\",\n \"label\": \"Aphtes buccaux recidivants\",\n \"labelHtml\": \"Aphtes buccaux récidivants\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D61.1Y44.1\",\n \"label\": \"Aplasie medullaire due a vitamine B12. acide folique et autres preparations prescrites dans les anemies megaloblastiques\",\n \"labelHtml\": \"Aplasie médullaire due à vitamine B12, acide folique et autres préparations prescrites dans les anémies mégaloblastiques\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D61.1Y43.1\",\n \"label\": \"Aplasie medullaire due aux antimetabolites tumoraux\",\n \"labelHtml\": \"Aplasie médullaire due aux antimétabolites tumoraux\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y81\",\n \"label\": \"Appareils utilises en chirurgie generale et esthetique. associes a des accidents\",\n \"labelHtml\": \"Appareils utilisés en chirurgie générale et esthétique, associés à des accidents\",\n \"subType\": \"CIM10\",\n },\n ],\n \"pageable\": {\n \"sort\": {\n \"sorted\": true,\n \"unsorted\": false,\n \"empty\": false,\n },\n \"pageSize\": 100,\n \"pageNumber\": 0,\n \"offset\": 0,\n \"paged\": true,\n \"unpaged\": false,\n },\n \"totalElements\": 1365,\n \"totalPages\": 14,\n \"last\": false,\n \"sort\": {\n \"sorted\": true,\n \"unsorted\": false,\n \"empty\": false,\n },\n \"first\": true,\n \"numberOfElements\": 100,\n \"number\": 0,\n \"size\": 100,\n \"empty\": false,\n}"
|
|
329
|
-
}
|
|
330
|
-
],
|
|
331
|
-
"exports": [
|
|
332
|
-
{
|
|
333
|
-
"kind": "js",
|
|
334
|
-
"name": "mockPathologies",
|
|
335
|
-
"declaration": {
|
|
336
|
-
"name": "mockPathologies",
|
|
337
|
-
"module": "src/shared/mocks/pathologies.mock.ts"
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
]
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"kind": "javascript-module",
|
|
344
|
-
"path": "src/shared/mocks/patient-profile.mock.ts",
|
|
345
|
-
"declarations": [
|
|
346
|
-
{
|
|
347
|
-
"kind": "variable",
|
|
348
|
-
"name": "patientComplete",
|
|
349
|
-
"type": {
|
|
350
|
-
"text": "Bundle"
|
|
351
|
-
},
|
|
352
|
-
"default": "{\n resourceType: \"Bundle\",\n id: \"patient-complete\",\n type: \"document\",\n entry: [\n {\n resource: {\n resourceType: \"Composition\", // On a Bundle of type document, the first entry must be a Composition\n id: \"composition-complete\",\n status: \"final\",\n type: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"34133-9\",\n display: \"Summary of episode note\",\n },\n ],\n },\n subject: [{ reference: \"Patient/patient-complete\" }],\n date: \"2025-09-02\",\n title: \"Patient complete composition\",\n author: [{ reference: \"Practitioner/dr-martin\" }],\n },\n },\n {\n resource: {\n resourceType: \"Patient\",\n id: \"patient-complete\",\n gender: \"female\", // sex at birth\n birthDate: \"1984-01-01\", // birthDate used to calculate age\n name: [\n {\n family: \"Dupont\",\n given: [\"Marie\"],\n },\n ],\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-gestational-age\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"18185-9\",\n display: \"Gestational age\", // Most used Loinc code for gestational age / number of weeks of amenorrhea\n },\n ],\n text: \"Âge gestationnel\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 20,\n unit: \"weeks\",\n system: \"http://unitsofmeasure.org\",\n code: \"wk\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-creatinine-clearance\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"2164-2\",\n display: \"Creatinine renal clearance in 24 hour Urine and Serum or Plasma\", // Most used Loinc code for creatinine clearance\n },\n ],\n text: \"Clairance de la créatinine\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 71,\n unit: \"mL/min\",\n system: \"http://unitsofmeasure.org\",\n code: \"mL/min\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-creatinine\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"15051-6\",\n display: \"Creatinine [Moles/volume] in Serum or Plasma\", // LOINC code for serum creatinine in μmol/L\n },\n ],\n text: \"Créatininémie\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 121,\n unit: \"μmol/L\",\n system: \"http://unitsofmeasure.org\",\n code: \"umol/L\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-creatinine\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"2160-0\",\n display: \"Creatinine [Mass/volume] in Serum or Plasma\", // Most used Loinc code for serum creatinine\n },\n ],\n text: \"Créatininémie\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 1.4,\n unit: \"mg/dL\",\n system: \"http://unitsofmeasure.org\",\n code: \"mg/dL\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-dfg\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"48642-3\",\n // eslint-disable-next-line @stylistic/max-len\n display: \"Glomerular filtration rate [Volume Rate/Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD)/1.73 sq M\",\n },\n ],\n text: \"DFG\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 45,\n unit: \"mL/min/1.73.m2\",\n system: \"http://unitsofmeasure.org\",\n code: \"mL/min/1.73.m2\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-child-pugh-score\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"98152-2\",\n display: \"Total score [Child-Pugh]\",\n },\n ],\n text: \"Score total Child-Pugh\",\n },\n subject: {\n \"reference\": \"Patient/patient-complete\",\n },\n valueQuantity: {\n value: 7,\n unit: \"score\",\n system: \"http://unitsofmeasure.org\",\n code: \"{score}\",\n },\n valueCodeableConcept: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"710066005\",\n display: \"Child-Pugh score class B\",\n },\n ],\n text: \"Stade B\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-body-weight\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"29463-7\",\n display: \"Body weight\", // Most used Loinc code for body weight\n },\n ],\n text: \"Poids corporel\",\n },\n subject: {\n reference: \"Patient/patient-complete\",\n },\n valueQuantity: {\n value: 84,\n unit: \"kg\",\n system: \"http://unitsofmeasure.org\",\n code: \"kg\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-body-height\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"8302-2\",\n display: \"Body height\", // Most used Loinc code for body height\n },\n ],\n text: \"Taille corporelle\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 170,\n unit: \"cm\",\n system: \"http://unitsofmeasure.org\",\n code: \"cm\",\n },\n },\n },\n {\n resource: {\n resourceType: \"AdverseEvent\", // Resource used to specify adverse events like drug side effects the patient is experiencing\n id: \"adverseevent-amoxicillin-rash\",\n actuality: \"actual\",\n subject: { reference: \"Patient/patient-complete\" },\n status: \"unknown\",\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"271807003\",\n display: \"Rash\",\n },\n ],\n text: \"Éruption cutanée\",\n },\n suspectEntity: [ // Link to the medication request that supposedly or certainly caused the adverse event\n {\n instanceReference: {\n reference: \"MedicationRequest/req-cardensiel\",\n },\n causality: {\n assessmentMethod: {\n coding: [\n {\n system: \"http://terminology.hl7.org/CodeSystem/adverse-event-causality-assess\",\n code: \"certain\",\n display: \"Certain\",\n },\n ],\n },\n },\n },\n ],\n seriousness: {\n coding: [\n {\n system: \"http://terminology.hl7.org/CodeSystem/adverse-event-seriousness\",\n code: \"non-serious\",\n display: \"Non-serious\",\n },\n ],\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-pregnancy-status\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"82810-3\",\n display: \"Pregnancy status\", // Most used Loinc code for pregnancy status\n },\n ],\n text: \"Statut de grossesse\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueCodeableConcept: { // result of the observation meaning the patient is currently pregnant (it can also be represented more simply by a Condition resource with the same snomed code)\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"77386006\",\n display: \"Pregnant\",\n },\n ],\n text: \"Grossesse\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-breastfeeding-status\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"63895-7\",\n display: \"Breastfeeding status\", // Most used Loinc code for breastfeeding status\n },\n ],\n text: \"Statut d'allaitement\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueCodeableConcept: { // result of the observation meaning the patient is currently breastfeeding (it can also be represented more simply by a Condition resource with the same snomed code)\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"69840006\",\n display: \"Breastfeeding\",\n },\n ],\n text: \"Allaitement\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Condition\", // Resources of type Condition are used to specify pathologies\n id: \"hepatic-insufficiency\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/condition-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"59927004\",\n display: \"Hepatic failure\",\n },\n ],\n text: \"Insuffisance hépatique\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n },\n },\n {\n resource: {\n resourceType: \"Condition\",\n id: \"cond-medical-terrain\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/condition-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"723189000\",\n display: \"Insuffisance rénale aigüe\",\n },\n ],\n text: \"Insuffisance rénale aigüe\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n },\n },\n {\n resource: {\n resourceType: \"Condition\",\n id: \"cond-medical-terrain\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/condition-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"723188000\",\n display: \"Insuffisance hépatique modérée\",\n },\n ],\n text: \"Insuffisance hépatique modérée\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n },\n },\n {\n resource: {\n resourceType: \"Condition\",\n id: \"cond-followed-pathology\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/condition-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"84114007\",\n display: \"Insuffisance cardiaque\",\n },\n ],\n text: \"Insuffisance cardiaque\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n },\n },\n {\n resource: {\n resourceType: \"AllergyIntolerance\", // Resource used to specify allergies or intolerances the patient has\n id: \"allergy-paracetamol\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"293584003\",\n display: \"Allergie au paracétamol\",\n },\n ],\n text: \"Allergie au paracétamol\",\n },\n patient: { reference: \"Patient/patient-complete\" },\n },\n },\n ],\n}"
|
|
353
|
-
}
|
|
354
|
-
],
|
|
355
|
-
"exports": [
|
|
356
|
-
{
|
|
357
|
-
"kind": "js",
|
|
358
|
-
"name": "patientComplete",
|
|
359
|
-
"declaration": {
|
|
360
|
-
"name": "patientComplete",
|
|
361
|
-
"module": "src/shared/mocks/patient-profile.mock.ts"
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
]
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
"kind": "javascript-module",
|
|
368
|
-
"path": "src/shared/constants/edition-options.ts",
|
|
369
|
-
"declarations": [
|
|
370
|
-
{
|
|
371
|
-
"kind": "variable",
|
|
372
|
-
"name": "sexOptions",
|
|
373
|
-
"type": {
|
|
374
|
-
"text": "{ value: string, label: string }[]"
|
|
375
|
-
},
|
|
376
|
-
"default": "[\n { value: \"male\", label: \"Masculin\" },\n { value: \"female\", label: \"Féminin\" },\n { value: \"unknown\", label: \"Inconnu\" },\n]"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
"kind": "variable",
|
|
380
|
-
"name": "hepaticStadeOptions",
|
|
381
|
-
"type": {
|
|
382
|
-
"text": "{ value: string, label: string }[]"
|
|
383
|
-
},
|
|
384
|
-
"default": "[\n { value: \"A\", label: \"Stade A\" },\n { value: \"B\", label: \"Stade B\" },\n { value: \"C\", label: \"Stade C\" },\n]"
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
"kind": "variable",
|
|
388
|
-
"name": "ageOptions",
|
|
389
|
-
"type": {
|
|
390
|
-
"text": "{ value: string, label: string }[]"
|
|
391
|
-
},
|
|
392
|
-
"default": "[\n { value: \"ans\", label: \"Ans\" },\n { value: \"mois\", label: \"Mois\" },\n]"
|
|
393
|
-
}
|
|
394
|
-
],
|
|
395
|
-
"exports": [
|
|
396
|
-
{
|
|
397
|
-
"kind": "js",
|
|
398
|
-
"name": "sexOptions",
|
|
399
|
-
"declaration": {
|
|
400
|
-
"name": "sexOptions",
|
|
401
|
-
"module": "src/shared/constants/edition-options.ts"
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"kind": "js",
|
|
406
|
-
"name": "hepaticStadeOptions",
|
|
407
|
-
"declaration": {
|
|
408
|
-
"name": "hepaticStadeOptions",
|
|
409
|
-
"module": "src/shared/constants/edition-options.ts"
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"kind": "js",
|
|
414
|
-
"name": "ageOptions",
|
|
415
|
-
"declaration": {
|
|
416
|
-
"name": "ageOptions",
|
|
417
|
-
"module": "src/shared/constants/edition-options.ts"
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
]
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"kind": "javascript-module",
|
|
424
|
-
"path": "src/shared/constants/loinc.ts",
|
|
425
|
-
"declarations": [
|
|
426
|
-
{
|
|
427
|
-
"kind": "variable",
|
|
428
|
-
"name": "acceptedLoincCodesForRenalClearance",
|
|
429
|
-
"type": {
|
|
430
|
-
"text": "string[]"
|
|
431
|
-
},
|
|
432
|
-
"default": "[\n \"2163-4\",\n \"2164-2\",\n \"13441-1\",\n \"13442-9\",\n \"13443-7\",\n \"13446-0\",\n \"13447-8\",\n \"13449-4\",\n \"13450-2\",\n \"26752-6\",\n \"35591-7\",\n \"35594-1\",\n \"50380-5\",\n \"50381-3\",\n \"104805-7\",\n]"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"kind": "variable",
|
|
436
|
-
"name": "acceptedLoincCodesForRenalGFRPerBSA",
|
|
437
|
-
"type": {
|
|
438
|
-
"text": "string[]"
|
|
439
|
-
},
|
|
440
|
-
"default": "[\n \"69405-9\",\n \"70969-1\",\n \"48642-3\",\n \"48643-1\",\n \"50044-7\",\n \"50210-4\",\n \"50384-7\",\n \"62238-1\",\n \"77147-7\",\n \"78006-4\",\n \"88293-6\",\n \"88294-4\",\n \"94677-2\",\n \"96591-3\",\n \"96592-1\",\n \"98979-8\",\n \"98980-6\",\n \"102097-3\",\n]"
|
|
441
|
-
}
|
|
442
|
-
],
|
|
443
|
-
"exports": [
|
|
444
|
-
{
|
|
445
|
-
"kind": "js",
|
|
446
|
-
"name": "acceptedLoincCodesForRenalClearance",
|
|
447
|
-
"declaration": {
|
|
448
|
-
"name": "acceptedLoincCodesForRenalClearance",
|
|
449
|
-
"module": "src/shared/constants/loinc.ts"
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
"kind": "js",
|
|
454
|
-
"name": "acceptedLoincCodesForRenalGFRPerBSA",
|
|
455
|
-
"declaration": {
|
|
456
|
-
"name": "acceptedLoincCodesForRenalGFRPerBSA",
|
|
457
|
-
"module": "src/shared/constants/loinc.ts"
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
]
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
"kind": "javascript-module",
|
|
464
|
-
"path": "src/shared/constants/settings.ts",
|
|
289
|
+
"path": "src/patient-profile/patient-profile-edition/patient-profile-edition.stories.ts",
|
|
465
290
|
"declarations": [
|
|
466
291
|
{
|
|
467
292
|
"kind": "variable",
|
|
468
|
-
"name": "
|
|
293
|
+
"name": "Base",
|
|
469
294
|
"type": {
|
|
470
|
-
"text": "
|
|
471
|
-
},
|
|
472
|
-
"default": "\"claudebernard\""
|
|
473
|
-
}
|
|
474
|
-
],
|
|
475
|
-
"exports": [
|
|
476
|
-
{
|
|
477
|
-
"kind": "js",
|
|
478
|
-
"name": "PREFIX",
|
|
479
|
-
"declaration": {
|
|
480
|
-
"name": "PREFIX",
|
|
481
|
-
"module": "src/shared/constants/settings.ts"
|
|
295
|
+
"text": "WebComponentsStory<any, any>"
|
|
482
296
|
}
|
|
483
297
|
}
|
|
484
|
-
]
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
"kind": "javascript-module",
|
|
488
|
-
"path": "src/shared/constants/snomed.ts",
|
|
489
|
-
"declarations": [
|
|
490
|
-
{
|
|
491
|
-
"kind": "variable",
|
|
492
|
-
"name": "snomedToChildPughStadeMap",
|
|
493
|
-
"type": {
|
|
494
|
-
"text": "object"
|
|
495
|
-
},
|
|
496
|
-
"default": "{\n \"710065009\": \"Stade A\",\n \"710066005\": \"Stade B\",\n \"710067001\": \"Stade C\",\n}"
|
|
497
|
-
},
|
|
498
|
-
{
|
|
499
|
-
"kind": "variable",
|
|
500
|
-
"name": "childPughStadeToSnomedMap",
|
|
501
|
-
"type": {
|
|
502
|
-
"text": "object"
|
|
503
|
-
},
|
|
504
|
-
"default": "{\n \"A\": \"710065009\",\n \"B\": \"710066005\",\n \"C\": \"710067001\",\n}"
|
|
505
|
-
}
|
|
506
298
|
],
|
|
507
299
|
"exports": [
|
|
508
300
|
{
|
|
509
301
|
"kind": "js",
|
|
510
|
-
"name": "
|
|
511
|
-
"declaration": {
|
|
512
|
-
"name": "snomedToChildPughStadeMap",
|
|
513
|
-
"module": "src/shared/constants/snomed.ts"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
{
|
|
517
|
-
"kind": "js",
|
|
518
|
-
"name": "childPughStadeToSnomedMap",
|
|
302
|
+
"name": "Base",
|
|
519
303
|
"declaration": {
|
|
520
|
-
"name": "
|
|
521
|
-
"module": "src/
|
|
304
|
+
"name": "Base",
|
|
305
|
+
"module": "src/patient-profile/patient-profile-edition/patient-profile-edition.stories.ts"
|
|
522
306
|
}
|
|
523
307
|
}
|
|
524
308
|
]
|
|
525
309
|
},
|
|
526
310
|
{
|
|
527
311
|
"kind": "javascript-module",
|
|
528
|
-
"path": "src/
|
|
312
|
+
"path": "src/patient-profile/patient-profile-edition/patient-profile-edition.ts",
|
|
529
313
|
"declarations": [
|
|
530
314
|
{
|
|
531
|
-
"kind": "
|
|
532
|
-
"
|
|
533
|
-
"
|
|
315
|
+
"kind": "class",
|
|
316
|
+
"description": "",
|
|
317
|
+
"name": "PatientProfileEdition",
|
|
318
|
+
"members": [
|
|
534
319
|
{
|
|
535
|
-
"
|
|
320
|
+
"kind": "field",
|
|
321
|
+
"name": "patientProfile",
|
|
536
322
|
"type": {
|
|
537
|
-
"text": "
|
|
538
|
-
}
|
|
323
|
+
"text": "Bundle | undefined"
|
|
324
|
+
},
|
|
325
|
+
"attribute": "patient-profile"
|
|
539
326
|
},
|
|
540
327
|
{
|
|
541
|
-
"
|
|
328
|
+
"kind": "field",
|
|
329
|
+
"name": "apiUrl",
|
|
542
330
|
"type": {
|
|
543
|
-
"text": "
|
|
544
|
-
}
|
|
331
|
+
"text": "string | undefined"
|
|
332
|
+
},
|
|
333
|
+
"attribute": "api-url"
|
|
545
334
|
},
|
|
546
335
|
{
|
|
547
|
-
"
|
|
336
|
+
"kind": "field",
|
|
337
|
+
"name": "apiKey",
|
|
548
338
|
"type": {
|
|
549
|
-
"text": "string"
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
"kind": "function",
|
|
556
|
-
"name": "fetchMoleculesByTerm",
|
|
557
|
-
"parameters": [
|
|
339
|
+
"text": "string | undefined"
|
|
340
|
+
},
|
|
341
|
+
"attribute": "api-key"
|
|
342
|
+
},
|
|
558
343
|
{
|
|
559
|
-
"
|
|
344
|
+
"kind": "field",
|
|
345
|
+
"name": "preferences",
|
|
560
346
|
"type": {
|
|
561
|
-
"text": "
|
|
562
|
-
}
|
|
347
|
+
"text": "PatientProfilePreferences | undefined"
|
|
348
|
+
},
|
|
349
|
+
"attribute": "preferences"
|
|
563
350
|
},
|
|
564
351
|
{
|
|
565
|
-
"
|
|
352
|
+
"kind": "field",
|
|
353
|
+
"name": "patientAge",
|
|
566
354
|
"type": {
|
|
567
|
-
"text": "
|
|
568
|
-
}
|
|
355
|
+
"text": "number"
|
|
356
|
+
},
|
|
357
|
+
"default": "0"
|
|
569
358
|
},
|
|
570
359
|
{
|
|
571
|
-
"
|
|
360
|
+
"kind": "field",
|
|
361
|
+
"name": "patientUnitAge",
|
|
572
362
|
"type": {
|
|
573
363
|
"text": "string"
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
}
|
|
578
|
-
],
|
|
579
|
-
"exports": [
|
|
580
|
-
{
|
|
581
|
-
"kind": "js",
|
|
582
|
-
"name": "fetchPathologiesByTerm",
|
|
583
|
-
"declaration": {
|
|
584
|
-
"name": "fetchPathologiesByTerm",
|
|
585
|
-
"module": "src/shared/services/api-search.service.ts"
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
"kind": "js",
|
|
590
|
-
"name": "fetchMoleculesByTerm",
|
|
591
|
-
"declaration": {
|
|
592
|
-
"name": "fetchMoleculesByTerm",
|
|
593
|
-
"module": "src/shared/services/api-search.service.ts"
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
]
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"kind": "javascript-module",
|
|
600
|
-
"path": "src/shared/utils/formula-utils.ts",
|
|
601
|
-
"declarations": [
|
|
602
|
-
{
|
|
603
|
-
"kind": "function",
|
|
604
|
-
"name": "calculateBMI",
|
|
605
|
-
"return": {
|
|
606
|
-
"type": {
|
|
607
|
-
"text": ""
|
|
608
|
-
}
|
|
609
|
-
},
|
|
610
|
-
"parameters": [
|
|
364
|
+
},
|
|
365
|
+
"default": "\"ans\""
|
|
366
|
+
},
|
|
611
367
|
{
|
|
612
|
-
"
|
|
368
|
+
"kind": "field",
|
|
369
|
+
"name": "patientWeight",
|
|
613
370
|
"type": {
|
|
614
371
|
"text": "number"
|
|
615
372
|
},
|
|
616
|
-
"
|
|
373
|
+
"default": "0"
|
|
617
374
|
},
|
|
618
375
|
{
|
|
619
|
-
"
|
|
376
|
+
"kind": "field",
|
|
377
|
+
"name": "patientHeight",
|
|
620
378
|
"type": {
|
|
621
379
|
"text": "number"
|
|
622
380
|
},
|
|
623
|
-
"
|
|
624
|
-
}
|
|
625
|
-
],
|
|
626
|
-
"description": "Calcule l'IMC à partir du poids et de la taille"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"kind": "function",
|
|
630
|
-
"name": "calculateCreatinineClearance",
|
|
631
|
-
"return": {
|
|
632
|
-
"type": {
|
|
633
|
-
"text": ""
|
|
634
|
-
}
|
|
635
|
-
},
|
|
636
|
-
"parameters": [
|
|
381
|
+
"default": "0"
|
|
382
|
+
},
|
|
637
383
|
{
|
|
638
|
-
"
|
|
384
|
+
"kind": "field",
|
|
385
|
+
"name": "creatinineByMg",
|
|
639
386
|
"type": {
|
|
640
387
|
"text": "number"
|
|
641
388
|
},
|
|
642
|
-
"
|
|
389
|
+
"default": "0"
|
|
643
390
|
},
|
|
644
391
|
{
|
|
645
|
-
"
|
|
392
|
+
"kind": "field",
|
|
393
|
+
"name": "creatinineByUmol",
|
|
646
394
|
"type": {
|
|
647
395
|
"text": "number"
|
|
648
396
|
},
|
|
649
|
-
"
|
|
397
|
+
"default": "0"
|
|
650
398
|
},
|
|
651
399
|
{
|
|
652
|
-
"
|
|
400
|
+
"kind": "field",
|
|
401
|
+
"name": "clairanceCreatinine",
|
|
653
402
|
"type": {
|
|
654
403
|
"text": "number"
|
|
655
404
|
},
|
|
656
|
-
"
|
|
405
|
+
"default": "0"
|
|
657
406
|
},
|
|
658
407
|
{
|
|
659
|
-
"
|
|
408
|
+
"kind": "field",
|
|
409
|
+
"name": "dfg",
|
|
410
|
+
"type": {
|
|
411
|
+
"text": "number"
|
|
412
|
+
},
|
|
413
|
+
"default": "0"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"kind": "field",
|
|
417
|
+
"name": "defaultPatientUnitAge",
|
|
418
|
+
"type": {
|
|
419
|
+
"text": "{ value?: string; label?: string }"
|
|
420
|
+
},
|
|
421
|
+
"default": "{}"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"kind": "field",
|
|
425
|
+
"name": "defaultPatientSex",
|
|
426
|
+
"type": {
|
|
427
|
+
"text": "{ value?: string; label?: string }"
|
|
428
|
+
},
|
|
429
|
+
"default": "{}"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"kind": "field",
|
|
433
|
+
"name": "defaultHepaticStade",
|
|
434
|
+
"type": {
|
|
435
|
+
"text": "{ value?: string; label?: string }"
|
|
436
|
+
},
|
|
437
|
+
"default": "{}"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"kind": "field",
|
|
441
|
+
"name": "isPregnancyDivVisible",
|
|
660
442
|
"type": {
|
|
661
443
|
"text": "boolean"
|
|
662
444
|
},
|
|
663
|
-
"
|
|
664
|
-
}
|
|
665
|
-
],
|
|
666
|
-
"description": "Calcule la clairance de la créatinine selon la formule de Cockcroft-Gault"
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
"kind": "function",
|
|
670
|
-
"name": "convertCreatinineUmolToMgdL",
|
|
671
|
-
"return": {
|
|
672
|
-
"type": {
|
|
673
|
-
"text": ""
|
|
674
|
-
}
|
|
675
|
-
},
|
|
676
|
-
"parameters": [
|
|
445
|
+
"default": "false"
|
|
446
|
+
},
|
|
677
447
|
{
|
|
678
|
-
"
|
|
448
|
+
"kind": "field",
|
|
449
|
+
"name": "isPregnant",
|
|
679
450
|
"type": {
|
|
680
|
-
"text": "
|
|
451
|
+
"text": "boolean"
|
|
681
452
|
},
|
|
682
|
-
"
|
|
683
|
-
}
|
|
684
|
-
],
|
|
685
|
-
"description": "Convertit la créatinine de μmol/L en mg/dL"
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"kind": "function",
|
|
689
|
-
"name": "convertCreatinineMgdLToUmol",
|
|
690
|
-
"return": {
|
|
691
|
-
"type": {
|
|
692
|
-
"text": ""
|
|
693
|
-
}
|
|
694
|
-
},
|
|
695
|
-
"parameters": [
|
|
453
|
+
"default": "false"
|
|
454
|
+
},
|
|
696
455
|
{
|
|
697
|
-
"
|
|
456
|
+
"kind": "field",
|
|
457
|
+
"name": "breastfeeding",
|
|
698
458
|
"type": {
|
|
699
|
-
"text": "
|
|
459
|
+
"text": "boolean"
|
|
700
460
|
},
|
|
701
|
-
"
|
|
702
|
-
}
|
|
703
|
-
],
|
|
704
|
-
"description": "Convertit la créatinine de mg/dL en μmol/L"
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"kind": "function",
|
|
708
|
-
"name": "convertCreatinineMgdLToMgL",
|
|
709
|
-
"return": {
|
|
710
|
-
"type": {
|
|
711
|
-
"text": ""
|
|
712
|
-
}
|
|
713
|
-
},
|
|
714
|
-
"parameters": [
|
|
461
|
+
"default": "false"
|
|
462
|
+
},
|
|
715
463
|
{
|
|
716
|
-
"
|
|
464
|
+
"kind": "field",
|
|
465
|
+
"name": "ageErrorMessageInput",
|
|
717
466
|
"type": {
|
|
718
|
-
"text": "
|
|
467
|
+
"text": "string"
|
|
719
468
|
},
|
|
720
|
-
"
|
|
721
|
-
}
|
|
722
|
-
],
|
|
723
|
-
"description": "Convertit la créatinine de mg/dL en mg/L"
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
"kind": "function",
|
|
727
|
-
"name": "convertCreatinineMgLToMgdL",
|
|
728
|
-
"return": {
|
|
729
|
-
"type": {
|
|
730
|
-
"text": ""
|
|
731
|
-
}
|
|
732
|
-
},
|
|
733
|
-
"parameters": [
|
|
469
|
+
"default": "\"\""
|
|
470
|
+
},
|
|
734
471
|
{
|
|
735
|
-
"
|
|
472
|
+
"kind": "field",
|
|
473
|
+
"name": "sizeErrorMessageInput",
|
|
736
474
|
"type": {
|
|
737
|
-
"text": "
|
|
475
|
+
"text": "string"
|
|
738
476
|
},
|
|
739
|
-
"
|
|
740
|
-
}
|
|
741
|
-
],
|
|
742
|
-
"description": "Convertit la créatinine de mg/L en mg/dL"
|
|
743
|
-
}
|
|
744
|
-
],
|
|
745
|
-
"exports": [
|
|
746
|
-
{
|
|
747
|
-
"kind": "js",
|
|
748
|
-
"name": "calculateBMI",
|
|
749
|
-
"declaration": {
|
|
750
|
-
"name": "calculateBMI",
|
|
751
|
-
"module": "src/shared/utils/formula-utils.ts"
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"kind": "js",
|
|
756
|
-
"name": "calculateCreatinineClearance",
|
|
757
|
-
"declaration": {
|
|
758
|
-
"name": "calculateCreatinineClearance",
|
|
759
|
-
"module": "src/shared/utils/formula-utils.ts"
|
|
760
|
-
}
|
|
761
|
-
},
|
|
762
|
-
{
|
|
763
|
-
"kind": "js",
|
|
764
|
-
"name": "convertCreatinineUmolToMgdL",
|
|
765
|
-
"declaration": {
|
|
766
|
-
"name": "convertCreatinineUmolToMgdL",
|
|
767
|
-
"module": "src/shared/utils/formula-utils.ts"
|
|
768
|
-
}
|
|
769
|
-
},
|
|
770
|
-
{
|
|
771
|
-
"kind": "js",
|
|
772
|
-
"name": "convertCreatinineMgdLToUmol",
|
|
773
|
-
"declaration": {
|
|
774
|
-
"name": "convertCreatinineMgdLToUmol",
|
|
775
|
-
"module": "src/shared/utils/formula-utils.ts"
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
{
|
|
779
|
-
"kind": "js",
|
|
780
|
-
"name": "convertCreatinineMgdLToMgL",
|
|
781
|
-
"declaration": {
|
|
782
|
-
"name": "convertCreatinineMgdLToMgL",
|
|
783
|
-
"module": "src/shared/utils/formula-utils.ts"
|
|
784
|
-
}
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
"kind": "js",
|
|
788
|
-
"name": "convertCreatinineMgLToMgdL",
|
|
789
|
-
"declaration": {
|
|
790
|
-
"name": "convertCreatinineMgLToMgdL",
|
|
791
|
-
"module": "src/shared/utils/formula-utils.ts"
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
]
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"kind": "javascript-module",
|
|
798
|
-
"path": "src/shared/utils/patient-fhir-utils.ts",
|
|
799
|
-
"declarations": [
|
|
800
|
-
{
|
|
801
|
-
"kind": "function",
|
|
802
|
-
"name": "getPatientGender",
|
|
803
|
-
"return": {
|
|
804
|
-
"type": {
|
|
805
|
-
"text": ""
|
|
806
|
-
}
|
|
807
|
-
},
|
|
808
|
-
"parameters": [
|
|
477
|
+
"default": "\"\""
|
|
478
|
+
},
|
|
809
479
|
{
|
|
810
|
-
"
|
|
480
|
+
"kind": "field",
|
|
481
|
+
"name": "weightErrorMessageInput",
|
|
811
482
|
"type": {
|
|
812
|
-
"text": "
|
|
483
|
+
"text": "string"
|
|
813
484
|
},
|
|
814
|
-
"
|
|
815
|
-
}
|
|
816
|
-
],
|
|
817
|
-
"description": "Extrait le sexe du patient FHIR"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"kind": "function",
|
|
821
|
-
"name": "setPatientGender",
|
|
822
|
-
"return": {
|
|
823
|
-
"type": {
|
|
824
|
-
"text": "void"
|
|
825
|
-
}
|
|
826
|
-
},
|
|
827
|
-
"parameters": [
|
|
485
|
+
"default": "\"\""
|
|
486
|
+
},
|
|
828
487
|
{
|
|
829
|
-
"
|
|
488
|
+
"kind": "field",
|
|
489
|
+
"name": "pathologiesApiErrorMessage",
|
|
830
490
|
"type": {
|
|
831
|
-
"text": "
|
|
832
|
-
}
|
|
491
|
+
"text": "string"
|
|
492
|
+
},
|
|
493
|
+
"default": "\"\""
|
|
833
494
|
},
|
|
834
495
|
{
|
|
835
|
-
"
|
|
496
|
+
"kind": "field",
|
|
497
|
+
"name": "allergiesApiErrorMessage",
|
|
836
498
|
"type": {
|
|
837
|
-
"text": "
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"kind": "function",
|
|
844
|
-
"name": "getPatientName",
|
|
845
|
-
"return": {
|
|
846
|
-
"type": {
|
|
847
|
-
"text": ""
|
|
848
|
-
}
|
|
849
|
-
},
|
|
850
|
-
"parameters": [
|
|
499
|
+
"text": "string"
|
|
500
|
+
},
|
|
501
|
+
"default": "\"\""
|
|
502
|
+
},
|
|
851
503
|
{
|
|
852
|
-
"
|
|
504
|
+
"kind": "field",
|
|
505
|
+
"name": "pathologyOptions",
|
|
853
506
|
"type": {
|
|
854
|
-
"text": "
|
|
507
|
+
"text": "ISelectOption[]"
|
|
855
508
|
},
|
|
856
|
-
"
|
|
857
|
-
}
|
|
858
|
-
],
|
|
859
|
-
"description": "Extrait le nom du patient FHIR"
|
|
860
|
-
},
|
|
861
|
-
{
|
|
862
|
-
"kind": "function",
|
|
863
|
-
"name": "getPatientAge",
|
|
864
|
-
"return": {
|
|
865
|
-
"type": {
|
|
866
|
-
"text": ""
|
|
867
|
-
}
|
|
868
|
-
},
|
|
869
|
-
"parameters": [
|
|
509
|
+
"default": "[]"
|
|
510
|
+
},
|
|
870
511
|
{
|
|
871
|
-
"
|
|
512
|
+
"kind": "field",
|
|
513
|
+
"name": "allergyOptions",
|
|
872
514
|
"type": {
|
|
873
|
-
"text": "
|
|
515
|
+
"text": "ISelectOption[]"
|
|
874
516
|
},
|
|
875
|
-
"
|
|
876
|
-
}
|
|
877
|
-
],
|
|
878
|
-
"description": "Calcule l'âge du patient à partir de sa date de naissance"
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
"kind": "function",
|
|
882
|
-
"name": "getPatientBirthDate",
|
|
883
|
-
"return": {
|
|
884
|
-
"type": {
|
|
885
|
-
"text": ""
|
|
886
|
-
}
|
|
887
|
-
},
|
|
888
|
-
"parameters": [
|
|
517
|
+
"default": "[]"
|
|
518
|
+
},
|
|
889
519
|
{
|
|
890
|
-
"
|
|
520
|
+
"kind": "field",
|
|
521
|
+
"name": "selectedPathologyOptions",
|
|
891
522
|
"type": {
|
|
892
|
-
"text": "
|
|
523
|
+
"text": "ISelectOption[]"
|
|
893
524
|
},
|
|
894
|
-
"
|
|
895
|
-
}
|
|
896
|
-
],
|
|
897
|
-
"description": "Calcule l'âge du patient à partir de sa date de naissance"
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
"kind": "function",
|
|
901
|
-
"name": "setPatientAge",
|
|
902
|
-
"return": {
|
|
903
|
-
"type": {
|
|
904
|
-
"text": "void"
|
|
905
|
-
}
|
|
906
|
-
},
|
|
907
|
-
"parameters": [
|
|
525
|
+
"default": "[]"
|
|
526
|
+
},
|
|
908
527
|
{
|
|
909
|
-
"
|
|
528
|
+
"kind": "field",
|
|
529
|
+
"name": "selectedAllergyOptions",
|
|
910
530
|
"type": {
|
|
911
|
-
"text": "
|
|
531
|
+
"text": "ISelectOption[]"
|
|
912
532
|
},
|
|
913
|
-
"
|
|
533
|
+
"default": "[]"
|
|
914
534
|
},
|
|
915
535
|
{
|
|
916
|
-
"
|
|
536
|
+
"kind": "field",
|
|
537
|
+
"name": "imc",
|
|
917
538
|
"type": {
|
|
918
539
|
"text": "number"
|
|
919
540
|
},
|
|
920
|
-
"
|
|
541
|
+
"default": "0"
|
|
921
542
|
},
|
|
922
543
|
{
|
|
923
|
-
"
|
|
544
|
+
"kind": "field",
|
|
545
|
+
"name": "sizeInput",
|
|
924
546
|
"type": {
|
|
925
|
-
"text": "string"
|
|
547
|
+
"text": "HTMLElement & { value: string }"
|
|
926
548
|
},
|
|
927
|
-
"
|
|
928
|
-
}
|
|
929
|
-
],
|
|
930
|
-
"description": "Modifie l'âge du patient dans la ressource Patient du Bundle FHIR"
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
"kind": "function",
|
|
934
|
-
"name": "getPatientWeight",
|
|
935
|
-
"return": {
|
|
936
|
-
"type": {
|
|
937
|
-
"text": ""
|
|
938
|
-
}
|
|
939
|
-
},
|
|
940
|
-
"parameters": [
|
|
549
|
+
"privacy": "private"
|
|
550
|
+
},
|
|
941
551
|
{
|
|
942
|
-
"
|
|
552
|
+
"kind": "field",
|
|
553
|
+
"name": "ageInput",
|
|
943
554
|
"type": {
|
|
944
|
-
"text": "
|
|
555
|
+
"text": "HTMLElement & { value: string }"
|
|
945
556
|
},
|
|
946
|
-
"
|
|
947
|
-
}
|
|
948
|
-
],
|
|
949
|
-
"description": "Extrait le poids du patient depuis la ressource Observation concernée"
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
"kind": "function",
|
|
953
|
-
"name": "getPatientWeightWithUnit",
|
|
954
|
-
"return": {
|
|
955
|
-
"type": {
|
|
956
|
-
"text": ""
|
|
957
|
-
}
|
|
958
|
-
},
|
|
959
|
-
"parameters": [
|
|
557
|
+
"privacy": "private"
|
|
558
|
+
},
|
|
960
559
|
{
|
|
961
|
-
"
|
|
560
|
+
"kind": "field",
|
|
561
|
+
"name": "weightInput",
|
|
962
562
|
"type": {
|
|
963
|
-
"text": "
|
|
563
|
+
"text": "HTMLElement & { value: string }"
|
|
964
564
|
},
|
|
965
|
-
"
|
|
966
|
-
}
|
|
967
|
-
],
|
|
968
|
-
"description": "Extrait le poids du patient (avec l'unité correspondante) depuis la ressource Observation concernée"
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
"kind": "function",
|
|
972
|
-
"name": "setPatientWeight",
|
|
973
|
-
"return": {
|
|
974
|
-
"type": {
|
|
975
|
-
"text": "void"
|
|
976
|
-
}
|
|
977
|
-
},
|
|
978
|
-
"parameters": [
|
|
565
|
+
"privacy": "private"
|
|
566
|
+
},
|
|
979
567
|
{
|
|
980
|
-
"
|
|
568
|
+
"kind": "field",
|
|
569
|
+
"name": "creatinineUmolInput",
|
|
981
570
|
"type": {
|
|
982
|
-
"text": "
|
|
983
|
-
}
|
|
571
|
+
"text": "HTMLElement & { value: string }"
|
|
572
|
+
},
|
|
573
|
+
"privacy": "private"
|
|
984
574
|
},
|
|
985
575
|
{
|
|
986
|
-
"
|
|
987
|
-
"
|
|
988
|
-
"text": "number"
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
],
|
|
992
|
-
"description": "Modifie le poids du patient dans le Bundle FHIR du patient"
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
"kind": "function",
|
|
996
|
-
"name": "getPatientHeight",
|
|
997
|
-
"return": {
|
|
998
|
-
"type": {
|
|
999
|
-
"text": ""
|
|
1000
|
-
}
|
|
1001
|
-
},
|
|
1002
|
-
"parameters": [
|
|
1003
|
-
{
|
|
1004
|
-
"name": "bundle",
|
|
576
|
+
"kind": "field",
|
|
577
|
+
"name": "creatinineMgLInput",
|
|
1005
578
|
"type": {
|
|
1006
|
-
"text": "
|
|
579
|
+
"text": "HTMLElement & { value: string }"
|
|
1007
580
|
},
|
|
1008
|
-
"
|
|
1009
|
-
}
|
|
1010
|
-
],
|
|
1011
|
-
"description": "Extrait la taille du patient depuis la ressource Observation concernée"
|
|
1012
|
-
},
|
|
1013
|
-
{
|
|
1014
|
-
"kind": "function",
|
|
1015
|
-
"name": "getPatientHeightWithUnit",
|
|
1016
|
-
"return": {
|
|
1017
|
-
"type": {
|
|
1018
|
-
"text": ""
|
|
1019
|
-
}
|
|
1020
|
-
},
|
|
1021
|
-
"parameters": [
|
|
581
|
+
"privacy": "private"
|
|
582
|
+
},
|
|
1022
583
|
{
|
|
1023
|
-
"
|
|
584
|
+
"kind": "field",
|
|
585
|
+
"name": "clairanceCreatinineInput",
|
|
1024
586
|
"type": {
|
|
1025
|
-
"text": "
|
|
587
|
+
"text": "HTMLElement & { value: string }"
|
|
1026
588
|
},
|
|
1027
|
-
"
|
|
1028
|
-
}
|
|
1029
|
-
],
|
|
1030
|
-
"description": "Extrait la taille du patient (avec l'unité correspondante) depuis la ressource Observation concernée"
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
"kind": "function",
|
|
1034
|
-
"name": "setPatientHeight",
|
|
1035
|
-
"return": {
|
|
1036
|
-
"type": {
|
|
1037
|
-
"text": "void"
|
|
1038
|
-
}
|
|
1039
|
-
},
|
|
1040
|
-
"parameters": [
|
|
589
|
+
"privacy": "private"
|
|
590
|
+
},
|
|
1041
591
|
{
|
|
1042
|
-
"
|
|
592
|
+
"kind": "field",
|
|
593
|
+
"name": "editionModalElement",
|
|
1043
594
|
"type": {
|
|
1044
|
-
"text": "
|
|
1045
|
-
}
|
|
595
|
+
"text": "HTMLElement & { open: () => void; close: () => void }"
|
|
596
|
+
},
|
|
597
|
+
"privacy": "private"
|
|
1046
598
|
},
|
|
1047
599
|
{
|
|
1048
|
-
"
|
|
600
|
+
"kind": "field",
|
|
601
|
+
"name": "dfgInput",
|
|
1049
602
|
"type": {
|
|
1050
|
-
"text": "
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
"description": "Modifie la taille du patient dans le Bundle FHIR du patient"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
"kind": "function",
|
|
1058
|
-
"name": "getPatientPregnancyStatus",
|
|
1059
|
-
"return": {
|
|
1060
|
-
"type": {
|
|
1061
|
-
"text": ""
|
|
1062
|
-
}
|
|
1063
|
-
},
|
|
1064
|
-
"parameters": [
|
|
603
|
+
"text": "HTMLElement & { value: string }"
|
|
604
|
+
},
|
|
605
|
+
"privacy": "private"
|
|
606
|
+
},
|
|
1065
607
|
{
|
|
1066
|
-
"
|
|
608
|
+
"kind": "field",
|
|
609
|
+
"name": "genderSelect",
|
|
1067
610
|
"type": {
|
|
1068
|
-
"text": "
|
|
611
|
+
"text": "HTMLElement & { value: string }"
|
|
1069
612
|
},
|
|
1070
|
-
"
|
|
1071
|
-
}
|
|
1072
|
-
],
|
|
1073
|
-
"description": "Extrait le statut de grossesse du patient depuis la ressource Observation ou Condition concernée"
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"kind": "function",
|
|
1077
|
-
"name": "setPatientPregnancyStatus",
|
|
1078
|
-
"return": {
|
|
1079
|
-
"type": {
|
|
1080
|
-
"text": "void"
|
|
1081
|
-
}
|
|
1082
|
-
},
|
|
1083
|
-
"parameters": [
|
|
613
|
+
"privacy": "private"
|
|
614
|
+
},
|
|
1084
615
|
{
|
|
1085
|
-
"
|
|
616
|
+
"kind": "field",
|
|
617
|
+
"name": "gestationalWeeksInput",
|
|
1086
618
|
"type": {
|
|
1087
|
-
"text": "
|
|
1088
|
-
}
|
|
619
|
+
"text": "HTMLElement & { value: string }"
|
|
620
|
+
},
|
|
621
|
+
"privacy": "private"
|
|
1089
622
|
},
|
|
1090
623
|
{
|
|
1091
|
-
"
|
|
624
|
+
"kind": "field",
|
|
625
|
+
"name": "hepaticStadeSelect",
|
|
1092
626
|
"type": {
|
|
1093
|
-
"text": "
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
"description": "Modifie le statut de grossesse du patient dans le Bundle FHIR du patient"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"kind": "function",
|
|
1101
|
-
"name": "getPatientAmenorrheaStatus",
|
|
1102
|
-
"return": {
|
|
1103
|
-
"type": {
|
|
1104
|
-
"text": ""
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
|
-
"parameters": [
|
|
627
|
+
"text": "HTMLElement & { value: string }"
|
|
628
|
+
},
|
|
629
|
+
"privacy": "private"
|
|
630
|
+
},
|
|
1108
631
|
{
|
|
1109
|
-
"
|
|
632
|
+
"kind": "field",
|
|
633
|
+
"name": "childPughInput",
|
|
1110
634
|
"type": {
|
|
1111
|
-
"text": "
|
|
635
|
+
"text": "HTMLElement & { value: string }"
|
|
1112
636
|
},
|
|
1113
|
-
"
|
|
1114
|
-
}
|
|
1115
|
-
],
|
|
1116
|
-
"description": "Extrait le statut d'aménorrhée du patient depuis la ressource Observation concernée"
|
|
1117
|
-
},
|
|
1118
|
-
{
|
|
1119
|
-
"kind": "function",
|
|
1120
|
-
"name": "setPatientAmenorrheaStatus",
|
|
1121
|
-
"return": {
|
|
1122
|
-
"type": {
|
|
1123
|
-
"text": "void"
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
"parameters": [
|
|
637
|
+
"privacy": "private"
|
|
638
|
+
},
|
|
1127
639
|
{
|
|
1128
|
-
"
|
|
640
|
+
"kind": "field",
|
|
641
|
+
"name": "ageUnitSelect",
|
|
1129
642
|
"type": {
|
|
1130
|
-
"text": "
|
|
1131
|
-
}
|
|
643
|
+
"text": "HTMLElement & { value: string }"
|
|
644
|
+
},
|
|
645
|
+
"privacy": "private"
|
|
1132
646
|
},
|
|
1133
647
|
{
|
|
1134
|
-
"
|
|
1135
|
-
"
|
|
1136
|
-
|
|
648
|
+
"kind": "method",
|
|
649
|
+
"name": "open",
|
|
650
|
+
"privacy": "public",
|
|
651
|
+
"return": {
|
|
652
|
+
"type": {
|
|
653
|
+
"text": "void"
|
|
654
|
+
}
|
|
1137
655
|
}
|
|
1138
|
-
}
|
|
1139
|
-
],
|
|
1140
|
-
"description": "Modifie le statut d'aménorrhée du patient dans le Bundle FHIR du patient"
|
|
1141
|
-
},
|
|
1142
|
-
{
|
|
1143
|
-
"kind": "function",
|
|
1144
|
-
"name": "getPatientBreastfeedingStatus",
|
|
1145
|
-
"return": {
|
|
1146
|
-
"type": {
|
|
1147
|
-
"text": ""
|
|
1148
|
-
}
|
|
1149
|
-
},
|
|
1150
|
-
"parameters": [
|
|
1151
|
-
{
|
|
1152
|
-
"name": "bundle",
|
|
1153
|
-
"type": {
|
|
1154
|
-
"text": "Bundle | undefined"
|
|
1155
|
-
},
|
|
1156
|
-
"description": "Bundle Patient FHIR"
|
|
1157
|
-
}
|
|
1158
|
-
],
|
|
1159
|
-
"description": "Extrait le statut d'allaitement du patient depuis la ressource Observation concernée"
|
|
1160
|
-
},
|
|
1161
|
-
{
|
|
1162
|
-
"kind": "function",
|
|
1163
|
-
"name": "setPatientBreastfeedingStatus",
|
|
1164
|
-
"return": {
|
|
1165
|
-
"type": {
|
|
1166
|
-
"text": "void"
|
|
1167
|
-
}
|
|
1168
|
-
},
|
|
1169
|
-
"parameters": [
|
|
656
|
+
},
|
|
1170
657
|
{
|
|
1171
|
-
"
|
|
1172
|
-
"
|
|
1173
|
-
|
|
658
|
+
"kind": "method",
|
|
659
|
+
"name": "modifyGender",
|
|
660
|
+
"privacy": "private",
|
|
661
|
+
"return": {
|
|
662
|
+
"type": {
|
|
663
|
+
"text": "void"
|
|
664
|
+
}
|
|
1174
665
|
}
|
|
1175
666
|
},
|
|
1176
667
|
{
|
|
1177
|
-
"
|
|
1178
|
-
"
|
|
1179
|
-
|
|
668
|
+
"kind": "method",
|
|
669
|
+
"name": "verifyAgeInput",
|
|
670
|
+
"privacy": "private",
|
|
671
|
+
"return": {
|
|
672
|
+
"type": {
|
|
673
|
+
"text": "void"
|
|
674
|
+
}
|
|
1180
675
|
}
|
|
1181
|
-
}
|
|
1182
|
-
],
|
|
1183
|
-
"description": "Modifie le statut d'allaitement du patient dans le Bundle FHIR du patient"
|
|
1184
|
-
},
|
|
1185
|
-
{
|
|
1186
|
-
"kind": "function",
|
|
1187
|
-
"name": "getPatientRenalInsufficiencyStatus",
|
|
1188
|
-
"return": {
|
|
1189
|
-
"type": {
|
|
1190
|
-
"text": "PatientRenalStatus"
|
|
1191
|
-
}
|
|
1192
|
-
},
|
|
1193
|
-
"parameters": [
|
|
676
|
+
},
|
|
1194
677
|
{
|
|
1195
|
-
"
|
|
1196
|
-
"
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
{
|
|
1203
|
-
"kind": "function",
|
|
1204
|
-
"name": "setPatientClearance",
|
|
1205
|
-
"return": {
|
|
1206
|
-
"type": {
|
|
1207
|
-
"text": "void"
|
|
1208
|
-
}
|
|
1209
|
-
},
|
|
1210
|
-
"parameters": [
|
|
1211
|
-
{
|
|
1212
|
-
"name": "bundle",
|
|
1213
|
-
"type": {
|
|
1214
|
-
"text": "Bundle"
|
|
678
|
+
"kind": "method",
|
|
679
|
+
"name": "handleAgeUnit",
|
|
680
|
+
"privacy": "private",
|
|
681
|
+
"return": {
|
|
682
|
+
"type": {
|
|
683
|
+
"text": "void"
|
|
684
|
+
}
|
|
1215
685
|
}
|
|
1216
686
|
},
|
|
1217
687
|
{
|
|
1218
|
-
"
|
|
1219
|
-
"
|
|
1220
|
-
|
|
688
|
+
"kind": "method",
|
|
689
|
+
"name": "verifySizeInput",
|
|
690
|
+
"privacy": "private",
|
|
691
|
+
"return": {
|
|
692
|
+
"type": {
|
|
693
|
+
"text": "void"
|
|
694
|
+
}
|
|
1221
695
|
}
|
|
1222
|
-
}
|
|
1223
|
-
],
|
|
1224
|
-
"description": "Modifie le clairance rénale du patient dans le Bundle FHIR du patient"
|
|
1225
|
-
},
|
|
1226
|
-
{
|
|
1227
|
-
"kind": "function",
|
|
1228
|
-
"name": "setPatientGFRByBSA",
|
|
1229
|
-
"return": {
|
|
1230
|
-
"type": {
|
|
1231
|
-
"text": "void"
|
|
1232
|
-
}
|
|
1233
|
-
},
|
|
1234
|
-
"parameters": [
|
|
696
|
+
},
|
|
1235
697
|
{
|
|
1236
|
-
"
|
|
1237
|
-
"
|
|
1238
|
-
|
|
698
|
+
"kind": "method",
|
|
699
|
+
"name": "verifyWeightInput",
|
|
700
|
+
"privacy": "private",
|
|
701
|
+
"return": {
|
|
702
|
+
"type": {
|
|
703
|
+
"text": "void"
|
|
704
|
+
}
|
|
1239
705
|
}
|
|
1240
706
|
},
|
|
1241
707
|
{
|
|
1242
|
-
"
|
|
1243
|
-
"
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
}
|
|
1247
|
-
]
|
|
1248
|
-
},
|
|
1249
|
-
{
|
|
1250
|
-
"kind": "function",
|
|
1251
|
-
"name": "computeCreatinineFromClearance",
|
|
1252
|
-
"return": {
|
|
1253
|
-
"type": {
|
|
1254
|
-
"text": "Quantity[]"
|
|
1255
|
-
}
|
|
1256
|
-
},
|
|
1257
|
-
"parameters": [
|
|
708
|
+
"kind": "method",
|
|
709
|
+
"name": "getPatientSexFromProfile",
|
|
710
|
+
"privacy": "private"
|
|
711
|
+
},
|
|
1258
712
|
{
|
|
1259
|
-
"
|
|
1260
|
-
"
|
|
1261
|
-
|
|
1262
|
-
}
|
|
713
|
+
"kind": "method",
|
|
714
|
+
"name": "getPatientHepaticStadeFromProfile",
|
|
715
|
+
"privacy": "private"
|
|
1263
716
|
},
|
|
1264
717
|
{
|
|
1265
|
-
"
|
|
1266
|
-
"
|
|
1267
|
-
|
|
1268
|
-
|
|
718
|
+
"kind": "method",
|
|
719
|
+
"name": "handlePregnancy",
|
|
720
|
+
"privacy": "private",
|
|
721
|
+
"return": {
|
|
722
|
+
"type": {
|
|
723
|
+
"text": "void"
|
|
724
|
+
}
|
|
725
|
+
},
|
|
726
|
+
"parameters": [
|
|
727
|
+
{
|
|
728
|
+
"name": "event",
|
|
729
|
+
"type": {
|
|
730
|
+
"text": "CustomEvent"
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
]
|
|
1269
734
|
},
|
|
1270
735
|
{
|
|
1271
|
-
"
|
|
1272
|
-
"
|
|
1273
|
-
|
|
1274
|
-
|
|
736
|
+
"kind": "method",
|
|
737
|
+
"name": "handleBreastfeeding",
|
|
738
|
+
"privacy": "private",
|
|
739
|
+
"return": {
|
|
740
|
+
"type": {
|
|
741
|
+
"text": "void"
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
"parameters": [
|
|
745
|
+
{
|
|
746
|
+
"name": "event",
|
|
747
|
+
"type": {
|
|
748
|
+
"text": "CustomEvent"
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
]
|
|
1275
752
|
},
|
|
1276
753
|
{
|
|
1277
|
-
"
|
|
1278
|
-
"
|
|
1279
|
-
|
|
754
|
+
"kind": "method",
|
|
755
|
+
"name": "setFormWithCreatinineUmol",
|
|
756
|
+
"privacy": "private",
|
|
757
|
+
"return": {
|
|
758
|
+
"type": {
|
|
759
|
+
"text": "void"
|
|
760
|
+
}
|
|
1280
761
|
}
|
|
1281
|
-
}
|
|
1282
|
-
]
|
|
1283
|
-
},
|
|
1284
|
-
{
|
|
1285
|
-
"kind": "function",
|
|
1286
|
-
"name": "getCreatinine",
|
|
1287
|
-
"return": {
|
|
1288
|
-
"type": {
|
|
1289
|
-
"text": "Quantity[]"
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
|
-
"parameters": [
|
|
762
|
+
},
|
|
1293
763
|
{
|
|
1294
|
-
"
|
|
1295
|
-
"
|
|
1296
|
-
|
|
764
|
+
"kind": "method",
|
|
765
|
+
"name": "setFormWithCreatinineMgL",
|
|
766
|
+
"privacy": "private",
|
|
767
|
+
"return": {
|
|
768
|
+
"type": {
|
|
769
|
+
"text": "void"
|
|
770
|
+
}
|
|
1297
771
|
}
|
|
1298
|
-
}
|
|
1299
|
-
]
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
"kind": "function",
|
|
1303
|
-
"name": "setCreatinineBymgL",
|
|
1304
|
-
"return": {
|
|
1305
|
-
"type": {
|
|
1306
|
-
"text": "void"
|
|
1307
|
-
}
|
|
1308
|
-
},
|
|
1309
|
-
"parameters": [
|
|
772
|
+
},
|
|
1310
773
|
{
|
|
1311
|
-
"
|
|
1312
|
-
"
|
|
1313
|
-
|
|
774
|
+
"kind": "method",
|
|
775
|
+
"name": "setFormWithClairance",
|
|
776
|
+
"privacy": "private",
|
|
777
|
+
"return": {
|
|
778
|
+
"type": {
|
|
779
|
+
"text": "void"
|
|
780
|
+
}
|
|
1314
781
|
}
|
|
1315
782
|
},
|
|
1316
783
|
{
|
|
1317
|
-
"
|
|
1318
|
-
"
|
|
1319
|
-
|
|
784
|
+
"kind": "method",
|
|
785
|
+
"name": "setFormWithDFG",
|
|
786
|
+
"privacy": "private",
|
|
787
|
+
"return": {
|
|
788
|
+
"type": {
|
|
789
|
+
"text": "void"
|
|
790
|
+
}
|
|
1320
791
|
}
|
|
1321
|
-
}
|
|
1322
|
-
]
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"kind": "function",
|
|
1326
|
-
"name": "setCreatinineByUmolL",
|
|
1327
|
-
"return": {
|
|
1328
|
-
"type": {
|
|
1329
|
-
"text": "void"
|
|
1330
|
-
}
|
|
1331
|
-
},
|
|
1332
|
-
"parameters": [
|
|
792
|
+
},
|
|
1333
793
|
{
|
|
1334
|
-
"
|
|
1335
|
-
"
|
|
1336
|
-
|
|
1337
|
-
|
|
794
|
+
"kind": "method",
|
|
795
|
+
"name": "apiReturntoSelectOption",
|
|
796
|
+
"privacy": "private",
|
|
797
|
+
"return": {
|
|
798
|
+
"type": {
|
|
799
|
+
"text": "ISelectOption"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"parameters": [
|
|
803
|
+
{
|
|
804
|
+
"name": "pathology",
|
|
805
|
+
"type": {
|
|
806
|
+
"text": "IApiReturn"
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
]
|
|
1338
810
|
},
|
|
1339
811
|
{
|
|
1340
|
-
"
|
|
1341
|
-
"
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
812
|
+
"kind": "method",
|
|
813
|
+
"name": "searchPathologies",
|
|
814
|
+
"privacy": "private",
|
|
815
|
+
"return": {
|
|
816
|
+
"type": {
|
|
817
|
+
"text": "void"
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"parameters": [
|
|
821
|
+
{
|
|
822
|
+
"name": "event",
|
|
823
|
+
"type": {
|
|
824
|
+
"text": "CustomEvent"
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
]
|
|
828
|
+
},
|
|
1356
829
|
{
|
|
1357
|
-
"
|
|
1358
|
-
"
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
830
|
+
"kind": "method",
|
|
831
|
+
"name": "updatePathologies",
|
|
832
|
+
"privacy": "private",
|
|
833
|
+
"return": {
|
|
834
|
+
"type": {
|
|
835
|
+
"text": "void"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
"parameters": [
|
|
839
|
+
{
|
|
840
|
+
"name": "event",
|
|
841
|
+
"type": {
|
|
842
|
+
"text": "CustomEvent"
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
]
|
|
846
|
+
},
|
|
1373
847
|
{
|
|
1374
|
-
"
|
|
1375
|
-
"
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
848
|
+
"kind": "method",
|
|
849
|
+
"name": "searchAllergies",
|
|
850
|
+
"privacy": "private",
|
|
851
|
+
"return": {
|
|
852
|
+
"type": {
|
|
853
|
+
"text": "void"
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
"parameters": [
|
|
857
|
+
{
|
|
858
|
+
"name": "event",
|
|
859
|
+
"type": {
|
|
860
|
+
"text": "CustomEvent"
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
]
|
|
864
|
+
},
|
|
1390
865
|
{
|
|
1391
|
-
"
|
|
1392
|
-
"
|
|
1393
|
-
|
|
1394
|
-
|
|
866
|
+
"kind": "method",
|
|
867
|
+
"name": "updateAllergies",
|
|
868
|
+
"privacy": "private",
|
|
869
|
+
"return": {
|
|
870
|
+
"type": {
|
|
871
|
+
"text": "void"
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
"parameters": [
|
|
875
|
+
{
|
|
876
|
+
"name": "event",
|
|
877
|
+
"type": {
|
|
878
|
+
"text": "CustomEvent"
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
]
|
|
1395
882
|
},
|
|
1396
883
|
{
|
|
1397
|
-
"
|
|
1398
|
-
"
|
|
1399
|
-
"
|
|
1400
|
-
|
|
884
|
+
"kind": "method",
|
|
885
|
+
"name": "handleHepaticStade",
|
|
886
|
+
"privacy": "private",
|
|
887
|
+
"return": {
|
|
888
|
+
"type": {
|
|
889
|
+
"text": "void"
|
|
890
|
+
}
|
|
1401
891
|
}
|
|
1402
892
|
},
|
|
1403
893
|
{
|
|
1404
|
-
"
|
|
1405
|
-
"
|
|
1406
|
-
"
|
|
1407
|
-
|
|
894
|
+
"kind": "method",
|
|
895
|
+
"name": "handleHepaticScore",
|
|
896
|
+
"privacy": "private",
|
|
897
|
+
"return": {
|
|
898
|
+
"type": {
|
|
899
|
+
"text": "void"
|
|
900
|
+
}
|
|
1408
901
|
}
|
|
1409
|
-
}
|
|
1410
|
-
]
|
|
1411
|
-
},
|
|
1412
|
-
{
|
|
1413
|
-
"kind": "function",
|
|
1414
|
-
"name": "deletePatientHepaticInsufficiencyStatus",
|
|
1415
|
-
"return": {
|
|
1416
|
-
"type": {
|
|
1417
|
-
"text": "void"
|
|
1418
|
-
}
|
|
1419
|
-
},
|
|
1420
|
-
"parameters": [
|
|
902
|
+
},
|
|
1421
903
|
{
|
|
1422
|
-
"
|
|
1423
|
-
"
|
|
1424
|
-
|
|
904
|
+
"kind": "method",
|
|
905
|
+
"name": "validateForm",
|
|
906
|
+
"privacy": "private",
|
|
907
|
+
"return": {
|
|
908
|
+
"type": {
|
|
909
|
+
"text": "void"
|
|
910
|
+
}
|
|
1425
911
|
}
|
|
1426
912
|
}
|
|
1427
|
-
]
|
|
1428
|
-
|
|
1429
|
-
{
|
|
1430
|
-
"kind": "function",
|
|
1431
|
-
"name": "getPatientConditions",
|
|
1432
|
-
"return": {
|
|
1433
|
-
"type": {
|
|
1434
|
-
"text": ""
|
|
1435
|
-
}
|
|
1436
|
-
},
|
|
1437
|
-
"parameters": [
|
|
913
|
+
],
|
|
914
|
+
"events": [
|
|
1438
915
|
{
|
|
1439
|
-
"name": "
|
|
916
|
+
"name": "editPatientProfile",
|
|
1440
917
|
"type": {
|
|
1441
|
-
"text": "
|
|
1442
|
-
}
|
|
1443
|
-
"description": "Bundle Patient FHIR"
|
|
918
|
+
"text": "CustomEvent"
|
|
919
|
+
}
|
|
1444
920
|
}
|
|
1445
921
|
],
|
|
1446
|
-
"
|
|
1447
|
-
},
|
|
1448
|
-
{
|
|
1449
|
-
"kind": "function",
|
|
1450
|
-
"name": "getPatientConditionsWithCode",
|
|
1451
|
-
"return": {
|
|
1452
|
-
"type": {
|
|
1453
|
-
"text": ""
|
|
1454
|
-
}
|
|
1455
|
-
},
|
|
1456
|
-
"parameters": [
|
|
922
|
+
"attributes": [
|
|
1457
923
|
{
|
|
1458
|
-
"name": "patient",
|
|
924
|
+
"name": "patient-profile",
|
|
1459
925
|
"type": {
|
|
1460
926
|
"text": "Bundle | undefined"
|
|
1461
927
|
},
|
|
1462
|
-
"
|
|
1463
|
-
}
|
|
1464
|
-
],
|
|
1465
|
-
"description": "Extrait les conditions médicales/terrains du patient et leurs codes respectifs depuis les extensions FHIR"
|
|
1466
|
-
},
|
|
1467
|
-
{
|
|
1468
|
-
"kind": "function",
|
|
1469
|
-
"name": "setPatientConditions",
|
|
1470
|
-
"return": {
|
|
1471
|
-
"type": {
|
|
1472
|
-
"text": "void"
|
|
1473
|
-
}
|
|
1474
|
-
},
|
|
1475
|
-
"parameters": [
|
|
928
|
+
"fieldName": "patientProfile"
|
|
929
|
+
},
|
|
1476
930
|
{
|
|
1477
|
-
"name": "
|
|
931
|
+
"name": "api-url",
|
|
1478
932
|
"type": {
|
|
1479
|
-
"text": "
|
|
1480
|
-
}
|
|
933
|
+
"text": "string | undefined"
|
|
934
|
+
},
|
|
935
|
+
"fieldName": "apiUrl"
|
|
1481
936
|
},
|
|
1482
937
|
{
|
|
1483
|
-
"name": "
|
|
938
|
+
"name": "api-key",
|
|
1484
939
|
"type": {
|
|
1485
|
-
"text": "
|
|
1486
|
-
}
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
},
|
|
1490
|
-
{
|
|
1491
|
-
"kind": "function",
|
|
1492
|
-
"name": "getPatientAllergies",
|
|
1493
|
-
"return": {
|
|
1494
|
-
"type": {
|
|
1495
|
-
"text": ""
|
|
1496
|
-
}
|
|
1497
|
-
},
|
|
1498
|
-
"parameters": [
|
|
940
|
+
"text": "string | undefined"
|
|
941
|
+
},
|
|
942
|
+
"fieldName": "apiKey"
|
|
943
|
+
},
|
|
1499
944
|
{
|
|
1500
|
-
"name": "
|
|
945
|
+
"name": "preferences",
|
|
1501
946
|
"type": {
|
|
1502
|
-
"text": "
|
|
947
|
+
"text": "PatientProfilePreferences | undefined"
|
|
1503
948
|
},
|
|
1504
|
-
"
|
|
949
|
+
"fieldName": "preferences"
|
|
1505
950
|
}
|
|
1506
951
|
],
|
|
1507
|
-
"
|
|
952
|
+
"superclass": {
|
|
953
|
+
"name": "LitElement",
|
|
954
|
+
"package": "lit"
|
|
955
|
+
},
|
|
956
|
+
"tagName": "bcb-patient-profile-edition",
|
|
957
|
+
"customElement": true
|
|
958
|
+
}
|
|
959
|
+
],
|
|
960
|
+
"exports": [
|
|
961
|
+
{
|
|
962
|
+
"kind": "js",
|
|
963
|
+
"name": "PatientProfileEdition",
|
|
964
|
+
"declaration": {
|
|
965
|
+
"name": "PatientProfileEdition",
|
|
966
|
+
"module": "src/patient-profile/patient-profile-edition/patient-profile-edition.ts"
|
|
967
|
+
}
|
|
1508
968
|
},
|
|
1509
969
|
{
|
|
1510
|
-
"kind": "
|
|
1511
|
-
"name": "
|
|
1512
|
-
"
|
|
1513
|
-
"
|
|
1514
|
-
|
|
1515
|
-
|
|
970
|
+
"kind": "custom-element-definition",
|
|
971
|
+
"name": "bcb-patient-profile-edition",
|
|
972
|
+
"declaration": {
|
|
973
|
+
"name": "PatientProfileEdition",
|
|
974
|
+
"module": "src/patient-profile/patient-profile-edition/patient-profile-edition.ts"
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
]
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"kind": "javascript-module",
|
|
981
|
+
"path": "src/shared/constants/edition-options.ts",
|
|
982
|
+
"declarations": [
|
|
983
|
+
{
|
|
984
|
+
"kind": "variable",
|
|
985
|
+
"name": "sexOptions",
|
|
986
|
+
"type": {
|
|
987
|
+
"text": "{ value: string, label: string }[]"
|
|
1516
988
|
},
|
|
1517
|
-
"
|
|
1518
|
-
{
|
|
1519
|
-
"name": "patient",
|
|
1520
|
-
"type": {
|
|
1521
|
-
"text": "Bundle | undefined"
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
]
|
|
989
|
+
"default": "[\n { value: \"male\", label: \"Masculin\" },\n { value: \"female\", label: \"Féminin\" },\n { value: \"unknown\", label: \"Inconnu\" },\n]"
|
|
1525
990
|
},
|
|
1526
991
|
{
|
|
1527
|
-
"kind": "
|
|
1528
|
-
"name": "
|
|
1529
|
-
"
|
|
1530
|
-
"
|
|
1531
|
-
"text": "void"
|
|
1532
|
-
}
|
|
1533
|
-
},
|
|
1534
|
-
"parameters": [
|
|
1535
|
-
{
|
|
1536
|
-
"name": "patient",
|
|
1537
|
-
"type": {
|
|
1538
|
-
"text": "Bundle"
|
|
1539
|
-
}
|
|
1540
|
-
},
|
|
1541
|
-
{
|
|
1542
|
-
"name": "allergies",
|
|
1543
|
-
"type": {
|
|
1544
|
-
"text": "ISelectOption[]"
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
]
|
|
1548
|
-
},
|
|
1549
|
-
{
|
|
1550
|
-
"kind": "function",
|
|
1551
|
-
"name": "getPatientAdverseEvents",
|
|
1552
|
-
"return": {
|
|
1553
|
-
"type": {
|
|
1554
|
-
"text": "string[]"
|
|
1555
|
-
}
|
|
1556
|
-
},
|
|
1557
|
-
"parameters": [
|
|
1558
|
-
{
|
|
1559
|
-
"name": "patient",
|
|
1560
|
-
"type": {
|
|
1561
|
-
"text": "Bundle | undefined"
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
]
|
|
1565
|
-
},
|
|
1566
|
-
{
|
|
1567
|
-
"kind": "function",
|
|
1568
|
-
"name": "getPatientDemographics",
|
|
1569
|
-
"return": {
|
|
1570
|
-
"type": {
|
|
1571
|
-
"text": ""
|
|
1572
|
-
}
|
|
1573
|
-
},
|
|
1574
|
-
"parameters": [
|
|
1575
|
-
{
|
|
1576
|
-
"name": "bundle",
|
|
1577
|
-
"type": {
|
|
1578
|
-
"text": "Bundle | undefined"
|
|
1579
|
-
},
|
|
1580
|
-
"description": "Bundle FHIR"
|
|
1581
|
-
}
|
|
1582
|
-
],
|
|
1583
|
-
"description": "Extrait les informations démographiques complètes du patient"
|
|
1584
|
-
},
|
|
1585
|
-
{
|
|
1586
|
-
"kind": "function",
|
|
1587
|
-
"name": "childPughScore",
|
|
1588
|
-
"return": {
|
|
1589
|
-
"type": {
|
|
1590
|
-
"text": "string"
|
|
1591
|
-
}
|
|
1592
|
-
},
|
|
1593
|
-
"parameters": [
|
|
1594
|
-
{
|
|
1595
|
-
"name": "score",
|
|
1596
|
-
"type": {
|
|
1597
|
-
"text": "number"
|
|
1598
|
-
}
|
|
1599
|
-
}
|
|
1600
|
-
]
|
|
1601
|
-
},
|
|
1602
|
-
{
|
|
1603
|
-
"kind": "function",
|
|
1604
|
-
"name": "calculateGFRFromCreatinine",
|
|
1605
|
-
"return": {
|
|
1606
|
-
"type": {
|
|
1607
|
-
"text": ""
|
|
1608
|
-
}
|
|
1609
|
-
},
|
|
1610
|
-
"parameters": [
|
|
1611
|
-
{
|
|
1612
|
-
"name": "age",
|
|
1613
|
-
"type": {
|
|
1614
|
-
"text": "number"
|
|
1615
|
-
},
|
|
1616
|
-
"description": "Âge du patient"
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"name": "isFemale",
|
|
1620
|
-
"type": {
|
|
1621
|
-
"text": "boolean"
|
|
1622
|
-
},
|
|
1623
|
-
"description": "Vrai si le patient est de sexe féminin, sinon faux"
|
|
1624
|
-
},
|
|
1625
|
-
{
|
|
1626
|
-
"name": "creatinine",
|
|
1627
|
-
"type": {
|
|
1628
|
-
"text": "number"
|
|
1629
|
-
},
|
|
1630
|
-
"description": "Créatinine sérique en"
|
|
1631
|
-
}
|
|
1632
|
-
],
|
|
1633
|
-
"description": "Calcul de la DFG à partir de la créatinine, de l'âge, et du sexe en utilisant la formule MDRD"
|
|
1634
|
-
},
|
|
1635
|
-
{
|
|
1636
|
-
"kind": "function",
|
|
1637
|
-
"name": "calculateCreatinineFromGFR",
|
|
1638
|
-
"return": {
|
|
1639
|
-
"type": {
|
|
1640
|
-
"text": ""
|
|
1641
|
-
}
|
|
1642
|
-
},
|
|
1643
|
-
"parameters": [
|
|
1644
|
-
{
|
|
1645
|
-
"name": "age",
|
|
1646
|
-
"type": {
|
|
1647
|
-
"text": "number"
|
|
1648
|
-
},
|
|
1649
|
-
"description": "Âge du patient"
|
|
1650
|
-
},
|
|
1651
|
-
{
|
|
1652
|
-
"name": "isFemale",
|
|
1653
|
-
"type": {
|
|
1654
|
-
"text": "boolean"
|
|
1655
|
-
},
|
|
1656
|
-
"description": "Vrai si le patient est de sexe féminin, sinon faux"
|
|
1657
|
-
},
|
|
1658
|
-
{
|
|
1659
|
-
"name": "gfr",
|
|
1660
|
-
"type": {
|
|
1661
|
-
"text": "number"
|
|
1662
|
-
},
|
|
1663
|
-
"description": "DFG en mL/min/1.73.m2"
|
|
1664
|
-
}
|
|
1665
|
-
],
|
|
1666
|
-
"description": "Calcul de la créatinine à partir de la DFG, de l'âge, et du sexe en utilisant la formule MDRD inversée"
|
|
1667
|
-
},
|
|
1668
|
-
{
|
|
1669
|
-
"kind": "function",
|
|
1670
|
-
"name": "getPatientMedicalInfo",
|
|
1671
|
-
"return": {
|
|
1672
|
-
"type": {
|
|
1673
|
-
"text": ""
|
|
1674
|
-
}
|
|
992
|
+
"kind": "variable",
|
|
993
|
+
"name": "hepaticStadeOptions",
|
|
994
|
+
"type": {
|
|
995
|
+
"text": "{ value: string, label: string }[]"
|
|
1675
996
|
},
|
|
1676
|
-
"
|
|
1677
|
-
{
|
|
1678
|
-
"name": "patient",
|
|
1679
|
-
"type": {
|
|
1680
|
-
"text": "Bundle | undefined"
|
|
1681
|
-
},
|
|
1682
|
-
"description": "Bundle Patient FHIR"
|
|
1683
|
-
}
|
|
1684
|
-
],
|
|
1685
|
-
"description": "Extrait les informations médicales complètes du patient"
|
|
997
|
+
"default": "[\n { value: \"A\", label: \"Stade A\" },\n { value: \"B\", label: \"Stade B\" },\n { value: \"C\", label: \"Stade C\" },\n]"
|
|
1686
998
|
},
|
|
1687
999
|
{
|
|
1688
|
-
"kind": "
|
|
1689
|
-
"name": "
|
|
1690
|
-
"
|
|
1691
|
-
"
|
|
1692
|
-
"text": ""
|
|
1693
|
-
}
|
|
1000
|
+
"kind": "variable",
|
|
1001
|
+
"name": "ageOptions",
|
|
1002
|
+
"type": {
|
|
1003
|
+
"text": "{ value: string, label: string }[]"
|
|
1694
1004
|
},
|
|
1695
|
-
"
|
|
1696
|
-
{
|
|
1697
|
-
"name": "bundle",
|
|
1698
|
-
"type": {
|
|
1699
|
-
"text": "Bundle | undefined"
|
|
1700
|
-
},
|
|
1701
|
-
"description": "Bundle FHIR"
|
|
1702
|
-
}
|
|
1703
|
-
],
|
|
1704
|
-
"description": "Extrait toutes les informations du patient (démographiques + médicales)"
|
|
1005
|
+
"default": "[\n { value: \"ans\", label: \"Ans\" },\n { value: \"mois\", label: \"Mois\" },\n]"
|
|
1705
1006
|
}
|
|
1706
1007
|
],
|
|
1707
1008
|
"exports": [
|
|
1708
1009
|
{
|
|
1709
1010
|
"kind": "js",
|
|
1710
|
-
"name": "
|
|
1011
|
+
"name": "sexOptions",
|
|
1711
1012
|
"declaration": {
|
|
1712
|
-
"name": "
|
|
1713
|
-
"module": "src/shared/
|
|
1013
|
+
"name": "sexOptions",
|
|
1014
|
+
"module": "src/shared/constants/edition-options.ts"
|
|
1714
1015
|
}
|
|
1715
1016
|
},
|
|
1716
1017
|
{
|
|
1717
1018
|
"kind": "js",
|
|
1718
|
-
"name": "
|
|
1019
|
+
"name": "hepaticStadeOptions",
|
|
1719
1020
|
"declaration": {
|
|
1720
|
-
"name": "
|
|
1721
|
-
"module": "src/shared/
|
|
1021
|
+
"name": "hepaticStadeOptions",
|
|
1022
|
+
"module": "src/shared/constants/edition-options.ts"
|
|
1722
1023
|
}
|
|
1723
1024
|
},
|
|
1724
1025
|
{
|
|
1725
1026
|
"kind": "js",
|
|
1726
|
-
"name": "
|
|
1027
|
+
"name": "ageOptions",
|
|
1727
1028
|
"declaration": {
|
|
1728
|
-
"name": "
|
|
1729
|
-
"module": "src/shared/
|
|
1029
|
+
"name": "ageOptions",
|
|
1030
|
+
"module": "src/shared/constants/edition-options.ts"
|
|
1730
1031
|
}
|
|
1731
|
-
}
|
|
1032
|
+
}
|
|
1033
|
+
]
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"kind": "javascript-module",
|
|
1037
|
+
"path": "src/shared/constants/loinc.ts",
|
|
1038
|
+
"declarations": [
|
|
1732
1039
|
{
|
|
1733
|
-
"kind": "
|
|
1734
|
-
"name": "
|
|
1735
|
-
"
|
|
1736
|
-
"
|
|
1737
|
-
|
|
1738
|
-
|
|
1040
|
+
"kind": "variable",
|
|
1041
|
+
"name": "acceptedLoincCodesForRenalClearance",
|
|
1042
|
+
"type": {
|
|
1043
|
+
"text": "string[]"
|
|
1044
|
+
},
|
|
1045
|
+
"default": "[\n \"2163-4\",\n \"2164-2\",\n \"13441-1\",\n \"13442-9\",\n \"13443-7\",\n \"13446-0\",\n \"13447-8\",\n \"13449-4\",\n \"13450-2\",\n \"26752-6\",\n \"35591-7\",\n \"35594-1\",\n \"50380-5\",\n \"50381-3\",\n \"104805-7\",\n]"
|
|
1739
1046
|
},
|
|
1740
1047
|
{
|
|
1741
|
-
"kind": "
|
|
1742
|
-
"name": "
|
|
1743
|
-
"
|
|
1744
|
-
"
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
}
|
|
1048
|
+
"kind": "variable",
|
|
1049
|
+
"name": "acceptedLoincCodesForRenalGFRPerBSA",
|
|
1050
|
+
"type": {
|
|
1051
|
+
"text": "string[]"
|
|
1052
|
+
},
|
|
1053
|
+
"default": "[\n \"69405-9\",\n \"70969-1\",\n \"48642-3\",\n \"48643-1\",\n \"50044-7\",\n \"50210-4\",\n \"50384-7\",\n \"62238-1\",\n \"77147-7\",\n \"78006-4\",\n \"88293-6\",\n \"88294-4\",\n \"94677-2\",\n \"96591-3\",\n \"96592-1\",\n \"98979-8\",\n \"98980-6\",\n \"102097-3\",\n]"
|
|
1054
|
+
}
|
|
1055
|
+
],
|
|
1056
|
+
"exports": [
|
|
1748
1057
|
{
|
|
1749
1058
|
"kind": "js",
|
|
1750
|
-
"name": "
|
|
1059
|
+
"name": "acceptedLoincCodesForRenalClearance",
|
|
1751
1060
|
"declaration": {
|
|
1752
|
-
"name": "
|
|
1753
|
-
"module": "src/shared/
|
|
1061
|
+
"name": "acceptedLoincCodesForRenalClearance",
|
|
1062
|
+
"module": "src/shared/constants/loinc.ts"
|
|
1754
1063
|
}
|
|
1755
1064
|
},
|
|
1756
1065
|
{
|
|
1757
1066
|
"kind": "js",
|
|
1758
|
-
"name": "
|
|
1067
|
+
"name": "acceptedLoincCodesForRenalGFRPerBSA",
|
|
1759
1068
|
"declaration": {
|
|
1760
|
-
"name": "
|
|
1761
|
-
"module": "src/shared/
|
|
1069
|
+
"name": "acceptedLoincCodesForRenalGFRPerBSA",
|
|
1070
|
+
"module": "src/shared/constants/loinc.ts"
|
|
1762
1071
|
}
|
|
1763
|
-
}
|
|
1072
|
+
}
|
|
1073
|
+
]
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"kind": "javascript-module",
|
|
1077
|
+
"path": "src/shared/constants/settings.ts",
|
|
1078
|
+
"declarations": [
|
|
1764
1079
|
{
|
|
1765
|
-
"kind": "
|
|
1766
|
-
"name": "
|
|
1767
|
-
"
|
|
1768
|
-
"
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
"name": "setPatientWeight",
|
|
1775
|
-
"declaration": {
|
|
1776
|
-
"name": "setPatientWeight",
|
|
1777
|
-
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
1778
|
-
}
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"kind": "js",
|
|
1782
|
-
"name": "getPatientHeight",
|
|
1783
|
-
"declaration": {
|
|
1784
|
-
"name": "getPatientHeight",
|
|
1785
|
-
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
1786
|
-
}
|
|
1787
|
-
},
|
|
1080
|
+
"kind": "variable",
|
|
1081
|
+
"name": "PREFIX",
|
|
1082
|
+
"type": {
|
|
1083
|
+
"text": "string"
|
|
1084
|
+
},
|
|
1085
|
+
"default": "\"claudebernard\""
|
|
1086
|
+
}
|
|
1087
|
+
],
|
|
1088
|
+
"exports": [
|
|
1788
1089
|
{
|
|
1789
1090
|
"kind": "js",
|
|
1790
|
-
"name": "
|
|
1091
|
+
"name": "PREFIX",
|
|
1791
1092
|
"declaration": {
|
|
1792
|
-
"name": "
|
|
1793
|
-
"module": "src/shared/
|
|
1093
|
+
"name": "PREFIX",
|
|
1094
|
+
"module": "src/shared/constants/settings.ts"
|
|
1794
1095
|
}
|
|
1795
|
-
}
|
|
1096
|
+
}
|
|
1097
|
+
]
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"kind": "javascript-module",
|
|
1101
|
+
"path": "src/shared/constants/snomed.ts",
|
|
1102
|
+
"declarations": [
|
|
1796
1103
|
{
|
|
1797
|
-
"kind": "
|
|
1798
|
-
"name": "
|
|
1799
|
-
"
|
|
1800
|
-
"
|
|
1801
|
-
|
|
1802
|
-
}
|
|
1104
|
+
"kind": "variable",
|
|
1105
|
+
"name": "snomedToChildPughStadeMap",
|
|
1106
|
+
"type": {
|
|
1107
|
+
"text": "object"
|
|
1108
|
+
},
|
|
1109
|
+
"default": "{\n \"710065009\": \"Stade A\",\n \"710066005\": \"Stade B\",\n \"710067001\": \"Stade C\",\n}"
|
|
1803
1110
|
},
|
|
1804
1111
|
{
|
|
1805
|
-
"kind": "
|
|
1806
|
-
"name": "
|
|
1807
|
-
"
|
|
1808
|
-
"
|
|
1809
|
-
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1112
|
+
"kind": "variable",
|
|
1113
|
+
"name": "childPughStadeToSnomedMap",
|
|
1114
|
+
"type": {
|
|
1115
|
+
"text": "object"
|
|
1116
|
+
},
|
|
1117
|
+
"default": "{\n \"A\": \"710065009\",\n \"B\": \"710066005\",\n \"C\": \"710067001\",\n}"
|
|
1118
|
+
}
|
|
1119
|
+
],
|
|
1120
|
+
"exports": [
|
|
1812
1121
|
{
|
|
1813
1122
|
"kind": "js",
|
|
1814
|
-
"name": "
|
|
1123
|
+
"name": "snomedToChildPughStadeMap",
|
|
1815
1124
|
"declaration": {
|
|
1816
|
-
"name": "
|
|
1817
|
-
"module": "src/shared/
|
|
1125
|
+
"name": "snomedToChildPughStadeMap",
|
|
1126
|
+
"module": "src/shared/constants/snomed.ts"
|
|
1818
1127
|
}
|
|
1819
1128
|
},
|
|
1820
1129
|
{
|
|
1821
1130
|
"kind": "js",
|
|
1822
|
-
"name": "
|
|
1131
|
+
"name": "childPughStadeToSnomedMap",
|
|
1823
1132
|
"declaration": {
|
|
1824
|
-
"name": "
|
|
1825
|
-
"module": "src/shared/
|
|
1133
|
+
"name": "childPughStadeToSnomedMap",
|
|
1134
|
+
"module": "src/shared/constants/snomed.ts"
|
|
1826
1135
|
}
|
|
1827
|
-
}
|
|
1136
|
+
}
|
|
1137
|
+
]
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"kind": "javascript-module",
|
|
1141
|
+
"path": "src/shared/interfaces/api-return.interface.ts",
|
|
1142
|
+
"declarations": [],
|
|
1143
|
+
"exports": []
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"kind": "javascript-module",
|
|
1147
|
+
"path": "src/shared/interfaces/patient.ts",
|
|
1148
|
+
"declarations": [],
|
|
1149
|
+
"exports": []
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"kind": "javascript-module",
|
|
1153
|
+
"path": "src/shared/mocks/pathologies.mock.ts",
|
|
1154
|
+
"declarations": [
|
|
1828
1155
|
{
|
|
1829
|
-
"kind": "
|
|
1830
|
-
"name": "
|
|
1831
|
-
"
|
|
1832
|
-
"
|
|
1833
|
-
|
|
1834
|
-
}
|
|
1835
|
-
}
|
|
1156
|
+
"kind": "variable",
|
|
1157
|
+
"name": "mockPathologies",
|
|
1158
|
+
"type": {
|
|
1159
|
+
"text": "object"
|
|
1160
|
+
},
|
|
1161
|
+
"default": "{\n \"content\": [\n {\n \"code\": \"0000011731\",\n \"label\": \"Abaissement des bicarbonates sanguins\",\n \"labelHtml\": \"Abaissement des bicarbonates sanguins\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"K63.0\",\n \"label\": \"Abces de l'intestin\",\n \"labelHtml\": \"Abcès de l’intestin\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Q55.0\",\n \"label\": \"Absence (congenitale) et aplasie du testicule\",\n \"labelHtml\": \"Absence (congénitale) et aplasie du testicule\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000030994\",\n \"label\": \"Absence de test de grossesse negatif a l'initiation du traitement\",\n \"labelHtml\": \"Absence de test de grossesse négatif à l’initiation du traitement\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"Q41.8\",\n \"label\": \"Absence. atresie et stenose congenitales d'autres localisations precisees de l'intestin grele\",\n \"labelHtml\": \"Absence, atrésie et sténose congénitales d’autres localisations précisées de l’intestin grêle\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Q41\",\n \"label\": \"Absence. atresie et stenose congenitales de l'intestin grele\",\n \"labelHtml\": \"Absence, atrésie et sténose congénitales de l’intestin grêle\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Q41.9\",\n \"label\": \"Absence. atresie et stenose congenitales de l'intestin grele. sans precision de localisation\",\n \"labelHtml\": \"Absence, atrésie et sténose congénitales de l’intestin grêle, sans précision de localisation\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E10.9L83\",\n \"label\": \"Acanthosis nigricans au cours du diabete sucre de type 1 sans complication\",\n \"labelHtml\": \"Acanthosis nigricans au cours du diabète sucré de type 1 sans complication\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E11.9L83\",\n \"label\": \"Acanthosis nigricans au cours du diabete sucre de type 2 sans complication\",\n \"labelHtml\": \"Acanthosis nigricans au cours du diabète sucré de type 2 sans complication\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"R70.0\",\n \"label\": \"Acceleration de la vitesse de sedimentation\",\n \"labelHtml\": \"Accélération de la vitesse de sédimentation\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"R70\",\n \"label\": \"Acceleration de la vitesse de sedimentation et anomalies de la viscosite plasmatique\",\n \"labelHtml\": \"Accélération de la vitesse de sédimentation et anomalies de la viscosité plasmatique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000012730\",\n \"label\": \"Acceleration du transit intestinal\",\n \"labelHtml\": \"Accélération du transit intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"V95\",\n \"label\": \"Accident d'aeronef a moteur dans lequel un occupant est blesse\",\n \"labelHtml\": \"Accident d’aéronef à moteur dans lequel un occupant est blessé\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"V96\",\n \"label\": \"Accident d'aeronef sans moteur dans lequel un occupant est blesse\",\n \"labelHtml\": \"Accident d’aéronef sans moteur dans lequel un occupant est blessé\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"G45\",\n \"label\": \"Accidents ischemiques cerebraux transitoires et syndromes apparentes\",\n \"labelHtml\": \"Accidents ischémiques cérébraux transitoires et syndromes apparentés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y88\",\n \"label\": \"Actes medicaux et chirurgicaux consideres comme cause externe de sequelles\",\n \"labelHtml\": \"Actes médicaux et chirurgicaux considérés comme cause externe de séquelles\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"F52.7\",\n \"label\": \"Activite sexuelle excessive\",\n \"labelHtml\": \"Activité sexuelle excessive\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000007838\",\n \"label\": \"Activite sportive intense\",\n \"labelHtml\": \"Activité sportive intense\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"K56.5\",\n \"label\": \"Adherences de l'intestin (brides). avec occlusion\",\n \"labelHtml\": \"Adhérences de l’intestin (brides), avec occlusion\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000034881\",\n \"label\": \"Administration d'eau et d'electrolytes avec une faible quantite d'hydrates de carbone\",\n \"labelHtml\": \"Administration d’eau et d’électrolytes avec une faible quantité d’hydrates de carbone\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000024719\",\n \"label\": \"Administration d'heparine au cours des 48h precedant l'AVC avec un temps de thromboplastine > limite superieure de la normale\",\n \"labelHtml\": \"Administration d’héparine au cours des 48h précédant l’AVC avec un temps de thromboplastine > limite supérieure de la normale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"J70.4Y43.1\",\n \"label\": \"Affection pulmonaire interstitielle due aux antimetabolites antitumoraux\",\n \"labelHtml\": \"Affection pulmonaire interstitielle due aux antimétabolites antitumoraux\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D57.2\",\n \"label\": \"Affections a hematies falciformes [drepanocytaires] heterozygotes doubles\",\n \"labelHtml\": \"Affections à hématies falciformes [drépanocytaires] hétérozygotes doubles\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E13.6M73.8\",\n \"label\": \"Affections des tissus mous au cours d'autres diabetes sucres precises\",\n \"labelHtml\": \"Affections des tissus mous au cours d’autres diabètes sucrés précisés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E12.6M73.8\",\n \"label\": \"Affections des tissus mous au cours du diabete sucre de malnutrition\",\n \"labelHtml\": \"Affections des tissus mous au cours du diabète sucré de malnutrition\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E11.6M73.8\",\n \"label\": \"Affections des tissus mous au cours du diabete sucre de type 2 \",\n \"labelHtml\": \"Affections des tissus mous au cours du diabète sucré de type 2 \",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E10.6M73.8\",\n \"label\": \"Affections des tissus mous au cours du diabete sucre insulinodependant\",\n \"labelHtml\": \"Affections des tissus mous au cours du diabète sucré insulinodépendant\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E14.6M73.8\",\n \"label\": \"Affections des tissus mous au cours du diabete sucre. sans precision\",\n \"labelHtml\": \"Affections des tissus mous au cours du diabète sucré, sans précision\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"N51.1\",\n \"label\": \"Affections du testicule et de l'epididyme au cours de maladies classees ailleurs\",\n \"labelHtml\": \"Affections du testicule et de l’épididyme au cours de maladies classées ailleurs\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"N49.1\",\n \"label\": \"Affections inflammatoires du cordon spermatique. de la tunique vaginale du testicule et du canal deferent\",\n \"labelHtml\": \"Affections inflammatoires du cordon spermatique, de la tunique vaginale du testicule et du canal déférent\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000035151\",\n \"label\": \"Agressivite persistante dans le trouble des conduites\",\n \"labelHtml\": \"Agressivité persistante dans le trouble des conduites\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"Z04.0\",\n \"label\": \"Alcootest et recherche de substances pharmacologiques dans le sang\",\n \"labelHtml\": \"Alcootest et recherche de substances pharmacologiques dans le sang\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000012717\",\n \"label\": \"Allongement des tests de coagulation\",\n \"labelHtml\": \"Allongement des tests de coagulation\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000000587\",\n \"label\": \"Amibiase intestinale\",\n \"labelHtml\": \"Amibiase intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"A06.1\",\n \"label\": \"Amibiase intestinale chronique\",\n \"labelHtml\": \"Amibiase intestinale chronique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"A06.3\",\n \"label\": \"Amoebome (de l'intestin)\",\n \"labelHtml\": \"Amoebome (de l’intestin)\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"S08.8\",\n \"label\": \"Amputation traumatique d'autres parties de la tete\",\n \"labelHtml\": \"Amputation traumatique d’autres parties de la tête\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"S08\",\n \"label\": \"Amputation traumatique d'une partie de la tete\",\n \"labelHtml\": \"Amputation traumatique d’une partie de la tête\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"G12\",\n \"label\": \"Amyotrophie spinale et syndromes apparentes\",\n \"labelHtml\": \"Amyotrophie spinale et syndromes apparentés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000034195\",\n \"label\": \"Analgesie de courte duree des actes douloureux\",\n \"labelHtml\": \"Analgésie de courte durée des actes douloureux\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000020159\",\n \"label\": \"Anemie liee aux maladies inflammatoires chroniques de l'intestin\",\n \"labelHtml\": \"Anémie liée aux maladies inflammatoires chroniques de l’intestin\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"D52.1Y43.1\",\n \"label\": \"Anemie par carence en acide folique due aux antimetabolites tumoraux\",\n \"labelHtml\": \"Anémie par carence en acide folique due aux antimétabolites tumoraux\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D46.2\",\n \"label\": \"Anemie refractaire avec exces de blastes [AREB]\",\n \"labelHtml\": \"Anémie réfractaire avec excès de blastes [AREB]\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000015863\",\n \"label\": \"Anemie refractaire avec exces de blastes en transformation\",\n \"labelHtml\": \"Anémie réfractaire avec excès de blastes en transformation\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"D46.3\",\n \"label\": \"Anemie refractaire avec exces de blastes en transformation\",\n \"labelHtml\": \"Anémie réfractaire avec excès de blastes en transformation\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D46.1\",\n \"label\": \"Anemie refractaire avec sideroblastes en couronne\",\n \"labelHtml\": \"Anémie réfractaire avec sidéroblastes en couronne\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D46.0\",\n \"label\": \"Anemie refractaire sans sideroblastes en couronne. ainsi precisee\",\n \"labelHtml\": \"Anémie réfractaire sans sidéroblastes en couronne, ainsi précisée\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000035332\",\n \"label\": \"Anesthesie des petites interventions\",\n \"labelHtml\": \"Anesthésie des petites interventions\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"F44.6\",\n \"label\": \"Anesthesie dissociative et atteintes sensorielles\",\n \"labelHtml\": \"Anesthésie dissociative et atteintes sensorielles\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000029304\",\n \"label\": \"Anesthesie locale des extremites\",\n \"labelHtml\": \"Anesthésie locale des extrémités\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"M31.6I72.9\",\n \"label\": \"Anevrisme au cours d'autres arterites a cellules geante\",\n \"labelHtml\": \"Anévrisme au cours d’autres artérites à cellules géante\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000016647\",\n \"label\": \"Angio oedeme intestinal\",\n \"labelHtml\": \"Angio-oedème intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"K55.3\",\n \"label\": \"Angiodysplasie de l'intestin grele\",\n \"labelHtml\": \"Angiodysplasie de l’intestin grêle\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"E11.5I79.2\",\n \"label\": \"Angiopathie peripherique au cours du diabete sucre de type 2 \",\n \"labelHtml\": \"Angiopathie périphérique au cours du diabète sucré de type 2 \",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"B81.3\",\n \"label\": \"Angiostrongyloidose [angiostrongylose] intestinale\",\n \"labelHtml\": \"Angiostrongyloïdose [angiostrongylose] intestinale\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000032547\",\n \"label\": \"Angor intestinal\",\n \"labelHtml\": \"Angor intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000007686\",\n \"label\": \"Anguillulose gastro intestinale\",\n \"labelHtml\": \"Anguillulose gastro-intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"B78.0\",\n \"label\": \"Anguillulose intestinale\",\n \"labelHtml\": \"Anguillulose intestinale\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D72.9\",\n \"label\": \"Anomalie des leucocytes. sans precision\",\n \"labelHtml\": \"Anomalie des leucocytes, sans précision\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000017715\",\n \"label\": \"Anomalie des plaquettes\",\n \"labelHtml\": \"Anomalie des plaquettes\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"E74.9\",\n \"label\": \"Anomalie du metabolisme des hydrates de carbone. sans precision\",\n \"labelHtml\": \"Anomalie du métabolisme des hydrates de carbone, sans précision\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D71\",\n \"label\": \"Anomalies fonctionnelles des granulocytes neutrophiles\",\n \"labelHtml\": \"Anomalies fonctionnelles des granulocytes neutrophiles\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D72.0\",\n \"label\": \"Anomalies genetiques des leucocytes\",\n \"labelHtml\": \"Anomalies génétiques des leucocytes\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"K07.0\",\n \"label\": \"Anomalies importantes de dimension des machoires\",\n \"labelHtml\": \"Anomalies importantes de dimension des mâchoires\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y54.1\",\n \"label\": \"Antagonistes de mineralocorticoides ayant provoque des effets indesirables au cours de leur usage therapeutique\",\n \"labelHtml\": \"Antagonistes de minéralocorticoïdes ayant provoqué des effets indésirables au cours de leur usage thérapeutique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y44.3\",\n \"label\": \"Antagonistes des anticoagulants. Vit K et autres coagulants ayant provoque des effets indesirables au cours de leur usage therap\",\n \"labelHtml\": \"Antagonistes des anticoagulants, Vit K et autres coagulants ayant provoqué des effets indésirables au cours de leur usage thérap\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000007843\",\n \"label\": \"Antecedent d'anastomose intestinale\",\n \"labelHtml\": \"Antécédent d’anastomose intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000007281\",\n \"label\": \"Antecedent d'hepatite severe medicamenteuse\",\n \"labelHtml\": \"Antécédent d’hépatite sévère médicamenteuse\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000011646\",\n \"label\": \"Antecedent d'occlusion gastro intestinale\",\n \"labelHtml\": \"Antécédent d’occlusion gastro-intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000008470\",\n \"label\": \"Antecedent d'ulcere gastro intestinal\",\n \"labelHtml\": \"Antécédent d’ulcère gastro-intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000017966\",\n \"label\": \"Antecedent de colite secondaire aux antibiotiques\",\n \"labelHtml\": \"Antécédent de colite secondaire aux antibiotiques\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000022549\",\n \"label\": \"Antecedent de perforation gastro intestinale\",\n \"labelHtml\": \"Antécédent de perforation gastro-intestinale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000021331\",\n \"label\": \"Antecedent de photosensibilisation par des fibrates\",\n \"labelHtml\": \"Antécédent de photosensibilisation par des fibrates\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000021330\",\n \"label\": \"Antecedent de reaction phototoxique par des fibrates\",\n \"labelHtml\": \"Antécédent de réaction phototoxique par des fibrates\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000015141\",\n \"label\": \"Antecedent de resection chirurgicale de l'intestin grele\",\n \"labelHtml\": \"Antécédent de résection chirurgicale de l’intestin grêle\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000011898\",\n \"label\": \"Antecedent de resection intestinale chez le mucoviscidosique\",\n \"labelHtml\": \"Antécédent de résection intestinale chez le mucoviscidosique\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000016978\",\n \"label\": \"Antecedent de saignement gastro intestinal\",\n \"labelHtml\": \"Antécédent de saignement gastro-intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000032656\",\n \"label\": \"Antecedent de saignement ou d'ulcere gastrointestinal au cours d'un traitement par AINS\",\n \"labelHtml\": \"Antécédent de saignement ou d’ulcère gastrointestinal au cours d’un traitement par AINS\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000031320\",\n \"label\": \"Antecedent de thrombopenie sous pentosane polysulfate sodique\",\n \"labelHtml\": \"Antécédent de thrombopénie sous pentosane polysulfate sodique\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000012561\",\n \"label\": \"Antecedent de torsades de pointes\",\n \"labelHtml\": \"Antécédent de torsades de pointes\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000000717\",\n \"label\": \"Antecedent familial d'hepatite severe\",\n \"labelHtml\": \"Antécédent familial d’hépatite sévère\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000012810\",\n \"label\": \"Antecedent gastro intestinal\",\n \"labelHtml\": \"Antécédent gastro-intestinal\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000023815\",\n \"label\": \"Antecedent pulmonaire associe aux agonistes dopaminergiques\",\n \"labelHtml\": \"Antécédent pulmonaire associé aux agonistes dopaminergiques\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"0000024346\",\n \"label\": \"Antecedents d'infections recurrentes\",\n \"labelHtml\": \"Antécédents d’infections récurrentes\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"Z82.8\",\n \"label\": \"Antecedents familiaux d'autres incapacites et maladies chroniques conduisant a l'invalidite. non classees ailleurs\",\n \"labelHtml\": \"Antécédents familiaux d’autres incapacités et maladies chroniques conduisant à l’invalidité, non classées ailleurs\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Z80.7\",\n \"label\": \"Antecedents familiaux d'autres tumeurs des tissus lymphoide. hematopoietique et apparentes\",\n \"labelHtml\": \"Antécédents familiaux d’autres tumeurs des tissus lymphoïde, hématopoïétique et apparentés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Z82\",\n \"label\": \"Antecedents familiaux de certaines incapacites et maladies chroniques conduisant a l'invalidite\",\n \"labelHtml\": \"Antécédents familiaux de certaines incapacités et maladies chroniques conduisant à l’invalidité\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Z83.3\",\n \"label\": \"Antecedents familiaux de diabete sucre\",\n \"labelHtml\": \"Antécédents familiaux de diabète sucré\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Z85.7\",\n \"label\": \"Antecedents personnels d'autres tumeurs malignes des tissus lymphoide. hematopoietique et apparentes\",\n \"labelHtml\": \"Antécédents personnels d’autres tumeurs malignes des tissus lymphoïde, hématopoïétique et apparentés\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000032625\",\n \"label\": \"Anticorps anti cytoplasme des polynucleaires neutrophiles (ANCA) augmentes\",\n \"labelHtml\": \"Anticorps anti-cytoplasme des polynucléaires neutrophiles (ANCA) augmentés\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"Y57.2\",\n \"label\": \"Antidotes et chelateurs ayant provoque des effets indesirables lors de leur usage therapeutique\",\n \"labelHtml\": \"Antidotes et chélateurs ayant provoqué des effets indésirables lors de leur usage thérapeutique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y43.1\",\n \"label\": \"Antimetabolites tumoraux ayant provoque des effets indesirables au cours de leur usage therapeutique\",\n \"labelHtml\": \"Antimétabolites tumoraux ayant provoqué des effets indésirables au cours de leur usage thérapeutique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"0000026742\",\n \"label\": \"Anxiete sociale\",\n \"labelHtml\": \"Anxiété sociale\",\n \"subType\": \"AMM\",\n },\n {\n \"code\": \"F93.2\",\n \"label\": \"Anxiete sociale de l'enfance\",\n \"labelHtml\": \"Anxiété sociale de l’enfance\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"M31.6I79.1\",\n \"label\": \"Aortite au cours d'autres arterites a cellules geantes\",\n \"labelHtml\": \"Aortite au cours d’autres artérites à cellules géantes\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"A52.0I79.1\",\n \"label\": \"Aortite syphilitique\",\n \"labelHtml\": \"Aortite syphilitique\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"K12.0\",\n \"label\": \"Aphtes buccaux recidivants\",\n \"labelHtml\": \"Aphtes buccaux récidivants\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D61.1Y44.1\",\n \"label\": \"Aplasie medullaire due a vitamine B12. acide folique et autres preparations prescrites dans les anemies megaloblastiques\",\n \"labelHtml\": \"Aplasie médullaire due à vitamine B12, acide folique et autres préparations prescrites dans les anémies mégaloblastiques\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"D61.1Y43.1\",\n \"label\": \"Aplasie medullaire due aux antimetabolites tumoraux\",\n \"labelHtml\": \"Aplasie médullaire due aux antimétabolites tumoraux\",\n \"subType\": \"CIM10\",\n },\n {\n \"code\": \"Y81\",\n \"label\": \"Appareils utilises en chirurgie generale et esthetique. associes a des accidents\",\n \"labelHtml\": \"Appareils utilisés en chirurgie générale et esthétique, associés à des accidents\",\n \"subType\": \"CIM10\",\n },\n ],\n \"pageable\": {\n \"sort\": {\n \"sorted\": true,\n \"unsorted\": false,\n \"empty\": false,\n },\n \"pageSize\": 100,\n \"pageNumber\": 0,\n \"offset\": 0,\n \"paged\": true,\n \"unpaged\": false,\n },\n \"totalElements\": 1365,\n \"totalPages\": 14,\n \"last\": false,\n \"sort\": {\n \"sorted\": true,\n \"unsorted\": false,\n \"empty\": false,\n },\n \"first\": true,\n \"numberOfElements\": 100,\n \"number\": 0,\n \"size\": 100,\n \"empty\": false,\n}"
|
|
1162
|
+
}
|
|
1163
|
+
],
|
|
1164
|
+
"exports": [
|
|
1836
1165
|
{
|
|
1837
1166
|
"kind": "js",
|
|
1838
|
-
"name": "
|
|
1167
|
+
"name": "mockPathologies",
|
|
1839
1168
|
"declaration": {
|
|
1840
|
-
"name": "
|
|
1841
|
-
"module": "src/shared/
|
|
1169
|
+
"name": "mockPathologies",
|
|
1170
|
+
"module": "src/shared/mocks/pathologies.mock.ts"
|
|
1842
1171
|
}
|
|
1843
|
-
}
|
|
1172
|
+
}
|
|
1173
|
+
]
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"kind": "javascript-module",
|
|
1177
|
+
"path": "src/shared/mocks/patient-profile.mock.ts",
|
|
1178
|
+
"declarations": [
|
|
1844
1179
|
{
|
|
1845
|
-
"kind": "
|
|
1846
|
-
"name": "
|
|
1847
|
-
"
|
|
1848
|
-
"
|
|
1849
|
-
|
|
1850
|
-
}
|
|
1851
|
-
}
|
|
1180
|
+
"kind": "variable",
|
|
1181
|
+
"name": "patientComplete",
|
|
1182
|
+
"type": {
|
|
1183
|
+
"text": "Bundle"
|
|
1184
|
+
},
|
|
1185
|
+
"default": "{\n resourceType: \"Bundle\",\n id: \"patient-complete\",\n type: \"document\",\n entry: [\n {\n resource: {\n resourceType: \"Composition\", // On a Bundle of type document, the first entry must be a Composition\n id: \"composition-complete\",\n status: \"final\",\n type: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"34133-9\",\n display: \"Summary of episode note\",\n },\n ],\n },\n subject: [{ reference: \"Patient/patient-complete\" }],\n date: \"2025-09-02\",\n title: \"Patient complete composition\",\n author: [{ reference: \"Practitioner/dr-martin\" }],\n },\n },\n {\n resource: {\n resourceType: \"Patient\",\n id: \"patient-complete\",\n gender: \"female\", // sex at birth\n birthDate: \"1984-01-01\", // birthDate used to calculate age\n name: [\n {\n family: \"Dupont\",\n given: [\"Marie\"],\n },\n ],\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-gestational-age\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"18185-9\",\n display: \"Gestational age\", // Most used Loinc code for gestational age / number of weeks of amenorrhea\n },\n ],\n text: \"Âge gestationnel\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 20,\n unit: \"weeks\",\n system: \"http://unitsofmeasure.org\",\n code: \"wk\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-creatinine-clearance\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"2164-2\",\n display: \"Creatinine renal clearance in 24 hour Urine and Serum or Plasma\", // Most used Loinc code for creatinine clearance\n },\n ],\n text: \"Clairance de la créatinine\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 71,\n unit: \"mL/min\",\n system: \"http://unitsofmeasure.org\",\n code: \"mL/min\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-creatinine\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"15051-6\",\n display: \"Creatinine [Moles/volume] in Serum or Plasma\", // LOINC code for serum creatinine in μmol/L\n },\n ],\n text: \"Créatininémie\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 121,\n unit: \"μmol/L\",\n system: \"http://unitsofmeasure.org\",\n code: \"umol/L\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-creatinine\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"2160-0\",\n display: \"Creatinine [Mass/volume] in Serum or Plasma\", // Most used Loinc code for serum creatinine\n },\n ],\n text: \"Créatininémie\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 1.4,\n unit: \"mg/dL\",\n system: \"http://unitsofmeasure.org\",\n code: \"mg/dL\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-dfg\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"48642-3\",\n // eslint-disable-next-line @stylistic/max-len\n display: \"Glomerular filtration rate [Volume Rate/Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD)/1.73 sq M\",\n },\n ],\n text: \"DFG\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 45,\n unit: \"mL/min/1.73.m2\",\n system: \"http://unitsofmeasure.org\",\n code: \"mL/min/1.73.m2\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-child-pugh-score\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"98152-2\",\n display: \"Total score [Child-Pugh]\",\n },\n ],\n text: \"Score total Child-Pugh\",\n },\n subject: {\n \"reference\": \"Patient/patient-complete\",\n },\n valueQuantity: {\n value: 7,\n unit: \"score\",\n system: \"http://unitsofmeasure.org\",\n code: \"{score}\",\n },\n valueCodeableConcept: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"710066005\",\n display: \"Child-Pugh score class B\",\n },\n ],\n text: \"Stade B\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-body-weight\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"29463-7\",\n display: \"Body weight\", // Most used Loinc code for body weight\n },\n ],\n text: \"Poids corporel\",\n },\n subject: {\n reference: \"Patient/patient-complete\",\n },\n valueQuantity: {\n value: 84,\n unit: \"kg\",\n system: \"http://unitsofmeasure.org\",\n code: \"kg\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-body-height\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"8302-2\",\n display: \"Body height\", // Most used Loinc code for body height\n },\n ],\n text: \"Taille corporelle\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 170,\n unit: \"cm\",\n system: \"http://unitsofmeasure.org\",\n code: \"cm\",\n },\n },\n },\n {\n resource: {\n resourceType: \"AdverseEvent\", // Resource used to specify adverse events like drug side effects the patient is experiencing\n id: \"adverseevent-amoxicillin-rash\",\n actuality: \"actual\",\n subject: { reference: \"Patient/patient-complete\" },\n status: \"unknown\",\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"271807003\",\n display: \"Rash\",\n },\n ],\n text: \"Éruption cutanée\",\n },\n suspectEntity: [ // Link to the medication request that supposedly or certainly caused the adverse event\n {\n instanceReference: {\n reference: \"MedicationRequest/req-cardensiel\",\n },\n causality: {\n assessmentMethod: {\n coding: [\n {\n system: \"http://terminology.hl7.org/CodeSystem/adverse-event-causality-assess\",\n code: \"certain\",\n display: \"Certain\",\n },\n ],\n },\n },\n },\n ],\n seriousness: {\n coding: [\n {\n system: \"http://terminology.hl7.org/CodeSystem/adverse-event-seriousness\",\n code: \"non-serious\",\n display: \"Non-serious\",\n },\n ],\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-pregnancy-status\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"82810-3\",\n display: \"Pregnancy status\", // Most used Loinc code for pregnancy status\n },\n ],\n text: \"Statut de grossesse\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueCodeableConcept: { // result of the observation meaning the patient is currently pregnant (it can also be represented more simply by a Condition resource with the same snomed code)\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"77386006\",\n display: \"Pregnant\",\n },\n ],\n text: \"Grossesse\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Observation\",\n id: \"obs-breastfeeding-status\",\n status: \"final\",\n code: {\n coding: [\n {\n system: \"http://loinc.org\",\n code: \"63895-7\",\n display: \"Breastfeeding status\", // Most used Loinc code for breastfeeding status\n },\n ],\n text: \"Statut d'allaitement\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueCodeableConcept: { // result of the observation meaning the patient is currently breastfeeding (it can also be represented more simply by a Condition resource with the same snomed code)\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"69840006\",\n display: \"Breastfeeding\",\n },\n ],\n text: \"Allaitement\",\n },\n },\n },\n {\n resource: {\n resourceType: \"Condition\", // Resources of type Condition are used to specify pathologies\n id: \"hepatic-insufficiency\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/condition-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"59927004\",\n display: \"Hepatic failure\",\n },\n ],\n text: \"Insuffisance hépatique\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n },\n },\n {\n resource: {\n resourceType: \"Condition\",\n id: \"cond-medical-terrain\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/condition-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"723189000\",\n display: \"Insuffisance rénale aigüe\",\n },\n ],\n text: \"Insuffisance rénale aigüe\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n },\n },\n {\n resource: {\n resourceType: \"Condition\",\n id: \"cond-medical-terrain\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/condition-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"723188000\",\n display: \"Insuffisance hépatique modérée\",\n },\n ],\n text: \"Insuffisance hépatique modérée\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n },\n },\n {\n resource: {\n resourceType: \"Condition\",\n id: \"cond-followed-pathology\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/condition-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"84114007\",\n display: \"Insuffisance cardiaque\",\n },\n ],\n text: \"Insuffisance cardiaque\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n },\n },\n {\n resource: {\n resourceType: \"AllergyIntolerance\", // Resource used to specify allergies or intolerances the patient has\n id: \"allergy-paracetamol\",\n clinicalStatus: { coding: [{ system: \"http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical\", code: \"active\" }] },\n code: {\n coding: [\n {\n system: \"http://snomed.info/sct\",\n code: \"293584003\",\n display: \"Allergie au paracétamol\",\n },\n ],\n text: \"Allergie au paracétamol\",\n },\n patient: { reference: \"Patient/patient-complete\" },\n },\n },\n ],\n}"
|
|
1186
|
+
}
|
|
1187
|
+
],
|
|
1188
|
+
"exports": [
|
|
1852
1189
|
{
|
|
1853
1190
|
"kind": "js",
|
|
1854
|
-
"name": "
|
|
1191
|
+
"name": "patientComplete",
|
|
1855
1192
|
"declaration": {
|
|
1856
|
-
"name": "
|
|
1857
|
-
"module": "src/shared/
|
|
1193
|
+
"name": "patientComplete",
|
|
1194
|
+
"module": "src/shared/mocks/patient-profile.mock.ts"
|
|
1858
1195
|
}
|
|
1859
|
-
}
|
|
1196
|
+
}
|
|
1197
|
+
]
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"kind": "javascript-module",
|
|
1201
|
+
"path": "src/shared/services/api-search.service.ts",
|
|
1202
|
+
"declarations": [
|
|
1860
1203
|
{
|
|
1861
|
-
"kind": "
|
|
1862
|
-
"name": "
|
|
1863
|
-
"
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1204
|
+
"kind": "function",
|
|
1205
|
+
"name": "fetchPathologiesByTerm",
|
|
1206
|
+
"parameters": [
|
|
1207
|
+
{
|
|
1208
|
+
"name": "term",
|
|
1209
|
+
"type": {
|
|
1210
|
+
"text": "string"
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
"name": "typePathology",
|
|
1215
|
+
"type": {
|
|
1216
|
+
"text": "\"AMM\" | \"CIM10\" | \"\""
|
|
1217
|
+
}
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"name": "params",
|
|
1221
|
+
"type": {
|
|
1222
|
+
"text": "SearchRequestBody"
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"name": "apiUrl",
|
|
1227
|
+
"type": {
|
|
1228
|
+
"text": "string"
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
]
|
|
1867
1232
|
},
|
|
1868
1233
|
{
|
|
1869
|
-
"kind": "
|
|
1870
|
-
"name": "
|
|
1871
|
-
"
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1234
|
+
"kind": "function",
|
|
1235
|
+
"name": "fetchMoleculesByTerm",
|
|
1236
|
+
"parameters": [
|
|
1237
|
+
{
|
|
1238
|
+
"name": "term",
|
|
1239
|
+
"type": {
|
|
1240
|
+
"text": "string"
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "params",
|
|
1245
|
+
"type": {
|
|
1246
|
+
"text": "SearchRequestBody"
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"name": "apiUrl",
|
|
1251
|
+
"type": {
|
|
1252
|
+
"text": "string"
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
]
|
|
1256
|
+
}
|
|
1257
|
+
],
|
|
1258
|
+
"exports": [
|
|
1876
1259
|
{
|
|
1877
1260
|
"kind": "js",
|
|
1878
|
-
"name": "
|
|
1261
|
+
"name": "fetchPathologiesByTerm",
|
|
1879
1262
|
"declaration": {
|
|
1880
|
-
"name": "
|
|
1881
|
-
"module": "src/shared/
|
|
1263
|
+
"name": "fetchPathologiesByTerm",
|
|
1264
|
+
"module": "src/shared/services/api-search.service.ts"
|
|
1882
1265
|
}
|
|
1883
1266
|
},
|
|
1884
1267
|
{
|
|
1885
1268
|
"kind": "js",
|
|
1886
|
-
"name": "
|
|
1269
|
+
"name": "fetchMoleculesByTerm",
|
|
1887
1270
|
"declaration": {
|
|
1888
|
-
"name": "
|
|
1889
|
-
"module": "src/shared/
|
|
1271
|
+
"name": "fetchMoleculesByTerm",
|
|
1272
|
+
"module": "src/shared/services/api-search.service.ts"
|
|
1890
1273
|
}
|
|
1891
|
-
}
|
|
1274
|
+
}
|
|
1275
|
+
]
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
"kind": "javascript-module",
|
|
1279
|
+
"path": "src/shared/utils/formula-utils.ts",
|
|
1280
|
+
"declarations": [
|
|
1892
1281
|
{
|
|
1893
|
-
"kind": "
|
|
1894
|
-
"name": "
|
|
1895
|
-
"
|
|
1896
|
-
"
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
"kind": "js",
|
|
1918
|
-
"name": "getPatientHepaticInsufficiencyStade",
|
|
1919
|
-
"declaration": {
|
|
1920
|
-
"name": "getPatientHepaticInsufficiencyStade",
|
|
1921
|
-
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
1922
|
-
}
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
"kind": "js",
|
|
1926
|
-
"name": "setPatientHepaticInsufficiencyStatus",
|
|
1927
|
-
"declaration": {
|
|
1928
|
-
"name": "setPatientHepaticInsufficiencyStatus",
|
|
1929
|
-
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
1930
|
-
}
|
|
1931
|
-
},
|
|
1932
|
-
{
|
|
1933
|
-
"kind": "js",
|
|
1934
|
-
"name": "deletePatientHepaticInsufficiencyStatus",
|
|
1935
|
-
"declaration": {
|
|
1936
|
-
"name": "deletePatientHepaticInsufficiencyStatus",
|
|
1937
|
-
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
1938
|
-
}
|
|
1939
|
-
},
|
|
1940
|
-
{
|
|
1941
|
-
"kind": "js",
|
|
1942
|
-
"name": "getPatientConditions",
|
|
1943
|
-
"declaration": {
|
|
1944
|
-
"name": "getPatientConditions",
|
|
1945
|
-
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
1946
|
-
}
|
|
1947
|
-
},
|
|
1948
|
-
{
|
|
1949
|
-
"kind": "js",
|
|
1950
|
-
"name": "getPatientConditionsWithCode",
|
|
1951
|
-
"declaration": {
|
|
1952
|
-
"name": "getPatientConditionsWithCode",
|
|
1953
|
-
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
1954
|
-
}
|
|
1282
|
+
"kind": "function",
|
|
1283
|
+
"name": "calculateBMI",
|
|
1284
|
+
"return": {
|
|
1285
|
+
"type": {
|
|
1286
|
+
"text": ""
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
1289
|
+
"parameters": [
|
|
1290
|
+
{
|
|
1291
|
+
"name": "weight",
|
|
1292
|
+
"type": {
|
|
1293
|
+
"text": "number"
|
|
1294
|
+
},
|
|
1295
|
+
"description": "Poids en kilogrammes"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"name": "height",
|
|
1299
|
+
"type": {
|
|
1300
|
+
"text": "number"
|
|
1301
|
+
},
|
|
1302
|
+
"description": "Taille en centimètres"
|
|
1303
|
+
}
|
|
1304
|
+
],
|
|
1305
|
+
"description": "Calcule l'IMC à partir du poids et de la taille"
|
|
1955
1306
|
},
|
|
1956
1307
|
{
|
|
1957
|
-
"kind": "
|
|
1958
|
-
"name": "
|
|
1959
|
-
"
|
|
1960
|
-
"
|
|
1961
|
-
|
|
1962
|
-
|
|
1308
|
+
"kind": "function",
|
|
1309
|
+
"name": "calculateCreatinineClearance",
|
|
1310
|
+
"return": {
|
|
1311
|
+
"type": {
|
|
1312
|
+
"text": ""
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
"parameters": [
|
|
1316
|
+
{
|
|
1317
|
+
"name": "age",
|
|
1318
|
+
"type": {
|
|
1319
|
+
"text": "number"
|
|
1320
|
+
},
|
|
1321
|
+
"description": "Age du patient en années"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"name": "weight",
|
|
1325
|
+
"type": {
|
|
1326
|
+
"text": "number"
|
|
1327
|
+
},
|
|
1328
|
+
"description": "Poids en kilogrammes"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"name": "scrMgdl",
|
|
1332
|
+
"type": {
|
|
1333
|
+
"text": "number"
|
|
1334
|
+
},
|
|
1335
|
+
"description": "Créatinine sérique en mg/dL"
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"name": "isFemale",
|
|
1339
|
+
"type": {
|
|
1340
|
+
"text": "boolean"
|
|
1341
|
+
},
|
|
1342
|
+
"description": "true si le patient est une femme, false sinon"
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"description": "Calcule la clairance de la créatinine selon la formule de Cockcroft-Gault"
|
|
1963
1346
|
},
|
|
1964
1347
|
{
|
|
1965
|
-
"kind": "
|
|
1966
|
-
"name": "
|
|
1967
|
-
"
|
|
1968
|
-
"
|
|
1969
|
-
|
|
1970
|
-
|
|
1348
|
+
"kind": "function",
|
|
1349
|
+
"name": "convertCreatinineUmolToMgdL",
|
|
1350
|
+
"return": {
|
|
1351
|
+
"type": {
|
|
1352
|
+
"text": ""
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
"parameters": [
|
|
1356
|
+
{
|
|
1357
|
+
"name": "creatinineUmolL",
|
|
1358
|
+
"type": {
|
|
1359
|
+
"text": "number"
|
|
1360
|
+
},
|
|
1361
|
+
"description": "Créatinine en μmol/L"
|
|
1362
|
+
}
|
|
1363
|
+
],
|
|
1364
|
+
"description": "Convertit la créatinine de μmol/L en mg/dL"
|
|
1971
1365
|
},
|
|
1972
1366
|
{
|
|
1973
|
-
"kind": "
|
|
1974
|
-
"name": "
|
|
1975
|
-
"
|
|
1976
|
-
"
|
|
1977
|
-
|
|
1978
|
-
|
|
1367
|
+
"kind": "function",
|
|
1368
|
+
"name": "convertCreatinineMgdLToUmol",
|
|
1369
|
+
"return": {
|
|
1370
|
+
"type": {
|
|
1371
|
+
"text": ""
|
|
1372
|
+
}
|
|
1373
|
+
},
|
|
1374
|
+
"parameters": [
|
|
1375
|
+
{
|
|
1376
|
+
"name": "creatinineMgdL",
|
|
1377
|
+
"type": {
|
|
1378
|
+
"text": "number"
|
|
1379
|
+
},
|
|
1380
|
+
"description": "Créatinine en mg/dL"
|
|
1381
|
+
}
|
|
1382
|
+
],
|
|
1383
|
+
"description": "Convertit la créatinine de mg/dL en μmol/L"
|
|
1979
1384
|
},
|
|
1980
1385
|
{
|
|
1981
|
-
"kind": "
|
|
1982
|
-
"name": "
|
|
1983
|
-
"
|
|
1984
|
-
"
|
|
1985
|
-
|
|
1986
|
-
|
|
1386
|
+
"kind": "function",
|
|
1387
|
+
"name": "convertCreatinineMgdLToMgL",
|
|
1388
|
+
"return": {
|
|
1389
|
+
"type": {
|
|
1390
|
+
"text": ""
|
|
1391
|
+
}
|
|
1392
|
+
},
|
|
1393
|
+
"parameters": [
|
|
1394
|
+
{
|
|
1395
|
+
"name": "creatinineMgdL",
|
|
1396
|
+
"type": {
|
|
1397
|
+
"text": "number"
|
|
1398
|
+
},
|
|
1399
|
+
"description": "Créatinine en mg/dL"
|
|
1400
|
+
}
|
|
1401
|
+
],
|
|
1402
|
+
"description": "Convertit la créatinine de mg/dL en mg/L"
|
|
1987
1403
|
},
|
|
1988
1404
|
{
|
|
1989
|
-
"kind": "
|
|
1990
|
-
"name": "
|
|
1991
|
-
"
|
|
1992
|
-
"
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1405
|
+
"kind": "function",
|
|
1406
|
+
"name": "convertCreatinineMgLToMgdL",
|
|
1407
|
+
"return": {
|
|
1408
|
+
"type": {
|
|
1409
|
+
"text": ""
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
"parameters": [
|
|
1413
|
+
{
|
|
1414
|
+
"name": "creatinineMgL",
|
|
1415
|
+
"type": {
|
|
1416
|
+
"text": "number"
|
|
1417
|
+
},
|
|
1418
|
+
"description": "Créatinine en mg/L"
|
|
1419
|
+
}
|
|
1420
|
+
],
|
|
1421
|
+
"description": "Convertit la créatinine de mg/L en mg/dL"
|
|
1422
|
+
}
|
|
1423
|
+
],
|
|
1424
|
+
"exports": [
|
|
1996
1425
|
{
|
|
1997
1426
|
"kind": "js",
|
|
1998
|
-
"name": "
|
|
1427
|
+
"name": "calculateBMI",
|
|
1999
1428
|
"declaration": {
|
|
2000
|
-
"name": "
|
|
2001
|
-
"module": "src/shared/utils/
|
|
1429
|
+
"name": "calculateBMI",
|
|
1430
|
+
"module": "src/shared/utils/formula-utils.ts"
|
|
2002
1431
|
}
|
|
2003
1432
|
},
|
|
2004
1433
|
{
|
|
2005
1434
|
"kind": "js",
|
|
2006
|
-
"name": "
|
|
1435
|
+
"name": "calculateCreatinineClearance",
|
|
2007
1436
|
"declaration": {
|
|
2008
|
-
"name": "
|
|
2009
|
-
"module": "src/shared/utils/
|
|
1437
|
+
"name": "calculateCreatinineClearance",
|
|
1438
|
+
"module": "src/shared/utils/formula-utils.ts"
|
|
2010
1439
|
}
|
|
2011
1440
|
},
|
|
2012
1441
|
{
|
|
2013
1442
|
"kind": "js",
|
|
2014
|
-
"name": "
|
|
1443
|
+
"name": "convertCreatinineUmolToMgdL",
|
|
2015
1444
|
"declaration": {
|
|
2016
|
-
"name": "
|
|
2017
|
-
"module": "src/shared/utils/
|
|
1445
|
+
"name": "convertCreatinineUmolToMgdL",
|
|
1446
|
+
"module": "src/shared/utils/formula-utils.ts"
|
|
2018
1447
|
}
|
|
2019
1448
|
},
|
|
2020
1449
|
{
|
|
2021
1450
|
"kind": "js",
|
|
2022
|
-
"name": "
|
|
1451
|
+
"name": "convertCreatinineMgdLToUmol",
|
|
2023
1452
|
"declaration": {
|
|
2024
|
-
"name": "
|
|
2025
|
-
"module": "src/shared/utils/
|
|
1453
|
+
"name": "convertCreatinineMgdLToUmol",
|
|
1454
|
+
"module": "src/shared/utils/formula-utils.ts"
|
|
2026
1455
|
}
|
|
2027
1456
|
},
|
|
2028
1457
|
{
|
|
2029
1458
|
"kind": "js",
|
|
2030
|
-
"name": "
|
|
1459
|
+
"name": "convertCreatinineMgdLToMgL",
|
|
2031
1460
|
"declaration": {
|
|
2032
|
-
"name": "
|
|
2033
|
-
"module": "src/shared/utils/
|
|
1461
|
+
"name": "convertCreatinineMgdLToMgL",
|
|
1462
|
+
"module": "src/shared/utils/formula-utils.ts"
|
|
2034
1463
|
}
|
|
2035
1464
|
},
|
|
2036
1465
|
{
|
|
2037
1466
|
"kind": "js",
|
|
2038
|
-
"name": "
|
|
1467
|
+
"name": "convertCreatinineMgLToMgdL",
|
|
2039
1468
|
"declaration": {
|
|
2040
|
-
"name": "
|
|
2041
|
-
"module": "src/shared/utils/
|
|
1469
|
+
"name": "convertCreatinineMgLToMgdL",
|
|
1470
|
+
"module": "src/shared/utils/formula-utils.ts"
|
|
2042
1471
|
}
|
|
2043
1472
|
}
|
|
2044
1473
|
]
|
|
2045
1474
|
},
|
|
2046
1475
|
{
|
|
2047
1476
|
"kind": "javascript-module",
|
|
2048
|
-
"path": "src/
|
|
1477
|
+
"path": "src/shared/utils/patient-fhir-utils.ts",
|
|
2049
1478
|
"declarations": [
|
|
2050
1479
|
{
|
|
2051
|
-
"kind": "
|
|
2052
|
-
"name": "
|
|
2053
|
-
"
|
|
2054
|
-
"
|
|
1480
|
+
"kind": "function",
|
|
1481
|
+
"name": "getPatientGender",
|
|
1482
|
+
"return": {
|
|
1483
|
+
"type": {
|
|
1484
|
+
"text": ""
|
|
1485
|
+
}
|
|
2055
1486
|
},
|
|
2056
|
-
"
|
|
1487
|
+
"parameters": [
|
|
1488
|
+
{
|
|
1489
|
+
"name": "bundle",
|
|
1490
|
+
"type": {
|
|
1491
|
+
"text": "Bundle | undefined"
|
|
1492
|
+
},
|
|
1493
|
+
"description": "Bundle Patient FHIR"
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"description": "Extrait le sexe du patient FHIR"
|
|
2057
1497
|
},
|
|
2058
1498
|
{
|
|
2059
|
-
"kind": "
|
|
2060
|
-
"name": "
|
|
2061
|
-
"
|
|
2062
|
-
"
|
|
1499
|
+
"kind": "function",
|
|
1500
|
+
"name": "setPatientGender",
|
|
1501
|
+
"return": {
|
|
1502
|
+
"type": {
|
|
1503
|
+
"text": "void"
|
|
1504
|
+
}
|
|
2063
1505
|
},
|
|
2064
|
-
"default": "{\n args: {\n patientProfile: patientComplete,\n apiUrl: \"https://api-dev.claudebernard.fr\",\n },\n play: async({ canvasElement, step }) => {\n const component = canvasElement.querySelector(\"bcb-patient-profile-edition\") as PatientProfileEdition | null;\n const modal = component?.shadowRoot?.querySelector(\"bcbd-modal\") as HTMLElement | null;\n const openButton = canvasElement.querySelector(\"bcbd-button\") as HTMLElement | null;\n openButton?.click();\n const modalTitle = modal?.shadowRoot?.querySelector(\"div.claudebernard-modal__header\") as HTMLElement | null;\n\n await step(\"Verify the modal is opened and well displayed\", () => {\n expect(modal).toBeVisible();\n expect(modalTitle?.textContent).toContain(\"Édition du profil patient\");\n expect(component?.shadowRoot?.querySelectorAll(\"bcbd-input\").length).toBe(10);\n expect(component?.shadowRoot?.querySelectorAll(\"bcbd-select\").length).toBe(6);\n expect(component?.shadowRoot?.querySelectorAll(\"bcbd-checkbox\").length).toBe(2);\n expect(component?.shadowRoot?.querySelectorAll(\".claudebernard-edition-modal-subtitle\")?.[0]?.textContent).toContain(\"Insuffisance rénale\");\n expect(component?.shadowRoot?.querySelectorAll(\".claudebernard-edition-modal-subtitle\")?.[1]?.textContent).toContain(\"Insuffisance hépatique\");\n const saveButton = component?.shadowRoot?.querySelector(\"bcbd-button[data-test-id=\\\"save-button\\\"]\");\n const cancelButton = component?.shadowRoot?.querySelector(\"bcbd-button[data-test-id=\\\"cancel-button\\\"]\");\n\n expect(saveButton).not.toBeNull();\n expect(cancelButton).not.toBeNull();\n });\n\n // eslint-disable-next-line complexity\n await step(\"Verify all the patient information is here\", () => {\n const nameSelect = component?.shadowRoot?.querySelector(\"bcbd-select[data-test-id=\\\"name-select\\\"]\") as HTMLElement | null;\n expect(nameSelect?.shadowRoot?.querySelector(\"span\")).toHaveTextContent(\"Marie Dupont\");\n\n const sexSelect = component?.shadowRoot?.querySelector(\"bcbd-select[data-test-id=\\\"sex-select\\\"]\") as HTMLElement | null;\n expect(sexSelect?.shadowRoot?.querySelector(\"span\")).toHaveTextContent(\"Féminin\");\n\n const sizeInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"size-input\\\"]\") as HTMLElement | null;\n expect(sizeInput?.shadowRoot?.querySelector(\"input\")?.value).toBe(\"170\");\n\n const ageInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"age-input\\\"]\") as HTMLElement | null;\n expect(ageInput?.shadowRoot?.querySelector(\"input\")?.value).toBe(\"42\");\n\n const ageUnitSelect = component?.shadowRoot?.querySelector(\"bcbd-select[data-test-id=\\\"age-unit-select\\\"]\") as HTMLElement | null;\n expect(ageUnitSelect?.shadowRoot?.querySelector(\"span\")).toHaveTextContent(\"Ans\");\n\n const weightInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"weight-input\\\"]\") as HTMLElement | null;\n expect(weightInput?.shadowRoot?.querySelector(\"input\")?.value).toBe(\"84\");\n\n const pregnancyCheckbox = component?.shadowRoot?.querySelector(\"bcbd-checkbox[data-test-id=\\\"pregnancy-checkbox\\\"]\") as HTMLElement | null;\n expect(pregnancyCheckbox?.shadowRoot?.querySelector(\"input\")?.checked).toBe(true);\n\n const gestationalInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"gestational-input\\\"]\") as HTMLElement | null;\n expect(gestationalInput?.shadowRoot?.querySelector(\"input\")?.value).toBe(\"20\");\n\n const breastfeedingCheckbox = component?.shadowRoot\n ?.querySelector(\"bcbd-checkbox[data-test-id=\\\"breastfeeding-checkbox\\\"]\") as HTMLElement | null;\n expect(breastfeedingCheckbox?.shadowRoot?.querySelector(\"input\")?.checked).toBe(true);\n\n const pathologiesSelect = component?.shadowRoot?.querySelector(\"bcbd-select[data-test-id=\\\"pathologies-select\\\"]\") as HTMLElement | null;\n const pathologiesValues = pathologiesSelect?.shadowRoot?.querySelectorAll(\"bcbd-badge\");\n expect(pathologiesValues?.length).toBe(4);\n expect(pathologiesValues?.[0]?.shadowRoot?.querySelector(\"span\")).toHaveTextContent(\"Insuffisance hépatique\");\n expect(pathologiesValues?.[1]?.shadowRoot?.querySelector(\"span\")).toHaveTextContent(\"Insuffisance rénale aigüe\");\n expect(pathologiesValues?.[2]?.shadowRoot?.querySelector(\"span\")).toHaveTextContent(\"Insuffisance hépatique modérée\");\n expect(pathologiesValues?.[3]?.shadowRoot?.querySelector(\"span\")).toHaveTextContent(\"Insuffisance cardiaque\");\n\n const allergiesSelect = component?.shadowRoot?.querySelector(\"bcbd-select[data-test-id=\\\"allergies-select\\\"]\") as HTMLElement | null;\n const allergiesValues = allergiesSelect?.shadowRoot?.querySelectorAll(\"bcbd-badge\");\n expect(allergiesValues?.length).toBe(1);\n expect(allergiesValues?.[0]?.shadowRoot?.querySelector(\"span\")).toHaveTextContent(\"Allergie au paracétamol\");\n\n const creatinineByUmolInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"creatinine-umol-input\\\"]\") as HTMLElement | null;\n expect(creatinineByUmolInput?.shadowRoot?.querySelector(\"input\")?.value).toBe(\"121\");\n\n const creatinineBymglInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"creatinine-mgl-input\\\"]\") as HTMLElement | null;\n expect(creatinineBymglInput?.shadowRoot?.querySelector(\"input\")?.value).toBe(\"14\");\n\n const clearanceInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"clearance-input\\\"]\") as HTMLElement | null;\n expect(clearanceInput?.shadowRoot?.querySelector(\"input\")?.value).toBe(\"71\");\n\n const dfgInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"dfg-input\\\"]\") as HTMLElement | null;\n expect(dfgInput?.shadowRoot?.querySelector(\"input\")?.value).toBe(\"45\");\n\n const hepaticStadeSelect = component?.shadowRoot?.querySelector(\"bcbd-select[data-test-id=\\\"hepatic-stade-select\\\"]\") as HTMLElement | null;\n expect(hepaticStadeSelect?.shadowRoot?.querySelector(\"span\")).toHaveTextContent(\"Stade B\");\n\n const hepaticScoreInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"hepatic-score-input\\\"]\") as HTMLElement | null;\n expect(hepaticScoreInput?.shadowRoot?.querySelector(\"input\")?.value).toBe(\"7\");\n });\n\n await step(\"Verify if error message goes well displayed on size input\", async() => {\n const sizeInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"size-input\\\"]\") as HTMLElement;\n const validateButton = component?.shadowRoot?.querySelector(\"bcbd-button[data-test-id=\\\"save-button\\\"]\") as HTMLElement;\n expect(validateButton.getAttribute(\"disabled\")).toBe(null);\n expect(sizeInput?.getAttribute(\"warning-msg\")).toBe(\"\");\n const sizeInputField = sizeInput?.shadowRoot?.querySelector(\"input\") as HTMLInputElement;\n //Test invalid size\n sizeInputField.value = \"0\";\n sizeInputField.dispatchEvent(new Event(\"input\", { bubbles: true, composed: true }));\n expect(sizeInput?.getAttribute(\"warning-msg\")).toBe(\"La taille n'est pas valide\");\n\n await new Promise(requestAnimationFrame);\n await new Promise((resolve) => setTimeout(resolve, 0));\n\n sizeInputField.value = \"400\";\n sizeInputField.dispatchEvent(new Event(\"input\", { bubbles: true, composed: true }));\n expect(sizeInput?.getAttribute(\"warning-msg\")).toBe(\"La taille n'est pas valide\");\n expect(validateButton.getAttribute(\"disabled\")).not.toBe(null);\n\n //Test valid size\n sizeInputField.value = \"170\";\n sizeInputField.dispatchEvent(new Event(\"input\", { bubbles: true, composed: true }));\n expect(sizeInput?.getAttribute(\"warning-msg\")).toBe(\"\");\n await new Promise(requestAnimationFrame);\n await new Promise((resolve) => setTimeout(resolve, 0));\n expect(validateButton.getAttribute(\"disabled\")).toBe(null);\n });\n\n await step(\"Verify if error message goes well displayed on age input\", async() => {\n const ageInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"age-input\\\"]\") as HTMLElement;\n const validateButton = component?.shadowRoot?.querySelector(\"bcbd-button[data-test-id=\\\"save-button\\\"]\") as HTMLElement;\n expect(validateButton.getAttribute(\"disabled\")).toBe(null);\n expect(ageInput?.getAttribute(\"warning-msg\")).toBe(\"\");\n const ageInputField = ageInput?.shadowRoot?.querySelector(\"input\") as HTMLInputElement;\n //Test invalid age\n ageInputField.value = \"1\";\n ageInputField.dispatchEvent(new Event(\"input\", { bubbles: true, composed: true }));\n expect(ageInput?.getAttribute(\"warning-msg\")).toBe(\"L'âge doit être exprimé en mois si inférieur à 2 ans\");\n await new Promise(requestAnimationFrame);\n await new Promise((resolve) => setTimeout(resolve, 0));\n expect(validateButton.getAttribute(\"disabled\")).not.toBe(null);\n\n ageInputField.value = \"300\";\n ageInputField.dispatchEvent(new Event(\"input\", { bubbles: true, composed: true }));\n expect(ageInput?.getAttribute(\"warning-msg\")).toBe(\"L'âge ne doit pas dépasser 150 ans\");\n\n //Test valid age\n ageInputField.value = \"41\";\n ageInputField.dispatchEvent(new Event(\"input\", { bubbles: true, composed: true }));\n expect(ageInput?.getAttribute(\"warning-msg\")).toBe(\"\");\n await new Promise(requestAnimationFrame);\n await new Promise((resolve) => setTimeout(resolve, 0));\n expect(validateButton.getAttribute(\"disabled\")).toBe(null);\n\n //Change unit to months and test invalid age\n const ageUnitSelect = component?.shadowRoot?.querySelector(\"bcbd-select[data-test-id=\\\"age-unit-select\\\"]\") as HTMLElement;\n expect(ageUnitSelect).not.toBeNull();\n ageUnitSelect!.click();\n let shadowRoot = (ageUnitSelect as any).shadowRoot as ShadowRoot;\n expect(shadowRoot).not.toBeNull();\n const optionMois = shadowRoot.querySelector<HTMLElement>(\"div[data-test-id=\\\"select-option-mois\\\"]\") as HTMLElement;\n optionMois.click();\n\n expect(ageInput?.getAttribute(\"warning-msg\")).toBe(\"L'âge en mois ne doit pas dépasser 23 mois, veuillez compter en années\");\n\n //Go back like initial state\n ageUnitSelect.click();\n await new Promise(requestAnimationFrame);\n await new Promise((resolve) => setTimeout(resolve, 0));\n shadowRoot = (ageUnitSelect as any).shadowRoot as ShadowRoot;\n const optionAns = shadowRoot.querySelector<HTMLElement>(\"div[data-test-id=\\\"select-option-ans\\\"]\") as HTMLElement;\n optionAns.click();\n });\n\n await step(\"Verify if error message goes well displayed on weight input\", async() => {\n const weightInput = component?.shadowRoot?.querySelector(\"bcbd-input[data-test-id=\\\"weight-input\\\"]\") as HTMLElement;\n const validateButton = component?.shadowRoot?.querySelector(\"bcbd-button[data-test-id=\\\"save-button\\\"]\") as HTMLElement;\n expect(validateButton.getAttribute(\"disabled\")).toBe(null);\n expect(weightInput?.getAttribute(\"warning-msg\")).toBe(\"\");\n const weightInputField = weightInput?.shadowRoot?.querySelector(\"input\") as HTMLInputElement;\n //Test invalid weight\n weightInputField.value = \"320\";\n weightInputField.dispatchEvent(new Event(\"input\", { bubbles: true, composed: true }));\n expect(weightInput?.getAttribute(\"warning-msg\")).toBe(\"Le poids ne doit pas dépasser 300kg\");\n await new Promise(requestAnimationFrame);\n await new Promise((resolve) => setTimeout(resolve, 0));\n expect(validateButton.getAttribute(\"disabled\")).not.toBe(null);\n\n //Test valid weight\n weightInputField.value = \"84\";\n weightInputField.dispatchEvent(new Event(\"input\", { bubbles: true, composed: true }));\n expect(weightInput?.getAttribute(\"warning-msg\")).toBe(\"\");\n await new Promise(requestAnimationFrame);\n await new Promise((resolve) => setTimeout(resolve, 0));\n expect(validateButton.getAttribute(\"disabled\")).toBe(null);\n });\n },\n}"
|
|
2065
|
-
}
|
|
2066
|
-
],
|
|
2067
|
-
"exports": [
|
|
2068
|
-
{
|
|
2069
|
-
"kind": "js",
|
|
2070
|
-
"name": "default",
|
|
2071
|
-
"declaration": {
|
|
2072
|
-
"name": "meta",
|
|
2073
|
-
"module": "src/patient-profile/patient-profile-edition/patient-profile-edition.stories.ts"
|
|
2074
|
-
}
|
|
2075
|
-
},
|
|
2076
|
-
{
|
|
2077
|
-
"kind": "js",
|
|
2078
|
-
"name": "Base",
|
|
2079
|
-
"declaration": {
|
|
2080
|
-
"name": "Base",
|
|
2081
|
-
"module": "src/patient-profile/patient-profile-edition/patient-profile-edition.stories.ts"
|
|
2082
|
-
}
|
|
2083
|
-
}
|
|
2084
|
-
]
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"kind": "javascript-module",
|
|
2088
|
-
"path": "src/patient-profile/patient-profile-edition/patient-profile-edition.ts",
|
|
2089
|
-
"declarations": [
|
|
2090
|
-
{
|
|
2091
|
-
"kind": "class",
|
|
2092
|
-
"description": "",
|
|
2093
|
-
"name": "PatientProfileEdition",
|
|
2094
|
-
"members": [
|
|
1506
|
+
"parameters": [
|
|
2095
1507
|
{
|
|
2096
|
-
"
|
|
2097
|
-
"name": "patientProfile",
|
|
1508
|
+
"name": "bundle",
|
|
2098
1509
|
"type": {
|
|
2099
|
-
"text": "Bundle
|
|
2100
|
-
}
|
|
2101
|
-
"attribute": "patient-profile"
|
|
1510
|
+
"text": "Bundle"
|
|
1511
|
+
}
|
|
2102
1512
|
},
|
|
2103
1513
|
{
|
|
2104
|
-
"
|
|
2105
|
-
"name": "apiUrl",
|
|
1514
|
+
"name": "gender",
|
|
2106
1515
|
"type": {
|
|
2107
|
-
"text": "
|
|
2108
|
-
}
|
|
2109
|
-
|
|
2110
|
-
|
|
1516
|
+
"text": "\"male\" | \"female\" | \"other\" | \"unknown\""
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
]
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"kind": "function",
|
|
1523
|
+
"name": "getPatientName",
|
|
1524
|
+
"return": {
|
|
1525
|
+
"type": {
|
|
1526
|
+
"text": ""
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
"parameters": [
|
|
2111
1530
|
{
|
|
2112
|
-
"
|
|
2113
|
-
"name": "apiKey",
|
|
1531
|
+
"name": "bundle",
|
|
2114
1532
|
"type": {
|
|
2115
|
-
"text": "
|
|
1533
|
+
"text": "Bundle | undefined"
|
|
2116
1534
|
},
|
|
2117
|
-
"
|
|
2118
|
-
}
|
|
1535
|
+
"description": "Bundle Patient FHIR"
|
|
1536
|
+
}
|
|
1537
|
+
],
|
|
1538
|
+
"description": "Extrait le nom du patient FHIR"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"kind": "function",
|
|
1542
|
+
"name": "getPatientAge",
|
|
1543
|
+
"return": {
|
|
1544
|
+
"type": {
|
|
1545
|
+
"text": ""
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
"parameters": [
|
|
2119
1549
|
{
|
|
2120
|
-
"
|
|
2121
|
-
"name": "patientAge",
|
|
1550
|
+
"name": "bundle",
|
|
2122
1551
|
"type": {
|
|
2123
|
-
"text": "
|
|
1552
|
+
"text": "Bundle | undefined"
|
|
2124
1553
|
},
|
|
2125
|
-
"
|
|
2126
|
-
}
|
|
1554
|
+
"description": "Bundle Patient FHIR"
|
|
1555
|
+
}
|
|
1556
|
+
],
|
|
1557
|
+
"description": "Calcule l'âge du patient à partir de sa date de naissance"
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
"kind": "function",
|
|
1561
|
+
"name": "getPatientBirthDate",
|
|
1562
|
+
"return": {
|
|
1563
|
+
"type": {
|
|
1564
|
+
"text": ""
|
|
1565
|
+
}
|
|
1566
|
+
},
|
|
1567
|
+
"parameters": [
|
|
2127
1568
|
{
|
|
2128
|
-
"
|
|
2129
|
-
"name": "patientUnitAge",
|
|
1569
|
+
"name": "bundle",
|
|
2130
1570
|
"type": {
|
|
2131
|
-
"text": "
|
|
1571
|
+
"text": "Bundle | undefined"
|
|
2132
1572
|
},
|
|
2133
|
-
"
|
|
2134
|
-
}
|
|
1573
|
+
"description": "Bundle Patient FHIR"
|
|
1574
|
+
}
|
|
1575
|
+
],
|
|
1576
|
+
"description": "Calcule l'âge du patient à partir de sa date de naissance"
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"kind": "function",
|
|
1580
|
+
"name": "setPatientAge",
|
|
1581
|
+
"return": {
|
|
1582
|
+
"type": {
|
|
1583
|
+
"text": "void"
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"parameters": [
|
|
2135
1587
|
{
|
|
2136
|
-
"
|
|
2137
|
-
"name": "patientWeight",
|
|
1588
|
+
"name": "bundle",
|
|
2138
1589
|
"type": {
|
|
2139
|
-
"text": "
|
|
1590
|
+
"text": "Bundle"
|
|
2140
1591
|
},
|
|
2141
|
-
"
|
|
1592
|
+
"description": "Bundle Patient FHIR"
|
|
2142
1593
|
},
|
|
2143
1594
|
{
|
|
2144
|
-
"
|
|
2145
|
-
"name": "patientHeight",
|
|
1595
|
+
"name": "age",
|
|
2146
1596
|
"type": {
|
|
2147
1597
|
"text": "number"
|
|
2148
1598
|
},
|
|
2149
|
-
"
|
|
1599
|
+
"description": "Nouvel âge du patient"
|
|
2150
1600
|
},
|
|
2151
1601
|
{
|
|
2152
|
-
"
|
|
2153
|
-
"name": "creatinineByMg",
|
|
1602
|
+
"name": "ageUnit",
|
|
2154
1603
|
"type": {
|
|
2155
|
-
"text": "
|
|
1604
|
+
"text": "string"
|
|
2156
1605
|
},
|
|
2157
|
-
"
|
|
2158
|
-
}
|
|
1606
|
+
"description": "Unité de l'âge (ex: \"ans\", \"mois\")"
|
|
1607
|
+
}
|
|
1608
|
+
],
|
|
1609
|
+
"description": "Modifie l'âge du patient dans la ressource Patient du Bundle FHIR"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"kind": "function",
|
|
1613
|
+
"name": "getPatientWeight",
|
|
1614
|
+
"return": {
|
|
1615
|
+
"type": {
|
|
1616
|
+
"text": ""
|
|
1617
|
+
}
|
|
1618
|
+
},
|
|
1619
|
+
"parameters": [
|
|
2159
1620
|
{
|
|
2160
|
-
"
|
|
2161
|
-
"name": "creatinineByUmol",
|
|
1621
|
+
"name": "bundle",
|
|
2162
1622
|
"type": {
|
|
2163
|
-
"text": "
|
|
1623
|
+
"text": "Bundle | undefined"
|
|
2164
1624
|
},
|
|
2165
|
-
"
|
|
2166
|
-
}
|
|
1625
|
+
"description": "Bundle Patient FHIR"
|
|
1626
|
+
}
|
|
1627
|
+
],
|
|
1628
|
+
"description": "Extrait le poids du patient depuis la ressource Observation concernée"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"kind": "function",
|
|
1632
|
+
"name": "getPatientWeightWithUnit",
|
|
1633
|
+
"return": {
|
|
1634
|
+
"type": {
|
|
1635
|
+
"text": ""
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
"parameters": [
|
|
2167
1639
|
{
|
|
2168
|
-
"
|
|
2169
|
-
"name": "clairanceCreatinine",
|
|
1640
|
+
"name": "bundle",
|
|
2170
1641
|
"type": {
|
|
2171
|
-
"text": "
|
|
1642
|
+
"text": "Bundle | undefined"
|
|
2172
1643
|
},
|
|
2173
|
-
"
|
|
1644
|
+
"description": "Bundle Patient FHIR"
|
|
1645
|
+
}
|
|
1646
|
+
],
|
|
1647
|
+
"description": "Extrait le poids du patient (avec l'unité correspondante) depuis la ressource Observation concernée"
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"kind": "function",
|
|
1651
|
+
"name": "setPatientWeight",
|
|
1652
|
+
"return": {
|
|
1653
|
+
"type": {
|
|
1654
|
+
"text": "void"
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
"parameters": [
|
|
1658
|
+
{
|
|
1659
|
+
"name": "bundle",
|
|
1660
|
+
"type": {
|
|
1661
|
+
"text": "Bundle"
|
|
1662
|
+
}
|
|
2174
1663
|
},
|
|
2175
1664
|
{
|
|
2176
|
-
"
|
|
2177
|
-
"name": "dfg",
|
|
1665
|
+
"name": "weight",
|
|
2178
1666
|
"type": {
|
|
2179
1667
|
"text": "number"
|
|
2180
|
-
}
|
|
2181
|
-
|
|
2182
|
-
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
],
|
|
1671
|
+
"description": "Modifie le poids du patient dans le Bundle FHIR du patient"
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"kind": "function",
|
|
1675
|
+
"name": "getPatientHeight",
|
|
1676
|
+
"return": {
|
|
1677
|
+
"type": {
|
|
1678
|
+
"text": ""
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
"parameters": [
|
|
2183
1682
|
{
|
|
2184
|
-
"
|
|
2185
|
-
"name": "defaultPatientUnitAge",
|
|
1683
|
+
"name": "bundle",
|
|
2186
1684
|
"type": {
|
|
2187
|
-
"text": "
|
|
1685
|
+
"text": "Bundle | undefined"
|
|
2188
1686
|
},
|
|
2189
|
-
"
|
|
2190
|
-
}
|
|
1687
|
+
"description": "Bundle Patient FHIR"
|
|
1688
|
+
}
|
|
1689
|
+
],
|
|
1690
|
+
"description": "Extrait la taille du patient depuis la ressource Observation concernée"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"kind": "function",
|
|
1694
|
+
"name": "getPatientHeightWithUnit",
|
|
1695
|
+
"return": {
|
|
1696
|
+
"type": {
|
|
1697
|
+
"text": ""
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
"parameters": [
|
|
2191
1701
|
{
|
|
2192
|
-
"
|
|
2193
|
-
"name": "defaultPatientSex",
|
|
1702
|
+
"name": "bundle",
|
|
2194
1703
|
"type": {
|
|
2195
|
-
"text": "
|
|
1704
|
+
"text": "Bundle | undefined"
|
|
2196
1705
|
},
|
|
2197
|
-
"
|
|
2198
|
-
}
|
|
1706
|
+
"description": "Bundle Patient FHIR"
|
|
1707
|
+
}
|
|
1708
|
+
],
|
|
1709
|
+
"description": "Extrait la taille du patient (avec l'unité correspondante) depuis la ressource Observation concernée"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"kind": "function",
|
|
1713
|
+
"name": "setPatientHeight",
|
|
1714
|
+
"return": {
|
|
1715
|
+
"type": {
|
|
1716
|
+
"text": "void"
|
|
1717
|
+
}
|
|
1718
|
+
},
|
|
1719
|
+
"parameters": [
|
|
2199
1720
|
{
|
|
2200
|
-
"
|
|
2201
|
-
"name": "defaultHepaticStade",
|
|
1721
|
+
"name": "bundle",
|
|
2202
1722
|
"type": {
|
|
2203
|
-
"text": "
|
|
2204
|
-
}
|
|
2205
|
-
"default": "{}"
|
|
1723
|
+
"text": "Bundle"
|
|
1724
|
+
}
|
|
2206
1725
|
},
|
|
2207
1726
|
{
|
|
2208
|
-
"
|
|
2209
|
-
"name": "isPregnancyDivVisible",
|
|
1727
|
+
"name": "height",
|
|
2210
1728
|
"type": {
|
|
2211
|
-
"text": "
|
|
2212
|
-
}
|
|
2213
|
-
|
|
2214
|
-
|
|
1729
|
+
"text": "number"
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
],
|
|
1733
|
+
"description": "Modifie la taille du patient dans le Bundle FHIR du patient"
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"kind": "function",
|
|
1737
|
+
"name": "getPatientPregnancyStatus",
|
|
1738
|
+
"return": {
|
|
1739
|
+
"type": {
|
|
1740
|
+
"text": ""
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
"parameters": [
|
|
2215
1744
|
{
|
|
2216
|
-
"
|
|
2217
|
-
"name": "isPregnant",
|
|
1745
|
+
"name": "bundle",
|
|
2218
1746
|
"type": {
|
|
2219
|
-
"text": "
|
|
1747
|
+
"text": "Bundle | undefined"
|
|
2220
1748
|
},
|
|
2221
|
-
"
|
|
2222
|
-
}
|
|
1749
|
+
"description": "Bundle Patient FHIR"
|
|
1750
|
+
}
|
|
1751
|
+
],
|
|
1752
|
+
"description": "Extrait le statut de grossesse du patient depuis la ressource Observation ou Condition concernée"
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "function",
|
|
1756
|
+
"name": "setPatientPregnancyStatus",
|
|
1757
|
+
"return": {
|
|
1758
|
+
"type": {
|
|
1759
|
+
"text": "void"
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
"parameters": [
|
|
2223
1763
|
{
|
|
2224
|
-
"
|
|
2225
|
-
"name": "breastfeeding",
|
|
1764
|
+
"name": "bundle",
|
|
2226
1765
|
"type": {
|
|
2227
|
-
"text": "
|
|
2228
|
-
}
|
|
2229
|
-
"default": "false"
|
|
1766
|
+
"text": "Bundle"
|
|
1767
|
+
}
|
|
2230
1768
|
},
|
|
2231
1769
|
{
|
|
2232
|
-
"
|
|
2233
|
-
"name": "ageErrorMessageInput",
|
|
1770
|
+
"name": "isPregnant",
|
|
2234
1771
|
"type": {
|
|
2235
|
-
"text": "
|
|
2236
|
-
}
|
|
2237
|
-
|
|
2238
|
-
|
|
1772
|
+
"text": "boolean"
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
],
|
|
1776
|
+
"description": "Modifie le statut de grossesse du patient dans le Bundle FHIR du patient"
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"kind": "function",
|
|
1780
|
+
"name": "getPatientAmenorrheaStatus",
|
|
1781
|
+
"return": {
|
|
1782
|
+
"type": {
|
|
1783
|
+
"text": ""
|
|
1784
|
+
}
|
|
1785
|
+
},
|
|
1786
|
+
"parameters": [
|
|
2239
1787
|
{
|
|
2240
|
-
"
|
|
2241
|
-
"name": "sizeErrorMessageInput",
|
|
1788
|
+
"name": "bundle",
|
|
2242
1789
|
"type": {
|
|
2243
|
-
"text": "
|
|
1790
|
+
"text": "Bundle | undefined"
|
|
2244
1791
|
},
|
|
2245
|
-
"
|
|
2246
|
-
}
|
|
1792
|
+
"description": "Bundle Patient FHIR"
|
|
1793
|
+
}
|
|
1794
|
+
],
|
|
1795
|
+
"description": "Extrait le statut d'aménorrhée du patient depuis la ressource Observation concernée"
|
|
1796
|
+
},
|
|
1797
|
+
{
|
|
1798
|
+
"kind": "function",
|
|
1799
|
+
"name": "setPatientAmenorrheaStatus",
|
|
1800
|
+
"return": {
|
|
1801
|
+
"type": {
|
|
1802
|
+
"text": "void"
|
|
1803
|
+
}
|
|
1804
|
+
},
|
|
1805
|
+
"parameters": [
|
|
2247
1806
|
{
|
|
2248
|
-
"
|
|
2249
|
-
"name": "weightErrorMessageInput",
|
|
1807
|
+
"name": "bundle",
|
|
2250
1808
|
"type": {
|
|
2251
|
-
"text": "
|
|
2252
|
-
}
|
|
2253
|
-
"default": "\"\""
|
|
1809
|
+
"text": "Bundle"
|
|
1810
|
+
}
|
|
2254
1811
|
},
|
|
2255
1812
|
{
|
|
2256
|
-
"
|
|
2257
|
-
"name": "pathologiesApiErrorMessage",
|
|
1813
|
+
"name": "weeks",
|
|
2258
1814
|
"type": {
|
|
2259
|
-
"text": "
|
|
2260
|
-
}
|
|
2261
|
-
|
|
2262
|
-
|
|
1815
|
+
"text": "number"
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
],
|
|
1819
|
+
"description": "Modifie le statut d'aménorrhée du patient dans le Bundle FHIR du patient"
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"kind": "function",
|
|
1823
|
+
"name": "getPatientBreastfeedingStatus",
|
|
1824
|
+
"return": {
|
|
1825
|
+
"type": {
|
|
1826
|
+
"text": ""
|
|
1827
|
+
}
|
|
1828
|
+
},
|
|
1829
|
+
"parameters": [
|
|
2263
1830
|
{
|
|
2264
|
-
"
|
|
2265
|
-
"name": "allergiesApiErrorMessage",
|
|
1831
|
+
"name": "bundle",
|
|
2266
1832
|
"type": {
|
|
2267
|
-
"text": "
|
|
1833
|
+
"text": "Bundle | undefined"
|
|
2268
1834
|
},
|
|
2269
|
-
"
|
|
2270
|
-
}
|
|
1835
|
+
"description": "Bundle Patient FHIR"
|
|
1836
|
+
}
|
|
1837
|
+
],
|
|
1838
|
+
"description": "Extrait le statut d'allaitement du patient depuis la ressource Observation concernée"
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"kind": "function",
|
|
1842
|
+
"name": "setPatientBreastfeedingStatus",
|
|
1843
|
+
"return": {
|
|
1844
|
+
"type": {
|
|
1845
|
+
"text": "void"
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
"parameters": [
|
|
2271
1849
|
{
|
|
2272
|
-
"
|
|
2273
|
-
"name": "pathologyOptions",
|
|
1850
|
+
"name": "bundle",
|
|
2274
1851
|
"type": {
|
|
2275
|
-
"text": "
|
|
2276
|
-
}
|
|
2277
|
-
"default": "[]"
|
|
1852
|
+
"text": "Bundle"
|
|
1853
|
+
}
|
|
2278
1854
|
},
|
|
2279
1855
|
{
|
|
2280
|
-
"
|
|
2281
|
-
"name": "allergyOptions",
|
|
1856
|
+
"name": "isBreastfeeding",
|
|
2282
1857
|
"type": {
|
|
2283
|
-
"text": "
|
|
2284
|
-
}
|
|
2285
|
-
|
|
2286
|
-
|
|
1858
|
+
"text": "boolean"
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
],
|
|
1862
|
+
"description": "Modifie le statut d'allaitement du patient dans le Bundle FHIR du patient"
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"kind": "function",
|
|
1866
|
+
"name": "getPatientRenalInsufficiencyStatus",
|
|
1867
|
+
"return": {
|
|
1868
|
+
"type": {
|
|
1869
|
+
"text": "PatientRenalStatus"
|
|
1870
|
+
}
|
|
1871
|
+
},
|
|
1872
|
+
"parameters": [
|
|
2287
1873
|
{
|
|
2288
|
-
"
|
|
2289
|
-
"name": "selectedPathologyOptions",
|
|
1874
|
+
"name": "bundle",
|
|
2290
1875
|
"type": {
|
|
2291
|
-
"text": "
|
|
2292
|
-
}
|
|
2293
|
-
|
|
2294
|
-
|
|
1876
|
+
"text": "Bundle | undefined"
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
]
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
"kind": "function",
|
|
1883
|
+
"name": "setPatientClearance",
|
|
1884
|
+
"return": {
|
|
1885
|
+
"type": {
|
|
1886
|
+
"text": "void"
|
|
1887
|
+
}
|
|
1888
|
+
},
|
|
1889
|
+
"parameters": [
|
|
2295
1890
|
{
|
|
2296
|
-
"
|
|
2297
|
-
"name": "selectedAllergyOptions",
|
|
1891
|
+
"name": "bundle",
|
|
2298
1892
|
"type": {
|
|
2299
|
-
"text": "
|
|
2300
|
-
}
|
|
2301
|
-
"default": "[]"
|
|
1893
|
+
"text": "Bundle"
|
|
1894
|
+
}
|
|
2302
1895
|
},
|
|
2303
1896
|
{
|
|
2304
|
-
"
|
|
2305
|
-
"name": "imc",
|
|
1897
|
+
"name": "clearance",
|
|
2306
1898
|
"type": {
|
|
2307
1899
|
"text": "number"
|
|
2308
|
-
}
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
],
|
|
1903
|
+
"description": "Modifie le clairance rénale du patient dans le Bundle FHIR du patient"
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
"kind": "function",
|
|
1907
|
+
"name": "setPatientGFRByBSA",
|
|
1908
|
+
"return": {
|
|
1909
|
+
"type": {
|
|
1910
|
+
"text": "void"
|
|
1911
|
+
}
|
|
1912
|
+
},
|
|
1913
|
+
"parameters": [
|
|
2319
1914
|
{
|
|
2320
|
-
"
|
|
2321
|
-
"name": "ageInput",
|
|
1915
|
+
"name": "bundle",
|
|
2322
1916
|
"type": {
|
|
2323
|
-
"text": "
|
|
2324
|
-
}
|
|
2325
|
-
"privacy": "private"
|
|
1917
|
+
"text": "Bundle"
|
|
1918
|
+
}
|
|
2326
1919
|
},
|
|
2327
1920
|
{
|
|
2328
|
-
"
|
|
2329
|
-
"name": "weightInput",
|
|
1921
|
+
"name": "gfr",
|
|
2330
1922
|
"type": {
|
|
2331
|
-
"text": "
|
|
2332
|
-
}
|
|
2333
|
-
|
|
2334
|
-
|
|
1923
|
+
"text": "number"
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
]
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"kind": "function",
|
|
1930
|
+
"name": "computeCreatinineFromClearance",
|
|
1931
|
+
"return": {
|
|
1932
|
+
"type": {
|
|
1933
|
+
"text": "Quantity[]"
|
|
1934
|
+
}
|
|
1935
|
+
},
|
|
1936
|
+
"parameters": [
|
|
2335
1937
|
{
|
|
2336
|
-
"
|
|
2337
|
-
"name": "creatinineUmolInput",
|
|
1938
|
+
"name": "clearance",
|
|
2338
1939
|
"type": {
|
|
2339
|
-
"text": "
|
|
2340
|
-
}
|
|
2341
|
-
"privacy": "private"
|
|
1940
|
+
"text": "number"
|
|
1941
|
+
}
|
|
2342
1942
|
},
|
|
2343
1943
|
{
|
|
2344
|
-
"
|
|
2345
|
-
"name": "creatinineMgLInput",
|
|
1944
|
+
"name": "age",
|
|
2346
1945
|
"type": {
|
|
2347
|
-
"text": "
|
|
2348
|
-
}
|
|
2349
|
-
"privacy": "private"
|
|
1946
|
+
"text": "number"
|
|
1947
|
+
}
|
|
2350
1948
|
},
|
|
2351
1949
|
{
|
|
2352
|
-
"
|
|
2353
|
-
"name": "clairanceCreatinineInput",
|
|
1950
|
+
"name": "weight",
|
|
2354
1951
|
"type": {
|
|
2355
|
-
"text": "
|
|
2356
|
-
}
|
|
2357
|
-
"privacy": "private"
|
|
1952
|
+
"text": "number"
|
|
1953
|
+
}
|
|
2358
1954
|
},
|
|
2359
1955
|
{
|
|
2360
|
-
"
|
|
2361
|
-
"name": "editionModalElement",
|
|
1956
|
+
"name": "isFemale",
|
|
2362
1957
|
"type": {
|
|
2363
|
-
"text": "
|
|
2364
|
-
}
|
|
2365
|
-
|
|
2366
|
-
|
|
1958
|
+
"text": "boolean"
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
]
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"kind": "function",
|
|
1965
|
+
"name": "getCreatinine",
|
|
1966
|
+
"return": {
|
|
1967
|
+
"type": {
|
|
1968
|
+
"text": "Quantity[]"
|
|
1969
|
+
}
|
|
1970
|
+
},
|
|
1971
|
+
"parameters": [
|
|
2367
1972
|
{
|
|
2368
|
-
"
|
|
2369
|
-
"name": "dfgInput",
|
|
1973
|
+
"name": "bundle",
|
|
2370
1974
|
"type": {
|
|
2371
|
-
"text": "
|
|
2372
|
-
}
|
|
2373
|
-
|
|
2374
|
-
|
|
1975
|
+
"text": "Bundle | undefined"
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
]
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
"kind": "function",
|
|
1982
|
+
"name": "setCreatinineBymgL",
|
|
1983
|
+
"return": {
|
|
1984
|
+
"type": {
|
|
1985
|
+
"text": "void"
|
|
1986
|
+
}
|
|
1987
|
+
},
|
|
1988
|
+
"parameters": [
|
|
2375
1989
|
{
|
|
2376
|
-
"
|
|
2377
|
-
"name": "genderSelect",
|
|
1990
|
+
"name": "bundle",
|
|
2378
1991
|
"type": {
|
|
2379
|
-
"text": "
|
|
2380
|
-
}
|
|
2381
|
-
"privacy": "private"
|
|
1992
|
+
"text": "Bundle"
|
|
1993
|
+
}
|
|
2382
1994
|
},
|
|
2383
1995
|
{
|
|
2384
|
-
"
|
|
2385
|
-
"name": "gestationalWeeksInput",
|
|
1996
|
+
"name": "mgL",
|
|
2386
1997
|
"type": {
|
|
2387
|
-
"text": "
|
|
2388
|
-
}
|
|
2389
|
-
|
|
2390
|
-
|
|
1998
|
+
"text": "number"
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
]
|
|
2002
|
+
},
|
|
2003
|
+
{
|
|
2004
|
+
"kind": "function",
|
|
2005
|
+
"name": "setCreatinineByUmolL",
|
|
2006
|
+
"return": {
|
|
2007
|
+
"type": {
|
|
2008
|
+
"text": "void"
|
|
2009
|
+
}
|
|
2010
|
+
},
|
|
2011
|
+
"parameters": [
|
|
2391
2012
|
{
|
|
2392
|
-
"
|
|
2393
|
-
"name": "hepaticStadeSelect",
|
|
2013
|
+
"name": "bundle",
|
|
2394
2014
|
"type": {
|
|
2395
|
-
"text": "
|
|
2396
|
-
}
|
|
2397
|
-
"privacy": "private"
|
|
2015
|
+
"text": "Bundle"
|
|
2016
|
+
}
|
|
2398
2017
|
},
|
|
2399
2018
|
{
|
|
2400
|
-
"
|
|
2401
|
-
"name": "childPughInput",
|
|
2019
|
+
"name": "umolL",
|
|
2402
2020
|
"type": {
|
|
2403
|
-
"text": "
|
|
2404
|
-
}
|
|
2405
|
-
|
|
2406
|
-
|
|
2021
|
+
"text": "number"
|
|
2022
|
+
}
|
|
2023
|
+
}
|
|
2024
|
+
]
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"kind": "function",
|
|
2028
|
+
"name": "getPatientHepaticInsufficiencyScore",
|
|
2029
|
+
"return": {
|
|
2030
|
+
"type": {
|
|
2031
|
+
"text": "number | null"
|
|
2032
|
+
}
|
|
2033
|
+
},
|
|
2034
|
+
"parameters": [
|
|
2407
2035
|
{
|
|
2408
|
-
"
|
|
2409
|
-
"name": "ageUnitSelect",
|
|
2036
|
+
"name": "bundle",
|
|
2410
2037
|
"type": {
|
|
2411
|
-
"text": "
|
|
2412
|
-
},
|
|
2413
|
-
"privacy": "private"
|
|
2414
|
-
},
|
|
2415
|
-
{
|
|
2416
|
-
"kind": "method",
|
|
2417
|
-
"name": "open",
|
|
2418
|
-
"privacy": "public",
|
|
2419
|
-
"return": {
|
|
2420
|
-
"type": {
|
|
2421
|
-
"text": "void"
|
|
2422
|
-
}
|
|
2038
|
+
"text": "Bundle | undefined"
|
|
2423
2039
|
}
|
|
2424
|
-
}
|
|
2040
|
+
}
|
|
2041
|
+
]
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"kind": "function",
|
|
2045
|
+
"name": "getPatientHepaticInsufficiencyStade",
|
|
2046
|
+
"return": {
|
|
2047
|
+
"type": {
|
|
2048
|
+
"text": "string"
|
|
2049
|
+
}
|
|
2050
|
+
},
|
|
2051
|
+
"parameters": [
|
|
2425
2052
|
{
|
|
2426
|
-
"
|
|
2427
|
-
"
|
|
2428
|
-
|
|
2429
|
-
"return": {
|
|
2430
|
-
"type": {
|
|
2431
|
-
"text": "void"
|
|
2432
|
-
}
|
|
2053
|
+
"name": "bundle",
|
|
2054
|
+
"type": {
|
|
2055
|
+
"text": "Bundle | undefined"
|
|
2433
2056
|
}
|
|
2434
|
-
}
|
|
2057
|
+
}
|
|
2058
|
+
]
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
"kind": "function",
|
|
2062
|
+
"name": "setPatientHepaticInsufficiencyStatus",
|
|
2063
|
+
"return": {
|
|
2064
|
+
"type": {
|
|
2065
|
+
"text": "void"
|
|
2066
|
+
}
|
|
2067
|
+
},
|
|
2068
|
+
"parameters": [
|
|
2435
2069
|
{
|
|
2436
|
-
"
|
|
2437
|
-
"
|
|
2438
|
-
|
|
2439
|
-
"return": {
|
|
2440
|
-
"type": {
|
|
2441
|
-
"text": "void"
|
|
2442
|
-
}
|
|
2070
|
+
"name": "bundle",
|
|
2071
|
+
"type": {
|
|
2072
|
+
"text": "Bundle"
|
|
2443
2073
|
}
|
|
2444
2074
|
},
|
|
2445
2075
|
{
|
|
2446
|
-
"
|
|
2447
|
-
"
|
|
2448
|
-
"
|
|
2449
|
-
|
|
2450
|
-
"type": {
|
|
2451
|
-
"text": "void"
|
|
2452
|
-
}
|
|
2076
|
+
"name": "stade",
|
|
2077
|
+
"optional": true,
|
|
2078
|
+
"type": {
|
|
2079
|
+
"text": "\"A\" | \"B\" | \"C\""
|
|
2453
2080
|
}
|
|
2454
2081
|
},
|
|
2455
2082
|
{
|
|
2456
|
-
"
|
|
2457
|
-
"
|
|
2458
|
-
"
|
|
2459
|
-
|
|
2460
|
-
"type": {
|
|
2461
|
-
"text": "void"
|
|
2462
|
-
}
|
|
2083
|
+
"name": "score",
|
|
2084
|
+
"optional": true,
|
|
2085
|
+
"type": {
|
|
2086
|
+
"text": "number"
|
|
2463
2087
|
}
|
|
2464
|
-
}
|
|
2088
|
+
}
|
|
2089
|
+
]
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"kind": "function",
|
|
2093
|
+
"name": "deletePatientHepaticInsufficiencyStatus",
|
|
2094
|
+
"return": {
|
|
2095
|
+
"type": {
|
|
2096
|
+
"text": "void"
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
2099
|
+
"parameters": [
|
|
2465
2100
|
{
|
|
2466
|
-
"
|
|
2467
|
-
"
|
|
2468
|
-
|
|
2469
|
-
"return": {
|
|
2470
|
-
"type": {
|
|
2471
|
-
"text": "void"
|
|
2472
|
-
}
|
|
2101
|
+
"name": "bundle",
|
|
2102
|
+
"type": {
|
|
2103
|
+
"text": "Bundle"
|
|
2473
2104
|
}
|
|
2474
|
-
}
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2105
|
+
}
|
|
2106
|
+
]
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
"kind": "function",
|
|
2110
|
+
"name": "getPatientConditions",
|
|
2111
|
+
"return": {
|
|
2112
|
+
"type": {
|
|
2113
|
+
"text": ""
|
|
2114
|
+
}
|
|
2115
|
+
},
|
|
2116
|
+
"parameters": [
|
|
2480
2117
|
{
|
|
2481
|
-
"
|
|
2482
|
-
"
|
|
2483
|
-
|
|
2484
|
-
|
|
2118
|
+
"name": "patient",
|
|
2119
|
+
"type": {
|
|
2120
|
+
"text": "Bundle | undefined"
|
|
2121
|
+
},
|
|
2122
|
+
"description": "Bundle Patient FHIR"
|
|
2123
|
+
}
|
|
2124
|
+
],
|
|
2125
|
+
"description": "Extrait les conditions médicales/terrains du patient depuis les extensions FHIR"
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
"kind": "function",
|
|
2129
|
+
"name": "getPatientConditionsWithCode",
|
|
2130
|
+
"return": {
|
|
2131
|
+
"type": {
|
|
2132
|
+
"text": ""
|
|
2133
|
+
}
|
|
2134
|
+
},
|
|
2135
|
+
"parameters": [
|
|
2485
2136
|
{
|
|
2486
|
-
"
|
|
2487
|
-
"
|
|
2488
|
-
|
|
2489
|
-
"return": {
|
|
2490
|
-
"type": {
|
|
2491
|
-
"text": "void"
|
|
2492
|
-
}
|
|
2137
|
+
"name": "patient",
|
|
2138
|
+
"type": {
|
|
2139
|
+
"text": "Bundle | undefined"
|
|
2493
2140
|
},
|
|
2494
|
-
"
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2141
|
+
"description": "Bundle Patient FHIR"
|
|
2142
|
+
}
|
|
2143
|
+
],
|
|
2144
|
+
"description": "Extrait les conditions médicales/terrains du patient et leurs codes respectifs depuis les extensions FHIR"
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"kind": "function",
|
|
2148
|
+
"name": "setPatientConditions",
|
|
2149
|
+
"return": {
|
|
2150
|
+
"type": {
|
|
2151
|
+
"text": "void"
|
|
2152
|
+
}
|
|
2153
|
+
},
|
|
2154
|
+
"parameters": [
|
|
2155
|
+
{
|
|
2156
|
+
"name": "patient",
|
|
2157
|
+
"type": {
|
|
2158
|
+
"text": "Bundle"
|
|
2159
|
+
}
|
|
2502
2160
|
},
|
|
2503
2161
|
{
|
|
2504
|
-
"
|
|
2505
|
-
"
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2162
|
+
"name": "conditions",
|
|
2163
|
+
"type": {
|
|
2164
|
+
"text": "ISelectOption[]"
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
]
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"kind": "function",
|
|
2171
|
+
"name": "getPatientAllergies",
|
|
2172
|
+
"return": {
|
|
2173
|
+
"type": {
|
|
2174
|
+
"text": ""
|
|
2175
|
+
}
|
|
2176
|
+
},
|
|
2177
|
+
"parameters": [
|
|
2178
|
+
{
|
|
2179
|
+
"name": "patient",
|
|
2180
|
+
"type": {
|
|
2181
|
+
"text": "Bundle | undefined"
|
|
2511
2182
|
},
|
|
2512
|
-
"
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2183
|
+
"description": "Bundle Patient FHIR"
|
|
2184
|
+
}
|
|
2185
|
+
],
|
|
2186
|
+
"description": "Extrait les allergies du patient depuis les extensions FHIR"
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
"kind": "function",
|
|
2190
|
+
"name": "getPatientAllergiesWithCode",
|
|
2191
|
+
"return": {
|
|
2192
|
+
"type": {
|
|
2193
|
+
"text": "ISelectOption[]"
|
|
2194
|
+
}
|
|
2195
|
+
},
|
|
2196
|
+
"parameters": [
|
|
2521
2197
|
{
|
|
2522
|
-
"
|
|
2523
|
-
"
|
|
2524
|
-
|
|
2525
|
-
"return": {
|
|
2526
|
-
"type": {
|
|
2527
|
-
"text": "void"
|
|
2528
|
-
}
|
|
2198
|
+
"name": "patient",
|
|
2199
|
+
"type": {
|
|
2200
|
+
"text": "Bundle | undefined"
|
|
2529
2201
|
}
|
|
2530
|
-
}
|
|
2202
|
+
}
|
|
2203
|
+
]
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
"kind": "function",
|
|
2207
|
+
"name": "setPatientAllergies",
|
|
2208
|
+
"return": {
|
|
2209
|
+
"type": {
|
|
2210
|
+
"text": "void"
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
"parameters": [
|
|
2531
2214
|
{
|
|
2532
|
-
"
|
|
2533
|
-
"
|
|
2534
|
-
|
|
2535
|
-
"return": {
|
|
2536
|
-
"type": {
|
|
2537
|
-
"text": "void"
|
|
2538
|
-
}
|
|
2215
|
+
"name": "patient",
|
|
2216
|
+
"type": {
|
|
2217
|
+
"text": "Bundle"
|
|
2539
2218
|
}
|
|
2540
2219
|
},
|
|
2541
2220
|
{
|
|
2542
|
-
"
|
|
2543
|
-
"
|
|
2544
|
-
|
|
2545
|
-
"return": {
|
|
2546
|
-
"type": {
|
|
2547
|
-
"text": "void"
|
|
2548
|
-
}
|
|
2221
|
+
"name": "allergies",
|
|
2222
|
+
"type": {
|
|
2223
|
+
"text": "ISelectOption[]"
|
|
2549
2224
|
}
|
|
2550
|
-
}
|
|
2225
|
+
}
|
|
2226
|
+
]
|
|
2227
|
+
},
|
|
2228
|
+
{
|
|
2229
|
+
"kind": "function",
|
|
2230
|
+
"name": "getPatientAdverseEvents",
|
|
2231
|
+
"return": {
|
|
2232
|
+
"type": {
|
|
2233
|
+
"text": "string[]"
|
|
2234
|
+
}
|
|
2235
|
+
},
|
|
2236
|
+
"parameters": [
|
|
2551
2237
|
{
|
|
2552
|
-
"
|
|
2553
|
-
"
|
|
2554
|
-
|
|
2555
|
-
"return": {
|
|
2556
|
-
"type": {
|
|
2557
|
-
"text": "void"
|
|
2558
|
-
}
|
|
2238
|
+
"name": "patient",
|
|
2239
|
+
"type": {
|
|
2240
|
+
"text": "Bundle | undefined"
|
|
2559
2241
|
}
|
|
2560
|
-
}
|
|
2242
|
+
}
|
|
2243
|
+
]
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"kind": "function",
|
|
2247
|
+
"name": "getPatientDemographics",
|
|
2248
|
+
"return": {
|
|
2249
|
+
"type": {
|
|
2250
|
+
"text": ""
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
"parameters": [
|
|
2561
2254
|
{
|
|
2562
|
-
"
|
|
2563
|
-
"
|
|
2564
|
-
|
|
2565
|
-
"return": {
|
|
2566
|
-
"type": {
|
|
2567
|
-
"text": "ISelectOption"
|
|
2568
|
-
}
|
|
2255
|
+
"name": "bundle",
|
|
2256
|
+
"type": {
|
|
2257
|
+
"text": "Bundle | undefined"
|
|
2569
2258
|
},
|
|
2570
|
-
"
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
{
|
|
2580
|
-
"
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
"type": {
|
|
2585
|
-
"text": "void"
|
|
2586
|
-
}
|
|
2587
|
-
},
|
|
2588
|
-
"parameters": [
|
|
2589
|
-
{
|
|
2590
|
-
"name": "event",
|
|
2591
|
-
"type": {
|
|
2592
|
-
"text": "CustomEvent"
|
|
2593
|
-
}
|
|
2594
|
-
}
|
|
2595
|
-
]
|
|
2596
|
-
},
|
|
2259
|
+
"description": "Bundle FHIR"
|
|
2260
|
+
}
|
|
2261
|
+
],
|
|
2262
|
+
"description": "Extrait les informations démographiques complètes du patient"
|
|
2263
|
+
},
|
|
2264
|
+
{
|
|
2265
|
+
"kind": "function",
|
|
2266
|
+
"name": "childPughScore",
|
|
2267
|
+
"return": {
|
|
2268
|
+
"type": {
|
|
2269
|
+
"text": "string"
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
"parameters": [
|
|
2597
2273
|
{
|
|
2598
|
-
"
|
|
2599
|
-
"
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
},
|
|
2274
|
+
"name": "score",
|
|
2275
|
+
"type": {
|
|
2276
|
+
"text": "number"
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
]
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"kind": "function",
|
|
2283
|
+
"name": "calculateGFRFromCreatinine",
|
|
2284
|
+
"return": {
|
|
2285
|
+
"type": {
|
|
2286
|
+
"text": ""
|
|
2287
|
+
}
|
|
2288
|
+
},
|
|
2289
|
+
"parameters": [
|
|
2615
2290
|
{
|
|
2616
|
-
"
|
|
2617
|
-
"
|
|
2618
|
-
|
|
2619
|
-
"return": {
|
|
2620
|
-
"type": {
|
|
2621
|
-
"text": "void"
|
|
2622
|
-
}
|
|
2291
|
+
"name": "age",
|
|
2292
|
+
"type": {
|
|
2293
|
+
"text": "number"
|
|
2623
2294
|
},
|
|
2624
|
-
"
|
|
2625
|
-
{
|
|
2626
|
-
"name": "event",
|
|
2627
|
-
"type": {
|
|
2628
|
-
"text": "CustomEvent"
|
|
2629
|
-
}
|
|
2630
|
-
}
|
|
2631
|
-
]
|
|
2295
|
+
"description": "Âge du patient"
|
|
2632
2296
|
},
|
|
2633
2297
|
{
|
|
2634
|
-
"
|
|
2635
|
-
"
|
|
2636
|
-
|
|
2637
|
-
"return": {
|
|
2638
|
-
"type": {
|
|
2639
|
-
"text": "void"
|
|
2640
|
-
}
|
|
2298
|
+
"name": "isFemale",
|
|
2299
|
+
"type": {
|
|
2300
|
+
"text": "boolean"
|
|
2641
2301
|
},
|
|
2642
|
-
"
|
|
2643
|
-
{
|
|
2644
|
-
"name": "event",
|
|
2645
|
-
"type": {
|
|
2646
|
-
"text": "CustomEvent"
|
|
2647
|
-
}
|
|
2648
|
-
}
|
|
2649
|
-
]
|
|
2302
|
+
"description": "Vrai si le patient est de sexe féminin, sinon faux"
|
|
2650
2303
|
},
|
|
2651
2304
|
{
|
|
2652
|
-
"
|
|
2653
|
-
"
|
|
2654
|
-
|
|
2655
|
-
"return": {
|
|
2656
|
-
"type": {
|
|
2657
|
-
"text": "void"
|
|
2658
|
-
}
|
|
2305
|
+
"name": "creatinine",
|
|
2306
|
+
"type": {
|
|
2307
|
+
"text": "number"
|
|
2659
2308
|
},
|
|
2660
|
-
"
|
|
2661
|
-
{
|
|
2662
|
-
"name": "event",
|
|
2663
|
-
"type": {
|
|
2664
|
-
"text": "CustomEvent"
|
|
2665
|
-
}
|
|
2666
|
-
}
|
|
2667
|
-
]
|
|
2668
|
-
},
|
|
2669
|
-
{
|
|
2670
|
-
"kind": "method",
|
|
2671
|
-
"name": "handleHepaticScore",
|
|
2672
|
-
"privacy": "private",
|
|
2673
|
-
"return": {
|
|
2674
|
-
"type": {
|
|
2675
|
-
"text": "void"
|
|
2676
|
-
}
|
|
2677
|
-
}
|
|
2678
|
-
},
|
|
2679
|
-
{
|
|
2680
|
-
"kind": "method",
|
|
2681
|
-
"name": "validateForm",
|
|
2682
|
-
"privacy": "private",
|
|
2683
|
-
"return": {
|
|
2684
|
-
"type": {
|
|
2685
|
-
"text": "void"
|
|
2686
|
-
}
|
|
2687
|
-
}
|
|
2309
|
+
"description": "Créatinine sérique en"
|
|
2688
2310
|
}
|
|
2689
2311
|
],
|
|
2690
|
-
"
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2312
|
+
"description": "Calcul de la DFG à partir de la créatinine, de l'âge, et du sexe en utilisant la formule MDRD"
|
|
2313
|
+
},
|
|
2314
|
+
{
|
|
2315
|
+
"kind": "function",
|
|
2316
|
+
"name": "calculateCreatinineFromGFR",
|
|
2317
|
+
"return": {
|
|
2318
|
+
"type": {
|
|
2319
|
+
"text": ""
|
|
2696
2320
|
}
|
|
2697
|
-
|
|
2698
|
-
"
|
|
2321
|
+
},
|
|
2322
|
+
"parameters": [
|
|
2699
2323
|
{
|
|
2700
|
-
"name": "
|
|
2324
|
+
"name": "age",
|
|
2701
2325
|
"type": {
|
|
2702
|
-
"text": "
|
|
2326
|
+
"text": "number"
|
|
2703
2327
|
},
|
|
2704
|
-
"
|
|
2328
|
+
"description": "Âge du patient"
|
|
2705
2329
|
},
|
|
2706
2330
|
{
|
|
2707
|
-
"name": "
|
|
2331
|
+
"name": "isFemale",
|
|
2708
2332
|
"type": {
|
|
2709
|
-
"text": "
|
|
2333
|
+
"text": "boolean"
|
|
2710
2334
|
},
|
|
2711
|
-
"
|
|
2335
|
+
"description": "Vrai si le patient est de sexe féminin, sinon faux"
|
|
2712
2336
|
},
|
|
2713
2337
|
{
|
|
2714
|
-
"name": "
|
|
2338
|
+
"name": "gfr",
|
|
2715
2339
|
"type": {
|
|
2716
|
-
"text": "
|
|
2340
|
+
"text": "number"
|
|
2717
2341
|
},
|
|
2718
|
-
"
|
|
2342
|
+
"description": "DFG en mL/min/1.73.m2"
|
|
2719
2343
|
}
|
|
2720
2344
|
],
|
|
2721
|
-
"
|
|
2722
|
-
|
|
2723
|
-
|
|
2345
|
+
"description": "Calcul de la créatinine à partir de la DFG, de l'âge, et du sexe en utilisant la formule MDRD inversée"
|
|
2346
|
+
},
|
|
2347
|
+
{
|
|
2348
|
+
"kind": "function",
|
|
2349
|
+
"name": "getPatientMedicalInfo",
|
|
2350
|
+
"return": {
|
|
2351
|
+
"type": {
|
|
2352
|
+
"text": ""
|
|
2353
|
+
}
|
|
2724
2354
|
},
|
|
2725
|
-
"
|
|
2726
|
-
|
|
2355
|
+
"parameters": [
|
|
2356
|
+
{
|
|
2357
|
+
"name": "patient",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "Bundle | undefined"
|
|
2360
|
+
},
|
|
2361
|
+
"description": "Bundle Patient FHIR"
|
|
2362
|
+
}
|
|
2363
|
+
],
|
|
2364
|
+
"description": "Extrait les informations médicales complètes du patient"
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"kind": "function",
|
|
2368
|
+
"name": "getPatientInfo",
|
|
2369
|
+
"return": {
|
|
2370
|
+
"type": {
|
|
2371
|
+
"text": ""
|
|
2372
|
+
}
|
|
2373
|
+
},
|
|
2374
|
+
"parameters": [
|
|
2375
|
+
{
|
|
2376
|
+
"name": "bundle",
|
|
2377
|
+
"type": {
|
|
2378
|
+
"text": "Bundle | undefined"
|
|
2379
|
+
},
|
|
2380
|
+
"description": "Bundle FHIR"
|
|
2381
|
+
}
|
|
2382
|
+
],
|
|
2383
|
+
"description": "Extrait toutes les informations du patient (démographiques + médicales)"
|
|
2727
2384
|
}
|
|
2728
2385
|
],
|
|
2729
2386
|
"exports": [
|
|
2730
2387
|
{
|
|
2731
2388
|
"kind": "js",
|
|
2732
|
-
"name": "
|
|
2389
|
+
"name": "getPatientGender",
|
|
2733
2390
|
"declaration": {
|
|
2734
|
-
"name": "
|
|
2735
|
-
"module": "src/
|
|
2391
|
+
"name": "getPatientGender",
|
|
2392
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2736
2393
|
}
|
|
2737
2394
|
},
|
|
2738
2395
|
{
|
|
2739
|
-
"kind": "
|
|
2740
|
-
"name": "
|
|
2396
|
+
"kind": "js",
|
|
2397
|
+
"name": "setPatientGender",
|
|
2741
2398
|
"declaration": {
|
|
2742
|
-
"name": "
|
|
2743
|
-
"module": "src/
|
|
2399
|
+
"name": "setPatientGender",
|
|
2400
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"kind": "js",
|
|
2405
|
+
"name": "getPatientName",
|
|
2406
|
+
"declaration": {
|
|
2407
|
+
"name": "getPatientName",
|
|
2408
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"kind": "js",
|
|
2413
|
+
"name": "getPatientAge",
|
|
2414
|
+
"declaration": {
|
|
2415
|
+
"name": "getPatientAge",
|
|
2416
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2417
|
+
}
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"kind": "js",
|
|
2421
|
+
"name": "getPatientBirthDate",
|
|
2422
|
+
"declaration": {
|
|
2423
|
+
"name": "getPatientBirthDate",
|
|
2424
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2425
|
+
}
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"kind": "js",
|
|
2429
|
+
"name": "setPatientAge",
|
|
2430
|
+
"declaration": {
|
|
2431
|
+
"name": "setPatientAge",
|
|
2432
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2433
|
+
}
|
|
2434
|
+
},
|
|
2435
|
+
{
|
|
2436
|
+
"kind": "js",
|
|
2437
|
+
"name": "getPatientWeight",
|
|
2438
|
+
"declaration": {
|
|
2439
|
+
"name": "getPatientWeight",
|
|
2440
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2441
|
+
}
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"kind": "js",
|
|
2445
|
+
"name": "getPatientWeightWithUnit",
|
|
2446
|
+
"declaration": {
|
|
2447
|
+
"name": "getPatientWeightWithUnit",
|
|
2448
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2449
|
+
}
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"kind": "js",
|
|
2453
|
+
"name": "setPatientWeight",
|
|
2454
|
+
"declaration": {
|
|
2455
|
+
"name": "setPatientWeight",
|
|
2456
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2457
|
+
}
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"kind": "js",
|
|
2461
|
+
"name": "getPatientHeight",
|
|
2462
|
+
"declaration": {
|
|
2463
|
+
"name": "getPatientHeight",
|
|
2464
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2465
|
+
}
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"kind": "js",
|
|
2469
|
+
"name": "getPatientHeightWithUnit",
|
|
2470
|
+
"declaration": {
|
|
2471
|
+
"name": "getPatientHeightWithUnit",
|
|
2472
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2473
|
+
}
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
"kind": "js",
|
|
2477
|
+
"name": "setPatientHeight",
|
|
2478
|
+
"declaration": {
|
|
2479
|
+
"name": "setPatientHeight",
|
|
2480
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2481
|
+
}
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"kind": "js",
|
|
2485
|
+
"name": "getPatientPregnancyStatus",
|
|
2486
|
+
"declaration": {
|
|
2487
|
+
"name": "getPatientPregnancyStatus",
|
|
2488
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2489
|
+
}
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
"kind": "js",
|
|
2493
|
+
"name": "setPatientPregnancyStatus",
|
|
2494
|
+
"declaration": {
|
|
2495
|
+
"name": "setPatientPregnancyStatus",
|
|
2496
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2497
|
+
}
|
|
2498
|
+
},
|
|
2499
|
+
{
|
|
2500
|
+
"kind": "js",
|
|
2501
|
+
"name": "getPatientAmenorrheaStatus",
|
|
2502
|
+
"declaration": {
|
|
2503
|
+
"name": "getPatientAmenorrheaStatus",
|
|
2504
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2505
|
+
}
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"kind": "js",
|
|
2509
|
+
"name": "setPatientAmenorrheaStatus",
|
|
2510
|
+
"declaration": {
|
|
2511
|
+
"name": "setPatientAmenorrheaStatus",
|
|
2512
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2513
|
+
}
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
"kind": "js",
|
|
2517
|
+
"name": "getPatientBreastfeedingStatus",
|
|
2518
|
+
"declaration": {
|
|
2519
|
+
"name": "getPatientBreastfeedingStatus",
|
|
2520
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2521
|
+
}
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"kind": "js",
|
|
2525
|
+
"name": "setPatientBreastfeedingStatus",
|
|
2526
|
+
"declaration": {
|
|
2527
|
+
"name": "setPatientBreastfeedingStatus",
|
|
2528
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2529
|
+
}
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
"kind": "js",
|
|
2533
|
+
"name": "getPatientRenalInsufficiencyStatus",
|
|
2534
|
+
"declaration": {
|
|
2535
|
+
"name": "getPatientRenalInsufficiencyStatus",
|
|
2536
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2537
|
+
}
|
|
2538
|
+
},
|
|
2539
|
+
{
|
|
2540
|
+
"kind": "js",
|
|
2541
|
+
"name": "setPatientClearance",
|
|
2542
|
+
"declaration": {
|
|
2543
|
+
"name": "setPatientClearance",
|
|
2544
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2545
|
+
}
|
|
2546
|
+
},
|
|
2547
|
+
{
|
|
2548
|
+
"kind": "js",
|
|
2549
|
+
"name": "setPatientGFRByBSA",
|
|
2550
|
+
"declaration": {
|
|
2551
|
+
"name": "setPatientGFRByBSA",
|
|
2552
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
{
|
|
2556
|
+
"kind": "js",
|
|
2557
|
+
"name": "computeCreatinineFromClearance",
|
|
2558
|
+
"declaration": {
|
|
2559
|
+
"name": "computeCreatinineFromClearance",
|
|
2560
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2561
|
+
}
|
|
2562
|
+
},
|
|
2563
|
+
{
|
|
2564
|
+
"kind": "js",
|
|
2565
|
+
"name": "getCreatinine",
|
|
2566
|
+
"declaration": {
|
|
2567
|
+
"name": "getCreatinine",
|
|
2568
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2569
|
+
}
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
"kind": "js",
|
|
2573
|
+
"name": "setCreatinineBymgL",
|
|
2574
|
+
"declaration": {
|
|
2575
|
+
"name": "setCreatinineBymgL",
|
|
2576
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2577
|
+
}
|
|
2578
|
+
},
|
|
2579
|
+
{
|
|
2580
|
+
"kind": "js",
|
|
2581
|
+
"name": "setCreatinineByUmolL",
|
|
2582
|
+
"declaration": {
|
|
2583
|
+
"name": "setCreatinineByUmolL",
|
|
2584
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2585
|
+
}
|
|
2586
|
+
},
|
|
2587
|
+
{
|
|
2588
|
+
"kind": "js",
|
|
2589
|
+
"name": "getPatientHepaticInsufficiencyScore",
|
|
2590
|
+
"declaration": {
|
|
2591
|
+
"name": "getPatientHepaticInsufficiencyScore",
|
|
2592
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2593
|
+
}
|
|
2594
|
+
},
|
|
2595
|
+
{
|
|
2596
|
+
"kind": "js",
|
|
2597
|
+
"name": "getPatientHepaticInsufficiencyStade",
|
|
2598
|
+
"declaration": {
|
|
2599
|
+
"name": "getPatientHepaticInsufficiencyStade",
|
|
2600
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2601
|
+
}
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"kind": "js",
|
|
2605
|
+
"name": "setPatientHepaticInsufficiencyStatus",
|
|
2606
|
+
"declaration": {
|
|
2607
|
+
"name": "setPatientHepaticInsufficiencyStatus",
|
|
2608
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2609
|
+
}
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
"kind": "js",
|
|
2613
|
+
"name": "deletePatientHepaticInsufficiencyStatus",
|
|
2614
|
+
"declaration": {
|
|
2615
|
+
"name": "deletePatientHepaticInsufficiencyStatus",
|
|
2616
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
{
|
|
2620
|
+
"kind": "js",
|
|
2621
|
+
"name": "getPatientConditions",
|
|
2622
|
+
"declaration": {
|
|
2623
|
+
"name": "getPatientConditions",
|
|
2624
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2625
|
+
}
|
|
2626
|
+
},
|
|
2627
|
+
{
|
|
2628
|
+
"kind": "js",
|
|
2629
|
+
"name": "getPatientConditionsWithCode",
|
|
2630
|
+
"declaration": {
|
|
2631
|
+
"name": "getPatientConditionsWithCode",
|
|
2632
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2633
|
+
}
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
"kind": "js",
|
|
2637
|
+
"name": "setPatientConditions",
|
|
2638
|
+
"declaration": {
|
|
2639
|
+
"name": "setPatientConditions",
|
|
2640
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2641
|
+
}
|
|
2642
|
+
},
|
|
2643
|
+
{
|
|
2644
|
+
"kind": "js",
|
|
2645
|
+
"name": "getPatientAllergies",
|
|
2646
|
+
"declaration": {
|
|
2647
|
+
"name": "getPatientAllergies",
|
|
2648
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2649
|
+
}
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"kind": "js",
|
|
2653
|
+
"name": "getPatientAllergiesWithCode",
|
|
2654
|
+
"declaration": {
|
|
2655
|
+
"name": "getPatientAllergiesWithCode",
|
|
2656
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2657
|
+
}
|
|
2658
|
+
},
|
|
2659
|
+
{
|
|
2660
|
+
"kind": "js",
|
|
2661
|
+
"name": "setPatientAllergies",
|
|
2662
|
+
"declaration": {
|
|
2663
|
+
"name": "setPatientAllergies",
|
|
2664
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2665
|
+
}
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
"kind": "js",
|
|
2669
|
+
"name": "getPatientAdverseEvents",
|
|
2670
|
+
"declaration": {
|
|
2671
|
+
"name": "getPatientAdverseEvents",
|
|
2672
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2673
|
+
}
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"kind": "js",
|
|
2677
|
+
"name": "getPatientDemographics",
|
|
2678
|
+
"declaration": {
|
|
2679
|
+
"name": "getPatientDemographics",
|
|
2680
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2681
|
+
}
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
"kind": "js",
|
|
2685
|
+
"name": "childPughScore",
|
|
2686
|
+
"declaration": {
|
|
2687
|
+
"name": "childPughScore",
|
|
2688
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2689
|
+
}
|
|
2690
|
+
},
|
|
2691
|
+
{
|
|
2692
|
+
"kind": "js",
|
|
2693
|
+
"name": "calculateGFRFromCreatinine",
|
|
2694
|
+
"declaration": {
|
|
2695
|
+
"name": "calculateGFRFromCreatinine",
|
|
2696
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"kind": "js",
|
|
2701
|
+
"name": "calculateCreatinineFromGFR",
|
|
2702
|
+
"declaration": {
|
|
2703
|
+
"name": "calculateCreatinineFromGFR",
|
|
2704
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2705
|
+
}
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "js",
|
|
2709
|
+
"name": "getPatientMedicalInfo",
|
|
2710
|
+
"declaration": {
|
|
2711
|
+
"name": "getPatientMedicalInfo",
|
|
2712
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2713
|
+
}
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
"kind": "js",
|
|
2717
|
+
"name": "getPatientInfo",
|
|
2718
|
+
"declaration": {
|
|
2719
|
+
"name": "getPatientInfo",
|
|
2720
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
2744
2721
|
}
|
|
2745
2722
|
}
|
|
2746
2723
|
]
|