summaryrefslogtreecommitdiff
path: root/server/xml/macros/yderligere_diagnostik-1.0.xml
blob: aa57032904c712b9a81ae10c4bfd1b1012d1056b (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.conclusion} ${amd_preop.conclusion.eye}
${amd_preop.conclusion_additional}${amd_preop.conclusion_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.conclusion_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.conclusion.eye" 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.conclusion"
		  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.conclusion_additional" value=""/>
      <checkbox caption="Afsluttes" name="amd_preop.conclusion_terminated"
		truevalue=" - Afsluttes" falsevalue="" value=""/>
    </frame>
    
    <!-- Knapper -->
    <frame layout="hbox">
      <spacer/>
      <button caption="Gem" action="commit"/>
    </frame>
  </widgets>
</macro>