summaryrefslogtreecommitdiff
path: root/server/xml/macros/visus-manifest_refraktion-1.0.xml
diff options
context:
space:
mode:
authordeva <deva>2010-06-01 13:02:23 +0000
committerdeva <deva>2010-06-01 13:02:23 +0000
commit730eb796bbce6f124be9194f1565b7dda1daddf1 (patch)
tree46387b60fefad222197e3319ed922b23176d4a36 /server/xml/macros/visus-manifest_refraktion-1.0.xml
parent74a28aa7125be6a603128ad600c98c4882f3b5c2 (diff)
Afdj macros/templates are now located in their own repo.
Diffstat (limited to 'server/xml/macros/visus-manifest_refraktion-1.0.xml')
-rw-r--r--server/xml/macros/visus-manifest_refraktion-1.0.xml1261
1 files changed, 0 insertions, 1261 deletions
diff --git a/server/xml/macros/visus-manifest_refraktion-1.0.xml b/server/xml/macros/visus-manifest_refraktion-1.0.xml
deleted file mode 100644
index 74b8ea3..0000000
--- a/server/xml/macros/visus-manifest_refraktion-1.0.xml
+++ /dev/null
@@ -1,1261 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<macro name="visus-manifest_refraktion" version="1.0">
-<!--
- Info ved oprettelse af ny visus macro hvor denne kopieres.
- query-replace på .navn1. til .navn2.
- skift macro navnet under macro tagget helt i toppen
- skift overskrift i resumeet (navn1->navn2)
- skift GUI overskrift for macroen under widgets afsnittet
- fjern resume felter der ikke skal bruges
- fjern tilsvarende GUI felter der ikke skal bruges
- -->
- <resume language="lua">
- function lttoxml(value)
- return string.gsub(value, '&lt;', '&amp;lt;')
- end
-
- out = ''
- if ( getValue('visus.manifest_refraktion.mangler.odxt') == '' or getValue('visus.manifest_refraktion.mangler.osin') == '' or getValue('visus.manifest_refraktion.ou') ~= '' )
- then
- out = out .. 'Visus optimal refraktion:\n'
- end
-
- if ( getValue('visus.manifest_refraktion.mangler.odxt') == '' )
- then
- out = out .. 'o.dxt: '
- if ( getValue('visus.manifest_refraktion.snellen.odxt') ~= '' )
- then
- out = out .. lttoxml(getValue('visus.manifest_refraktion.snellen.odxt'))
- if ( getValue('visus.manifest_refraktion.etdrs.odxt') == '' )
- then
- out = out .. ', '
- end
- end
- if ( getValue('visus.manifest_refraktion.etdrs.odxt') ~= '' )
- then
- if ( getValue('visus.manifest_refraktion.snellen.odxt') ~= '' )
- then
- out = out .. ', '
- end
- out = out .. getValue('visus.manifest_refraktion.etdrs.odxt') .. ' ETDRS, '
- end
- if ( getValue('visus.manifest_refraktion.kontrast.odxt') ~= '' )
- then
- out = out .. getValue('visus.manifest_refraktion.kontrast.odxt') .. ' kontrast, '
- end
-
- out = out .. 'cc ' .. getValue('visus.manifest_refraktion.korr.sf.odxt') .. ' sf'
- if ( getValue('visus.manifest_refraktion.korr.cyl.odxt') ~= '' )
- then
- out = out .. ', ' .. getValue('visus.manifest_refraktion.korr.cyl.odxt') .. ' cyl'
- end
- if ( getValue('visus.manifest_refraktion.korr.grader.odxt') ~= '' )
- then
- out = out .. ', ' .. getValue('visus.manifest_refraktion.korr.grader.odxt') .. ' grader'
- end
-
- if ( getValue('visus.manifest_refraktion.st_hul.odxt') ~= '' )
- then
- if ( getValue('visus.manifest_refraktion.st_hul.snellen.odxt') ~= '' )
- then
- out = out .. ', ' .. lttoxml(getValue('visus.manifest_refraktion.st_hul.snellen.odxt'))
- end
- if ( getValue('visus.manifest_refraktion.st_hul.etdrs.odxt') ~= '' )
- then
- out = out .. ', ' .. getValue('visus.manifest_refraktion.st_hul.etdrs.odxt') .. ' ETDRS'
- end
- out = out .. ' st.h.'
- end
- out = out .. '\n'
- end
-
-
-
-
-
- if ( getValue('visus.manifest_refraktion.mangler.osin') == '' )
- then
- out = out .. 'o.sin: '
- if ( getValue('visus.manifest_refraktion.snellen.osin') ~= '' )
- then
- out = out .. lttoxml(getValue('visus.manifest_refraktion.snellen.osin'))
- if ( getValue('visus.manifest_refraktion.etdrs.osin') == '' )
- then
- out = out .. ', '
- end
- end
- if ( getValue('visus.manifest_refraktion.etdrs.osin') ~= '' )
- then
- if ( getValue('visus.manifest_refraktion.snellen.osin') ~= '' )
- then
- out = out .. ', '
- end
- out = out .. getValue('visus.manifest_refraktion.etdrs.osin') .. ' ETDRS, '
- end
- if ( getValue('visus.manifest_refraktion.kontrast.osin') ~= '' )
- then
- out = out .. getValue('visus.manifest_refraktion.kontrast.osin') .. ' kontrast, '
- end
-
- out = out .. 'cc ' .. getValue('visus.manifest_refraktion.korr.sf.osin') .. ' sf'
- if ( getValue('visus.manifest_refraktion.korr.cyl.osin') ~= '' )
- then
- out = out .. ', ' .. getValue('visus.manifest_refraktion.korr.cyl.osin') .. ' cyl'
- end
- if ( getValue('visus.manifest_refraktion.korr.grader.osin') ~= '' )
- then
- out = out .. ', ' .. getValue('visus.manifest_refraktion.korr.grader.osin') .. ' grader'
- end
-
- if ( getValue('visus.manifest_refraktion.st_hul.osin') ~= '' )
- then
- if ( getValue('visus.manifest_refraktion.st_hul.snellen.osin') ~= '' )
- then
- out = out .. ', ' .. lttoxml(getValue('visus.manifest_refraktion.st_hul.snellen.osin'))
- end
- if ( getValue('visus.manifest_refraktion.st_hul.etdrs.osin') ~= '' )
- then
- out = out .. ', ' .. getValue('visus.manifest_refraktion.st_hul.etdrs.osin') .. ' ETDRS'
- end
- out = out .. ' st.h.'
- end
- out = out .. '\n'
- end
-
-
-
-
-
-
- if ( getValue('visus.manifest_refraktion.ou') ~= '' )
- then
- out = out .. 'o.u: '
- if ( getValue('visus.manifest_refraktion.snellen.ou') ~= '' )
- then
- out = out .. lttoxml(getValue('visus.manifest_refraktion.snellen.ou'))
- end
- if ( getValue('visus.manifest_refraktion.etdrs.ou') ~= '' )
- then
- if ( getValue('visus.manifest_refraktion.snellen.ou') ~= '' )
- then
- out = out .. ', '
- end
- out = out .. getValue('visus.manifest_refraktion.etdrs.ou') .. ' ETDRS'
- end
- if ( getValue('visus.manifest_refraktion.kontrast.ou') ~= '' )
- then
- out = out .. ', ' .. getValue('visus.manifest_refraktion.kontrast.ou') .. ' kontrast'
- end
- end
-
- return out
- </resume>
- <queries>
- <query service="pracro" class="missing_eye_odxt" ttl="1000000"/>
- <query service="pracro" class="missing_eye_osin" ttl="1000000"/>
- </queries>
- <maps>
- <map name="missing_eye_odxt_map">
- value = 0
- timestamp = 0
- source = ''
-
- if( missing_eye_odxt )
- then
- if( missing_eye_odxt.value and missing_eye_odxt.value == '' )
- then
- value = ''
- timestamp = missing_eye_odxt.timestamp
- source = missing_eye_odxt.source
- else
- value = 'mangler'
- timestamp = missing_eye_odxt.timestamp
- source = missing_eye_odxt.source
- end
- end
- return value, timestamp, source
- </map>
- <map name="missing_eye_osin_map">
- value = 0
- timestamp = 0
- source = ''
-
- if( missing_eye_osin )
- then
- if( missing_eye_osin.value and missing_eye_osin.value == '' )
- then
- value = ''
- timestamp = missing_eye_osin.timestamp
- source = missing_eye_osin.source
- else
- value = 'mangler'
- timestamp = missing_eye_osin.timestamp
- source = missing_eye_osin.source
- end
- end
- return value, timestamp, source
- </map>
- </maps>
- <scripts>
- <script language="lua" name="lt20gt-25">
- if(value == '')
- then
- return false
- end
-
- value = string.gsub(value, ',', '.')
- if(tonumber(value) &gt;= -25 and tonumber(value) &lt;= 20)
- then
- return true
- else
- return false
- end
- </script>
- <script language="lua" name="lt10gt-15">
- if(value == '')
- then
- return true
- end
-
- value = string.gsub(value, ',', '.')
- if(tonumber(value) &gt;= -15 and tonumber(value) &lt;= 10)
- then
- return true
- else
- return false
- end
- </script>
- <script language="lua" name="lt359gt0">
- if(value == '')
- then
- return true
- end
-
- value = string.gsub(value, ',', '.')
- if(tonumber(value) &gt;= 0 and tonumber(value) &lt;= 359)
- then
- return true
- else
- return false
- end
- </script>
- <script language="lua" name="snellen.odxt">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.etdrs.odxt') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="snellen.osin">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.etdrs.osin') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="etdrs.odxt">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.snellen.odxt') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="etdrs.osin">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.snellen.osin') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="st_hul.snellen.odxt">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.st_hul.etdrs.odxt') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="st_hul.snellen.osin">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.st_hul.etdrs.osin') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="st_hul.etdrs.odxt">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.st_hul.snellen.odxt') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="st_hul.etdrs.osin">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.st_hul.snellen.osin') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="etdrs.ou">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.snellen.ou') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="snellen.ou">
- if (value == '')
- then
- if ( getValue('visus.manifest_refraktion.etdrs.ou') == '' )
- then
- return false
- end
- end
- return true
- </script>
- <script language="lua" name="st_hul_check.odxt">
- if (value == '')
- then
- disable('st_hul_frame.odxt')
- else
- enable('st_hul_frame.odxt')
- end
- return true
- </script>
- <script language="lua" name="st_hul_check.osin">
- if (value == '')
- then
- disable('st_hul_frame.osin')
- else
- enable('st_hul_frame.osin')
- end
- return true
- </script>
- <script language="lua" name="st_hul_check.ou">
- if (value == '')
- then
- disable('st_hul_frame.ou')
- else
- enable('st_hul_frame.ou')
- end
- return true
- </script>
- <script language="lua" name="right_eye">
- if ( value == 'mangler' )
- then
- disable('right_eye_frame')
- else
- enable('right_eye_frame')
- end
- return true
- </script>
- <script language="lua" name="left_eye">
- if ( value == 'mangler' )
- then
- disable('left_eye_frame')
- else
- enable('left_eye_frame')
- end
- return true
- </script>
- <script language="lua" name="ou">
- if ( value == '' )
- then
- disable('ou_frame')
- else
- enable('ou_frame')
- end
- return true
- </script>
- </scripts>
- <widgets caption="Visus - optimal refraktion"
- layout="vbox">
-
- <frame layout="hbox">
-
- <!-- o.dxt -->
- <frame layout="vbox">
- <checkbox caption="Der er ikke målt på o.dxt"
- name="visus.manifest_refraktion.mangler.odxt" script="right_eye"
- map="missing_eye_odxt_map"
- truevalue="mangler" falsevalue="" value=""/>
- <frame name="right_eye_frame" caption="o.dxt" layout="vbox">
- <frame layout="hbox">
- <label caption="Kontrast:"/>
- <combobox name="visus.manifest_refraktion.kontrast.odxt" value="">
- <item caption="Ej relevant" value=""/>
- <item caption="20%" value="20%"/>
- <item caption="50%" value="50%"/>
- <item caption="75%" value="75%"/>
- </combobox>
- <spacer/>
- </frame>
- <frame layout="hbox">
- <frame layout="vbox">
- <label caption="Snellen:"/>
- <combobox name="visus.manifest_refraktion.snellen.odxt" layout="vbox" type="search" value="" script="snellen.odxt">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="2,0" value="2,0"/>
- <item caption="1,6" value="1,6"/>
- <item caption="1,33" value="1,33"/>
- <item caption="1,0" value="1,0"/>
- <item caption="0,8" value="0,8"/>
- <item caption="0,67" value="0,67"/>
- <item caption="0,5" value="0,5"/>
- <item caption="0,4" value="0,4"/>
- <item caption="0,32" value="0,32"/>
- <item caption="0,25" value="0,25"/>
- <item caption="0,2" value="0,2"/>
- <item caption="0,16" value="0,16"/>
- <item caption="0,125" value="0,125"/>
- <item caption="0,1" value="0,1"/>
- <item caption="0,08" value="0,08"/>
- <item caption="0,05" value="0,05"/>
- <item caption="&amp;lt;0,05" value="&amp;lt;0,05"/>
- <item caption="6/60" value="6/60"/>
- <item caption="3/60" value="3/60"/>
- <item caption="1/18" value="1/18"/>
- <item caption="1/24" value="1/24"/>
- <item caption="1/36" value="1/36"/>
- <item caption="1/60" value="1/60"/>
- <item caption="FGT" value="FGT"/>
- <item caption="HBV" value="HBV"/>
- <item caption="+L+P" value="+L+P"/>
- <item caption="+L-P" value="+L-P"/>
- <item caption="-L" value="-L"/>
- </combobox>
- </frame>
- <frame layout="vbox">
- <label caption="ETDRS:"/>
- <combobox name="visus.manifest_refraktion.etdrs.odxt" value="" type="search" script="etdrs.odxt">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="0" value="0"/>
- <item caption="1" value="1"/>
- <item caption="2" value="2"/>
- <item caption="3" value="3"/>
- <item caption="4" value="4"/>
- <item caption="5" value="5"/>
- <item caption="6" value="6"/>
- <item caption="7" value="7"/>
- <item caption="8" value="8"/>
- <item caption="9" value="9"/>
- <item caption="10" value="10"/>
- <item caption="11" value="11"/>
- <item caption="12" value="12"/>
- <item caption="13" value="13"/>
- <item caption="14" value="14"/>
- <item caption="15" value="15"/>
- <item caption="16" value="16"/>
- <item caption="17" value="17"/>
- <item caption="18" value="18"/>
- <item caption="19" value="19"/>
- <item caption="20" value="20"/>
- <item caption="21" value="21"/>
- <item caption="22" value="22"/>
- <item caption="23" value="23"/>
- <item caption="24" value="24"/>
- <item caption="25" value="25"/>
- <item caption="26" value="26"/>
- <item caption="27" value="27"/>
- <item caption="28" value="28"/>
- <item caption="29" value="29"/>
- <item caption="30" value="30"/>
- <item caption="31" value="31"/>
- <item caption="32" value="32"/>
- <item caption="33" value="33"/>
- <item caption="34" value="34"/>
- <item caption="35" value="35"/>
- <item caption="36" value="36"/>
- <item caption="37" value="37"/>
- <item caption="38" value="38"/>
- <item caption="39" value="39"/>
- <item caption="40" value="40"/>
- <item caption="41" value="41"/>
- <item caption="42" value="42"/>
- <item caption="43" value="43"/>
- <item caption="44" value="44"/>
- <item caption="45" value="45"/>
- <item caption="46" value="46"/>
- <item caption="47" value="47"/>
- <item caption="48" value="48"/>
- <item caption="49" value="49"/>
- <item caption="50" value="50"/>
- <item caption="51" value="51"/>
- <item caption="52" value="52"/>
- <item caption="53" value="53"/>
- <item caption="54" value="54"/>
- <item caption="55" value="55"/>
- <item caption="56" value="56"/>
- <item caption="57" value="57"/>
- <item caption="58" value="58"/>
- <item caption="59" value="59"/>
- <item caption="60" value="60"/>
- <item caption="61" value="61"/>
- <item caption="62" value="62"/>
- <item caption="63" value="63"/>
- <item caption="64" value="64"/>
- <item caption="65" value="65"/>
- <item caption="66" value="66"/>
- <item caption="67" value="67"/>
- <item caption="68" value="68"/>
- <item caption="69" value="69"/>
- <item caption="70" value="70"/>
- <item caption="71" value="71"/>
- <item caption="72" value="72"/>
- <item caption="73" value="73"/>
- <item caption="74" value="74"/>
- <item caption="75" value="75"/>
- <item caption="76" value="76"/>
- <item caption="77" value="77"/>
- <item caption="78" value="78"/>
- <item caption="79" value="79"/>
- <item caption="80" value="80"/>
- <item caption="81" value="81"/>
- <item caption="82" value="82"/>
- <item caption="83" value="83"/>
- <item caption="84" value="84"/>
- <item caption="85" value="85"/>
- <item caption="86" value="86"/>
- <item caption="87" value="87"/>
- <item caption="88" value="88"/>
- <item caption="89" value="89"/>
- <item caption="90" value="90"/>
- <item caption="91" value="91"/>
- <item caption="92" value="92"/>
- <item caption="93" value="93"/>
- <item caption="94" value="94"/>
- <item caption="95" value="95"/>
- <item caption="96" value="96"/>
- <item caption="97" value="97"/>
- <item caption="98" value="98"/>
- <item caption="99" value="99"/>
- <item caption="100" value="100"/>
- </combobox>
- </frame>
- </frame>
- <frame layout="vbox">
-<!-- start fjern herfra hvis korr felterne ikke skal bruges -->
- <frame layout="hbox">
- <frame layout="vbox">
- <label/>
- <label caption="Korr:"/>
- </frame>
- <frame layout="vbox">
- <label caption="Sf:"/>
- <lineedit name="visus.manifest_refraktion.korr.sf.odxt" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt-25" value=""/>
- </frame>
- <frame layout="vbox">
- <label caption="Cyl:"/>
- <lineedit name="visus.manifest_refraktion.korr.cyl.odxt" regexp="|[-+]?[\d]{1,2},[\d]{2,2}" script="lt10gt-15" value=""/>
- </frame>
- <frame layout="vbox">
- <label caption="Grader:"/>
- <lineedit name="visus.manifest_refraktion.korr.grader.odxt" regexp="|[\d]+" script="lt359gt0" value=""/>
- </frame>
- </frame>
-<!-- slut fjern hertil hvis korr felterne ikke skal bruges -->
- <frame layout="hbox">
- <checkbox name="visus.manifest_refraktion.st_hul.odxt" caption="Yderligere måling med st. hul (udfyld herunder)" truevalue="true" falsevalue="" script="st_hul_check.odxt"/>
- </frame>
- <frame layout="hbox" name="st_hul_frame.odxt">
- <frame layout="vbox">
- <label caption="Snellen:"/>
- <combobox name="visus.manifest_refraktion.st_hul.snellen.odxt" layout="vbox" type="search" value="" script="st_hul.snellen.odxt">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="2,0" value="2,0"/>
- <item caption="1,6" value="1,6"/>
- <item caption="1,33" value="1,33"/>
- <item caption="1,0" value="1,0"/>
- <item caption="0,8" value="0,8"/>
- <item caption="0,67" value="0,67"/>
- <item caption="0,5" value="0,5"/>
- <item caption="0,4" value="0,4"/>
- <item caption="0,32" value="0,32"/>
- <item caption="0,25" value="0,25"/>
- <item caption="0,2" value="0,2"/>
- <item caption="0,16" value="0,16"/>
- <item caption="0,125" value="0,125"/>
- <item caption="0,1" value="0,1"/>
- <item caption="0,08" value="0,08"/>
- <item caption="0,05" value="0,05"/>
- <item caption="&amp;lt;0,05" value="&amp;lt;0,05"/>
- <item caption="6/60" value="6/60"/>
- <item caption="3/60" value="3/60"/>
- <item caption="1/18" value="1/18"/>
- <item caption="1/24" value="1/24"/>
- <item caption="1/36" value="1/36"/>
- <item caption="1/60" value="1/60"/>
- <item caption="FGT" value="FGT"/>
- <item caption="HBV" value="HBV"/>
- <item caption="+L+P" value="+L+P"/>
- <item caption="+L-P" value="+L-P"/>
- <item caption="-L" value="-L"/>
- </combobox>
- </frame>
- <frame layout="vbox">
- <label caption="ETDRS:"/>
- <combobox name="visus.manifest_refraktion.st_hul.etdrs.odxt" value="" type="search" script="st_hul.etdrs.odxt">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="0" value="0"/>
- <item caption="1" value="1"/>
- <item caption="2" value="2"/>
- <item caption="3" value="3"/>
- <item caption="4" value="4"/>
- <item caption="5" value="5"/>
- <item caption="6" value="6"/>
- <item caption="7" value="7"/>
- <item caption="8" value="8"/>
- <item caption="9" value="9"/>
- <item caption="10" value="10"/>
- <item caption="11" value="11"/>
- <item caption="12" value="12"/>
- <item caption="13" value="13"/>
- <item caption="14" value="14"/>
- <item caption="15" value="15"/>
- <item caption="16" value="16"/>
- <item caption="17" value="17"/>
- <item caption="18" value="18"/>
- <item caption="19" value="19"/>
- <item caption="20" value="20"/>
- <item caption="21" value="21"/>
- <item caption="22" value="22"/>
- <item caption="23" value="23"/>
- <item caption="24" value="24"/>
- <item caption="25" value="25"/>
- <item caption="26" value="26"/>
- <item caption="27" value="27"/>
- <item caption="28" value="28"/>
- <item caption="29" value="29"/>
- <item caption="30" value="30"/>
- <item caption="31" value="31"/>
- <item caption="32" value="32"/>
- <item caption="33" value="33"/>
- <item caption="34" value="34"/>
- <item caption="35" value="35"/>
- <item caption="36" value="36"/>
- <item caption="37" value="37"/>
- <item caption="38" value="38"/>
- <item caption="39" value="39"/>
- <item caption="40" value="40"/>
- <item caption="41" value="41"/>
- <item caption="42" value="42"/>
- <item caption="43" value="43"/>
- <item caption="44" value="44"/>
- <item caption="45" value="45"/>
- <item caption="46" value="46"/>
- <item caption="47" value="47"/>
- <item caption="48" value="48"/>
- <item caption="49" value="49"/>
- <item caption="50" value="50"/>
- <item caption="51" value="51"/>
- <item caption="52" value="52"/>
- <item caption="53" value="53"/>
- <item caption="54" value="54"/>
- <item caption="55" value="55"/>
- <item caption="56" value="56"/>
- <item caption="57" value="57"/>
- <item caption="58" value="58"/>
- <item caption="59" value="59"/>
- <item caption="60" value="60"/>
- <item caption="61" value="61"/>
- <item caption="62" value="62"/>
- <item caption="63" value="63"/>
- <item caption="64" value="64"/>
- <item caption="65" value="65"/>
- <item caption="66" value="66"/>
- <item caption="67" value="67"/>
- <item caption="68" value="68"/>
- <item caption="69" value="69"/>
- <item caption="70" value="70"/>
- <item caption="71" value="71"/>
- <item caption="72" value="72"/>
- <item caption="73" value="73"/>
- <item caption="74" value="74"/>
- <item caption="75" value="75"/>
- <item caption="76" value="76"/>
- <item caption="77" value="77"/>
- <item caption="78" value="78"/>
- <item caption="79" value="79"/>
- <item caption="80" value="80"/>
- <item caption="81" value="81"/>
- <item caption="82" value="82"/>
- <item caption="83" value="83"/>
- <item caption="84" value="84"/>
- <item caption="85" value="85"/>
- <item caption="86" value="86"/>
- <item caption="87" value="87"/>
- <item caption="88" value="88"/>
- <item caption="89" value="89"/>
- <item caption="90" value="90"/>
- <item caption="91" value="91"/>
- <item caption="92" value="92"/>
- <item caption="93" value="93"/>
- <item caption="94" value="94"/>
- <item caption="95" value="95"/>
- <item caption="96" value="96"/>
- <item caption="97" value="97"/>
- <item caption="98" value="98"/>
- <item caption="99" value="99"/>
- <item caption="100" value="100"/>
- </combobox>
- </frame>
- </frame>
- </frame>
- </frame>
- </frame>
-
- <!-- o.sin -->
- <frame layout="vbox">
- <checkbox caption="Der er ikke målt på o.sin"
- name="visus.manifest_refraktion.mangler.osin" script="left_eye"
- map="missing_eye_osin_map"
- truevalue="mangler" falsevalue="" value=""/>
- <frame name="left_eye_frame" caption="o.sin" layout="vbox">
- <frame layout="hbox">
- <label caption="Kontrast:"/>
- <combobox name="visus.manifest_refraktion.kontrast.osin" value="">
- <item caption="Ej relevant" value=""/>
- <item caption="20%" value="20%"/>
- <item caption="50%" value="50%"/>
- <item caption="75%" value="75%"/>
- </combobox>
- <spacer/>
- </frame>
- <frame layout="hbox">
- <frame layout="vbox">
- <label caption="Snellen:"/>
- <combobox name="visus.manifest_refraktion.snellen.osin" layout="vbox" type="search" value="" script="snellen.osin">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="2,0" value="2,0"/>
- <item caption="1,6" value="1,6"/>
- <item caption="1,33" value="1,33"/>
- <item caption="1,0" value="1,0"/>
- <item caption="0,8" value="0,8"/>
- <item caption="0,67" value="0,67"/>
- <item caption="0,5" value="0,5"/>
- <item caption="0,4" value="0,4"/>
- <item caption="0,32" value="0,32"/>
- <item caption="0,25" value="0,25"/>
- <item caption="0,2" value="0,2"/>
- <item caption="0,16" value="0,16"/>
- <item caption="0,125" value="0,125"/>
- <item caption="0,1" value="0,1"/>
- <item caption="0,08" value="0,08"/>
- <item caption="0,05" value="0,05"/>
- <item caption="&amp;lt;0,05" value="&amp;lt;0,05"/>
- <item caption="6/60" value="6/60"/>
- <item caption="3/60" value="3/60"/>
- <item caption="1/18" value="1/18"/>
- <item caption="1/24" value="1/24"/>
- <item caption="1/36" value="1/36"/>
- <item caption="1/60" value="1/60"/>
- <item caption="FGT" value="FGT"/>
- <item caption="HBV" value="HBV"/>
- <item caption="+L+P" value="+L+P"/>
- <item caption="+L-P" value="+L-P"/>
- <item caption="-L" value="-L"/>
- </combobox>
- </frame>
- <frame layout="vbox">
- <label caption="ETDRS:"/>
- <combobox name="visus.manifest_refraktion.etdrs.osin" value="" type="search" script="etdrs.osin">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="0" value="0"/>
- <item caption="1" value="1"/>
- <item caption="2" value="2"/>
- <item caption="3" value="3"/>
- <item caption="4" value="4"/>
- <item caption="5" value="5"/>
- <item caption="6" value="6"/>
- <item caption="7" value="7"/>
- <item caption="8" value="8"/>
- <item caption="9" value="9"/>
- <item caption="10" value="10"/>
- <item caption="11" value="11"/>
- <item caption="12" value="12"/>
- <item caption="13" value="13"/>
- <item caption="14" value="14"/>
- <item caption="15" value="15"/>
- <item caption="16" value="16"/>
- <item caption="17" value="17"/>
- <item caption="18" value="18"/>
- <item caption="19" value="19"/>
- <item caption="20" value="20"/>
- <item caption="21" value="21"/>
- <item caption="22" value="22"/>
- <item caption="23" value="23"/>
- <item caption="24" value="24"/>
- <item caption="25" value="25"/>
- <item caption="26" value="26"/>
- <item caption="27" value="27"/>
- <item caption="28" value="28"/>
- <item caption="29" value="29"/>
- <item caption="30" value="30"/>
- <item caption="31" value="31"/>
- <item caption="32" value="32"/>
- <item caption="33" value="33"/>
- <item caption="34" value="34"/>
- <item caption="35" value="35"/>
- <item caption="36" value="36"/>
- <item caption="37" value="37"/>
- <item caption="38" value="38"/>
- <item caption="39" value="39"/>
- <item caption="40" value="40"/>
- <item caption="41" value="41"/>
- <item caption="42" value="42"/>
- <item caption="43" value="43"/>
- <item caption="44" value="44"/>
- <item caption="45" value="45"/>
- <item caption="46" value="46"/>
- <item caption="47" value="47"/>
- <item caption="48" value="48"/>
- <item caption="49" value="49"/>
- <item caption="50" value="50"/>
- <item caption="51" value="51"/>
- <item caption="52" value="52"/>
- <item caption="53" value="53"/>
- <item caption="54" value="54"/>
- <item caption="55" value="55"/>
- <item caption="56" value="56"/>
- <item caption="57" value="57"/>
- <item caption="58" value="58"/>
- <item caption="59" value="59"/>
- <item caption="60" value="60"/>
- <item caption="61" value="61"/>
- <item caption="62" value="62"/>
- <item caption="63" value="63"/>
- <item caption="64" value="64"/>
- <item caption="65" value="65"/>
- <item caption="66" value="66"/>
- <item caption="67" value="67"/>
- <item caption="68" value="68"/>
- <item caption="69" value="69"/>
- <item caption="70" value="70"/>
- <item caption="71" value="71"/>
- <item caption="72" value="72"/>
- <item caption="73" value="73"/>
- <item caption="74" value="74"/>
- <item caption="75" value="75"/>
- <item caption="76" value="76"/>
- <item caption="77" value="77"/>
- <item caption="78" value="78"/>
- <item caption="79" value="79"/>
- <item caption="80" value="80"/>
- <item caption="81" value="81"/>
- <item caption="82" value="82"/>
- <item caption="83" value="83"/>
- <item caption="84" value="84"/>
- <item caption="85" value="85"/>
- <item caption="86" value="86"/>
- <item caption="87" value="87"/>
- <item caption="88" value="88"/>
- <item caption="89" value="89"/>
- <item caption="90" value="90"/>
- <item caption="91" value="91"/>
- <item caption="92" value="92"/>
- <item caption="93" value="93"/>
- <item caption="94" value="94"/>
- <item caption="95" value="95"/>
- <item caption="96" value="96"/>
- <item caption="97" value="97"/>
- <item caption="98" value="98"/>
- <item caption="99" value="99"/>
- <item caption="100" value="100"/>
- </combobox>
- </frame>
- </frame>
- <frame layout="vbox">
-<!-- start fjern herfra hvis korr felterne ikke skal bruges -->
- <frame layout="hbox">
- <frame layout="vbox">
- <label/>
- <label caption="Korr:"/>
- </frame>
- <frame layout="vbox">
- <label caption="Sf:"/>
- <lineedit name="visus.manifest_refraktion.korr.sf.osin" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt-25" value=""/>
- </frame>
- <frame layout="vbox">
- <label caption="Cyl:"/>
- <lineedit name="visus.manifest_refraktion.korr.cyl.osin" regexp="|[-+]?[\d]{1,2},[\d]{2,2}" script="lt10gt-15" value=""/>
- </frame>
- <frame layout="vbox">
- <label caption="Grader:"/>
- <lineedit name="visus.manifest_refraktion.korr.grader.osin" regexp="|[\d]+" script="lt359gt0" value=""/>
- </frame>
- </frame>
-<!-- slut fjern hertil hvis korr felterne ikke skal bruges -->
- <frame layout="hbox">
- <checkbox name="visus.manifest_refraktion.st_hul.osin" caption="Yderligere måling med st. hul (udfyld herunder)" truevalue="true" falsevalue="" script="st_hul_check.osin"/>
- </frame>
- <frame layout="hbox" name="st_hul_frame.osin">
- <frame layout="vbox">
- <label caption="Snellen:"/>
- <combobox name="visus.manifest_refraktion.st_hul.snellen.osin" layout="vbox" type="search" value="" script="st_hul.snellen.osin">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="2,0" value="2,0"/>
- <item caption="1,6" value="1,6"/>
- <item caption="1,33" value="1,33"/>
- <item caption="1,0" value="1,0"/>
- <item caption="0,8" value="0,8"/>
- <item caption="0,67" value="0,67"/>
- <item caption="0,5" value="0,5"/>
- <item caption="0,4" value="0,4"/>
- <item caption="0,32" value="0,32"/>
- <item caption="0,25" value="0,25"/>
- <item caption="0,2" value="0,2"/>
- <item caption="0,16" value="0,16"/>
- <item caption="0,125" value="0,125"/>
- <item caption="0,1" value="0,1"/>
- <item caption="0,08" value="0,08"/>
- <item caption="0,05" value="0,05"/>
- <item caption="&amp;lt;0,05" value="&amp;lt;0,05"/>
- <item caption="6/60" value="6/60"/>
- <item caption="3/60" value="3/60"/>
- <item caption="1/18" value="1/18"/>
- <item caption="1/24" value="1/24"/>
- <item caption="1/36" value="1/36"/>
- <item caption="1/60" value="1/60"/>
- <item caption="FGT" value="FGT"/>
- <item caption="HBV" value="HBV"/>
- <item caption="+L+P" value="+L+P"/>
- <item caption="+L-P" value="+L-P"/>
- <item caption="-L" value="-L"/>
- </combobox>
- </frame>
- <frame layout="vbox">
- <label caption="ETDRS:"/>
- <combobox name="visus.manifest_refraktion.st_hul.etdrs.osin" value="" type="search" script="st_hul.etdrs.osin">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="0" value="0"/>
- <item caption="1" value="1"/>
- <item caption="2" value="2"/>
- <item caption="3" value="3"/>
- <item caption="4" value="4"/>
- <item caption="5" value="5"/>
- <item caption="6" value="6"/>
- <item caption="7" value="7"/>
- <item caption="8" value="8"/>
- <item caption="9" value="9"/>
- <item caption="10" value="10"/>
- <item caption="11" value="11"/>
- <item caption="12" value="12"/>
- <item caption="13" value="13"/>
- <item caption="14" value="14"/>
- <item caption="15" value="15"/>
- <item caption="16" value="16"/>
- <item caption="17" value="17"/>
- <item caption="18" value="18"/>
- <item caption="19" value="19"/>
- <item caption="20" value="20"/>
- <item caption="21" value="21"/>
- <item caption="22" value="22"/>
- <item caption="23" value="23"/>
- <item caption="24" value="24"/>
- <item caption="25" value="25"/>
- <item caption="26" value="26"/>
- <item caption="27" value="27"/>
- <item caption="28" value="28"/>
- <item caption="29" value="29"/>
- <item caption="30" value="30"/>
- <item caption="31" value="31"/>
- <item caption="32" value="32"/>
- <item caption="33" value="33"/>
- <item caption="34" value="34"/>
- <item caption="35" value="35"/>
- <item caption="36" value="36"/>
- <item caption="37" value="37"/>
- <item caption="38" value="38"/>
- <item caption="39" value="39"/>
- <item caption="40" value="40"/>
- <item caption="41" value="41"/>
- <item caption="42" value="42"/>
- <item caption="43" value="43"/>
- <item caption="44" value="44"/>
- <item caption="45" value="45"/>
- <item caption="46" value="46"/>
- <item caption="47" value="47"/>
- <item caption="48" value="48"/>
- <item caption="49" value="49"/>
- <item caption="50" value="50"/>
- <item caption="51" value="51"/>
- <item caption="52" value="52"/>
- <item caption="53" value="53"/>
- <item caption="54" value="54"/>
- <item caption="55" value="55"/>
- <item caption="56" value="56"/>
- <item caption="57" value="57"/>
- <item caption="58" value="58"/>
- <item caption="59" value="59"/>
- <item caption="60" value="60"/>
- <item caption="61" value="61"/>
- <item caption="62" value="62"/>
- <item caption="63" value="63"/>
- <item caption="64" value="64"/>
- <item caption="65" value="65"/>
- <item caption="66" value="66"/>
- <item caption="67" value="67"/>
- <item caption="68" value="68"/>
- <item caption="69" value="69"/>
- <item caption="70" value="70"/>
- <item caption="71" value="71"/>
- <item caption="72" value="72"/>
- <item caption="73" value="73"/>
- <item caption="74" value="74"/>
- <item caption="75" value="75"/>
- <item caption="76" value="76"/>
- <item caption="77" value="77"/>
- <item caption="78" value="78"/>
- <item caption="79" value="79"/>
- <item caption="80" value="80"/>
- <item caption="81" value="81"/>
- <item caption="82" value="82"/>
- <item caption="83" value="83"/>
- <item caption="84" value="84"/>
- <item caption="85" value="85"/>
- <item caption="86" value="86"/>
- <item caption="87" value="87"/>
- <item caption="88" value="88"/>
- <item caption="89" value="89"/>
- <item caption="90" value="90"/>
- <item caption="91" value="91"/>
- <item caption="92" value="92"/>
- <item caption="93" value="93"/>
- <item caption="94" value="94"/>
- <item caption="95" value="95"/>
- <item caption="96" value="96"/>
- <item caption="97" value="97"/>
- <item caption="98" value="98"/>
- <item caption="99" value="99"/>
- <item caption="100" value="100"/>
- </combobox>
- </frame>
- </frame>
- </frame>
- </frame>
- </frame>
-
- </frame>
-
- <!-- Begge øjne -->
- <frame layout="hbox">
- <spacer/>
- <frame layout="vbox">
- <checkbox caption="Aktiver o.u. måling"
- name="visus.manifest_refraktion.ou" script="ou"
- truevalue="ou" falsevalue="" value=""/>
- <frame name="ou_frame" caption="o.u." layout="vbox">
- <frame layout="hbox">
- <label caption="Kontrast:"/>
- <combobox name="visus.manifest_refraktion.kontrast.ou" value="">
- <item caption="Ej relevant" value=""/>
- <item caption="20%" value="20%"/>
- <item caption="50%" value="50%"/>
- <item caption="75%" value="75%"/>
- </combobox>
- <spacer/>
- </frame>
- <frame layout="hbox">
- <frame layout="vbox">
- <label caption="Snellen:"/>
- <combobox name="visus.manifest_refraktion.snellen.ou" layout="vbox" type="search" value="" script="snellen.ou">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="2,0" value="2,0"/>
- <item caption="1,6" value="1,6"/>
- <item caption="1,33" value="1,33"/>
- <item caption="1,0" value="1,0"/>
- <item caption="0,8" value="0,8"/>
- <item caption="0,67" value="0,67"/>
- <item caption="0,5" value="0,5"/>
- <item caption="0,4" value="0,4"/>
- <item caption="0,32" value="0,32"/>
- <item caption="0,25" value="0,25"/>
- <item caption="0,2" value="0,2"/>
- <item caption="0,16" value="0,16"/>
- <item caption="0,125" value="0,125"/>
- <item caption="0,1" value="0,1"/>
- <item caption="0,08" value="0,08"/>
- <item caption="0,05" value="0,05"/>
- <item caption="&amp;lt;0,05" value="&amp;lt;0,05"/>
- <item caption="6/60" value="6/60"/>
- <item caption="3/60" value="3/60"/>
- <item caption="1/18" value="1/18"/>
- <item caption="1/24" value="1/24"/>
- <item caption="1/36" value="1/36"/>
- <item caption="1/60" value="1/60"/>
- <item caption="FGT" value="FGT"/>
- <item caption="HBV" value="HBV"/>
- <item caption="+L+P" value="+L+P"/>
- <item caption="+L-P" value="+L-P"/>
- <item caption="-L" value="-L"/>
- </combobox>
- </frame>
- <frame layout="vbox">
- <label caption="ETDRS:"/>
- <combobox name="visus.manifest_refraktion.etdrs.ou" value="" type="search" script="etdrs.ou">
- <item caption="Ikke udfyldt" value=""/>
- <item caption="0" value="0"/>
- <item caption="1" value="1"/>
- <item caption="2" value="2"/>
- <item caption="3" value="3"/>
- <item caption="4" value="4"/>
- <item caption="5" value="5"/>
- <item caption="6" value="6"/>
- <item caption="7" value="7"/>
- <item caption="8" value="8"/>
- <item caption="9" value="9"/>
- <item caption="10" value="10"/>
- <item caption="11" value="11"/>
- <item caption="12" value="12"/>
- <item caption="13" value="13"/>
- <item caption="14" value="14"/>
- <item caption="15" value="15"/>
- <item caption="16" value="16"/>
- <item caption="17" value="17"/>
- <item caption="18" value="18"/>
- <item caption="19" value="19"/>
- <item caption="20" value="20"/>
- <item caption="21" value="21"/>
- <item caption="22" value="22"/>
- <item caption="23" value="23"/>
- <item caption="24" value="24"/>
- <item caption="25" value="25"/>
- <item caption="26" value="26"/>
- <item caption="27" value="27"/>
- <item caption="28" value="28"/>
- <item caption="29" value="29"/>
- <item caption="30" value="30"/>
- <item caption="31" value="31"/>
- <item caption="32" value="32"/>
- <item caption="33" value="33"/>
- <item caption="34" value="34"/>
- <item caption="35" value="35"/>
- <item caption="36" value="36"/>
- <item caption="37" value="37"/>
- <item caption="38" value="38"/>
- <item caption="39" value="39"/>
- <item caption="40" value="40"/>
- <item caption="41" value="41"/>
- <item caption="42" value="42"/>
- <item caption="43" value="43"/>
- <item caption="44" value="44"/>
- <item caption="45" value="45"/>
- <item caption="46" value="46"/>
- <item caption="47" value="47"/>
- <item caption="48" value="48"/>
- <item caption="49" value="49"/>
- <item caption="50" value="50"/>
- <item caption="51" value="51"/>
- <item caption="52" value="52"/>
- <item caption="53" value="53"/>
- <item caption="54" value="54"/>
- <item caption="55" value="55"/>
- <item caption="56" value="56"/>
- <item caption="57" value="57"/>
- <item caption="58" value="58"/>
- <item caption="59" value="59"/>
- <item caption="60" value="60"/>
- <item caption="61" value="61"/>
- <item caption="62" value="62"/>
- <item caption="63" value="63"/>
- <item caption="64" value="64"/>
- <item caption="65" value="65"/>
- <item caption="66" value="66"/>
- <item caption="67" value="67"/>
- <item caption="68" value="68"/>
- <item caption="69" value="69"/>
- <item caption="70" value="70"/>
- <item caption="71" value="71"/>
- <item caption="72" value="72"/>
- <item caption="73" value="73"/>
- <item caption="74" value="74"/>
- <item caption="75" value="75"/>
- <item caption="76" value="76"/>
- <item caption="77" value="77"/>
- <item caption="78" value="78"/>
- <item caption="79" value="79"/>
- <item caption="80" value="80"/>
- <item caption="81" value="81"/>
- <item caption="82" value="82"/>
- <item caption="83" value="83"/>
- <item caption="84" value="84"/>
- <item caption="85" value="85"/>
- <item caption="86" value="86"/>
- <item caption="87" value="87"/>
- <item caption="88" value="88"/>
- <item caption="89" value="89"/>
- <item caption="90" value="90"/>
- <item caption="91" value="91"/>
- <item caption="92" value="92"/>
- <item caption="93" value="93"/>
- <item caption="94" value="94"/>
- <item caption="95" value="95"/>
- <item caption="96" value="96"/>
- <item caption="97" value="97"/>
- <item caption="98" value="98"/>
- <item caption="99" value="99"/>
- <item caption="100" value="100"/>
- </combobox>
- </frame>
- </frame>
-
- <!--
- <frame layout="vbox">
- <frame layout="hbox">
- <frame layout="vbox">
- <label/>
- <label caption="Korr:"/>
- </frame>
- <frame layout="vbox">
- <label caption="Sf:"/>
- <lineedit name="visus.manifest_refraktion.korr.sf.ou" regexp="[+-]{0,1}\d{1,2},\d{2}" script="lt20gt-25" value=""/>
- </frame>
- <frame layout="vbox">
- <label caption="Cyl:"/>
- <lineedit name="visus.manifest_refraktion.korr.cyl.ou" regexp="|[-+]?[\d]{1,2},[\d]{2,2}" script="lt10gt-15" value=""/>
- </frame>
- <frame layout="vbox">
- <label caption="Grader:"/>
- <lineedit name="visus.manifest_refraktion.korr.grader.ou" regexp="|[\d]+" script="lt359gt0" value=""/>
- </frame>
- </frame>
- </frame>
- -->
- </frame>
- </frame>
- <spacer/>
- </frame>
-
- <!-- Knapper -->
- <frame layout="hbox">
- <spacer />
- <button caption="Gem" action="commit"/>
- </frame>
- </widgets>
-</macro>