summaryrefslogtreecommitdiff
path: root/server/xml/example.xml
diff options
context:
space:
mode:
authordeva <deva>2007-10-01 15:18:21 +0000
committerdeva <deva>2007-10-01 15:18:21 +0000
commitc09b06d5e765955ea41c6b02891390ed6a714e55 (patch)
treeb90a1a919fd086146256a4ef5ecc44faa2dd5c51 /server/xml/example.xml
parent1890cff193f6e5c10c7581b0767bbb5ac91f8cc7 (diff)
Now the resume is generated using a format string.
Diffstat (limited to 'server/xml/example.xml')
-rw-r--r--server/xml/example.xml28
1 files changed, 20 insertions, 8 deletions
diff --git a/server/xml/example.xml b/server/xml/example.xml
index ebef918..57f9587 100644
--- a/server/xml/example.xml
+++ b/server/xml/example.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<macro name="fundus" version="1.0">
+<macro name="example" version="1.0"
+ resume="Det koster 50$$\nLinse: ${linse}D\n${linse_note}\nHævelse: ${radio}\n\n${spl_note}">
<window name="mainwindow"
caption="Fundus"
width="500"
@@ -7,26 +8,37 @@
layout="vbox">
<include name="patient"/>
<frame name="spl_frame" caption="Spl:" layout="vbox">
- <textedit name="spl_note" regexp=".*" value="På begge sider alderssvarende forhold. Der er let katarakt, som dog ikke er operationskrævende."/>
+ <lineedit 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]{1,3}D" value="90D"/>
- <textedit name="linse_note" regexp=".*" value="Der findes centrale atrofiske forandringer."/>
+ <frame name="linse_frame" caption="Linser:" layout="vbox">
+ <frame name="linse_framea" layout="hbox">
+ <label name="a" width="300" caption="Linse1 er en lidt længere streng end de to andre:"/>
+ <lineedit name="linse1" regexp="[0-9]{1,3}D" value="90K"/>
+ </frame>
+ <frame name="linse_frameb" layout="hbox">
+ <label name="b" width="300" caption="Linse2:"/>
+ <lineedit name="linse2" regexp="[0-9]{1,3}D" value="90D"/>
+ </frame>
+ <frame name="linse_framec" layout="hbox">
+ <label name="c" width="300" caption="Linse3:"/>
+ <lineedit name="linse3" regexp="[0-9]{1,3}D" value="90D"/>
+ </frame>
</frame>
<frame name="swelling_frame" layout="hbox">
<label name="swelling" caption="Der findes central hævelse med:"/>
<frame name="swelling_radios" layout="hbox">
- <radiobuttons name="radio" value="exsudater" layout="vbox">
+ <radiobuttons name="radio" value="" 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">
+ <combobox name="combo" value="fiskesuppe">
<item caption="Combo Randblødning" value="rand"/>
<item caption="Combo Exsudater" value="exsudater"/>
<item caption="Combo Blahblah" value="blabla"/>
+ <item caption="Combo Blahblah" value="fisk"/>
</combobox>
- <listbox name="list" value="exsudater">
+ <listbox name="list" value="exsudate">
<item caption="List Randblødning" value="rand"/>
<item caption="List Exsudater" value="exsudater"/>
<item caption="List Blahblah" value="blabla"/>