summaryrefslogtreecommitdiff
path: root/server/xml/macros/yderligere_diagnostik-1.0.xml
blob: dc6c3c71c29d1f40dbe9f5d96bd54ba8867c7ecf (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
56
57
<?xml version='1.0' encoding='UTF-8'?>
<!--
    20081204: Bent Bisballe Nyeng
    Feltnavnene ændret så de giver mening.
  -->
<macro name="yderligere_diagnostik" version="1.0">
  <resume>${amd_preop.konklusion. ${amd_preop.konklusion.oeje}
${amd_preop.konklusion.yderligere}${amd_preop.konklusion.terminated}.</resume>
  <queries>
  </queries>
  <maps>
  </maps>
  <scripts>
    <script language="lua" name="afsluttes">
      if value == 'Der findes ingen indikation for yderligere udredning af AMD.'
      then
        setValue('amd_preop.konklusion.terminated', ' - Afsluttes')
      end
      return true
    </script>
  </scripts>
  <widgets caption="Yderligere diagnostik (B.2.2.8)"
          layout="vbox">
    
    <frame layout="vbox">
      <frame layout="hbox">
	<label caption="Øje:" width="50"/>
	<radiobuttons name="amd_preop.konklusion.oeje" value="">
	  <radiobutton caption="o.dxt" value="o.dxt"/>
	  <radiobutton caption="o.sin" value="o.sin"/>
	</radiobuttons>
	<spacer/>
      </frame>

      <frame layout="hbox">
	<combobox name="amd_preop.konklusion"
		  value=""
		  script="afsluttes">
	  <item caption="Ingen indikation for yderligere udredning af AMD."
		value="Der findes ingen indikation for yderligere udredning af AMD."/>
	  <item caption="Der findes indikation for fluorescens angiografi"
		value="Der findes indikation for fluorescens angiografi."/>
	</combobox>
      </frame>
      <label caption="Supplerende:"/>
      <textedit name="amd_preop.konklusion.yderligere" value=""/>
      <checkbox caption="Afsluttes" name="amd_preop.konklusion.terminated"
		truevalue=" - Afsluttes" falsevalue="" value=""/>
    </frame>
    
    <!-- Knapper -->
    <frame layout="hbox">
      <spacer/>
      <button caption="Gem" action="commit"/>
    </frame>
  </widgets>
</macro>