@kenyaemr/esm-appointments-app 7.0.2-pre.66 → 7.0.2-pre.68

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 (43) hide show
  1. package/.turbo/turbo-build.log +7 -7
  2. package/dist/130.js +1 -1
  3. package/dist/130.js.map +1 -1
  4. package/dist/224.js +1 -1
  5. package/dist/224.js.map +1 -1
  6. package/dist/265.js +1 -0
  7. package/dist/265.js.map +1 -0
  8. package/dist/271.js +1 -1
  9. package/dist/319.js +1 -1
  10. package/dist/460.js +1 -1
  11. package/dist/529.js +1 -0
  12. package/dist/{309.js.map → 529.js.map} +1 -1
  13. package/dist/644.js +1 -1
  14. package/dist/757.js +1 -1
  15. package/dist/788.js +1 -1
  16. package/dist/807.js +1 -1
  17. package/dist/833.js +1 -1
  18. package/dist/904.js +1 -1
  19. package/dist/904.js.map +1 -1
  20. package/dist/kenyaemr-esm-appointments-app.js +1 -1
  21. package/dist/kenyaemr-esm-appointments-app.js.buildmanifest.json +84 -84
  22. package/dist/main.js +1 -1
  23. package/dist/main.js.map +1 -1
  24. package/dist/routes.json +1 -1
  25. package/package.json +2 -2
  26. package/src/appointments/common-components/appointments-table.test.tsx +1 -1
  27. package/src/appointments/common-components/{end-appointment-modal.test.tsx → end-appointment.test.tsx} +2 -2
  28. package/src/form/appointments-form.scss +0 -35
  29. package/src/index.ts +3 -3
  30. package/src/patient-appointments/patient-appointments-header.tsx +4 -4
  31. package/translations/am.json +34 -23
  32. package/translations/ar.json +32 -21
  33. package/translations/es.json +32 -21
  34. package/translations/fr.json +88 -77
  35. package/translations/he.json +32 -21
  36. package/translations/km.json +32 -21
  37. package/translations/zh.json +32 -21
  38. package/translations/zh_CN.json +32 -21
  39. package/dist/309.js +0 -1
  40. package/dist/4.js +0 -1
  41. package/dist/4.js.map +0 -1
  42. /package/src/appointments/common-components/{end-appointment-modal.component.tsx → end-appointment.modal.tsx} +0 -0
  43. /package/src/patient-appointments/{patient-appointments-cancel-modal.component.tsx → patient-appointments-cancel.modal.tsx} +0 -0
@@ -2,18 +2,20 @@
2
2
  "action": "សកម្មភាព",
3
3
  "actions": "សកម្មភាព",
4
4
  "add": "បន្ថែម",
5
- "addAppointment": "Add Appointment",
6
- "addPatientToQueue": "បន្ថែមអ្នកជំងឺទៅក្នុងជួរ",
7
5
  "age": "Age",
8
- "all": "ទាំងអស់",
9
6
  "allDay": "All day",
10
7
  "appointmentCancelError": "កំហុសក្នុងការបោះបង់ការណាត់ជួប",
11
8
  "appointmentCancelled": "ការណាត់ជួបត្រូវបានលុបចោល",
12
9
  "appointmentCancelledSuccessfully": "ការណាត់ជួបបានលុបចោលដោយជោគជ័យ",
13
10
  "appointmentColor": "ពណ៌ណាត់ជួប",
11
+ "appointmentConflict": "Appointment conflict",
14
12
  "appointmentEdited": "Appointment edited",
15
13
  "appointmentEditError": "Error editing appointment",
16
- "appointmentForm": "ទម្រង់នៃការណាត់ជួប",
14
+ "appointmentEnded": "Appointment ended",
15
+ "appointmentEndedAndVisitClosedSuccessfully": "Appointment successfully ended and visit successfully closed.",
16
+ "appointmentEndedButVisitNotClosedError": "Appointment ended, but error closing visit",
17
+ "appointmentEndedSuccessfully": "Appointment successfully ended.",
18
+ "appointmentEndError": "Error ending appointment",
17
19
  "appointmentFormError": "កំហុសក្នុងការកំណត់ពេលណាត់ជួប",
18
20
  "appointmentHistory": "ប្រវត្តិនៃការណាត់ជួប",
19
21
  "appointmentMetrics": "មាត្រដ្ឋានណាត់ជួប",
@@ -23,13 +25,17 @@
23
25
  "appointmentNotes": "កំណត់សម្គាល់ការណាត់ជួប",
24
26
  "appointmentNowVisible": "ឥឡូវនេះវាអាចមើលឃើញនៅលើទំព័រណាត់ជួប",
25
27
  "appointments": "ការណាត់ជួប",
28
+ "Appointments": "Appointments",
29
+ "appointments_lower": "appointments",
26
30
  "appointmentsCalendar": "Appointments Calendar",
27
31
  "appointmentScheduled": "ការណាត់ជួបតាមកាលវិភាគ",
