Commit b9471e1
fix(ehr): date validation messages, encounter sort, payment edit prefill
- Reports filters: show inline "Invalid date" message and skip applying
the filter until a typed date parses (was red border only).
- Clinical forms (immunization etc.) + shared masked date field: show an
inline "Invalid date" hint as the user types/blurs, not only on save.
- Patient Snapshot Encounter History: sort latest -> oldest by date.
- Encounter status save: surface a warning when the patient-scoped status
PUT fails instead of swallowing it silently.
- Payment edit: refetch the full transaction by id; add a normalizeEditItem
hook so the Payment History list-edit form maps collectedAt/paymentMethodType
onto paymentDate/paymentMethod (Date + Method opened blank before).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6b90104 commit b9471e1
5 files changed
Lines changed: 137 additions & 19 deletions
File tree
- src/vs/workbench/contrib/ciyexEhr/browser
- editors
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
| |||
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
| 99 | + | |
| 100 | + | |
93 | 101 | | |
94 | 102 | | |
95 | 103 | | |
| |||
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
106 | 117 | | |
107 | 118 | | |
108 | 119 | | |
| |||
113 | 124 | | |
114 | 125 | | |
115 | 126 | | |
| 127 | + | |
116 | 128 | | |
117 | 129 | | |
118 | 130 | | |
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
1710 | 1724 | | |
1711 | 1725 | | |
1712 | 1726 | | |
1713 | 1727 | | |
1714 | | - | |
1715 | | - | |
1716 | | - | |
| 1728 | + | |
| 1729 | + | |
1717 | 1730 | | |
| 1731 | + | |
1718 | 1732 | | |
1719 | 1733 | | |
1720 | 1734 | | |
| |||
1724 | 1738 | | |
1725 | 1739 | | |
1726 | 1740 | | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
1727 | 1744 | | |
1728 | 1745 | | |
1729 | 1746 | | |
| |||
Lines changed: 75 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
905 | 928 | | |
906 | 929 | | |
907 | 930 | | |
| |||
1072 | 1095 | | |
1073 | 1096 | | |
1074 | 1097 | | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
1075 | 1118 | | |
1076 | 1119 | | |
1077 | 1120 | | |
| |||
1170 | 1213 | | |
1171 | 1214 | | |
1172 | 1215 | | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
1173 | 1225 | | |
1174 | 1226 | | |
1175 | 1227 | | |
| |||
1290 | 1342 | | |
1291 | 1343 | | |
1292 | 1344 | | |
1293 | | - | |
| 1345 | + | |
1294 | 1346 | | |
1295 | 1347 | | |
1296 | 1348 | | |
| |||
3221 | 3273 | | |
3222 | 3274 | | |
3223 | 3275 | | |
3224 | | - | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
3225 | 3286 | | |
3226 | 3287 | | |
3227 | 3288 | | |
| |||
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1270 | 1270 | | |
1271 | 1271 | | |
1272 | 1272 | | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
1273 | 1279 | | |
1274 | 1280 | | |
1275 | | - | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
1276 | 1288 | | |
1277 | 1289 | | |
1278 | 1290 | | |
| |||
1283 | 1295 | | |
1284 | 1296 | | |
1285 | 1297 | | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
1286 | 1301 | | |
1287 | 1302 | | |
1288 | 1303 | | |
| |||
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2067 | 2067 | | |
2068 | 2068 | | |
2069 | 2069 | | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
2070 | 2078 | | |
2071 | 2079 | | |
2072 | 2080 | | |
| |||
2711 | 2719 | | |
2712 | 2720 | | |
2713 | 2721 | | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
2714 | 2727 | | |
2715 | 2728 | | |
2716 | 2729 | | |
| |||
2797 | 2810 | | |
2798 | 2811 | | |
2799 | 2812 | | |
2800 | | - | |
| 2813 | + | |
2801 | 2814 | | |
2802 | 2815 | | |
2803 | 2816 | | |
| |||
0 commit comments