@openmrs/esm-patient-chart-app 11.3.1-patch.9064 → 11.3.1-patch.9508

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 (187) hide show
  1. package/.turbo/turbo-build.log +21 -21
  2. package/dist/1119.js +1 -1
  3. package/dist/1197.js +1 -1
  4. package/dist/2146.js +1 -1
  5. package/dist/2540.js +1 -0
  6. package/dist/2540.js.map +1 -0
  7. package/dist/2690.js +1 -1
  8. package/dist/276.js +1 -1
  9. package/dist/276.js.map +1 -1
  10. package/dist/2761.js +1 -1
  11. package/dist/2761.js.map +1 -1
  12. package/dist/2859.js +1 -1
  13. package/dist/2859.js.map +1 -1
  14. package/dist/3099.js +1 -1
  15. package/dist/3119.js +1 -1
  16. package/dist/3119.js.map +1 -1
  17. package/dist/3584.js +1 -1
  18. package/dist/3905.js +1 -1
  19. package/dist/4055.js +1 -1
  20. package/dist/4132.js +1 -1
  21. package/dist/4300.js +1 -1
  22. package/dist/4335.js +1 -1
  23. package/dist/439.js +1 -0
  24. package/dist/4618.js +1 -1
  25. package/dist/4652.js +1 -1
  26. package/dist/4718.js +1 -1
  27. package/dist/4754.js +1 -1
  28. package/dist/4944.js +1 -1
  29. package/dist/5048.js +1 -1
  30. package/dist/5048.js.map +1 -1
  31. package/dist/506.js +2 -0
  32. package/dist/506.js.map +1 -0
  33. package/dist/5173.js +1 -1
  34. package/dist/5205.js +1 -1
  35. package/dist/5241.js +1 -1
  36. package/dist/5442.js +1 -1
  37. package/dist/5661.js +1 -1
  38. package/dist/5670.js +1 -1
  39. package/dist/5670.js.map +1 -1
  40. package/dist/6022.js +1 -1
  41. package/dist/6336.js +1 -0
  42. package/dist/6336.js.map +1 -0
  43. package/dist/6411.js +1 -1
  44. package/dist/6468.js +1 -1
  45. package/dist/6529.js +1 -1
  46. package/dist/6568.js +1 -0
  47. package/dist/6568.js.map +1 -0
  48. package/dist/6589.js +1 -0
  49. package/dist/6679.js +1 -1
  50. package/dist/6840.js +1 -1
  51. package/dist/6859.js +1 -1
  52. package/dist/6924.js +1 -0
  53. package/dist/6924.js.map +1 -0
  54. package/dist/{4727.js → 6997.js} +1 -1
  55. package/dist/6997.js.map +1 -0
  56. package/dist/7097.js +1 -1
  57. package/dist/7159.js +1 -1
  58. package/dist/723.js +1 -1
  59. package/dist/7617.js +1 -1
  60. package/dist/7810.js +1 -0
  61. package/dist/7810.js.map +1 -0
  62. package/dist/7816.js +2 -0
  63. package/dist/7816.js.map +1 -0
  64. package/dist/7822.js +1 -1
  65. package/dist/7822.js.map +1 -1
  66. package/dist/795.js +1 -1
  67. package/dist/8163.js +1 -1
  68. package/dist/8260.js +1 -0
  69. package/dist/8260.js.map +1 -0
  70. package/dist/8349.js +1 -1
  71. package/dist/8371.js +1 -0
  72. package/dist/8454.js +1 -1
  73. package/dist/8454.js.map +1 -1
  74. package/dist/8618.js +1 -1
  75. package/dist/8709.js +1 -1
  76. package/dist/890.js +1 -1
  77. package/dist/9214.js +1 -1
  78. package/dist/9538.js +1 -1
  79. package/dist/9569.js +1 -1
  80. package/dist/986.js +1 -1
  81. package/dist/9879.js +1 -1
  82. package/dist/9895.js +1 -1
  83. package/dist/9900.js +1 -1
  84. package/dist/9913.js +1 -1
  85. package/dist/main.js +1 -1
  86. package/dist/main.js.map +1 -1
  87. package/dist/openmrs-esm-patient-chart-app.js +1 -1
  88. package/dist/openmrs-esm-patient-chart-app.js.buildmanifest.json +436 -321
  89. package/dist/openmrs-esm-patient-chart-app.js.map +1 -1
  90. package/dist/routes.json +1 -1
  91. package/package.json +3 -3
  92. package/src/actions-buttons/delete-visit.component.tsx +8 -3
  93. package/src/actions-buttons/stop-visit.component.tsx +1 -1
  94. package/src/clinical-views/encounter-list/{encounter-list-tabs.component.tsx → encounter-list-tabs.extension.tsx} +11 -7
  95. package/src/clinical-views/encounter-list/tag.component.test.tsx +306 -0
  96. package/src/clinical-views/encounter-list/tag.component.tsx +27 -28
  97. package/src/clinical-views/utils/encounter-list-config-builder.ts +19 -6
  98. package/src/clinical-views/utils/helpers.ts +3 -2
  99. package/src/config-schema.ts +0 -7
  100. package/src/index.ts +9 -4
  101. package/src/mark-patient-deceased/mark-patient-deceased-form.test.tsx +9 -4
  102. package/src/patient-banner-tags/{visit-attribute-tags.component.tsx → visit-attribute-tags.extension.tsx} +28 -15
  103. package/src/patient-banner-tags/visit-attribute-tags.scss +8 -0
  104. package/src/patient-chart/chart-review/dashboard-view.scss +5 -0
  105. package/src/patient-chart/patient-chart.component.tsx +39 -65
  106. package/src/patient-chart/patient-chart.resources.ts +108 -0
  107. package/src/routes.json +1 -1
  108. package/src/visit/hooks/useDeleteVisit.test.tsx +39 -42
  109. package/src/visit/hooks/useDeleteVisit.tsx +33 -17
  110. package/src/visit/visit-form/base-visit-type.component.tsx +30 -21
  111. package/src/visit/visit-form/exported-visit-form.workspace.tsx +700 -0
  112. package/src/visit/visit-form/visit-attribute-type.component.tsx +2 -1
  113. package/src/visit/visit-form/visit-form.resource.ts +2 -1
  114. package/src/visit/visit-form/visit-form.test.tsx +3 -9
  115. package/src/visit/visit-form/visit-form.workspace.tsx +53 -15
  116. package/src/visit/visit-prompt/delete-visit-dialog.component.tsx +10 -4
  117. package/src/visit/visit-prompt/delete-visit-dialog.test.tsx +20 -2
  118. package/src/visit/visit-prompt/end-visit-dialog.component.tsx +7 -1
  119. package/src/visit/visit-prompt/end-visit-dialog.test.tsx +19 -0
  120. package/src/visit/visits-widget/active-visit-buttons/active-visit-buttons.tsx +7 -6
  121. package/src/visit/visits-widget/{current-visit-summary.component.tsx → current-visit-summary.extension.tsx} +13 -20
  122. package/src/visit/visits-widget/current-visit-summary.test.tsx +45 -25
  123. package/src/visit/visits-widget/past-visits-components/encounters-table/encounters-table.component.tsx +4 -3
  124. package/src/visit/visits-widget/past-visits-components/encounters-table/encounters-table.resource.ts +0 -1
  125. package/src/visit/visits-widget/visit-context/retrospective-data-date-time-picker/retrospective-date-time-picker.component.tsx +6 -8
  126. package/src/visit/visits-widget/visit-context/{visit-context-header.component.tsx → visit-context-header.extension.tsx} +17 -15
  127. package/src/visit/visits-widget/visit-context/visit-context-header.test.tsx +35 -29
  128. package/src/visit/visits-widget/visit-context/visit-context-switcher.modal.tsx +13 -11
  129. package/src/visit/visits-widget/visit-context/visit-context-switcher.test.tsx +50 -30
  130. package/src/visit/visits-widget/visit.resource.tsx +1 -1
  131. package/translations/am.json +1 -2
  132. package/translations/ar.json +2 -3
  133. package/translations/ar_SY.json +1 -2
  134. package/translations/bn.json +1 -2
  135. package/translations/cs.json +196 -0
  136. package/translations/de.json +1 -2
  137. package/translations/en.json +2 -3
  138. package/translations/en_US.json +1 -2
  139. package/translations/es.json +2 -3
  140. package/translations/es_MX.json +1 -2
  141. package/translations/fr.json +22 -23
  142. package/translations/he.json +2 -3
  143. package/translations/hi.json +1 -2
  144. package/translations/hi_IN.json +1 -2
  145. package/translations/id.json +2 -3
  146. package/translations/it.json +2 -3
  147. package/translations/ka.json +2 -3
  148. package/translations/km.json +2 -3
  149. package/translations/ku.json +1 -2
  150. package/translations/ky.json +1 -2
  151. package/translations/lg.json +1 -2
  152. package/translations/ne.json +1 -2
  153. package/translations/pl.json +1 -2
  154. package/translations/pt.json +2 -3
  155. package/translations/pt_BR.json +2 -3
  156. package/translations/qu.json +1 -2
  157. package/translations/ro_RO.json +2 -3
  158. package/translations/ru_RU.json +1 -2
  159. package/translations/si.json +1 -2
  160. package/translations/sq.json +196 -0
  161. package/translations/sw.json +1 -2
  162. package/translations/sw_KE.json +1 -2
  163. package/translations/tr.json +1 -2
  164. package/translations/tr_TR.json +1 -2
  165. package/translations/uk.json +1 -2
  166. package/translations/uz.json +1 -2
  167. package/translations/uz@Latn.json +1 -2
  168. package/translations/uz_UZ.json +1 -2
  169. package/translations/vi.json +2 -3
  170. package/translations/zh.json +2 -3
  171. package/translations/zh_CN.json +2 -3
  172. package/translations/zh_TW.json +196 -0
  173. package/dist/1568.js +0 -2
  174. package/dist/1568.js.map +0 -1
  175. package/dist/2442.js +0 -1
  176. package/dist/2442.js.map +0 -1
  177. package/dist/2537.js +0 -1
  178. package/dist/2537.js.map +0 -1
  179. package/dist/3042.js +0 -1
  180. package/dist/3042.js.map +0 -1
  181. package/dist/4713.js +0 -1
  182. package/dist/4713.js.map +0 -1
  183. package/dist/4727.js.map +0 -1
  184. package/dist/6650.js +0 -2
  185. package/dist/6650.js.map +0 -1
  186. /package/dist/{1568.js.LICENSE.txt → 506.js.LICENSE.txt} +0 -0
  187. /package/dist/{6650.js.LICENSE.txt → 7816.js.LICENSE.txt} +0 -0