28
32
  "appointmentService": "សេវាកម្មណាត់ជួប",
29
33
  "appointmentServiceCreate": "សេវាកម្មណាត់ជួបត្រូវបានបង្កើតដោយជោគជ័យ",
30
34
  "appointmentServiceName": "ឈ្មោះសេវាកម្មណាត់ជួប",
35
+ "appointmentsScheduledForToday": "appointments scheduled for today",
36
+ "appointmentsTable": "Appointments table",
31
37
  "appointmentStatus": "Appointment status",
32
- "appointmentToFulfill": "ជ្រើសរើសការណាត់ជួបដើម្បីបំពេញ",
38
+ "appointmentToFulfill": "Select appointment to fulfill",
33
39
  "appointmentType": "ប្រភេទនៃការណាត់ជួប",
34
40
  "appointmentType_title": "ប្រភេទនៃការណាត់ជួប",
35
41
  "back": "ត្រឡប់មកវិញ",
@@ -41,6 +47,7 @@
41
47
  "cancelled": "បានលុបចោល",
42
48
  "checkedIn": "Checked in",
43
49
  "checkedOut": "Checked out",
50
+ "checkFilters": "Check the filters above",
44
51
  "checkIn": "កត់ឈ្មោះចូល",
45
52
  "checkOut": "Check out",
46
53
  "chooseAppointmentType": "Choose appointment type",
@@ -48,29 +55,38 @@
48
55
  "chooseProvider": "Choose a provider",
49
56
  "chooseService": "ជ្រើសរើសសេវាកម្ម",
50
57
  "completed": "បានបញ្ចប់",
58
+ "Contact": "Contact {{index}}",
59
+ "countMore_one": "{{count}} more",
60
+ "countMore_other": "{{count}} more",
51
61
  "createAppointmentService": "បង្កើតសេវាកម្មណាត់ជួប",
52
62
  "createNewAppointment": "Create new appointment",
53
63
  "date": "កាលបរិច្ឆេទ",
54
64
  "date&Time": "Date & time",
55
- "dateAndTimeOfVisit": "កាលបរិច្ឆេទនិងពេលវេលានៃការមកពិនិត្យជំងឺ",
56
65
  "dateOfBirth": "Date of birth",
66
+ "dateScheduled": "Date appointment issued",
67
+ "dateScheduledDetail": "Date appointment issued",
57
68
  "dateTime": "Date & Time",
58
69
  "day": "Day",
59
70
  "daysOfWeek": "Days of the week",
60
71
  "discard": "បោះបង់",
61
72
  "download": "Download",
73
+ "durationErrorMessage": "Duration should be greater than zero",
62
74
  "durationInMinutes": "Duration (minutes)",
63
75
  "durationMins": "រយៈពេលអប្បបរមា",
64
76
  "edit": "កែសម្រួល",
65
77
  "editAppointment": "កែសម្រួលការណាត់ជួប",
66
78
  "editAppointments": "Edit Appointment",
67
- "emptyStateText": "There are no {{displayText}} to display",
79
+ "emptyStateText": "There are no <1>{{displayText}}</1> to display",
68
80
  "encounters": "ការជួប",
69
81
  "encounterType": "ប្រភេទជួប",
82
+ "endAppointmentAndVisitConfirmationMessage": "Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.",
83
+ "endAppointmentConfirmation": "Are you sure you want to check the patient out for this appointment?",
84
+ "endAppointmentConfirmationMessage": "Checking the patient out will mark the appointment as complete.",
70
85
  "endDate": "End date",
71
86
  "endTime": "ពេលវេលាបញ្ចប់",
72
87
  "errorCreatingAppointmentService": "Error creating appointment service",
73
88
  "expected": "Expected",
89
+ "filterTable": "Filter table",
74
90
  "gender": "Gender",
75
91
  "highestServiceVolume": "Highest volume service: {{time}}",
76
92
  "home": "Home",
@@ -78,16 +94,17 @@
78
94
  "invalidNumber": "Number is not valid",
79
95
  "invalidTime": "Invalid time",
80
96
  "isRecurringAppointment": "Is this a recurring appointment?",
97
+ "itemsPerPage": "Items per page",
81
98
  "loading": "Loading",
82
99
  "location": "ទីតាំង",
83
100
  "medications": "ថ្នាំ",
84
101
  "missed": "ខកខាន",
85
- "missingVisitType": "បាត់ប្រភេទនៃការមកពិនិត្យជំងឺ",
102
+ "nextPage": "Next page",
86
103
  "no": "ទេ",
104
+ "noAppointmentsToDisplay": "No appointments to display",
87
105
  "noContent": "No Content",
88
106
  "noCurrentAppointments": "មិនមានការណាត់ជួបសម្រាប់ថ្ងៃនេះ ដើម្បីបង្ហាញអ្នកជំងឺនេះទេ",
89
107
  "noEncountersFound": "រកមិនឃើញការជួបគ្នាទេ។",
