@claudebernard/patient-profile-element 0.0.1
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/README.md +10 -0
- package/dist/custom-elements.json +823 -0
- package/dist/patient-profile.d.ts +24 -0
- package/dist/patient-profile.es.js +1017 -0
- package/package.json +146 -0
|
@@ -0,0 +1,823 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/patient-profile/patient-profile.stories.ts",
|
|
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 ></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 },\n args: {\n patientProfile: patientComplete,\n },\n}"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"kind": "variable",
|
|
19
|
+
"name": "Base",
|
|
20
|
+
"type": {
|
|
21
|
+
"text": "Story"
|
|
22
|
+
},
|
|
23
|
+
"default": "{\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(\"41 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 const testInput = component?.shadowRoot?.getElementById(\"test\") as HTMLInputElement | null;\n if (testInput) {\n testInput.value = \"pour\";\n testInput.dispatchEvent(new Event(\"input\")); // Trigger input event if needed\n }\n\n await step(\"Verify the content of more information section\", () => {\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, Insuffisance rénale aigüe, 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(\"60 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(\"51.81 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}"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"kind": "variable",
|
|
27
|
+
"name": "WithoutEditButton",
|
|
28
|
+
"type": {
|
|
29
|
+
"text": "Story"
|
|
30
|
+
},
|
|
31
|
+
"default": "{\n args: {\n patientProfile: patientComplete,\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
|
+
"exports": [
|
|
35
|
+
{
|
|
36
|
+
"kind": "js",
|
|
37
|
+
"name": "default",
|
|
38
|
+
"declaration": {
|
|
39
|
+
"name": "meta",
|
|
40
|
+
"module": "src/patient-profile/patient-profile.stories.ts"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"kind": "js",
|
|
45
|
+
"name": "Base",
|
|
46
|
+
"declaration": {
|
|
47
|
+
"name": "Base",
|
|
48
|
+
"module": "src/patient-profile/patient-profile.stories.ts"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"kind": "js",
|
|
53
|
+
"name": "WithoutEditButton",
|
|
54
|
+
"declaration": {
|
|
55
|
+
"name": "WithoutEditButton",
|
|
56
|
+
"module": "src/patient-profile/patient-profile.stories.ts"
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"kind": "javascript-module",
|
|
63
|
+
"path": "src/patient-profile/patient-profile.ts",
|
|
64
|
+
"declarations": [
|
|
65
|
+
{
|
|
66
|
+
"kind": "class",
|
|
67
|
+
"description": "",
|
|
68
|
+
"name": "PatientProfile",
|
|
69
|
+
"members": [
|
|
70
|
+
{
|
|
71
|
+
"kind": "field",
|
|
72
|
+
"name": "patientProfile",
|
|
73
|
+
"type": {
|
|
74
|
+
"text": "Bundle | undefined"
|
|
75
|
+
},
|
|
76
|
+
"attribute": "patient-profile"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"kind": "field",
|
|
80
|
+
"name": "editButtonVisible",
|
|
81
|
+
"type": {
|
|
82
|
+
"text": "boolean | undefined"
|
|
83
|
+
},
|
|
84
|
+
"default": "true",
|
|
85
|
+
"attribute": "edit-button-visible"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"kind": "field",
|
|
89
|
+
"name": "moreInformationVisible",
|
|
90
|
+
"type": {
|
|
91
|
+
"text": "boolean"
|
|
92
|
+
},
|
|
93
|
+
"default": "false"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"kind": "method",
|
|
97
|
+
"name": "handleMoreInformation",
|
|
98
|
+
"return": {
|
|
99
|
+
"type": {
|
|
100
|
+
"text": "void"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"kind": "method",
|
|
106
|
+
"name": "displayRenalInsufficiencyStatus"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"kind": "method",
|
|
110
|
+
"name": "displayCreatininemieSection"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "method",
|
|
114
|
+
"name": "displayPathologies"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"kind": "method",
|
|
118
|
+
"name": "displayAllergies"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"attributes": [
|
|
122
|
+
{
|
|
123
|
+
"name": "patient-profile",
|
|
124
|
+
"type": {
|
|
125
|
+
"text": "Bundle | undefined"
|
|
126
|
+
},
|
|
127
|
+
"fieldName": "patientProfile"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "edit-button-visible",
|
|
131
|
+
"type": {
|
|
132
|
+
"text": "boolean | undefined"
|
|
133
|
+
},
|
|
134
|
+
"default": "true",
|
|
135
|
+
"fieldName": "editButtonVisible"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"superclass": {
|
|
139
|
+
"name": "LitElement",
|
|
140
|
+
"package": "lit"
|
|
141
|
+
},
|
|
142
|
+
"tagName": "bcb-patient-profile",
|
|
143
|
+
"customElement": true
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"exports": [
|
|
147
|
+
{
|
|
148
|
+
"kind": "js",
|
|
149
|
+
"name": "PatientProfile",
|
|
150
|
+
"declaration": {
|
|
151
|
+
"name": "PatientProfile",
|
|
152
|
+
"module": "src/patient-profile/patient-profile.ts"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "custom-element-definition",
|
|
157
|
+
"name": "bcb-patient-profile",
|
|
158
|
+
"declaration": {
|
|
159
|
+
"name": "PatientProfile",
|
|
160
|
+
"module": "src/patient-profile/patient-profile.ts"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"kind": "javascript-module",
|
|
167
|
+
"path": "src/shared/constants/loinc.ts",
|
|
168
|
+
"declarations": [
|
|
169
|
+
{
|
|
170
|
+
"kind": "variable",
|
|
171
|
+
"name": "acceptedLoincCodesForRenalClearance",
|
|
172
|
+
"type": {
|
|
173
|
+
"text": "string[]"
|
|
174
|
+
},
|
|
175
|
+
"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]"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"kind": "variable",
|
|
179
|
+
"name": "acceptedLoincCodesForRenalGFR",
|
|
180
|
+
"type": {
|
|
181
|
+
"text": "string[]"
|
|
182
|
+
},
|
|
183
|
+
"default": "[\n \"69405-9\",\n \"70969-1\",\n]"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"kind": "variable",
|
|
187
|
+
"name": "acceptedLoincCodesForRenalGFRPerBSA",
|
|
188
|
+
"type": {
|
|
189
|
+
"text": "string[]"
|
|
190
|
+
},
|
|
191
|
+
"default": "[\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]"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"exports": [
|
|
195
|
+
{
|
|
196
|
+
"kind": "js",
|
|
197
|
+
"name": "acceptedLoincCodesForRenalClearance",
|
|
198
|
+
"declaration": {
|
|
199
|
+
"name": "acceptedLoincCodesForRenalClearance",
|
|
200
|
+
"module": "src/shared/constants/loinc.ts"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "js",
|
|
205
|
+
"name": "acceptedLoincCodesForRenalGFR",
|
|
206
|
+
"declaration": {
|
|
207
|
+
"name": "acceptedLoincCodesForRenalGFR",
|
|
208
|
+
"module": "src/shared/constants/loinc.ts"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"kind": "js",
|
|
213
|
+
"name": "acceptedLoincCodesForRenalGFRPerBSA",
|
|
214
|
+
"declaration": {
|
|
215
|
+
"name": "acceptedLoincCodesForRenalGFRPerBSA",
|
|
216
|
+
"module": "src/shared/constants/loinc.ts"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"kind": "javascript-module",
|
|
223
|
+
"path": "src/shared/constants/settings.ts",
|
|
224
|
+
"declarations": [
|
|
225
|
+
{
|
|
226
|
+
"kind": "variable",
|
|
227
|
+
"name": "PREFIX",
|
|
228
|
+
"type": {
|
|
229
|
+
"text": "string"
|
|
230
|
+
},
|
|
231
|
+
"default": "\"claudebernard\""
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"exports": [
|
|
235
|
+
{
|
|
236
|
+
"kind": "js",
|
|
237
|
+
"name": "PREFIX",
|
|
238
|
+
"declaration": {
|
|
239
|
+
"name": "PREFIX",
|
|
240
|
+
"module": "src/shared/constants/settings.ts"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"kind": "javascript-module",
|
|
247
|
+
"path": "src/shared/mocks/patient-profile.mock.ts",
|
|
248
|
+
"declarations": [
|
|
249
|
+
{
|
|
250
|
+
"kind": "variable",
|
|
251
|
+
"name": "patientComplete",
|
|
252
|
+
"type": {
|
|
253
|
+
"text": "Bundle"
|
|
254
|
+
},
|
|
255
|
+
"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: 60,\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: 141,\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.6,\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: \"48643-1\",\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 among black population\",\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]\", // Most used Loinc code for Child-Pugh score allowing to calculate hepatic insufficiency status\n },\n ],\n text: \"Score total Child-Pugh\",\n },\n subject: { reference: \"Patient/patient-complete\" },\n valueQuantity: {\n value: 7,\n unit: \"score\",\n system: \"http://unitsofmeasure.org\",\n code: \"{score}\",\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-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}"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"exports": [
|
|
259
|
+
{
|
|
260
|
+
"kind": "js",
|
|
261
|
+
"name": "patientComplete",
|
|
262
|
+
"declaration": {
|
|
263
|
+
"name": "patientComplete",
|
|
264
|
+
"module": "src/shared/mocks/patient-profile.mock.ts"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
]
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"kind": "javascript-module",
|
|
271
|
+
"path": "src/shared/interfaces/patient.ts",
|
|
272
|
+
"declarations": [],
|
|
273
|
+
"exports": []
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"kind": "javascript-module",
|
|
277
|
+
"path": "src/shared/utils/patient-fhir-utils.ts",
|
|
278
|
+
"declarations": [
|
|
279
|
+
{
|
|
280
|
+
"kind": "function",
|
|
281
|
+
"name": "calculateBMI",
|
|
282
|
+
"return": {
|
|
283
|
+
"type": {
|
|
284
|
+
"text": ""
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"parameters": [
|
|
288
|
+
{
|
|
289
|
+
"name": "weight",
|
|
290
|
+
"type": {
|
|
291
|
+
"text": "number"
|
|
292
|
+
},
|
|
293
|
+
"description": "Poids en kilogrammes"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "height",
|
|
297
|
+
"type": {
|
|
298
|
+
"text": "number"
|
|
299
|
+
},
|
|
300
|
+
"description": "Taille en centimètres"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"description": "Calcule l'IMC à partir du poids et de la taille"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"kind": "function",
|
|
307
|
+
"name": "getPatientGender",
|
|
308
|
+
"return": {
|
|
309
|
+
"type": {
|
|
310
|
+
"text": ""
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"parameters": [
|
|
314
|
+
{
|
|
315
|
+
"name": "bundle",
|
|
316
|
+
"type": {
|
|
317
|
+
"text": "Bundle | undefined"
|
|
318
|
+
},
|
|
319
|
+
"description": "Bundle Patient FHIR"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"description": "Extrait le sexe du patient FHIR"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"kind": "function",
|
|
326
|
+
"name": "getPatientName",
|
|
327
|
+
"return": {
|
|
328
|
+
"type": {
|
|
329
|
+
"text": ""
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"parameters": [
|
|
333
|
+
{
|
|
334
|
+
"name": "bundle",
|
|
335
|
+
"type": {
|
|
336
|
+
"text": "Bundle | undefined"
|
|
337
|
+
},
|
|
338
|
+
"description": "Bundle Patient FHIR"
|
|
339
|
+
}
|
|
340
|
+
],
|
|
341
|
+
"description": "Extrait le nom du patient FHIR"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"kind": "function",
|
|
345
|
+
"name": "getPatientAge",
|
|
346
|
+
"return": {
|
|
347
|
+
"type": {
|
|
348
|
+
"text": ""
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"parameters": [
|
|
352
|
+
{
|
|
353
|
+
"name": "bundle",
|
|
354
|
+
"type": {
|
|
355
|
+
"text": "Bundle | undefined"
|
|
356
|
+
},
|
|
357
|
+
"description": "Bundle Patient FHIR"
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"description": "Calcule l'âge du patient à partir de sa date de naissance"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"kind": "function",
|
|
364
|
+
"name": "getPatientWeight",
|
|
365
|
+
"return": {
|
|
366
|
+
"type": {
|
|
367
|
+
"text": ""
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"parameters": [
|
|
371
|
+
{
|
|
372
|
+
"name": "bundle",
|
|
373
|
+
"type": {
|
|
374
|
+
"text": "Bundle | undefined"
|
|
375
|
+
},
|
|
376
|
+
"description": "Bundle Patient FHIR"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"description": "Extrait le poids du patient depuis la ressource Observation concernée"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"kind": "function",
|
|
383
|
+
"name": "getPatientWeightWithUnit",
|
|
384
|
+
"return": {
|
|
385
|
+
"type": {
|
|
386
|
+
"text": ""
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"parameters": [
|
|
390
|
+
{
|
|
391
|
+
"name": "bundle",
|
|
392
|
+
"type": {
|
|
393
|
+
"text": "Bundle | undefined"
|
|
394
|
+
},
|
|
395
|
+
"description": "Bundle Patient FHIR"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"description": "Extrait le poids du patient (avec l'unité correspondante) depuis la ressource Observation concernée"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"kind": "function",
|
|
402
|
+
"name": "getPatientHeight",
|
|
403
|
+
"return": {
|
|
404
|
+
"type": {
|
|
405
|
+
"text": ""
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"parameters": [
|
|
409
|
+
{
|
|
410
|
+
"name": "bundle",
|
|
411
|
+
"type": {
|
|
412
|
+
"text": "Bundle | undefined"
|
|
413
|
+
},
|
|
414
|
+
"description": "Bundle Patient FHIR"
|
|
415
|
+
}
|
|
416
|
+
],
|
|
417
|
+
"description": "Extrait la taille du patient depuis la ressource Observation concernée"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"kind": "function",
|
|
421
|
+
"name": "getPatientHeightWithUnit",
|
|
422
|
+
"return": {
|
|
423
|
+
"type": {
|
|
424
|
+
"text": ""
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"parameters": [
|
|
428
|
+
{
|
|
429
|
+
"name": "bundle",
|
|
430
|
+
"type": {
|
|
431
|
+
"text": "Bundle | undefined"
|
|
432
|
+
},
|
|
433
|
+
"description": "Bundle Patient FHIR"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"description": "Extrait la taille du patient (avec l'unité correspondante) depuis la ressource Observation concernée"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"kind": "function",
|
|
440
|
+
"name": "getPatientPregnancyStatus",
|
|
441
|
+
"return": {
|
|
442
|
+
"type": {
|
|
443
|
+
"text": ""
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
"parameters": [
|
|
447
|
+
{
|
|
448
|
+
"name": "bundle",
|
|
449
|
+
"type": {
|
|
450
|
+
"text": "Bundle | undefined"
|
|
451
|
+
},
|
|
452
|
+
"description": "Bundle Patient FHIR"
|
|
453
|
+
}
|
|
454
|
+
],
|
|
455
|
+
"description": "Extrait le statut de grossesse du patient depuis la ressource Observation ou Condition concernée"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"kind": "function",
|
|
459
|
+
"name": "getPatientAmenorrheaStatus",
|
|
460
|
+
"return": {
|
|
461
|
+
"type": {
|
|
462
|
+
"text": ""
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"parameters": [
|
|
466
|
+
{
|
|
467
|
+
"name": "bundle",
|
|
468
|
+
"type": {
|
|
469
|
+
"text": "Bundle | undefined"
|
|
470
|
+
},
|
|
471
|
+
"description": "Bundle Patient FHIR"
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"description": "Extrait le statut d'aménorrhée du patient depuis la ressource Observation concernée"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"kind": "function",
|
|
478
|
+
"name": "getPatientBreastfeedingStatus",
|
|
479
|
+
"return": {
|
|
480
|
+
"type": {
|
|
481
|
+
"text": ""
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"parameters": [
|
|
485
|
+
{
|
|
486
|
+
"name": "bundle",
|
|
487
|
+
"type": {
|
|
488
|
+
"text": "Bundle | undefined"
|
|
489
|
+
},
|
|
490
|
+
"description": "Bundle Patient FHIR"
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"description": "Extrait le statut d'allaitement du patient depuis la ressource Observation concernée"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"kind": "function",
|
|
497
|
+
"name": "getPatientRenalInsufficiencyStatus",
|
|
498
|
+
"return": {
|
|
499
|
+
"type": {
|
|
500
|
+
"text": "PatientRenalStatus"
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
"parameters": [
|
|
504
|
+
{
|
|
505
|
+
"name": "bundle",
|
|
506
|
+
"type": {
|
|
507
|
+
"text": "Bundle | undefined"
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
]
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"kind": "function",
|
|
514
|
+
"name": "getCreatinine",
|
|
515
|
+
"return": {
|
|
516
|
+
"type": {
|
|
517
|
+
"text": "Quantity[]"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"parameters": [
|
|
521
|
+
{
|
|
522
|
+
"name": "bundle",
|
|
523
|
+
"type": {
|
|
524
|
+
"text": "Bundle | undefined"
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"kind": "function",
|
|
531
|
+
"name": "getPatientHepaticInsufficiencyStatus",
|
|
532
|
+
"return": {
|
|
533
|
+
"type": {
|
|
534
|
+
"text": "string"
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
"parameters": [
|
|
538
|
+
{
|
|
539
|
+
"name": "bundle",
|
|
540
|
+
"type": {
|
|
541
|
+
"text": "Bundle | undefined"
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
]
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"kind": "function",
|
|
548
|
+
"name": "getPatientConditions",
|
|
549
|
+
"return": {
|
|
550
|
+
"type": {
|
|
551
|
+
"text": ""
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"parameters": [
|
|
555
|
+
{
|
|
556
|
+
"name": "patient",
|
|
557
|
+
"type": {
|
|
558
|
+
"text": "Bundle | undefined"
|
|
559
|
+
},
|
|
560
|
+
"description": "Bundle Patient FHIR"
|
|
561
|
+
}
|
|
562
|
+
],
|
|
563
|
+
"description": "Extrait les conditions médicales/terrains du patient depuis les extensions FHIR"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"kind": "function",
|
|
567
|
+
"name": "getPatientAllergies",
|
|
568
|
+
"return": {
|
|
569
|
+
"type": {
|
|
570
|
+
"text": ""
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
"parameters": [
|
|
574
|
+
{
|
|
575
|
+
"name": "patient",
|
|
576
|
+
"type": {
|
|
577
|
+
"text": "Bundle | undefined"
|
|
578
|
+
},
|
|
579
|
+
"description": "Bundle Patient FHIR"
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
"description": "Extrait les allergies du patient depuis les extensions FHIR"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"kind": "function",
|
|
586
|
+
"name": "getPatientAdverseEvents",
|
|
587
|
+
"return": {
|
|
588
|
+
"type": {
|
|
589
|
+
"text": "string[]"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
"parameters": [
|
|
593
|
+
{
|
|
594
|
+
"name": "patient",
|
|
595
|
+
"type": {
|
|
596
|
+
"text": "Bundle | undefined"
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
]
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"kind": "function",
|
|
603
|
+
"name": "getPatientDemographics",
|
|
604
|
+
"return": {
|
|
605
|
+
"type": {
|
|
606
|
+
"text": ""
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"parameters": [
|
|
610
|
+
{
|
|
611
|
+
"name": "bundle",
|
|
612
|
+
"type": {
|
|
613
|
+
"text": "Bundle | undefined"
|
|
614
|
+
},
|
|
615
|
+
"description": "Bundle FHIR"
|
|
616
|
+
}
|
|
617
|
+
],
|
|
618
|
+
"description": "Extrait les informations démographiques complètes du patient"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"kind": "function",
|
|
622
|
+
"name": "getPatientMedicalInfo",
|
|
623
|
+
"return": {
|
|
624
|
+
"type": {
|
|
625
|
+
"text": ""
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
"parameters": [
|
|
629
|
+
{
|
|
630
|
+
"name": "patient",
|
|
631
|
+
"type": {
|
|
632
|
+
"text": "Bundle | undefined"
|
|
633
|
+
},
|
|
634
|
+
"description": "Bundle Patient FHIR"
|
|
635
|
+
}
|
|
636
|
+
],
|
|
637
|
+
"description": "Extrait les informations médicales complètes du patient"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
"kind": "function",
|
|
641
|
+
"name": "getPatientInfo",
|
|
642
|
+
"return": {
|
|
643
|
+
"type": {
|
|
644
|
+
"text": ""
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
"parameters": [
|
|
648
|
+
{
|
|
649
|
+
"name": "bundle",
|
|
650
|
+
"type": {
|
|
651
|
+
"text": "Bundle | undefined"
|
|
652
|
+
},
|
|
653
|
+
"description": "Bundle FHIR"
|
|
654
|
+
}
|
|
655
|
+
],
|
|
656
|
+
"description": "Extrait toutes les informations du patient (démographiques + médicales)"
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"exports": [
|
|
660
|
+
{
|
|
661
|
+
"kind": "js",
|
|
662
|
+
"name": "calculateBMI",
|
|
663
|
+
"declaration": {
|
|
664
|
+
"name": "calculateBMI",
|
|
665
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"kind": "js",
|
|
670
|
+
"name": "getPatientGender",
|
|
671
|
+
"declaration": {
|
|
672
|
+
"name": "getPatientGender",
|
|
673
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
674
|
+
}
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"kind": "js",
|
|
678
|
+
"name": "getPatientName",
|
|
679
|
+
"declaration": {
|
|
680
|
+
"name": "getPatientName",
|
|
681
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"kind": "js",
|
|
686
|
+
"name": "getPatientAge",
|
|
687
|
+
"declaration": {
|
|
688
|
+
"name": "getPatientAge",
|
|
689
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"kind": "js",
|
|
694
|
+
"name": "getPatientWeight",
|
|
695
|
+
"declaration": {
|
|
696
|
+
"name": "getPatientWeight",
|
|
697
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"kind": "js",
|
|
702
|
+
"name": "getPatientWeightWithUnit",
|
|
703
|
+
"declaration": {
|
|
704
|
+
"name": "getPatientWeightWithUnit",
|
|
705
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"kind": "js",
|
|
710
|
+
"name": "getPatientHeight",
|
|
711
|
+
"declaration": {
|
|
712
|
+
"name": "getPatientHeight",
|
|
713
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
714
|
+
}
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"kind": "js",
|
|
718
|
+
"name": "getPatientHeightWithUnit",
|
|
719
|
+
"declaration": {
|
|
720
|
+
"name": "getPatientHeightWithUnit",
|
|
721
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"kind": "js",
|
|
726
|
+
"name": "getPatientPregnancyStatus",
|
|
727
|
+
"declaration": {
|
|
728
|
+
"name": "getPatientPregnancyStatus",
|
|
729
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"kind": "js",
|
|
734
|
+
"name": "getPatientAmenorrheaStatus",
|
|
735
|
+
"declaration": {
|
|
736
|
+
"name": "getPatientAmenorrheaStatus",
|
|
737
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"kind": "js",
|
|
742
|
+
"name": "getPatientBreastfeedingStatus",
|
|
743
|
+
"declaration": {
|
|
744
|
+
"name": "getPatientBreastfeedingStatus",
|
|
745
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"kind": "js",
|
|
750
|
+
"name": "getPatientRenalInsufficiencyStatus",
|
|
751
|
+
"declaration": {
|
|
752
|
+
"name": "getPatientRenalInsufficiencyStatus",
|
|
753
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"kind": "js",
|
|
758
|
+
"name": "getCreatinine",
|
|
759
|
+
"declaration": {
|
|
760
|
+
"name": "getCreatinine",
|
|
761
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"kind": "js",
|
|
766
|
+
"name": "getPatientHepaticInsufficiencyStatus",
|
|
767
|
+
"declaration": {
|
|
768
|
+
"name": "getPatientHepaticInsufficiencyStatus",
|
|
769
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"kind": "js",
|
|
774
|
+
"name": "getPatientConditions",
|
|
775
|
+
"declaration": {
|
|
776
|
+
"name": "getPatientConditions",
|
|
777
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"kind": "js",
|
|
782
|
+
"name": "getPatientAllergies",
|
|
783
|
+
"declaration": {
|
|
784
|
+
"name": "getPatientAllergies",
|
|
785
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"kind": "js",
|
|
790
|
+
"name": "getPatientAdverseEvents",
|
|
791
|
+
"declaration": {
|
|
792
|
+
"name": "getPatientAdverseEvents",
|
|
793
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"kind": "js",
|
|
798
|
+
"name": "getPatientDemographics",
|
|
799
|
+
"declaration": {
|
|
800
|
+
"name": "getPatientDemographics",
|
|
801
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"kind": "js",
|
|
806
|
+
"name": "getPatientMedicalInfo",
|
|
807
|
+
"declaration": {
|
|
808
|
+
"name": "getPatientMedicalInfo",
|
|
809
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"kind": "js",
|
|
814
|
+
"name": "getPatientInfo",
|
|
815
|
+
"declaration": {
|
|
816
|
+
"name": "getPatientInfo",
|
|
817
|
+
"module": "src/shared/utils/patient-fhir-utils.ts"
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
]
|
|
821
|
+
}
|
|
822
|
+
]
|
|
823
|
+
}
|