From ce08ba4689b54f8e27a5418f490d9c87fe71cc78 Mon Sep 17 00:00:00 2001 From: senator Date: Tue, 17 Nov 2009 10:43:45 +0000 Subject: moved all .osin. instances from any instance containing it to the end of the instance. I have checked to find errors but NOT very thoroughly. The XML files might contain errors, but i will correct these, if any, when i encounter them later on --- server/xml/macros/90d_linse-1.0.xml | 120 ++++----- server/xml/macros/akselaengde-1.0.xml | 50 ++-- server/xml/macros/aktuelle-1.0.xml | 58 ++-- .../xml/macros/amd_behandlingsindikation-1.0.xml | 6 +- .../macros/amd_genbehandlingsindikation-1.0.xml | 6 +- server/xml/macros/amd_procedure-1.0.xml | 4 +- server/xml/macros/autorefraktion-1.0.xml | 76 +++--- server/xml/macros/central_corneatykkelse-1.0.xml | 50 ++-- server/xml/macros/cycloplegisk_refraktion-1.0.xml | 68 ++--- server/xml/macros/egen_brille-1.0.xml | 116 ++++---- server/xml/macros/example.xml | 12 +- server/xml/macros/fluorescens_faser-1.0.xml | 6 +- server/xml/macros/fluorescens_injektion-1.0.xml | 6 +- server/xml/macros/fluorescens_konklusion-1.0.xml | 2 +- server/xml/macros/gennemgang_af_de_5_trin-1.0.xml | 2 +- server/xml/macros/keratometri-1.0.xml | 60 ++--- server/xml/macros/manifest_refraktion-1.0.xml | 68 ++--- server/xml/macros/oct_konklusion-1.0.xml | 58 ++-- server/xml/macros/oct_maaling-1.0.xml | 54 ++-- server/xml/macros/oejentryk-1.0.xml | 52 ++-- server/xml/macros/pupilstoerrelse-1.0.xml | 50 ++-- server/xml/macros/ref-spaltelampe-1.0.xml | 294 ++++++++++----------- server/xml/macros/ref_90d_linse-1.0.xml | 154 +++++------ .../ref_behandling-kirurgisk_procedure-1.0.xml | 4 +- server/xml/macros/spaltelampe-1.0.xml | 66 ++--- server/xml/macros/spaltelampe-template-1.0.xml | 294 ++++++++++----------- server/xml/macros/tidligere_oejensygdomme-1.0.xml | 8 +- server/xml/macros/tonometri-1.0.xml | 58 ++-- server/xml/macros/topografi-1.0.xml | 50 ++-- server/xml/macros/visus-1.0.xml | 82 +++--- server/xml/macros/visus-autoref-1.0.xml | 48 ++-- server/xml/macros/visus-egen_korr-1.0.xml | 46 ++-- .../xml/macros/visus-manifest_refraktion-1.0.xml | 46 ++-- server/xml/macros/visus-template-1.0.xml | 46 ++-- server/xml/macros/visus-uden_korr-1.0.xml | 46 ++-- server/xml/macros/yderligere_diagnostik-1.0.xml | 8 +- 36 files changed, 1087 insertions(+), 1087 deletions(-) diff --git a/server/xml/macros/90d_linse-1.0.xml b/server/xml/macros/90d_linse-1.0.xml index 4dbfe92..8a632c9 100644 --- a/server/xml/macros/90d_linse-1.0.xml +++ b/server/xml/macros/90d_linse-1.0.xml @@ -16,90 +16,90 @@ out = '90D linse:' - if ( getValue('90d_linse.odxt.missing') == '' and getValue('90d_linse.osin.missing') == '' ) + if ( getValue('90d_linse.mangler.odxt') == '' and getValue('90d_linse.mangler.osin') == '' ) then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.odxt.fundus_visibility') - .. ' på o.dxt og ' .. getValue('90d_linse.osin.fundus_visibility')..' på venstre.\n' + out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.fundus_visibility.odxt') + .. ' på o.dxt og ' .. getValue('90d_linse.fundus_visibility.osin')..' på venstre.\n' else - if ( getValue('90d_linse.odxt.missing') == '' ) + if ( getValue('90d_linse.mangler.odxt') == '' ) then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.odxt.fundus_visibility') + out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.fundus_visibility.odxt') .. ' på o.dxt.\n' end - if ( getValue('90d_linse.osin.missing') == '' ) + if ( getValue('90d_linse.mangler.osin') == '' ) then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.osin.fundus_visibility') + out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.fundus_visibility.osin') ..' på o.sin.\n' end end - if ( getValue('90d_linse.odxt.missing') == '' ) + if ( getValue('90d_linse.mangler.odxt') == '' ) then - if ( getValue('90d_linse.odxt.implikation') == 'retinal hævelse' ) + if ( getValue('90d_linse.implikation.odxt') == 'retinal hævelse' ) then out = out .. 'På o.dxt findes der retinal hævelse' - if ( getValue('90d_linse.odxt.randbl') ~= '' and getValue('90d_linse.odxt.exsudater') ~= '') + if ( getValue('90d_linse.randbl.odxt') ~= '' and getValue('90d_linse.exsudater.odxt') ~= '') then out = out .. ' med randblødning og exhudater.\n' end - if ( getValue('90d_linse.odxt.randbl') == '' and getValue('90d_linse.odxt.exsudater') ~= '') + if ( getValue('90d_linse.randbl.odxt') == '' and getValue('90d_linse.exsudater.odxt') ~= '') then out = out .. ' med exhudater.\n' end - if ( getValue('90d_linse.odxt.randbl') ~= '' and getValue('90d_linse.odxt.exsudater') == '') + if ( getValue('90d_linse.randbl.odxt') ~= '' and getValue('90d_linse.exsudater.odxt') == '') then out = out .. ' med randblødning.\n' end - if ( getValue('90d_linse.odxt.randbl') == '' and getValue('90d_linse.odxt.exsudater') == '') + if ( getValue('90d_linse.randbl.odxt') == '' and getValue('90d_linse.exsudater.odxt') == '') then out = out .. '.\n' end end - if ( getValue('90d_linse.odxt.implikation') == 'atrofi' ) + if ( getValue('90d_linse.implikation.odxt') == 'atrofi' ) then out = out .. 'På o.dxt findes der atrofi.\n' end end - if ( getValue('90d_linse.osin.missing') == '' ) + if ( getValue('90d_linse.mangler.osin') == '' ) then - if ( getValue('90d_linse.osin.implikation') == 'retinal hævelse' ) + if ( getValue('90d_linse.implikation.osin') == 'retinal hævelse' ) then out = out .. 'På o.sin findes der retinal hævelse' - if ( getValue('90d_linse.osin.randbl') ~= '' and getValue('90d_linse.osin.exsudater') ~= '') + if ( getValue('90d_linse.randbl.osin') ~= '' and getValue('90d_linse.exsudater.osin') ~= '') then out = out .. ' med randblødning og exhudater.\n' end - if ( getValue('90d_linse.osin.randbl') == '' and getValue('90d_linse.osin.exsudater') ~= '') + if ( getValue('90d_linse.randbl.osin') == '' and getValue('90d_linse.exsudater.osin') ~= '') then out = out .. ' med exhudater.\n' end - if ( getValue('90d_linse.osin.randbl') ~= '' and getValue('90d_linse.osin.exsudater') == '') + if ( getValue('90d_linse.randbl.osin') ~= '' and getValue('90d_linse.exsudater.osin') == '') then out = out .. ' med randblødning.\n' end - if ( getValue('90d_linse.osin.randbl') == '' and getValue('90d_linse.osin.exsudater') == '') + if ( getValue('90d_linse.randbl.osin') == '' and getValue('90d_linse.exsudater.osin') == '') then out = out .. '.\n' end end - if ( getValue('90d_linse.osin.implikation') == 'atrofi' ) + if ( getValue('90d_linse.implikation.osin') == 'atrofi' ) then out = out .. 'På o.sin findes der atrofi.\n' end end - if ( getValue('90d_linse.additional') ~= '' ) + if ( getValue('90d_linse.yderligere') ~= '' ) then - out = out .. getValue('90d_linse.additional') .. '\n' + out = out .. getValue('90d_linse.yderligere') .. '\n' end return out @@ -107,42 +107,42 @@ - + value = 0 timestamp = 0 source = '' - if( missing_eye_right ) + if( missing_eye_odxt ) then - if( missing_eye_right.value and missing_eye_right.value == '' ) + if( missing_eye_odxt.value and missing_eye_odxt.value == '' ) then value = '' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source else value = 'mangler' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source end end return value, timestamp, source - + value = 0 timestamp = 0 source = '' - if( missing_eye_left ) + if( missing_eye_osin ) then - if( missing_eye_left.value and missing_eye_left.value == '' ) + if( missing_eye_osin.value and missing_eye_osin.value == '' ) then value = '' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source else value = 'mangler' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source end end return value, timestamp, source @@ -167,21 +167,21 @@ end return true - - @@ -194,30 +194,30 @@ - + - + - - + - @@ -227,30 +227,30 @@ - + - + - - + - @@ -259,7 +259,7 @@ diff --git a/server/xml/macros/tonometri-1.0.xml b/server/xml/macros/tonometri-1.0.xml index 61902a8..7cf9d0e 100644 --- a/server/xml/macros/tonometri-1.0.xml +++ b/server/xml/macros/tonometri-1.0.xml @@ -2,64 +2,64 @@ out = '' - if ( getValue('tonometri.odxt.missing') == '' or getValue('tonometri.osin.missing') == '' ) + if ( getValue('tonometri.mangler.odxt') == '' or getValue('tonometri.mangler.osin') == '' ) then out = out .. getValue('tonometri.method') .. ':\n' end - if ( getValue('tonometri.odxt.missing') == '' ) + if ( getValue('tonometri.mangler.odxt') == '' ) then - out = out .. 'o.dxt: ' .. getValue('tonometri.odxt.pressure') .. ' mmHg\n' + out = out .. 'o.dxt: ' .. getValue('tonometri.pressure.odxt') .. ' mmHg\n' end - if ( getValue('tonometri.osin.missing') == '' ) + if ( getValue('tonometri.mangler.osin') == '' ) then - out = out .. 'o.sin: ' .. getValue('tonometri.osin.pressure') .. ' mmHg\n' + out = out .. 'o.sin: ' .. getValue('tonometri.pressure.osin') .. ' mmHg\n' end return out - - + + - + value = 0 timestamp = 0 source = '' - if( missing_eye_right ) + if( missing_eye_odxt ) then - if( missing_eye_right.value and missing_eye_right.value == '' ) + if( missing_eye_odxt.value and missing_eye_odxt.value == '' ) then value = '' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source else value = 'mangler' - timestamp = missing_eye_right.timestamp - source = missing_eye_right.source + timestamp = missing_eye_odxt.timestamp + source = missing_eye_odxt.source end end return value, timestamp, source - + value = 0 timestamp = 0 source = '' - if( missing_eye_left ) + if( missing_eye_osin ) then - if( missing_eye_left.value and missing_eye_left.value == '' ) + if( missing_eye_osin.value and missing_eye_osin.value == '' ) then value = '' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source else value = 'mangler' - timestamp = missing_eye_left.timestamp - source = missing_eye_left.source + timestamp = missing_eye_osin.timestamp + source = missing_eye_osin.source end end return value, timestamp, source @@ -88,7 +88,7 @@ enable('right_eye_frame') end - if( getValue('tonometri.odxt.missing') == 'mangler' and getValue('tonometri.osin.missing') == 'mangler' ) + if( getValue('tonometri.mangler.odxt') == 'mangler' and getValue('tonometri.mangler.osin') == 'mangler' ) then disable('device_frame') else @@ -105,7 +105,7 @@ enable('left_eye_frame') end - if( getValue('tonometri.odxt.missing') == 'mangler' and getValue('tonometri.osin.missing') == 'mangler' ) + if( getValue('tonometri.mangler.odxt') == 'mangler' and getValue('tonometri.mangler.osin') == 'mangler' ) then disable('device_frame') else @@ -123,13 +123,13 @@