90
- "noMatchingVisitTypeFound": "",
91
108
  "noPastAppointments": "មិនមានការណាត់ជួបពីមុនដើម្បីបង្ហាញសម្រាប់អ្នកជំងឺនេះទេ",
92
109
  "noPreviousVisitFound": "រកមិនឃើញការមកពិនិត្យពីលើកមុនទេ។",
93
110
  "notArrived": "Not arrived",
@@ -95,53 +112,47 @@
95
112
  "notes": "កំណត់ចំណាំ",
96
113
  "noUpcomingAppointments": "មិនមានការណាត់ជួបនាពេលខាងមុខដើម្បីបង្ហាញសម្រាប់អ្នកជំងឺនេះទេ",
97
114
  "noUpcomingAppointmentsForPatient": "មិនមានការណាត់ជួបនាពេលខាងមុខដើម្បីបង្ហាញសម្រាប់អ្នកជំងឺនេះទេ",
115
+ "pageNumber": "Page number",
98
116
  "past": "អតីតកាល",
99
117
  "patientDetails": "ព័ត៌មានលម្អិតអ្នកជំងឺ",
118
+ "patientDoubleBooking": "Patient already booked for an appointment at this time",
100
119
  "patientName": "ឈ្មោះអ្នកជំងឺ",
101
120
  "patients": "អ្នកជំងឺ",
102
- "patientSearch": "Patient search",
103
121
  "period": "Period",
122
+ "previousPage": "Previous page",
104
123
  "provider": "អ្នកផ្តល់សេវា",
105
124
  "providers": "អ្នកផ្តល់សេវា",
106
125
  "providersBooked": "Providers booked: {{time}}",
107
- "queueAddedSuccessfully": "",
108
- "queueEntryError": "កំហុសក្នុងការបន្ថែមអ្នកជំងឺទៅជួរ",
109
126
  "recurringAppointment": "Recurring Appointment",
110
127
  "repeatEvery": "Repeat every",
111
128
  "save": "រក្សាទុក",
112
129
  "saveAndClose": "Save and close",
113
130
  "scheduled": "បានកំណត់ពេល",
114
131
  "scheduledAppointments": "ការណាត់ជួបតាមកាលវិភាគ",
115
- "search": "ស្វែងរក",
116
- "searchForAVisitType": "ស្វែងរកប្រភេទនៃការមកពិនិត្យជំងឺ",
132
+ "selectALocation": "Select a location",
117
133
  "selectAppointmentStatus": "ជ្រើសរើសស្ថានភាព",
118
134
  "selectAppointmentType": "ជ្រើសរើសប្រភេទការណាត់ជួប",
119
- "selectFacility": "Select a facility",
120
135
  "selectLocation": "Select location",
121
136
  "selectOption": "Select an option",
122
137
  "selectProvider": "Select a provider",
123
138
  "selectService": "ជ្រើសរើសសេវាកម្ម",
124
139
  "selectServiceType": "Select service type",
125
- "selectVisitType": "សូមជ្រើសរើសប្រភេទការពិនិត្យជំងឺ",
126
140
  "service": "សេវាកម្ម",
127
141
  "serviceName": "Service name",
128
142
  "serviceType": "ប្រភេទសេវាកម្ម",
143
+ "serviceUnavailable": "Appointment time is outside of service hours",
129
144
  "startDate": "Start date",
130
145
  "startTime": "ពេលវេលាចាប់ផ្តើម",
131
- "startVisitError": "កំហុសក្នុងការចាប់ផ្តើមការមកពិនិត្យជំងឺ",
146
+ "status": "Status",
132
147
  "time": "ពេលវេលា",
133
148
  "today": "ថ្ងៃនេះ",
134
149
  "todays": "Today's",
135
- "total": "Total",
136
150
  "unscheduled": "មិនបានគ្រោងទុក",
137
151
  "unscheduledAppointments": "ការណាត់ជួបដែលមិនបានគ្រោងទុក",
138
152
  "unscheduledAppointments_lower": "unscheduled appointments",
139
153
  "upcoming": "Upcoming",
140
154
  "upcomingAppointments": "ការណាត់ជួបនាពេលខាងមុខ",
141
155
  "view": "ពិនិត្យមើល",
142
- "visitLocation": "ទីតាំងមកពិនិត្យ",
143
- "visitStarted": "Visit started",
144
- "visitType": "ប្រភេទនៃការមកពិនិត្យជំងឺ",
145
156
  "vitals": "សញ្ញាជីវិត",
146
157
  "week": "Week",
147
158
  "yes": "Yes"
@@ -2,18 +2,20 @@
2
2
  "action": "操作",
3
3
  "actions": "操作",
4
4
  "add": "添加",
5
- "addAppointment": "添加预约",
6
- "addPatientToQueue": "将患者加入队列",
7
5
  "age": "年龄",
8
- "all": "全部",
9
6
  "allDay": "全天",
10
7
  "appointmentCancelError": "取消预约时出现错误",
11
8
  "appointmentCancelled": "预约已取消",
12
9
  "appointmentCancelledSuccessfully": "预约已成功取消",
