diff options
author | deva <deva> | 2007-09-27 10:37:39 +0000 |
---|---|---|
committer | deva <deva> | 2007-09-27 10:37:39 +0000 |
commit | 8a03999480430e00646b8d185cff2e5ad32dfdb5 (patch) | |
tree | d8e87bf5071a41868124a1143faa467f045124e7 /server | |
parent | 1ccf1890bf711485c831abb9ef24f8855b30a5c8 (diff) |
Added new controls combobox, listbox and radiobuttons to example. Changed default values to be valid.
Diffstat (limited to 'server')
-rw-r--r-- | server/xml/example.xml | 20 | ||||
-rw-r--r-- | server/xml/patient.xml | 6 |
2 files changed, 18 insertions, 8 deletions
diff --git a/server/xml/example.xml b/server/xml/example.xml index 4bd7c80..a8093cf 100644 --- a/server/xml/example.xml +++ b/server/xml/example.xml @@ -10,17 +10,27 @@ <textedit name="spl_note" regexp=".*" value="På begge sider alderssvarende forhold. Der er let katarakt, som dog ikke er operationskrævende."/> </frame> <frame name="linse_frame" caption="Linse:" layout="vbox"> - <lineedit name="linse" regexp="[0-9]{5}" value="90-D linse"/> + <lineedit name="linse" regexp="[0-9]{1,3}D" value="90D"/> <textedit name="linse_note" regexp=".*" value="Der findes centrale atrofiske forandringer."/> </frame> <frame name="swelling_frame" layout="hbox"> <label name="swelling" caption="Der findes central hævelse med:"/> <frame name="swelling_radios" layout="vbox"> - <radiobuttons name="radio" layout="vbox"> - <item caption="Randblødning" value="rand"/> - <item caption="Exsudater" value="exsudater"/> - <item caption="Blahblah" value="blabla"/> + <radiobuttons name="radio" value="exsudater" layout="vbox"> + <item caption="Radio Randblødning" value="rand"/> + <item caption="Radio Exsudater" value="exsudater"/> + <item caption="Radio Blahblah" value="blabla"/> </radiobuttons> + <combobox name="combo" value="exsudater" layout="vbox"> + <item caption="Combo Randblødning" value="rand"/> + <item caption="Combo Exsudater" value="exsudater"/> + <item caption="Combo Blahblah" value="blabla"/> + </combobox> + <listbox name="list" value="exsudater" layout="vbox"> + <item caption="List Randblødning" value="rand"/> + <item caption="List Exsudater" value="exsudater"/> + <item caption="List Blahblah" value="blabla"/> + </listbox> </frame> </frame> <frame name="buttons" layout="hbox"> diff --git a/server/xml/patient.xml b/server/xml/patient.xml index 5afe1ea..3debfb4 100644 --- a/server/xml/patient.xml +++ b/server/xml/patient.xml @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <macro name="patient" version="1.0"> <frame name="cpr_frame" caption="CPR og navn" layout="vbox"> - <lineedit name="patient_cpr" regexp="\d{6}-{0,1}\d{4}" value=""/> - <lineedit name="patient_navn" regexp=".+" value=""/> + <lineedit name="patient_cpr" regexp="\d{6}-{0,1}\d{4}" value="1505050505"/> + <lineedit name="patient_navn" regexp=".+" value="Birger Fiskenolder"/> </frame> <frame name="name_frame" caption="Noter" layout="vbox"> - <textedit name="patient_note" regexp=".*" value=""/> + <textedit name="patient_note" regexp=".*" value="Noget note om et eller andet"/> </frame> </macro> |