@@ -38,6 +38,7 @@
38
38
  "dosingInstructions": "Dosing Instructions",
39
39
  "editEncounter": "编辑",
40
40
  "editThisEncounter": "编辑这次问诊",
41
+ "editVisit": "Edit visit",
41
42
  "editVisitDetails": "编辑就诊详情",
42
43
  "emptyStateText": "该患者没有可显示的{{displayText}}",
43
44
  "enable": "启用",
@@ -75,7 +76,6 @@
75
76
  "errorUpdatingVisitAttribute": "无法更新 {{attributeName}} 属性",
76
77
  "errorUpdatingVisitDetails": "更新就诊详情时出现错误",
77
78
  "errorWhenRestoringVisit": "恢复{{visit}}时发生错误",
78
- "failedToLoadCurrentVisit": "加载当前就诊失败",
79
79
  "fieldRequired": "此字段为必填项",
80
80
  "filterByEncounterType": "按问诊类型筛选",
81
81
  "form": "表单名称",
@@ -85,7 +85,6 @@
85
85
  "indication": "适应症",
86
86
  "inThePast": "过去",
87
87
  "loading": "加载中",
88
- "loadingVisit": "加载当前就诊...",
89
88
  "markAliveSuccessfully": "已成功标记患者为在世",
90
89
  "markDeceasedWarning": "将患者标记为已故将结束该患者的任何活动就诊",