13
10
  "appointmentColor": "预约颜色",
11
+ "appointmentConflict": "Appointment conflict",
14
12
  "appointmentEdited": "预约已编辑",
15
13
  "appointmentEditError": "编辑预约时出现错误",
16
- "appointmentForm": "预约表格",
14
+ "appointmentEnded": "Appointment ended",
15
+ "appointmentEndedAndVisitClosedSuccessfully": "Appointment successfully ended and visit successfully closed.",
16
+ "appointmentEndedButVisitNotClosedError": "Appointment ended, but error closing visit",
17
+ "appointmentEndedSuccessfully": "Appointment successfully ended.",
18
+ "appointmentEndError": "Error ending appointment",
17
19
  "appointmentFormError": "安排预约时出现错误",
18
20
  "appointmentHistory": "预约历史",
19
21
  "appointmentMetrics": "预约指标",
@@ -23,11 +25,15 @@
23
25
  "appointmentNotes": "预约备注",
24
26
  "appointmentNowVisible": "现在在预约页面上可见",
25
27
  "appointments": "预约",
28
+ "Appointments": "预约",
29
+ "appointments_lower": "预约",
26
30
  "appointmentsCalendar": "预约日历",
27
31
  "appointmentScheduled": "预约已安排",
28
32
  "appointmentService": "预约服务",
29
33
  "appointmentServiceCreate": "预约服务创建成功",
30
34
  "appointmentServiceName": "预约服务名称",
35
+ "appointmentsScheduledForToday": "今日预约",
36
+ "appointmentsTable": "预约表",
31
37
  "appointmentStatus": "预约状态",
32
38
  "appointmentToFulfill": "选择要履行的预约",
33
39
  "appointmentType": "预约类型",
@@ -41,6 +47,7 @@
41
47
  "cancelled": "已取消",
42
48
  "checkedIn": "已签到",
43
49
  "checkedOut": "已结账",
50
+ "checkFilters": "检查上方的筛选条件",
44
51
  "checkIn": "签到",
45
52
  "checkOut": "结账",
46
53
  "chooseAppointmentType": "选择预约类型",
@@ -48,29 +55,38 @@
48
55
  "chooseProvider": "选择一个提供者",
49
56
  "chooseService": "选择服务",
50
57
  "completed": "已完成",
58
+ "Contact": "Contact {{index}}",
59
+ "countMore_one": "{{count}} more",
60
+ "countMore_other": "{{count}} more",
51
61
  "createAppointmentService": "创建预约服务",
52
62
  "createNewAppointment": "创建新预约",
53
63
  "date": "日期",
54
64
  "date&Time": "日期&时间",
55
- "dateAndTimeOfVisit": "就诊日期和时间",
56
65
  "dateOfBirth": "出生日期",
66
+ "dateScheduled": "Date appointment issued",
67
+ "dateScheduledDetail": "Date appointment issued",
57
68
  "dateTime": "日期&时间",
58
69
  "day": "天",
59
70
  "daysOfWeek": "星期几",
60
71
  "discard": "放弃",
61
72
  "download": "下载",
73
+ "durationErrorMessage": "持续时间应大于零",
62
74
  "durationInMinutes": "持续时间(分钟)",
63
75
  "durationMins": "持续时间(分钟)",
64
76
  "edit": "编辑",
65
77
  "editAppointment": "编辑预约",
66
78
  "editAppointments": "编辑预约",
67
- "emptyStateText": "没有{{displayText}}可显示",
79
+ "emptyStateText": "没有<1>{{displayText}}</1>可显示",
68
80
  "encounters": "问诊",
69
81
  "encounterType": "问诊类型",
82
+ "endAppointmentAndVisitConfirmationMessage": "Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.",
83
+ "endAppointmentConfirmation": "Are you sure you want to check the patient out for this appointment?",
84
+ "endAppointmentConfirmationMessage": "Checking the patient out will mark the appointment as complete.",
70
85
  "endDate": "结束日期",
71
86
  "endTime": "结束时间",
72
87
  "errorCreatingAppointmentService": "创建预约服务时出现错误",
73
88
  "expected": "预期的",
89
+ "filterTable": "筛选表格",
74
90
  "gender": "性别",
75
91
  "highestServiceVolume": "最高量服务:{{time}}",
76
92
  "home": "首页",
@@ -78,16 +94,17 @@
78
94
  "invalidNumber": "数值无效",
79
95
  "invalidTime": "无效时间",
80
96
  "isRecurringAppointment": "这是一个定期预约吗?",
97
+ "itemsPerPage": "每页条目数",
81
98
  "loading": "加载中",
82
99
  "location": "地点",
83
100
  "medications": "药物",
84
101
  "missed": "未就诊",
85
- "missingVisitType": "就诊类型缺失",
102
+ "nextPage": "下一页",
86
103
  "no": "否",
104
+ "noAppointmentsToDisplay": "没有预约可显示",
87
105
  "noContent": "没有内容",
