@openmrs/esm-laboratory-app 1.0.1-pre.99 → 1.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.
Files changed (304) hide show
  1. package/.eslintignore +2 -2
  2. package/.eslintrc +47 -10
  3. package/.husky/pre-commit +4 -1
  4. package/.prettierignore +0 -2
  5. package/.prettierrc +8 -0
  6. package/.tx/config +11 -0
  7. package/README.md +20 -11
  8. package/dist/1448.js +1 -0
  9. package/dist/1556.js +2 -0
  10. package/dist/{894.js.LICENSE.txt → 1556.js.LICENSE.txt} +5 -23
  11. package/dist/1556.js.map +1 -0
  12. package/dist/1636.js +1 -0
  13. package/dist/1636.js.map +1 -0
  14. package/dist/1708.js +1 -0
  15. package/dist/1708.js.map +1 -0
  16. package/dist/1800.js +1 -0
  17. package/dist/1800.js.map +1 -0
  18. package/dist/2156.js +1 -0
  19. package/dist/2156.js.map +1 -0
  20. package/dist/2328.js +1 -0
  21. package/dist/2636.js +1 -0
  22. package/dist/2636.js.map +1 -0
  23. package/dist/2664.js +1 -0
  24. package/dist/2816.js +1 -0
  25. package/dist/3240.js +1 -0
  26. package/dist/3264.js +1 -0
  27. package/dist/3264.js.map +1 -0
  28. package/dist/370.js +1 -0
  29. package/dist/3724.js +1 -0
  30. package/dist/3724.js.map +1 -0
  31. package/dist/3872.js +1 -0
  32. package/dist/{395.js → 400.js} +1 -1
  33. package/dist/{395.js.map → 400.js.map} +1 -1
  34. package/dist/436.js +2 -0
  35. package/dist/{56.js.LICENSE.txt → 436.js.LICENSE.txt} +3 -3
  36. package/dist/436.js.map +1 -0
  37. package/dist/4412.js +1 -0
  38. package/dist/4592.js +1 -0
  39. package/dist/464.js +1 -0
  40. package/dist/4744.js +1 -0
  41. package/dist/5028.js +1 -0
  42. package/dist/5086.js +1 -0
  43. package/dist/5136.js +1 -0
  44. package/dist/5144.js +2 -0
  45. package/dist/5144.js.LICENSE.txt +9 -0
  46. package/dist/5144.js.map +1 -0
  47. package/dist/552.js +1 -0
  48. package/dist/6048.js +1 -0
  49. package/dist/6048.js.map +1 -0
  50. package/dist/6092.js +1 -0
  51. package/dist/6092.js.map +1 -0
  52. package/dist/6352.js +1 -0
  53. package/dist/6504.js +1 -0
  54. package/dist/6676.js +1 -0
  55. package/dist/6676.js.map +1 -0
  56. package/dist/6856.js +1 -0
  57. package/dist/6936.js +1 -0
  58. package/dist/7295.js +1 -0
  59. package/dist/7295.js.map +1 -0
  60. package/dist/7328.js +1 -0
  61. package/dist/7328.js.map +1 -0
  62. package/dist/744.js +1 -0
  63. package/dist/744.js.map +1 -0
  64. package/dist/7540.js +1 -0
  65. package/dist/7540.js.map +1 -0
  66. package/dist/764.js +1 -0
  67. package/dist/764.js.map +1 -0
  68. package/dist/7724.js +1 -0
  69. package/dist/7724.js.map +1 -0
  70. package/dist/8064.js +1 -0
  71. package/dist/8170.js +1 -0
  72. package/dist/8256.js +1 -0
  73. package/dist/8570.js +1 -0
  74. package/dist/8684.js +1 -0
  75. package/dist/8684.js.map +1 -0
  76. package/dist/8698.js +1 -0
  77. package/dist/8720.js +1 -0
  78. package/dist/8728.js +2 -0
  79. package/dist/{800.js.LICENSE.txt → 8728.js.LICENSE.txt} +2 -0
  80. package/dist/8728.js.map +1 -0
  81. package/dist/8936.js +1 -0
  82. package/dist/9064.js +2 -0
  83. package/dist/9064.js.LICENSE.txt +19 -0
  84. package/dist/9064.js.map +1 -0
  85. package/dist/9288.js +1 -0
  86. package/dist/9288.js.map +1 -0
  87. package/dist/9464.js +1 -0
  88. package/dist/9656.js +1 -0
  89. package/dist/9832.js +1 -0
  90. package/dist/9864.js +1 -0
  91. package/dist/9960.js +1 -0
  92. package/dist/main.js +1 -1
  93. package/dist/main.js.LICENSE.txt +6 -4
  94. package/dist/main.js.map +1 -1
  95. package/dist/openmrs-esm-laboratory-app.js +1 -1
  96. package/dist/openmrs-esm-laboratory-app.js.buildmanifest.json +898 -169
  97. package/dist/openmrs-esm-laboratory-app.js.map +1 -1
  98. package/dist/routes.json +1 -1
  99. package/i18next-parser.config.js +20 -22
  100. package/jest.config.js +10 -8
  101. package/package.json +25 -40
  102. package/src/components/create-dashboard-link.component.tsx +15 -20
  103. package/src/components/loader/loader.component.tsx +11 -0
  104. package/src/components/loader/loader.scss +9 -0
  105. package/src/components/orders-table/list-order-details.component.tsx +143 -0
  106. package/src/components/orders-table/list-order-details.scss +116 -0
  107. package/src/components/orders-table/order-detail.scss +18 -0
  108. package/src/components/orders-table/orders-data-table.component.tsx +224 -0
  109. package/src/components/orders-table/orders-data-table.resource.ts +25 -0
  110. package/src/components/orders-table/orders-data-table.scss +117 -0
  111. package/src/components/orders-table/orders-date-range-picker.component.tsx +37 -0
  112. package/src/components/orders-table/orders-date-range-picker.scss +15 -0
  113. package/src/components/overlay/overlay.component.tsx +11 -20
  114. package/src/components/overlay/overlay.scss +10 -11
  115. package/src/components/overlay/{hook.ts → store.ts} +4 -4
  116. package/src/components/summary-tile/lab-summary-tile.component.tsx +35 -0
  117. package/src/components/summary-tile/lab-summary-tile.scss +64 -0
  118. package/src/config-schema.ts +25 -25
  119. package/src/constants.ts +2 -5
  120. package/src/declarations.d.ts +4 -4
  121. package/src/index.ts +69 -59
  122. package/src/lab-tabs/actions/actions.scss +20 -0
  123. package/src/lab-tabs/actions/add-lab-request-results-action.component.tsx +38 -0
  124. package/src/lab-tabs/actions/edit-lab-request-results-action.component.tsx +26 -0
  125. package/src/lab-tabs/actions/pickup-lab-request-action.component.tsx +37 -0
  126. package/src/lab-tabs/actions/reject-lab-request-action.component.tsx +36 -0
  127. package/src/lab-tabs/actions/transition-patient-to-new-queue/transition-patient-to-new-queue.component.tsx +35 -0
  128. package/src/lab-tabs/actions/transition-patient-to-new-queue/transition-patient-to-new-queue.scss +13 -0
  129. package/src/lab-tabs/actions/transition-patient-to-new-queue/transition-patient-to-new-queue.test.tsx +64 -0
  130. package/src/lab-tabs/data-table-extensions/completed-lab-requests-table.extension.tsx +15 -0
  131. package/src/lab-tabs/data-table-extensions/declined-lab-requests-table-extension.tsx +15 -0
  132. package/src/lab-tabs/data-table-extensions/in-progress-lab-requests-table.extension.tsx +18 -0
  133. package/src/lab-tabs/data-table-extensions/tests-ordered-table.extension.tsx +18 -0
  134. package/src/lab-tabs/laboratory-tabs.component.tsx +73 -0
  135. package/src/lab-tabs/laboratory-tabs.scss +47 -0
  136. package/src/lab-tabs/modals/pickup-lab-request-modal.component.tsx +80 -0
  137. package/src/lab-tabs/modals/pickup-lab-request-modal.scss +29 -0
  138. package/src/lab-tabs/modals/reject-lab-request-modal.component.tsx +100 -0
  139. package/src/lab-tabs/modals/reject-lab-request-modal.scss +41 -0
  140. package/src/lab-tiles/all-lab-requests-tile.component.tsx +20 -0
  141. package/src/lab-tiles/completed-lab-requests-tile.component.tsx +19 -0
  142. package/src/lab-tiles/in-progress-lab-requests-tile.component.tsx +19 -0
  143. package/src/lab-tiles/laboratory-summary-tiles.component.tsx +38 -0
  144. package/src/lab-tiles/laboratory-summary-tiles.scss +16 -0
  145. package/src/laboratory-dashboard.component.tsx +32 -0
  146. package/src/laboratory-dashboard.scss +6 -0
  147. package/src/laboratory-resource.ts +94 -0
  148. package/src/root.component.tsx +4 -4
  149. package/src/routes.json +78 -25
  150. package/src/setup-tests.ts +1 -1
  151. package/src/types.ts +32 -0
  152. package/src/utils.ts +9 -0
  153. package/tools/i18next-parser.config.js +93 -0
  154. package/translations/am.json +68 -0
  155. package/translations/ar.json +68 -0
  156. package/translations/bn.json +68 -0
  157. package/translations/de.json +68 -0
  158. package/translations/en.json +59 -7
  159. package/translations/es.json +66 -1
  160. package/translations/fr.json +66 -1
  161. package/translations/he.json +68 -0
  162. package/translations/hi.json +68 -0
  163. package/translations/hi_IN.json +68 -0
  164. package/translations/id.json +68 -0
  165. package/translations/it.json +68 -0
  166. package/translations/km.json +68 -0
  167. package/translations/ku.json +68 -0
  168. package/translations/lg.json +68 -0
  169. package/translations/ne.json +68 -0
  170. package/translations/pt.json +68 -0
  171. package/translations/pt_BR.json +68 -0
  172. package/translations/qu.json +68 -0
  173. package/translations/ru_RU.json +68 -0
  174. package/translations/si.json +68 -0
  175. package/translations/sw.json +68 -0
  176. package/translations/sw_KE.json +68 -0
  177. package/translations/tr.json +68 -0
  178. package/translations/tr_TR.json +68 -0
  179. package/translations/uk.json +68 -0
  180. package/translations/uz.json +68 -0
  181. package/translations/uz_UZ.json +68 -0
  182. package/translations/vi.json +68 -0
  183. package/translations/zh.json +68 -0
  184. package/translations/zh_CN.json +68 -0
  185. package/tsconfig.json +2 -1
  186. package/turbo.json +15 -0
  187. package/webpack.config.js +7 -11
  188. package/.turbo/turbo-build.log +0 -30
  189. package/.turbo/turbo-lint.log +0 -12
  190. package/.turbo/turbo-typescript.log +0 -0
  191. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
  192. package/.yarn/plugins/@yarnpkg/plugin-version.cjs +0 -550
  193. package/.yarn/versions/8cb8b9c6.yml +0 -0
  194. package/assets/logo/logo.png +0 -0
  195. package/assets/logo/moh_logo_without_word.png +0 -0
  196. package/assets/screenshots/labs_enter_results.png +0 -0
  197. package/assets/screenshots/labs_general_dashboard.png +0 -0
  198. package/dist/142.js +0 -1
  199. package/dist/142.js.map +0 -1
  200. package/dist/319.js +0 -1
  201. package/dist/36.js +0 -1
  202. package/dist/36.js.map +0 -1
  203. package/dist/453.js +0 -1
  204. package/dist/453.js.map +0 -1
  205. package/dist/533.js +0 -1
  206. package/dist/533.js.map +0 -1
  207. package/dist/56.js +0 -2
  208. package/dist/56.js.map +0 -1
  209. package/dist/572.js +0 -1
  210. package/dist/572.js.map +0 -1
  211. package/dist/574.js +0 -1
  212. package/dist/581.js +0 -1
  213. package/dist/581.js.map +0 -1
  214. package/dist/66.js +0 -1
  215. package/dist/66.js.map +0 -1
  216. package/dist/757.js +0 -1
  217. package/dist/769.js +0 -1
  218. package/dist/769.js.map +0 -1
  219. package/dist/770.js +0 -1
  220. package/dist/770.js.map +0 -1
  221. package/dist/800.js +0 -2
  222. package/dist/800.js.map +0 -1
  223. package/dist/809.js +0 -1
  224. package/dist/809.js.map +0 -1
  225. package/dist/889.js +0 -1
  226. package/dist/889.js.map +0 -1
  227. package/dist/894.js +0 -2
  228. package/dist/894.js.map +0 -1
  229. package/dist/924.js +0 -1
  230. package/dist/924.js.map +0 -1
  231. package/dist/928.js +0 -1
  232. package/dist/928.js.map +0 -1
  233. package/dist/967b98e46b0984c4.png +0 -0
  234. package/dist/97.js +0 -1
  235. package/dist/97.js.map +0 -1
  236. package/dist/983.js +0 -1
  237. package/dist/983.js.map +0 -1
  238. package/src/completed-list/completed-list.component.tsx +0 -242
  239. package/src/completed-list/completed-list.resource.ts +0 -0
  240. package/src/completed-list/completed-list.scss +0 -232
  241. package/src/header/laboratory-header.component.tsx +0 -35
  242. package/src/header/laboratory-header.scss +0 -68
  243. package/src/header/laboratory-illustration.component.tsx +0 -13
  244. package/src/laboratory.component.tsx +0 -18
  245. package/src/patient-chart/laboratory-item/view-laboratory-item.component.tsx +0 -39
  246. package/src/patient-chart/laboratory-item/view-laboratory-item.resource.ts +0 -290
  247. package/src/patient-chart/laboratory-item/view-laboratory-item.scss +0 -0
  248. package/src/patient-chart/laboratory-order.component.tsx +0 -453
  249. package/src/patient-chart/laboratory-order.resource.ts +0 -437
  250. package/src/patient-chart/laboratory-order.scss +0 -66
  251. package/src/patient-chart/results-summary/print-results-summary.component.tsx +0 -240
  252. package/src/patient-chart/results-summary/print-results-summary.scss +0 -105
  253. package/src/patient-chart/results-summary/print-results-table.component.tsx +0 -163
  254. package/src/patient-chart/results-summary/results/results.component.tsx +0 -25
  255. package/src/patient-chart/results-summary/results/results.resource.ts +0 -50
  256. package/src/patient-chart/results-summary/results/results.scss +0 -0
  257. package/src/patient-chart/results-summary/results-dialog/edit-results-dialog.component.tsx +0 -46
  258. package/src/patient-chart/results-summary/results-summary.component.tsx +0 -98
  259. package/src/patient-chart/results-summary/results-summary.resource.tsx +0 -185
  260. package/src/patient-chart/results-summary/results-summary.scss +0 -154
  261. package/src/patient-chart/results-summary/send-email-dialog.component.tsx +0 -111
  262. package/src/patient-chart/results-summary/test-children-results.component.tsx +0 -221
  263. package/src/patient-chart/results-summary/test-print-results-table.component.tsx +0 -148
  264. package/src/patient-chart/results-summary/test-results-delete-action-menu.component.tsx +0 -27
  265. package/src/patient-chart/results-summary/test-results-rescend-action-menu.component.tsx +0 -26
  266. package/src/patient-chart/results-summary/test-results-table.component.tsx +0 -153
  267. package/src/patient-chart/results-summary/tests-children-detail.component.tsx +0 -54
  268. package/src/patient-chart/results-summary/views/email.handlebars +0 -13
  269. package/src/queue-list/lab-dialogs/add-to-worklist-dialog.component.tsx +0 -323
  270. package/src/queue-list/lab-dialogs/add-to-worklist-dialog.resource.ts +0 -155
  271. package/src/queue-list/lab-dialogs/add-to-worklist-dialog.scss +0 -20
  272. package/src/queue-list/lab-tests/lab-tests.component.tsx +0 -116
  273. package/src/queue-list/lab-tests/lab-tests.resource.ts +0 -17
  274. package/src/queue-list/lab-tests/lab-tests.scss +0 -12
  275. package/src/queue-list/laboratory-patient-list.component.tsx +0 -277
  276. package/src/queue-list/laboratory-patient-list.resource.ts +0 -86
  277. package/src/queue-list/laboratory-queue.component.tsx +0 -120
  278. package/src/queue-list/laboratory-queue.scss +0 -213
  279. package/src/queue-list/laboratory-tabs.component.tsx +0 -81
  280. package/src/queue-list/pick-lab-request-menu.component.tsx +0 -38
  281. package/src/reject-order/reject-order-dialog.component.tsx +0 -114
  282. package/src/reject-order/reject-order-dialog.resource.ts +0 -14
  283. package/src/reject-order/reject-order-dialog.scss +0 -14
  284. package/src/results/result-form.component.tsx +0 -223
  285. package/src/results/result-form.resource.ts +0 -328
  286. package/src/results/result-form.scss +0 -19
  287. package/src/review-list/dialog/review-item.component.tsx +0 -283
  288. package/src/review-list/dialog/review-item.resource.ts +0 -14
  289. package/src/review-list/dialog/review-item.scss +0 -0
  290. package/src/review-list/review-list.component.tsx +0 -277
  291. package/src/review-list/review-list.resource.ts +0 -0
  292. package/src/review-list/review-list.scss +0 -189
  293. package/src/root.scss +0 -50
  294. package/src/summary-tiles/laboratory-summary-tiles.component.tsx +0 -53
  295. package/src/summary-tiles/laboratory-summary-tiles.scss +0 -12
  296. package/src/summary-tiles/laboratory-summary.resource.tsx +0 -50
  297. package/src/summary-tiles/summary-tile.component.tsx +0 -48
  298. package/src/summary-tiles/summary-tile.scss +0 -43
  299. package/src/types/index.ts +0 -412
  300. package/src/types/patient-queues.ts +0 -189
  301. package/src/utils/functions.ts +0 -246
  302. package/src/work-list/work-list.component.tsx +0 -310
  303. package/src/work-list/work-list.resource.ts +0 -136
  304. package/src/work-list/work-list.scss +0 -215
