summaryrefslogtreecommitdiff
path: root/server/xml/example.xml
blob: 3273d718a57b5120d98c67e91ea56dc0630c354c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<macro name="example" version="1.0"
       resume="Det koster 50$$\\100kr\nLinse: ${linse1}\n${linse_note}\nHævelse: ${radio}\n\n${spl_note}">
  <window name="mainwindow"
          caption="Fundus"
          width="500"
          height="560"
          layout="vbox">
    <include name="patient"/>
    <frame name="spl_frame" caption="Spl:" layout="vbox">
      <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="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="" 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="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="exsudate">
          <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">
      <button name="cancel" caption="Annuller" action="cancel"/>
      <button name="commit" caption="Godkend" action="commit"/>
    </frame>
  </window>
</macro>