88
106
  "noCurrentAppointments": "该患者没有安排在今日的预约",
89
107
  "noEncountersFound": "未找到问诊记录",
90
- "noMatchingVisitTypeFound": "",
91
108
  "noPastAppointments": "该患者没有历史预约",
92
109
  "noPreviousVisitFound": "未找到先前的就诊",
93
110
  "notArrived": "未到达",
@@ -95,53 +112,47 @@
95
112
  "notes": "备注",
96
113
  "noUpcomingAppointments": "未找到即将到来的预约",
97
114
  "noUpcomingAppointmentsForPatient": "该患者没有即将到来的预约",
115
+ "pageNumber": "页码",
98
116
  "past": "过往",
99
117
  "patientDetails": "患者详情",
118
+ "patientDoubleBooking": "Patient already booked for an appointment at this time",
100
119
  "patientName": "患者姓名",
101
120
  "patients": "患者",
102
- "patientSearch": "患者搜索",
103
121
  "period": "周期",
122
+ "previousPage": "上一页",
104
123
  "provider": "提供者",
105
124
  "providers": "提供者",
106
125
  "providersBooked": "提供者预订:{{time}}",
107
- "queueAddedSuccessfully": "",
108
- "queueEntryError": "将患者添加到队列时出现错误",
109
126
  "recurringAppointment": "定期预约",
110
127
  "repeatEvery": "重复每",
111
128
  "save": "保存",
112
129
  "saveAndClose": "保存并关闭",
113
130
  "scheduled": "已安排",
114
131
  "scheduledAppointments": "已安排的预约",
115
- "search": "搜索",
116
- "searchForAVisitType": "搜索就诊类型",
132
+ "selectALocation": "Select a location",
117
133
  "selectAppointmentStatus": "选择状态",
118
134
  "selectAppointmentType": "选择一个预约类型",
119
- "selectFacility": "选择一个机构",
120
135
  "selectLocation": "选择地点",
121
136
  "selectOption": "选择一个选项",
122
137
  "selectProvider": "选择一个提供者",
123
138
  "selectService": "选择一个服务",
124
139
  "selectServiceType": "选择服务类型",
125
- "selectVisitType": "请选择就诊类型",
126
140
  "service": "服务",
127
141
  "serviceName": "服务名称",
128
142
  "serviceType": "服务类型",
143
+ "serviceUnavailable": "Appointment time is outside of service hours",
129
144
  "startDate": "开始日期",
130
145
  "startTime": "开始时间",
131
- "startVisitError": "开始就诊时出现错误",
146
+ "status": "状态",
132
147
  "time": "时间",
133
148
  "today": "今日",
134
- "todays": "Today's",
135
- "total": "总计",
149
+ "todays": "今日",
136
150
  "unscheduled": "未安排",
137
151
  "unscheduledAppointments": "未安排的预约",
138
152
  "unscheduledAppointments_lower": "未安排的预约",
139
153
  "upcoming": "即将到来",
140
154
  "upcomingAppointments": "即将到来的预约",
141
155
  "view": "查看",
142
- "visitLocation": "就诊地点",
143
- "visitStarted": "就诊开始",
144
- "visitType": "就诊类型",
145
156
  "vitals": "生命体征",
146
157
  "week": "周",
147
158
  "yes": "是"
@@ -2,18 +2,20 @@
2
2
  "action": "操作",
3
3
  "actions": "操作",
4
4
  "add": "添加",
5
- "addAppointment": "添加预约",
6
- "addPatientToQueue": "将患者加入队列",
7
5
  "age": "年龄",
8
- "all": "全部",
9
6
  "allDay": "全天",
10
7
  "appointmentCancelError": "取消预约时出现错误",
11
8
  "appointmentCancelled": "预约已取消",
12
9
  "appointmentCancelledSuccessfully": "预约已成功取消",
13
10
  "appointmentColor": "预约颜色",
11
+ "appointmentConflict": "Appointment conflict",
14
12
  "appointmentEdited": "预约已编辑",
15
13
  "appointmentEditError": "编辑预约时出现错误",
16
- "appointmentForm": "预约表格",
14
+ "appointmentEnded": "Appointment ended",
15
+ "appointmentEndedAndVisitClosedSuccessfully": "Appointment successfully ended and visit successfully closed.",
16
+ "appointmentEndedButVisitNotClosedError": "Appointment ended, but error closing visit",
17
+ "appointmentEndedSuccessfully": "Appointment successfully ended.",
18
+ "appointmentEndError": "Error ending appointment",
17
19
  "appointmentFormError": "安排预约时出现错误",
18
20
  "appointmentHistory": "预约历史",
19
21
  "appointmentMetrics": "预约指标",
@@ -23,11 +25,15 @@
23
25
  "appointmentNotes": "预约备注",
24
26
  "appointmentNowVisible": "现在在预约页面上可见",
25
27
  "appointments": "预约",
28
+ "Appointments": "预约",
29
+ "appointments_lower": "预约",
26
30
  "appointmentsCalendar": "预约日历",