package/.eslintignore CHANGED
@@ -1,2 +1,2 @@
1
- src/**/*.test.tsx
2
- **/*.d.tsx
1
+ **/*.d.ts
2
+ **/node_modules/**/*
package/.eslintrc CHANGED
@@ -1,32 +1,69 @@
1
1
  {
2
- "extends": ["ts-react-important-stuff", "plugin:prettier/recommended"],
2
+ "env": {
3
+ "node": true
4
+ },
5
+ "extends": [
6
+ "eslint:recommended",
7
+ "plugin:@typescript-eslint/recommended"
8
+ ],
3
9
  "parser": "@typescript-eslint/parser",
4
- "ignorePatterns": ["**/*.test.tsx"],
10
+ "parserOptions": {
11
+ "project": true,
12
+ "tsconfigRootDir": "__dirname"
13
+ },
14
+ "plugins": ["@typescript-eslint", "import", "react-hooks"],
15
+ "root": true,
5
16
  "rules": {
17
+ // The following rules need `noImplicitAny` to be set to `true` in our tsconfig. They are too restrictive for now, but should be reconsidered in future
18
+ "@typescript-eslint/ban-types": "off",
19
+ "@typescript-eslint/ban-ts-comment": "off",
20
+ "@typescript-eslint/no-explicit-any": "off",
21
+ "@typescript-eslint/no-floating-promises": "off",
22
+ "@typescript-eslint/no-unsafe-argument": "off",
23
+ "@typescript-eslint/no-unsafe-assignment": "off",
24
+ "@typescript-eslint/no-unsafe-call": "off",
25
+ "@typescript-eslint/no-unsafe-member-access": "off",
26
+ "@typescript-eslint/no-unsafe-return": "off",
27
+ "@typescript-eslint/no-unused-vars": "off",
28
+ "@typescript-eslint/unbound-method": "off",
29
+ "@typescript-eslint/consistent-type-definitions": "off",
30
+ "@typescript-eslint/consistent-type-exports": "error",
31
+ // Use `import type` instead of `import` for type imports
32
+ "@typescript-eslint/consistent-type-imports": [
33
+ "error",
34
+ {
35
+ "fixStyle": "inline-type-imports"
36
+ }
37
+ ],
38
+ "import/no-duplicates": "error",
39
+ "no-console": ["error", { "allow": ["warn", "error"] }],
6
40
  "no-restricted-imports": [
7
41
  "error",
8
42
  {
9
43
  "paths": [
44
+ // These two rules ensure that we're importing lodash and lodash-es correctly. Not doing so can bloat our bundle size significantly.
10
45
  {
11
46
  "name": "lodash",
12
- "message": "Import specific methods from `lodash-es`. e.g. `import map from 'lodash-es/map'`"
47
+ "message": "Import specific methods from `lodash`. e.g. `import map from 'lodash/map'`"
13
48
  },
14
49
  {
15
50
  "name": "lodash-es",
16
- "message": "Import specific methods from `lodash-es`. e.g. `import map from 'lodash-es/map'`"
17
- }
18
- ],
19
- "patterns": [
51
+ "importNames": ["default"],
52
+ "message": "Import specific methods from `lodash-es`. e.g. `import { map } from 'lodash-es'`"
53
+ },
54
+ // These two rules ensure that we're importing Carbon components and icons from the correct packages (after v10). May be removed in the future.
20
55
  {
21
- "group": ["carbon-components-react"],
56
+ "name": "carbon-components-react",
22
57
  "message": "Import from `@carbon/react` directly. e.g. `import { Toggle } from '@carbon/react'`"
23
58
  },
24
59
  {
25
- "group": ["@carbon/icons-react"],
60
+ "name": "@carbon/icons-react",
26
61
  "message": "Import from `@carbon/react/icons`. e.g. `import { ChevronUp } from '@carbon/react/icons'`"
27
62
  }
28
63
  ]
29
64
  }
30
- ]
65
+ ],
66
+ "react-hooks/exhaustive-deps": "warn",
67
+ "react-hooks/rules-of-hooks": "error"
31
68
  }
