A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | type | name | label::en | required | relevant | appearance | read_only | constraint | constraint_message::en | calculation | choice_filter | hint::en | default | ||||||||||||||
2 | begin group | inputs | NO_LABEL | FALSE | |||||||||||||||||||||||
3 | begin group | user | NO_LABEL | ||||||||||||||||||||||||
4 | string | contact_id | Contact ID of the logged in user | ||||||||||||||||||||||||
5 | string | facility_id | Place ID of the logged in user | ||||||||||||||||||||||||
6 | string | name | Name of the logged in user | ||||||||||||||||||||||||
7 | end group | ||||||||||||||||||||||||||
8 | end group | ||||||||||||||||||||||||||
9 | |||||||||||||||||||||||||||
10 | begin group | init | NO_LABEL | Cannot be inside the person group without having all fields saved to person. And needs separate db-objects because cannot have one that handles the different place types. Last part is now incorrect... as long as it is read only it could be a string of appearance db-object and work fine. | |||||||||||||||||||||||
11 | string | parent_id | Belongs To | db-object | true | ${parent} | ${type_label} | ||||||||||||||||||||
12 | string | name | NO_LABEL | hidden | |||||||||||||||||||||||
13 | string | contact_type | NO_LABEL | hidden | |||||||||||||||||||||||
14 | select_one place_type | type_selector | NO_LABEL | hidden | ../contact_type | ||||||||||||||||||||||
15 | calculate | type_label | jr:choice-name(${type_selector},'${type_selector}') | ||||||||||||||||||||||||
16 | end group | ||||||||||||||||||||||||||
17 | |||||||||||||||||||||||||||
18 | begin group | team_lead | NO_LABEL | ||||||||||||||||||||||||
19 | hidden | parent | Parent ID | PARENT | |||||||||||||||||||||||
20 | hidden | type | Person Type | person | |||||||||||||||||||||||
21 | string | first_name | First Name | yes | |||||||||||||||||||||||
22 | string | last_name | Surname | yes | |||||||||||||||||||||||
23 | calculate | name | NO_LABEL | join(' ',${first_name}, ${last_name}) | |||||||||||||||||||||||
24 | string | Email Address | yes | ||||||||||||||||||||||||
25 | tel | phone | Cell Number | TRUE | Please enter a valid local number, or use the standard international format, which includes a plus sign (+) and country code. For example: +254712345678 | ||||||||||||||||||||||
26 | hidden | role | NO_LABEL | team_lead | |||||||||||||||||||||||
27 | begin group | meta | NO_LABEL | hidden | |||||||||||||||||||||||
28 | calculate | created_by | ../../../inputs/user/name | ||||||||||||||||||||||||
29 | calculate | created_by_person_uuid | ../../../inputs/user/contact_id | ||||||||||||||||||||||||
30 | calculate | created_by_place_uuid | ../../../inputs/user/facility_id | ||||||||||||||||||||||||
31 | end group | ||||||||||||||||||||||||||
32 | end group | ||||||||||||||||||||||||||
33 | |||||||||||||||||||||||||||
34 | |||||||||||||||||||||||||||
35 | |||||||||||||||||||||||||||
36 | |||||||||||||||||||||||||||
37 | |||||||||||||||||||||||||||
38 | |||||||||||||||||||||||||||
39 | |||||||||||||||||||||||||||
40 | |||||||||||||||||||||||||||
41 | |||||||||||||||||||||||||||
42 | |||||||||||||||||||||||||||
43 | |||||||||||||||||||||||||||
44 | |||||||||||||||||||||||||||
45 | |||||||||||||||||||||||||||
46 | |||||||||||||||||||||||||||
47 | |||||||||||||||||||||||||||
48 | |||||||||||||||||||||||||||
49 | |||||||||||||||||||||||||||
50 | |||||||||||||||||||||||||||
51 | |||||||||||||||||||||||||||
52 | |||||||||||||||||||||||||||
53 | |||||||||||||||||||||||||||
54 | |||||||||||||||||||||||||||
55 | |||||||||||||||||||||||||||
56 | |||||||||||||||||||||||||||
57 | |||||||||||||||||||||||||||
58 | |||||||||||||||||||||||||||
59 | |||||||||||||||||||||||||||
60 | |||||||||||||||||||||||||||
61 | |||||||||||||||||||||||||||
62 | |||||||||||||||||||||||||||
63 | |||||||||||||||||||||||||||
64 | |||||||||||||||||||||||||||
65 | |||||||||||||||||||||||||||
66 | |||||||||||||||||||||||||||
67 | |||||||||||||||||||||||||||
68 | |||||||||||||||||||||||||||
69 | |||||||||||||||||||||||||||
70 | |||||||||||||||||||||||||||
71 | |||||||||||||||||||||||||||
72 | |||||||||||||||||||||||||||
73 | |||||||||||||||||||||||||||
74 | |||||||||||||||||||||||||||
75 | |||||||||||||||||||||||||||
76 | |||||||||||||||||||||||||||
77 | |||||||||||||||||||||||||||
78 | |||||||||||||||||||||||||||
79 | |||||||||||||||||||||||||||
80 | |||||||||||||||||||||||||||
81 | |||||||||||||||||||||||||||
82 | |||||||||||||||||||||||||||
83 | |||||||||||||||||||||||||||
84 | |||||||||||||||||||||||||||
85 | |||||||||||||||||||||||||||
86 | |||||||||||||||||||||||||||
87 | |||||||||||||||||||||||||||
88 | |||||||||||||||||||||||||||
89 | |||||||||||||||||||||||||||
90 | |||||||||||||||||||||||||||
91 | |||||||||||||||||||||||||||
92 | |||||||||||||||||||||||||||
93 | |||||||||||||||||||||||||||
94 | |||||||||||||||||||||||||||
95 | |||||||||||||||||||||||||||
96 | |||||||||||||||||||||||||||
97 | |||||||||||||||||||||||||||
98 | |||||||||||||||||||||||||||
99 | |||||||||||||||||||||||||||
100 |