@openmrs/esm-patient-tests-app 11.3.1-pre.9437 → 11.3.1-pre.9442

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 (94) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/dist/1119.js +1 -1
  3. package/dist/1197.js +1 -1
  4. package/dist/1477.js +1 -1
  5. package/dist/1477.js.map +1 -1
  6. package/dist/2146.js +1 -1
  7. package/dist/2690.js +1 -1
  8. package/dist/3099.js +1 -1
  9. package/dist/3584.js +1 -1
  10. package/dist/4055.js +1 -1
  11. package/dist/4132.js +1 -1
  12. package/dist/4335.js +1 -1
  13. package/dist/439.js +1 -1
  14. package/dist/4618.js +1 -1
  15. package/dist/4652.js +1 -1
  16. package/dist/4944.js +1 -1
  17. package/dist/5173.js +1 -1
  18. package/dist/5241.js +1 -1
  19. package/dist/5442.js +1 -1
  20. package/dist/5661.js +1 -1
  21. package/dist/6022.js +1 -1
  22. package/dist/6468.js +1 -1
  23. package/dist/6589.js +1 -1
  24. package/dist/6679.js +1 -1
  25. package/dist/6840.js +1 -1
  26. package/dist/6859.js +1 -1
  27. package/dist/7097.js +1 -1
  28. package/dist/7159.js +1 -1
  29. package/dist/723.js +1 -1
  30. package/dist/7617.js +1 -1
  31. package/dist/795.js +1 -1
  32. package/dist/8163.js +1 -1
  33. package/dist/8349.js +1 -1
  34. package/dist/8371.js +1 -1
  35. package/dist/8618.js +1 -1
  36. package/dist/890.js +1 -1
  37. package/dist/9214.js +1 -1
  38. package/dist/9538.js +1 -1
  39. package/dist/9569.js +1 -1
  40. package/dist/986.js +1 -1
  41. package/dist/9879.js +1 -1
  42. package/dist/9895.js +1 -1
  43. package/dist/9900.js +1 -1
  44. package/dist/9913.js +1 -1
  45. package/dist/main.js +1 -1
  46. package/dist/main.js.map +1 -1
  47. package/dist/openmrs-esm-patient-tests-app.js +1 -1
  48. package/dist/openmrs-esm-patient-tests-app.js.buildmanifest.json +74 -74
  49. package/dist/routes.json +1 -1
  50. package/package.json +2 -2
  51. package/src/test-results/grouped-timeline/grid.component.tsx +4 -2
  52. package/src/test-results/grouped-timeline/grouped-timeline.component.tsx +20 -22
  53. package/src/test-results/tree-view/tree-view.component.tsx +10 -2
  54. package/translations/am.json +1 -1
  55. package/translations/ar.json +1 -1
  56. package/translations/ar_SY.json +1 -1
  57. package/translations/bn.json +1 -1
  58. package/translations/cs.json +1 -1
  59. package/translations/de.json +1 -1
  60. package/translations/en_US.json +1 -1
  61. package/translations/es.json +1 -1
  62. package/translations/es_MX.json +1 -1
  63. package/translations/fr.json +1 -1
  64. package/translations/he.json +1 -1
  65. package/translations/hi.json +1 -1
  66. package/translations/hi_IN.json +1 -1
  67. package/translations/id.json +1 -1
  68. package/translations/it.json +1 -1
  69. package/translations/ka.json +1 -1
  70. package/translations/km.json +1 -1
  71. package/translations/ku.json +1 -1
  72. package/translations/ky.json +1 -1
  73. package/translations/lg.json +1 -1
  74. package/translations/ne.json +1 -1
  75. package/translations/pl.json +1 -1
  76. package/translations/pt.json +1 -1
  77. package/translations/pt_BR.json +1 -1
  78. package/translations/qu.json +1 -1
  79. package/translations/ro_RO.json +1 -1
  80. package/translations/ru_RU.json +1 -1
  81. package/translations/si.json +1 -1
  82. package/translations/sq.json +1 -1
  83. package/translations/sw.json +1 -1
  84. package/translations/sw_KE.json +1 -1
  85. package/translations/tr.json +1 -1
  86. package/translations/tr_TR.json +1 -1
  87. package/translations/uk.json +1 -1
  88. package/translations/uz.json +1 -1
  89. package/translations/uz@Latn.json +1 -1
  90. package/translations/uz_UZ.json +1 -1
  91. package/translations/vi.json +1 -1
  92. package/translations/zh.json +1 -1
  93. package/translations/zh_CN.json +1 -1
  94. package/translations/zh_TW.json +1 -1