32
69
  }
package/.husky/pre-commit CHANGED
@@ -1,4 +1,7 @@
1
1
  #!/usr/bin/env sh
2
2
  . "$(dirname -- "$0")/_/husky.sh"
3
3
 
4
- npm test
4
+ set -e # die on error
5
+
6
+ yarn prettier && npx lint-staged
7
+ yarn turbo run extract-translations
package/.prettierignore CHANGED
@@ -8,7 +8,5 @@ node_modules/
8
8
  yarn.lock
9
9
 
10
10
  # by file type
11
- **/*.css
12
- **/*.scss
13
11
  **/*.md
14
12
  **/*.json
package/.prettierrc ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "bracketSpacing": true,
3
+ "printWidth": 120,
4
+ "semi": true,
5
+ "singleQuote": true,
6
+ "tabWidth": 2,
7
+ "trailingComma": "all"
8
+ }
package/.tx/config ADDED
@@ -0,0 +1,11 @@
1
+ [main]
2
+ host = https://www.transifex.com
3
+
4
+ [o:openmrs:p:openmrs3:r:openmrs-esm-laboratory-app]
5
+ file_filter = translations/<lang>.json
6
+ source_file = translations/en.json
7
+ source_lang = en
8
+ type = KEYVALUEJSON
9
+ minimum_perc = 0
10
+ replace_edited_strings = false
11
+ keep_translations = false
package/README.md CHANGED
@@ -1,19 +1,26 @@
1
- # OpenMRS 3.x Laboratory ESM
1
+ # openmrs-esm-laboratory-app
2
2
 