27
31
  "appointmentScheduled": "预约已安排",
28
32
  "appointmentService": "预约服务",
29
33
  "appointmentServiceCreate": "预约服务创建成功",
30
34
  "appointmentServiceName": "预约服务名称",
35
+ "appointmentsScheduledForToday": "今日预约",
36
+ "appointmentsTable": "预约表",
31
37
  "appointmentStatus": "预约状态",
32
38
  "appointmentToFulfill": "选择要履行的预约",
33
39
  "appointmentType": "预约类型",
@@ -41,6 +47,7 @@
41
47
  "cancelled": "已取消",
42
48
  "checkedIn": "已签到",
43
49
  "checkedOut": "已结账",
50
+ "checkFilters": "检查上方的筛选条件",
44
51
  "checkIn": "签到",
45
52
  "checkOut": "结账",
46
53
  "chooseAppointmentType": "选择预约类型",
@@ -48,29 +55,38 @@
48
55
  "chooseProvider": "选择一个提供者",
49
56
  "chooseService": "选择服务",
50
57
  "completed": "已完成",
58
+ "Contact": "Contact {{index}}",
59
+ "countMore_one": "{{count}} more",
60
+ "countMore_other": "{{count}} more",
51
61
  "createAppointmentService": "创建预约服务",
52
62
  "createNewAppointment": "创建新预约",
53
63
  "date": "日期",
54
64
  "date&Time": "日期&时间",
55
- "dateAndTimeOfVisit": "就诊日期和时间",
56
65
  "dateOfBirth": "出生日期",
66
+ "dateScheduled": "Date appointment issued",
67
+ "dateScheduledDetail": "Date appointment issued",
57
68
  "dateTime": "日期&时间",
58
69
  "day": "天",
59
70
  "daysOfWeek": "星期几",
60
71
  "discard": "放弃",
61
72
  "download": "下载",
73
+ "durationErrorMessage": "持续时间应大于零",
62
74
  "durationInMinutes": "持续时间(分钟)",
63
75
  "durationMins": "持续时间(分钟)",
64
76
  "edit": "编辑",
65
77
  "editAppointment": "编辑预约",
66
78
  "editAppointments": "编辑预约",
67
- "emptyStateText": "没有{{displayText}}可显示",
79
+ "emptyStateText": "没有<1>{{displayText}}</1>可显示",
68
80
  "encounters": "问诊",
69
81
  "encounterType": "问诊类型",
82
+ "endAppointmentAndVisitConfirmationMessage": "Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.",
83
+ "endAppointmentConfirmation": "Are you sure you want to check the patient out for this appointment?",
84
+ "endAppointmentConfirmationMessage": "Checking the patient out will mark the appointment as complete.",
70
85
  "endDate": "结束日期",
71
86
  "endTime": "结束时间",
72
87
  "errorCreatingAppointmentService": "创建预约服务时出现错误",
73
88
  "expected": "预期的",
89
+ "filterTable": "筛选表格",
74
90
  "gender": "性别",
75
91
  "highestServiceVolume": "最高量服务:{{time}}",
76
92
  "home": "首页",
@@ -78,16 +94,17 @@
78
94
  "invalidNumber": "数值无效",
79
95
  "invalidTime": "无效时间",
80
96
  "isRecurringAppointment": "这是一个定期预约吗?",
97
+ "itemsPerPage": "每页条目数",
81
98
  "loading": "加载中",
82
99
  "location": "地点",
83
100
  "medications": "药物",
84
101
  "missed": "未就诊",
85
- "missingVisitType": "就诊类型缺失",
102
+ "nextPage": "下一页",
86
103
  "no": "否",
104
+ "noAppointmentsToDisplay": "没有预约可显示",
87
105
  "noContent": "没有内容",
88
106
  "noCurrentAppointments": "该患者没有安排在今日的预约",
89
107
  "noEncountersFound": "未找到问诊记录",
90
- "noMatchingVisitTypeFound": "",
91
108
  "noPastAppointments": "该患者没有历史预约",
92
109
  "noPreviousVisitFound": "未找到先前的就诊",
93
110
  "notArrived": "未到达",
@@ -95,53 +112,47 @@
95
112
  "notes": "备注",
96
113
  "noUpcomingAppointments": "未找到即将到来的预约",
97
114
  "noUpcomingAppointmentsForPatient": "该患者没有即将到来的预约",
115
+ "pageNumber": "页码",
98
116
  "past": "过往",
99
117
  "patientDetails": "患者详情",
118
+ "patientDoubleBooking": "Patient already booked for an appointment at this time",
100
119
  "patientName": "患者姓名",
101
120
  "patients": "患者",
102
- "patientSearch": "患者搜索",
103
121
  "period": "周期",
122
+ "previousPage": "上一页",
104
123
  "provider": "提供者",
105
124
  "providers": "提供者",
106
125
  "providersBooked": "提供者预订:{{time}}",
107
- "queueAddedSuccessfully": "",
108
- "queueEntryError": "将患者添加到队列时出现错误",
109
126
  "recurringAppointment": "定期预约",