@@ -21,29 +21,27 @@ export const GroupedTimeline: React.FC<{ patientUuid: string }> = ({ patientUuid
21
21
 
22
22
  if (activeTests && timelineData && loaded && tableData) {
23
23
  return (
24
- <div>
25
- <div className={styles.timelineDataContainer}>
26
- {tableData.map((panel, index) => {
27
- // Filter rowData to only include tests that belong to this panel
28
- const panelTestNames = panel.entries.map((entry) => entry.flatName);
29
- const subRows = rowData?.filter((row: { flatName: string }) => panelTestNames.includes(row.flatName));
24
+ <div className={styles.timelineDataContainer}>
25
+ {tableData.map((panel, index) => {
26
+ // Filter rowData to only include tests that belong to this panel
27
+ const panelTestNames = panel.entries.map((entry) => entry.flatName);
28
+ const subRows = rowData?.filter((row: { flatName: string }) => panelTestNames.includes(row.flatName));
30
29
 
31
- return (
32
- subRows?.length > 0 && (
33
- <div key={index}>
34
- <TimelineDataGroup
35
- groupNumber={index + 1}
36
- parent={{ display: panel.key, flatName: panel.key }}
37
- patientUuid={patientUuid}
38
- setXScroll={setXScroll}
39
- subRows={subRows}
40
- xScroll={xScroll}
41
- />
42
- </div>
43
- )
44
- );
45
- })}
46
- </div>
30
+ return (
31
+ subRows?.length > 0 && (
32
+ <div key={index}>
33
+ <TimelineDataGroup
34
+ groupNumber={index + 1}
35
+ parent={{ display: panel.key, flatName: panel.key }}
36
+ patientUuid={patientUuid}
37
+ setXScroll={setXScroll}
38
+ subRows={subRows}
39
+ xScroll={xScroll}
40
+ />
41
+ </div>
42
+ )
43
+ );
44
+ })}
47
45
  </div>
48
46
  );
49
47
  }
@@ -170,13 +170,21 @@ const TreeView: React.FC<TreeViewProps> = ({ patientUuid, expanded, view }) => {
170
170
  {isLoading ? (
171
171
  <DataTableSkeleton />
172
172
  ) : view === 'individual-test' ? (
173
- <div className={styles.panelViewTimeline}>
173
+ tableData && tableData.length > 0 ? (
174
+ <div className={styles.panelViewTimeline}>
175
+ <GroupedPanelsTables
176
+ patientUuid={patientUuid}
177
+ className={styles.groupPanelsTables}
178
+ loadingPanelData={isLoading}
179
+ />
180
+ </div>
181
+ ) : (
174
182
  <GroupedPanelsTables
175
183
  patientUuid={patientUuid}
176
184
  className={styles.groupPanelsTables}
177
185
  loadingPanelData={isLoading}
178
186
  />
179
- </div>
187
+ )
180
188
  ) : view === 'over-time' ? (
181
189
  <GroupedTimeline patientUuid={patientUuid} />
182
190
  ) : null}
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "اسم الاختبار",
101
101
  "testResults": "نتائج الاختبار",
102
102
  "testResults_title": "نتائج الاختبار",
103
- "testResultsData": "بيانات نتائج الاختبار",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "نوع الاختبار",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Testname",
101
101
  "testResults": "Testergebnisse",
102
102
  "testResults_title": "Testergebnisse",
103
- "testResultsData": "Daten der Testergebnisse",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Testart",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Nombre de la prueba",
101
101
  "testResults": "resultados de la prueba",
102
102
  "testResults_title": "Resultados de la Prueba",
103
- "testResultsData": "Datos de los resultados de la prueba",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Pruebas",
105
105
  "testType": "Tipo de prueba",
106
106
  "testTypeRequired": "Se requiere un tipo de prueba",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Nom Examen",
101
101
  "testResults": "Résultats d'examens",
102
102
  "testResults_title": "Résultats d'examens",
103
- "testResultsData": "Résultats d'examens",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Examens",
105
105
  "testType": "Analyse",
106
106
  "testTypeRequired": "Le type d'examen est requis",
@@ -100,7 +100,7 @@
100
100
  "testName": "שם הבדיקה",
101
101
  "testResults": "תוצאות הבדיקה",
102
102
  "testResults_title": "תוצאות הבדיקה",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "סוג הבדיקה",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Nama tes",
101
101
  "testResults": "hasil tes",
102
102
  "testResults_title": "Hasil Tes",
103
- "testResultsData": "Data hasil tes",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tes",
105
105
  "testType": "Jenis tes",
106
106
  "testTypeRequired": "Jenis tes diperlukan",
@@ -100,7 +100,7 @@
100
100
  "testName": "Nome del test",
101
101
  "testResults": "Risultati test",
102
102
  "testResults_title": "Risultati test",
103
- "testResultsData": "Dati risultati test",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Test",
105
105
  "testType": "Tipo di test",
106
106
  "testTypeRequired": "Il tipo di test è obbligatorio",
@@ -100,7 +100,7 @@
100
100
  "testName": "ტესტის სახელი",
101
101
  "testResults": "ტესტის შედეგი",
102
102
  "testResults_title": "ტესტის შედეგები",
103
- "testResultsData": "ტესტის შედეგის მონაცემები",
103
+ "testResultsData": "test results data",
104
104
  "tests": "ტესტები",
105
105
  "testType": "ტესტის ტიპი",
106
106
  "testTypeRequired": "ტესტის ტიპი აუცილებელია",
@@ -100,7 +100,7 @@
100
100
  "testName": "ធ្វើតេស្តលើឈ្មោះ",
101
101
  "testResults": "លទ្ធផលតេស្ត",
102
102
  "testResults_title": "លទ្ធផលតេស្ត",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "ប្រភេទតេស្ត",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Nome do teste",
101
101
  "testResults": "resultados do teste",
102
102
  "testResults_title": "Resultados do Teste",
103
- "testResultsData": "Dados dos resultados de teste",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Testes",
105
105
  "testType": "Tipo de teste",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Nome do teste",
101
101
  "testResults": "resultados do teste",
102
102
  "testResults_title": "Resultados do teste",
103
- "testResultsData": "Dados dos resultados do teste",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Testes",
105
105
  "testType": "Tipo de teste",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Nume test",
101
101
  "testResults": "rezultate test",
102
102
  "testResults_title": "Rezultate test",
103
- "testResultsData": "Date rezultate test",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Teste",
105
105
  "testType": "Tip test",
106
106
  "testTypeRequired": "Tipul testului este obligatoriu",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "Tên bài kiểm tra",
101
101
  "testResults": "kết quả kiểm tra",
102
102
  "testResults_title": "Kết quả kiểm tra",
103
- "testResultsData": "Dữ liệu kết quả kiểm tra",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Kiểm tra",
105
105
  "testType": "Loại kiểm tra",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "检验名称",
101
101
  "testResults": "检验结果",
102
102
  "testResults_title": "检验结果",
103
- "testResultsData": "检验结果数据",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "检验类型",
106
106
  "testTypeRequired": "Test type is required",
@@ -100,7 +100,7 @@
100
100
  "testName": "检验名称",
101
101
  "testResults": "检验结果",
102
102
  "testResults_title": "检验结果",
103
- "testResultsData": "检验结果数据",
103
+ "testResultsData": "test results data",
104
104
  "tests": "检验",
105
105
  "testType": "检验类型",
106
106
  "testTypeRequired": "检验检查类型是必填项",
@@ -100,7 +100,7 @@
100
100
  "testName": "Test name",
101
101
  "testResults": "test results",
102
102
  "testResults_title": "Test Results",
103
- "testResultsData": "Test results data",
103
+ "testResultsData": "test results data",
104
104
  "tests": "Tests",
105
105
  "testType": "Test type",
106
106
  "testTypeRequired": "Test type is required",