Commit adde82a
authored
HTML-882 Create tag to schedule appointment (#340)
* HTML-882: Create tag to schedule appointment
* add ability to make scheduling appointment optional + show message in view / edit mode
* address feedback comments
* add restrictToCurrentVisitLocation param; address feedback
* update Schedule Appointment tag to suport duration and all-day appointments and save appointment uuid as obs
* add controlId to ScheduleAppointment tag
* make duration required
* fix tests; separate inline style into CSS
* add translations for: es, fr, ht
* address feedback
* add additional tests1 parent 40945b0 commit adde82a
14 files changed
Lines changed: 1964 additions & 3 deletions
File tree
- api-tests/src/test/java/org/openmrs/module/htmlformentry
- api/src
- main
- java/org/openmrs/module/htmlformentry
- appointment
- element
- handler
- resources
- test
- java/org/openmrs/module/htmlformentry/element
- resources/org/openmrs/module/htmlformentry
- data
- include
Lines changed: 860 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
651 | 655 | | |
652 | 656 | | |
653 | 657 | | |
| |||
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
967 | 969 | | |
968 | 970 | | |
969 | 971 | | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
970 | 980 | | |
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
46 | 53 | | |
0 commit comments