110
127
  "repeatEvery": "重复每",
111
128
  "save": "保存",
112
129
  "saveAndClose": "保存并关闭",
113
130
  "scheduled": "已安排",
114
131
  "scheduledAppointments": "已安排的预约",
115
- "search": "搜索",
116
- "searchForAVisitType": "搜索就诊类型",
132
+ "selectALocation": "Select a location",
117
133
  "selectAppointmentStatus": "选择状态",
118
134
  "selectAppointmentType": "选择一个预约类型",
119
- "selectFacility": "选择一个机构",
120
135
  "selectLocation": "选择地点",
121
136
  "selectOption": "选择一个选项",
122
137
  "selectProvider": "选择一个提供者",
123
138
  "selectService": "选择一个服务",
124
139
  "selectServiceType": "选择服务类型",
125
- "selectVisitType": "请选择就诊类型",
126
140
  "service": "服务",
127
141
  "serviceName": "服务名称",
128
142
  "serviceType": "服务类型",
143
+ "serviceUnavailable": "Appointment time is outside of service hours",
129
144
  "startDate": "开始日期",
130
145
  "startTime": "开始时间",
131
- "startVisitError": "开始就诊时出现错误",
146
+ "status": "状态",
132
147
  "time": "时间",
133
148
  "today": "今日",
134
- "todays": "Today's",
135
- "total": "总计",
149
+ "todays": "今日",
136
150
  "unscheduled": "未安排",
137
151
  "unscheduledAppointments": "未安排的预约",
138
152
  "unscheduledAppointments_lower": "未安排的预约",
139
153
  "upcoming": "即将到来",
140
154
  "upcomingAppointments": "即将到来的预约",
141
155
  "view": "查看",
142
- "visitLocation": "就诊地点",
143
- "visitStarted": "就诊开始",
144
- "visitType": "就诊类型",
145
156
  "vitals": "生命体征",
146
157
  "week": "周",
147
158
  "yes": "是"