91
90
  "markPatientAlive": "标记患者生存",
@@ -99,7 +98,7 @@
99
98
  "nextPage": "下页",
100
99
  "no": "否",
101
100
  "noActiveVisit": "当前没有活动的就诊",
102
- "noActiveVisitMessage": "活动就诊",
101
+ "noActiveVisitMessage": "active visit",
103
102
  "noActiveVisitNoRDEText": "您不能在没有活动就诊的情况下向患者病历添加数据。您想开始一个新的就诊吗?",
104
103
  "noDiagnosesFound": "未找到诊断",
105
104
  "noEncountersToDisplay": "没有可显示的问诊记录",
@@ -0,0 +1,196 @@
1
+ {
2
+ "actions": "Actions",
3
+ "addingToVisit": "Adding to:",
4
+ "additionalVisitInformationUpdatedSuccessfully": "Additional visit information updated successfully",
5
+ "addVisit": "Add visit",
6
+ "all": "All",
7
+ "allEncounters": "All encounters",
8
+ "AM": "AM",
9
+ "cancel": "Cancel",
10
+ "causeOfDeath": "Cause of death",
11
+ "causeOfDeath_lower": "cause of death concepts configured in the system",
12
+ "causeOfDeathIsRequired": "Please select the cause of death",
13
+ "change": "Change",
14
+ "checkFilters": "Check the filters above",
15
+ "confirm": "Confirm",
16
+ "confirmDeleteVisitText": "Deleting this {{visit}} will delete its associated encounters.",
17
+ "confirmModifyingVisitDateToAccomodateEncounter": "The encounter date falls outside the designated visit date range. Would you like to modify the visit date to accommodate the new encounter date?",
18
+ "continue": "Continue",
19
+ "createNewVisit": "Create new visit...",
20
+ "currentActiveVisit": "Current active visit",
21
+ "currentVisit": "Current visit",
22
+ "date": "Date",
23
+ "dateAndTime": "Date & time",
24
+ "dateOfDeath": "Date of death",
25
+ "deathDateRequired": "Please select the date of death",
26
+ "delete": "Delete",
27
+ "deleteActiveVisit": "Delete active visit",
28
+ "deleteEncounter": "Delete encounter",
29
+ "deleteEncounterConfirmationText": "Are you sure you want to delete this encounter? This action can't be undone.",
30
+ "deleteThisEncounter": "Delete this encounter",
31
+ "deleteVisit": "Delete visit",
32
+ "deleteVisitDialogHeader": "Are you sure you want to delete this visit?",
33
+ "deletingVisit": "Deleting visit",
34
+ "diagnoses": "Diagnoses",
35
+ "discard": "Discard",
36
+ "discontinued": "Discontinued",
37
+ "dose": "Dose",
38
+ "dosingInstructions": "Dosing Instructions",
39
+ "editEncounter": "Edit",
40
+ "editThisEncounter": "Edit this encounter",
41
+ "editVisit": "Edit visit",
42
+ "editVisitDetails": "Edit visit details",
43
+ "emptyStateText": "There are no {{displayText}} to display for this patient",
44
+ "enable": "Enable",
45
+ "encounter": "Encounter",
46
+ "encounterDeleted": "Encounter deleted",
47
+ "encounters_title": "Encounters",
48
+ "encountersForThisVisit": "encounters for this visit",
49
+ "encounterSuccessfullyDeleted": "The encounter has been deleted successfully",
50
+ "encounterTableActionsMenu": "Encounter table actions menu",
51
+ "encounterType": "Encounter type",
52
+ "encounterWithError": "The encounter could not be deleted successfully. If the error persists, please contact your system administrator.",
53
+ "endActiveVisit": "End active visit",
54
+ "endActiveVisitConfirmation": "Are you sure you want to end this active visit?",
55
+ "endDate": "End date",
56
+ "endDate_title": "End date",
57
+ "endDateTimeRequired": "End date and time are required",
58
+ "ended": "Ended",
59
+ "endTime": "End time",
60
+ "endTimeFormat": "End time format",
61
+ "endTimeMustBeAfterMostRecentEncounter": "End time must be on or after {{lastEncounterDatetime}}",
62
+ "endTimeMustBeAfterStartTime": "End time must be after start time",
63
+ "endVisit_title": "End Visit",
64
+ "enterNonCodedCauseOfDeath": "Enter non-coded cause of death",
65
+ "error": "Error",
66
+ "errorCopy": "Sorry, there was a problem displaying this information. You can try to reload this page, or contact the site administrator and quote the error code above.",
67
+ "errorCreatingVisitAttribute": "Could not delete {{attributeName}} attribute",
68
+ "errorDeletingVisit": "Error deleting visit",
69
+ "errorDeletingVisitAttribute": "Could not delete {{attributeName}} attribute",
70
+ "errorEndingVisit": "Error ending visit",
71
+ "errorMarkingPatientAlive": "Error marking patient alive",
72
+ "errorMarkingPatientDeceased": "Error marking patient deceased",
73
+ "errorOccurredDeletingVisit": "An error occurred when deleting visit",
74
+ "errorStartingVisit": "Error starting visit",
75
+ "errorStartingVisitDescription": "An error occurred while starting the visit",
76
+ "errorUpdatingVisitAttribute": "Could not update {{attributeName}} attribute",
77
+ "errorUpdatingVisitDetails": "Error updating visit details",
78
+ "errorWhenRestoringVisit": "Error occurred when restoring {{visit}}",
79
+ "fieldRequired": "This field is required",
80
+ "filterByEncounterType": "Filter by encounter type",
81
+ "form": "Form name",
82
+ "fromDateToDate": "{{fromDate}} - {{toDate}}",
83
+ "futureEndTime": "End time cannot be in the future",
84
+ "futureStartTime": "Start time cannot be in the future",
85
+ "indication": "Indication",
86
+ "inThePast": "In the past",
87
+ "loading": "Loading",
88
+ "markAliveSuccessfully": "Patient marked alive successfully",
89
+ "markDeceasedWarning": "Marking the patient as deceased will end any active visits for this patient",
90
+ "markPatientAlive": "Mark patient alive",
91
+ "markPatientAliveConfirmation": "Are you sure you want to mark this patient alive?",
92
+ "markPatientDeceased": "Mark patient deceased",
93
+ "medications": "Medications",
94
+ "medications__lower": "medications",
95
+ "missingVisitType": "Missing visit type",
96
+ "modifyVisitDate": "Modify visit date",
97
+ "new": "New",
98
+ "nextPage": "Next page",
99
+ "no": "No",
100
+ "noActiveVisit": "No Active Visit",
101
+ "noActiveVisitMessage": "active visit",
102
+ "noActiveVisitNoRDEText": "You can't add data to the patient chart without an active visit. Would you like to start a new visit?",
103
+ "noDiagnosesFound": "No diagnoses found",
104
+ "noEncountersToDisplay": "No encounters to display",
105
+ "noMatchingCodedCausesOfDeath": "No matching coded causes of death",
106
+ "nonCodedCauseOfDeath": "Non-coded cause of death",
107
+ "nonCodedCauseOfDeathRequired": "Please enter the non-coded cause of death",
108
+ "noObservationsFound": "No observations found",
109
+ "noProvider": "No provider",
110
+ "notes": "Notes",
111
+ "notes__lower": "notes",
112
+ "noVisitsToDisplay": "No visits to display",
113
+ "noVisitTypesToDisplay": "No visit types to display",
114
+ "offlineVisit": "Offline Visit",
115
+ "On scheduled date": "On scheduled date",
116
+ "ongoing": "Ongoing",
117
+ "optional": "optional",
118
+ "orderDurationAndUnit": "for {{duration}} {{durationUnit}}",
119
+ "orderIndefiniteDuration": "Indefinite duration",
120
+ "paginationItemsCount_one": "{{pageItemsCount}} / {{count}} item",
121
+ "paginationItemsCount_other": "{{pageItemsCount}} / {{count}} items",
122
+ "paginationPageText_one": "of {{count}} page",
123
+ "paginationPageText_other": "of {{count}} pages",
124
+ "partOfFormDidntLoad": "Part of the form did not load",
125
+ "pastVisits": "Past visits",
126
+ "Patient Summary": "Patient summary",
127
+ "PM": "PM",
128
+ "previousPage": "Previous page",
129
+ "program": "Program",
130
+ "provider": "Provider",
131
+ "quantity": "Quantity",
132
+ "recommended": "Recommended",
133
+ "record": "Record",
134
+ "refills": "Refills",
135
+ "refreshToTryAgain": "Please refresh to try again",
136
+ "required": "Required",
137
+ "Routine": "Routine",
138
+ "saveAndClose": "Save and close",
139
+ "saving": "Saving",
140
+ "searchForAVisitType": "Search for a visit type",
141
+ "searchForCauseOfDeath": "Search for a cause of death",
142
+ "seeAll": "See all",
143
+ "selectAnOption": "Select an option",
144
+ "selectAVisit": "Select a visit",
145
+ "selectLocation": "Select a location",
146
+ "selectProgramType": "Select program type",
147
+ "selectVisitType": "Please select a visit type",
148
+ "showVisitWithStartDateOnOrPriorTo": "Show visit with start date on or prior to:",
149
+ "startDate": "Start date",
150
+ "startingVisit": "Starting visit",
151
+ "startNewVisit": "Start new visit",
152
+ "startTime": "Start time",
153
+ "startTimeFormat": "Start time format",
154
+ "startVisit": "Start visit",
155
+ "startVisitError": "Error starting visit",
156
+ "startVisitWorkspaceTitle": "Start a visit",
157
+ "Stat": "Stat",
158
+ "tests": "Tests",
159
+ "theVisitIs": "The visit is",
160
+ "time": "Time",
161
+ "timeCompleted": "Time completed",
162
+ "timeFormat ": "Time Format",
163
+ "timeline": "Timeline",
164
+ "timeStarted": "Time started",
165
+ "undo": "Undo",
166
+ "unknownError": "Unknown error",
167
+ "updateVisit": "Update visit",
168
+ "updatingVisit": "Updating visit",
169
+ "viewEncounter": "View",
170
+ "visitAttributes": "Visit attributes",
171
+ "visitDeleted": "{{visit}} deleted",
172
+ "visitDeletedSuccessfully": "{{visit}} deleted successfully",
173
+ "visitDetailsUpdated": "Visit details updated",
174
+ "visitDetailsUpdatedSuccessfully": "{{visit}} updated successfully",
175
+ "visitEnded": "Visit ended",
176
+ "visitEndSuccessfully": "Ended current visit successfully",
177
+ "visitLocation": "Visit location",
178
+ "visitLocationRequired": "Visit location is required",
179
+ "visitNotRestored": "Visit couldn't be restored",
180
+ "visitRestored": "Visit restored",
181
+ "visitRestoredSuccessfully": "{{visit}} restored successfully",
182
+ "visits": "visits",
183
+ "Visits": "Visits",
184
+ "visitStartAndEndDate": "Visit start and end date",
185
+ "visitStartDate": "Visit start date",
186
+ "visitStartDateMustBeBeforeEarliestEncounter": "Start time must be on or before {{firstEncounterDatetime}}",
187
+ "visitStartDateTimeRequired": "Start date and time are required",
188
+ "visitStarted": "Visit started",
189
+ "visitStartedSuccessfully": "{{visit}} started successfully",
190
+ "visitType": "Visit type",
191
+ "visitType_title": "Visit Type",
192
+ "visitTypeRequired": "Visit type is required",
193
+ "warning": "Warning",
194
+ "yes": "Yes",
195
+ "youCanAddAdditionalEncounters": "You can add additional encounters to this visit in the visit summary."
196
+ }