3
- A frontend module for managing laboratory requests and queues built on OpenMRS 3.x
3
+ An O3 frontend module for managing laboratory requests and queues.
4
4
 
5
- For more information, please refer to the
6
- [OpenMRS 3.x Frontend Documentation](https://o3-docs.openmrs.org/).
5
+ For more information, please refer to the [OpenMRS 3.x Frontend Documentation](https://o3-docs.openmrs.org/).
7
6
 
8
- ### Dashboard
7
+ ## Dashboard
9
8
 
10
9
  <img src="https://raw.githubusercontent.com/openmrs/openmrs-esm-laboratory/main/assets/screenshots/labs_general_dashboard.png" />
11
10
 
12
11
  ### Adding Results
13
12
 
13
+ ### Adding tab panels
14
+
15
+ Implementers can add or remove laboratory tab panels via extension configuration in the [routes.js](https://github.com/openmrs/openmrs-esm-laboratory/blob/main/src/routes.json) json file.
16
+
14
17
  <img src="https://raw.githubusercontent.com/openmrs/openmrs-esm-laboratory/main/assets/screenshots/labs_enter_results.png" />
15
18
 
16
- # Getting Started
19
+ ### Adding or removing summary tiles
20
+
21
+ Implementers can add or remove summary tiles via extension configuration in the [routes.js](https://github.com/openmrs/openmrs-esm-laboratory/blob/main/src/routes.json) json file.
22
+
23
+ ## Getting Started
17
24
 
18
25
  ```sh
19
26
  # Clone the repository
@@ -29,11 +36,13 @@ yarn start
29
36
  yarn start --port 5000
30
37
  ```
31
38
 
32
- Once it is running, a browser window
33
- should open with the OpenMRS 3 application. Log in and then navigate to
34
- `/openmrs/spa/home/laboratory`.
39
+ Once it is running, a browser window should open with O3 running. Log in and then navigate to `/openmrs/spa/home/laboratory`.
35
40
 
36
- # Running tests
37
- ```
41
+ ## Running tests
42
+
43
+ ```sh
38
44
  yarn run test
39
45
  ```
46
+
47
+ # ⚠️ Important Notice: Dependency
48
+ As of this [PR](https://github.com/openmrs/openmrs-esm-laboratory-app/pull/87) some features of the `@openmrs/esm-laboratory-app` are dependent on `@openmrs/esm-patient-lab-order` package. Please keep that in mind as you are implementing the module.
package/dist/1448.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_laboratory_app=globalThis.webpackChunk_openmrs_esm_laboratory_app||[]).push([[1448],{1448:e=>{e.exports=JSON.parse('{"action":"Action","addLabResult":"Add lab results","age":"Age","all":"All","cancel":"Cancel","checkFilters":"Please check the filters above and try again","completed":"Completed","Completed":"Completed","completedStatus":"COMPLETED","dateRange":"Date range","declinedStatus":"DECLINED","discard":"Discard","editResults":"Edit results","errorPickingOrder\', \'Error picking order":"","errorRejectingRequest":"Error rejecting lab request","exceptionStatus":"EXCEPTION","filterOrdersByStatus":"Filter orders by status","fulfillerComment":"Fulfiller comment","gender":"Gender","In progress":"In progress","inProgress":"In progress","inProgressStatus":"IN_PROGRESS","laboratory":"Laboratory","Laboratory":"Laboratory","loading":"Loading","newStatus":"NEW","nextPage":"Next page","NoInstructionLeft":"No instructions are provided.","noLabRequestsFoundC":"No lab requests found","onHoldStatus":"ON_HOLD","orderDate":"Order Date:","Ordered tests":"Ordered tests","ordererName":"Orderer Name: ","orderInStruction":"Instructions: ","orderNotPicked":"Order not picked","orderNumbers":"Order number:","orderPickedSuccessfully":"You have successfully picked an order","orders":"Orders","orderStatus":"Status:","patient":"Patient","pickedAnOrder":"Picked an order","pickLabRequest":"Pick Lab Request","pickRequest":"Pick lab request","pickRequestConfirmationText":"Continuing will update the request status to \\"In Progress\\" and advance it to the next stage. Are you sure you want to proceed?","pickupLabRequest":"Pick up lab request","previousPage":"Previous page","reasonForDecline":"Reason for decline","receivedStatus":"RECEIVED","Referred tests":"Referred tests","reject":"Reject","rejectLabRequest":"Reject lab request","rejectLabRequestSuccessMessage":"","rejectLabRequestTitle":"Lab request rejected","results":"Results","searchThisList":"Search this list","tabletOverlay":"Tablet overlay","testOrdered":"Test ordered: ","Tests ordered":"Tests ordered","testsOrdered":"Tests ordered","testType":"Test type","totalOrders":"Total orders","transition":"Transition","urgencyStatus":"Urgency: ","viewTestResults":"View test results","worklist":"Worklist","Worklist":"Worklist"}')}}]);