package/dist/309.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[309],{5309:(t,e,n)=>{n.r(e),n.d(e,{default:()=>c});var i=n(268),o=n.n(i),a=n(4924),s=n(2870),l=n(4409),p=n(8527),r=n(3291);const c=function(t){var e=t.patientUuid,n=t.appointmentUuid,i=t.closeModal,c=(0,s.useVisit)(e),u=c.activeVisit,d=c.mutate,m=(0,a.useTranslation)().t,k=(0,r.EJ)().mutateAppointments;return o().createElement("div",null,o().createElement(l.xBx,{closeModal:i,title:m("endAppointmentConfirmation","Are you sure you want to check the patient out for this appointment?")}),o().createElement(l.fef,null,o().createElement("p",null,u?m("endAppointmentAndVisitConfirmationMessage","Checking the patient out will mark the appointment as complete, and close out the active visit for this patient."):m("endAppointmentConfirmationMessage","Checking the patient out will mark the appointment as complete."))),o().createElement(l.mzw,null,o().createElement(l.zxk,{kind:"secondary",onClick:i},m("cancel","Cancel")),o().createElement(l.zxk,{kind:"danger",onClick:function(){return(0,p.q)("Completed",n).then((function(){if(k(),u){var t=new AbortController,e={location:u.location.uuid,startDatetime:(0,s.parseDate)(u.startDatetime),visitType:u.visitType.uuid,stopDatetime:new Date};(0,s.updateVisit)(u.uuid,e,t).toPromise().then((function(){d(),(0,s.showSnackbar)({title:m("appointmentEnded","Appointment ended"),subtitle:m("appointmentEndedAndVisitClosedSuccessfully","Appointment successfully ended and visit successfully closed."),isLowContrast:!0,kind:"success"}),i()})).catch((function(t){var e;i(),(0,s.showSnackbar)({title:m("appointmentEndedButVisitNotClosedError","Appointment ended, but error closing visit"),subtitle:null===(e=t)||void 0===e?void 0:e.message,kind:"error",isLowContrast:!0})}))}else i(),(0,s.showSnackbar)({title:m("appointmentEnded","Appointment ended"),subtitle:m("appointmentEndedSuccessfully","Appointment successfully ended."),isLowContrast:!0,kind:"success"})})).catch((function(t){var e;i(),(0,s.showSnackbar)({title:m("appointmentEndError","Error ending appointment"),subtitle:null===(e=t)||void 0===e?void 0:e.message,kind:"error",isLowContrast:!0})}))}},m("checkOut","Check out"))))}}}]);
package/dist/4.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[4],{4:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var r=n(268),a=n.n(r),o=n(4924),l=n(4409),i=n(2870),c=n(8527);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t,n,r,a,o,l){try{var i=e[o](l),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}const p=function(e){var t,n,p,f,d=e.closeCancelModal,m=e.appointmentUuid,y=e.patientUuid,h=(0,o.useTranslation)().t,b=(0,c.W)(y,(new Date).toUTCString(),new AbortController).mutate,v=(p=(0,r.useState)(!1),f=2,function(e){if(Array.isArray(e))return e}(p)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],l=!0,i=!1;try{for(n=n.call(e);!(l=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);l=!0);}catch(e){i=!0,a=e}finally{try{l||null==n.return||n.return()}finally{if(i)throw a}}return o}}(p,f)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(p,f)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),w=v[0],k=v[1],C=(t=function(){return function(e,t){var n,r,a,o,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(o){return function(i){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,r=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!((a=(a=l.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){l=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){l.label=o[1];break}if(6===o[0]&&l.label<a[1]){l.label=a[1],a=o;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=t.call(e,l)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,i])}}}(this,(function(e){return k(!0),(0,c.q)("Cancelled",m).then((function(e){200===e.status&&(b(),d(),(0,i.showSnackbar)({isLowContrast:!0,kind:"success",subtitle:h("appointmentCancelledSuccessfully","Appointment cancelled successfully"),title:h("appointmentCancelled","Appointment cancelled")}))})).catch((function(e){var t;(0,i.showSnackbar)({title:h("appointmentCancelError","Error cancelling appointment"),kind:"error",isLowContrast:!0,subtitle:null===(t=e)||void 0===t?void 0:t.message})})),[2]}))},n=function(){var e=this,n=arguments;return new Promise((function(r,a){var o=t.apply(e,n);function l(e){s(o,r,a,l,i,"next",e)}function i(e){s(o,r,a,l,i,"throw",e)}l(void 0)}))},function(){return n.apply(this,arguments)});return a().createElement("div",null,a().createElement(l.xBx,{closeModal:d,title:h("cancelAppointment","Cancel appointment")}),a().createElement(l.fef,null,a().createElement("p",null,h("cancelAppointmentModalConfirmationText","Are you sure you want to cancel this appointment?"))),a().createElement(l.mzw,null,a().createElement(l.zxk,{kind:"secondary",onClick:d},h("discard","Discard")),a().createElement(l.zxk,{kind:"danger",onClick:C,disabled:w},h("cancelAppointment","Cancel appointment"))))}}}]);
package/dist/4.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"4.js","mappings":"qdAiEA,QArDoF,Y,YAClFA,EAAAA,EAAAA,iBACAC,EAAAA,EAAAA,gBACAC,EAAAA,EAAAA,YAEM,GAAQC,EAAAA,EAAAA,kBAANC,EACF,GAAaC,EAAAA,EAAAA,GAAuBH,GAAa,IAAII,MAAOC,cAAe,IAAIC,iBAA7EC,OACgCC,G,GAAAA,EAAAA,EAAAA,WAAS,G,EAAA,E,+zBAA1CC,EAAiCD,EAAAA,GAAnBE,EAAmBF,EAAAA,GAElCG,G,EAAe,W,qkCACnBD,GAAgB,IAEhBE,EAAAA,EAAAA,GAAwB,YAAab,GAClCc,MAAK,YACW,MADRC,EAAAA,SAELP,IACAT,KACAiB,EAAAA,EAAAA,cAAa,CACXC,eAAe,EACfC,KAAM,UACNC,SAAUhB,EAAE,mCAAoC,sCAChDiB,MAAOjB,EAAE,uBAAwB,2BAGvC,IACCkB,OAAM,SAACC,G,IAKMA,GAJZN,EAAAA,EAAAA,cAAa,CACXI,MAAOjB,EAAE,yBAA0B,gCACnCe,KAAM,QACND,eAAe,EACfE,SAAUG,QAAAA,EAAAA,SAAAA,IAAAA,OAAAA,EAAAA,EAAKC,SAEnB,I,MACJ,E,4NAEA,OACE,kBAACC,MAAAA,KACC,kBAACC,EAAAA,IAAWA,CAACC,WAAY3B,EAAkBqB,MAAOjB,EAAE,oBAAqB,wBACzE,kBAACwB,EAAAA,IAASA,KACR,kBAACC,IAAAA,KAAGzB,EAAE,yCAA0C,uDAElD,kBAAC0B,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAACZ,KAAK,YAAYa,QAAShC,GAC/BI,EAAE,UAAW,YAEhB,kBAAC2B,EAAAA,IAAMA,CAACZ,KAAK,SAASa,QAASnB,EAAcoB,SAAUtB,GACpDP,EAAE,oBAAqB,wBAKlC,C","sources":["webpack://@kenyaemr/esm-appointments-app/./src/patient-appointments/patient-appointments-cancel-modal.component.tsx"],"names":["closeCancelModal","appointmentUuid","patientUuid","useTranslation","t","usePatientAppointments","Date","toUTCString","AbortController","mutate","useState","isSubmitting","setIsSubmitting","handleCancel","changeAppointmentStatus","then","status","showSnackbar","isLowContrast","kind","subtitle","title","catch","err","message","div","ModalHeader","closeModal","ModalBody","p","ModalFooter","Button","onClick","disabled"],"sourceRoot":""}