summaryrefslogtreecommitdiff
path: root/server/xml/example.xml
blob: b9974a85330774d81ed6c7d3fe4957ed98df6506 (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
54
55
<?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." help="Hjælpenisse"/>
    </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" help="Hjælpenisse"/>
      </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" help="Hjælpenisse"/>
      </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" help="Hjælpenisse"/>
      </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" help="Hjælpenisse">
          <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" help="Hjælpenisse">
          <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" help="Hjælpenisse">
          <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">
      <lineedit name="next_macro" regexp="[a-z_]+[a-z_0-9]*" value="example"/>
      <button name="cancel" caption="Annuller" action="cancel" help="Hjælpenisse"/>
      <button name="continue" caption="Fortsæt" action="continue" field="next_macro" help="Hjælpenisse"/>
      <button name="commit" caption="Godkend" action="commit" help="Hjælpenisse"/>
    </frame>
  </window>
</macro>