From 730eb796bbce6f124be9194f1565b7dda1daddf1 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 1 Jun 2010 13:02:23 +0000 Subject: Afdj macros/templates are now located in their own repo. --- server/xml/macros/90d_linse-1.0.xml | 270 ---- server/xml/macros/Makefile.am | 26 +- server/xml/macros/akselaengde-1.0.xml | 150 --- server/xml/macros/aktuelle-1.0.xml | 283 ----- server/xml/macros/allergier-1.0.xml | 113 -- .../xml/macros/amd_behandling_overskrift-1.0.xml | 26 - .../xml/macros/amd_behandlingsindikation-1.0.xml | 42 - .../macros/amd_genbehandlingsindikation-1.0.xml | 38 - .../macros/amd_kontrolunders_overskrift-1.0.xml | 26 - server/xml/macros/amd_procedure-1.0.xml | 44 - server/xml/macros/autorefraktion-1.0.xml | 211 ---- server/xml/macros/boelgefront-1.0.xml | 185 --- server/xml/macros/central_corneatykkelse-1.0.xml | 159 --- server/xml/macros/cycloplegisk_refraktion-1.0.xml | 207 --- server/xml/macros/de_5_trin-1.0.xml | 35 - server/xml/macros/egen_brille-1.0.xml | 307 ----- server/xml/macros/example.xml | 141 --- server/xml/macros/externa-1.0.xml | 232 ---- server/xml/macros/farvesynstest-1.0.xml | 594 --------- server/xml/macros/field_names.txt | 63 - server/xml/macros/fluorescens_faser-1.0.xml | 63 - server/xml/macros/fluorescens_injektion-1.0.xml | 41 - server/xml/macros/fluorescens_konklusion-1.0.xml | 128 -- server/xml/macros/gennemgang_af_de_5_trin-1.0.xml | 27 - server/xml/macros/gravid_eller_ammende-1.0.xml | 24 - server/xml/macros/header-1.0.xml | 65 - server/xml/macros/henvisning-1.0.xml | 48 - server/xml/macros/information-1.0.xml | 41 - server/xml/macros/informeret_samtykke-1.0.xml | 55 - .../intravitreal_injektion_indikation-1.0.xml | 26 - server/xml/macros/keratometri-1.0.xml | 247 ---- server/xml/macros/manifest_refraktion-1.0.xml | 218 ---- server/xml/macros/medicin-1.0.xml | 89 -- server/xml/macros/motilitet-1.0.xml | 64 - server/xml/macros/oct_konklusion-1.0.xml | 185 --- server/xml/macros/oct_maaling-1.0.xml | 149 --- server/xml/macros/oejendrypning-1.0.xml | 76 -- server/xml/macros/oejentryk-1.0.xml | 187 --- server/xml/macros/orbita-1.0.xml | 376 ------ server/xml/macros/pupillen-1.0.xml | 158 --- server/xml/macros/pupilstoerrelse-1.0.xml | 158 --- server/xml/macros/ref-spaltelampe-1.0.xml | 663 ---------- server/xml/macros/ref_90d_linse-1.0.xml | 359 ------ server/xml/macros/ref_aktuelle-1.0.xml | 62 - .../ref_behandling-kirurgisk_procedure-1.0.xml | 444 ------- .../xml/macros/ref_behandling-klargoering-1.0.xml | 29 - .../macros/ref_behandling-oejendrypning-1.0.xml | 58 - .../xml/macros/ref_efterkontrol-aktuelle-1.0.xml | 90 -- .../ref_efterkontrol-informeret_samtykke-1.0.xml | 44 - .../xml/macros/ref_efterkontrol-konklusion-1.0.xml | 108 -- .../xml/macros/ref_efterkontrol-overskrift-1.0.xml | 47 - .../ref_foerstedagskontol-overskrift-1.0.xml | 34 - .../ref_forunders-informeret_samtykke-1.0.xml | 46 - server/xml/macros/ref_forunders-konklusion-1.0.xml | 121 -- server/xml/macros/ref_komplikationer-1.0.xml | 32 - server/xml/macros/ref_kontrol-1.0.xml | 34 - server/xml/macros/ref_oejendrypning-1.0.xml | 59 - server/xml/macros/ref_subjektivt-1.0.xml | 51 - server/xml/macros/spaltelampe-1.0.xml | 183 --- server/xml/macros/spaltelampe-template-1.0.xml | 663 ---------- server/xml/macros/subjektiv_evaluering-1.0.xml | 27 - server/xml/macros/supplerende-1.0.xml | 22 - server/xml/macros/tao_aktuelle-1.0.xml | 156 --- .../macros/tao_computerstyret_perimetri-1.0.xml | 132 -- server/xml/macros/tao_konklusion-1.0.xml | 84 -- server/xml/macros/tao_oftalmoskopi-1.0.xml | 132 -- server/xml/macros/tao_spaltelampe-1.0.xml | 170 --- server/xml/macros/tidligere_alment-1.0.xml | 36 - server/xml/macros/tidligere_oejensygdomme-1.0.xml | 52 - server/xml/macros/tobaksrygning-1.0.xml | 38 - server/xml/macros/tonometri-1.0.xml | 172 --- server/xml/macros/topografi-1.0.xml | 166 --- server/xml/macros/visus-1.0.xml | 563 --------- server/xml/macros/visus-autoref-1.0.xml | 626 ---------- server/xml/macros/visus-egen_korr-1.0.xml | 1261 ------------------- .../xml/macros/visus-manifest_refraktion-1.0.xml | 1261 ------------------- server/xml/macros/visus-ou-1.0.xml | 292 ----- server/xml/macros/visus-template-1.0.xml | 1321 -------------------- server/xml/macros/visus-uden_korr-1.0.xml | 1202 ------------------ server/xml/macros/vurdering_af_fundus-1.0.xml | 58 - server/xml/macros/yderligere_diagnostik-1.0.xml | 57 - server/xml/templates/Makefile.am | 4 +- server/xml/templates/amd_behandling.xml | 13 - server/xml/templates/amd_forunders.xml | 38 - server/xml/templates/amd_kontrolunders.xml | 38 - server/xml/templates/example.xml | 6 - server/xml/templates/ref_behandling.xml | 9 - server/xml/templates/ref_efterkontrol.xml | 34 - server/xml/templates/ref_foerstedagskontrol.xml | 15 - server/xml/templates/ref_forunders.xml | 39 - server/xml/templates/tao_forunders.xml | 27 - 91 files changed, 26 insertions(+), 16729 deletions(-) delete mode 100644 server/xml/macros/90d_linse-1.0.xml delete mode 100644 server/xml/macros/akselaengde-1.0.xml delete mode 100644 server/xml/macros/aktuelle-1.0.xml delete mode 100644 server/xml/macros/allergier-1.0.xml delete mode 100644 server/xml/macros/amd_behandling_overskrift-1.0.xml delete mode 100644 server/xml/macros/amd_behandlingsindikation-1.0.xml delete mode 100644 server/xml/macros/amd_genbehandlingsindikation-1.0.xml delete mode 100644 server/xml/macros/amd_kontrolunders_overskrift-1.0.xml delete mode 100644 server/xml/macros/amd_procedure-1.0.xml delete mode 100644 server/xml/macros/autorefraktion-1.0.xml delete mode 100644 server/xml/macros/boelgefront-1.0.xml delete mode 100644 server/xml/macros/central_corneatykkelse-1.0.xml delete mode 100644 server/xml/macros/cycloplegisk_refraktion-1.0.xml delete mode 100644 server/xml/macros/de_5_trin-1.0.xml delete mode 100644 server/xml/macros/egen_brille-1.0.xml delete mode 100644 server/xml/macros/example.xml delete mode 100644 server/xml/macros/externa-1.0.xml delete mode 100644 server/xml/macros/farvesynstest-1.0.xml delete mode 100644 server/xml/macros/field_names.txt delete mode 100644 server/xml/macros/fluorescens_faser-1.0.xml delete mode 100644 server/xml/macros/fluorescens_injektion-1.0.xml delete mode 100644 server/xml/macros/fluorescens_konklusion-1.0.xml delete mode 100644 server/xml/macros/gennemgang_af_de_5_trin-1.0.xml delete mode 100644 server/xml/macros/gravid_eller_ammende-1.0.xml delete mode 100644 server/xml/macros/header-1.0.xml delete mode 100644 server/xml/macros/henvisning-1.0.xml delete mode 100644 server/xml/macros/information-1.0.xml delete mode 100644 server/xml/macros/informeret_samtykke-1.0.xml delete mode 100644 server/xml/macros/intravitreal_injektion_indikation-1.0.xml delete mode 100644 server/xml/macros/keratometri-1.0.xml delete mode 100644 server/xml/macros/manifest_refraktion-1.0.xml delete mode 100644 server/xml/macros/medicin-1.0.xml delete mode 100644 server/xml/macros/motilitet-1.0.xml delete mode 100644 server/xml/macros/oct_konklusion-1.0.xml delete mode 100644 server/xml/macros/oct_maaling-1.0.xml delete mode 100644 server/xml/macros/oejendrypning-1.0.xml delete mode 100644 server/xml/macros/oejentryk-1.0.xml delete mode 100644 server/xml/macros/orbita-1.0.xml delete mode 100644 server/xml/macros/pupillen-1.0.xml delete mode 100644 server/xml/macros/pupilstoerrelse-1.0.xml delete mode 100644 server/xml/macros/ref-spaltelampe-1.0.xml delete mode 100644 server/xml/macros/ref_90d_linse-1.0.xml delete mode 100644 server/xml/macros/ref_aktuelle-1.0.xml delete mode 100644 server/xml/macros/ref_behandling-kirurgisk_procedure-1.0.xml delete mode 100644 server/xml/macros/ref_behandling-klargoering-1.0.xml delete mode 100644 server/xml/macros/ref_behandling-oejendrypning-1.0.xml delete mode 100644 server/xml/macros/ref_efterkontrol-aktuelle-1.0.xml delete mode 100644 server/xml/macros/ref_efterkontrol-informeret_samtykke-1.0.xml delete mode 100644 server/xml/macros/ref_efterkontrol-konklusion-1.0.xml delete mode 100644 server/xml/macros/ref_efterkontrol-overskrift-1.0.xml delete mode 100644 server/xml/macros/ref_foerstedagskontol-overskrift-1.0.xml delete mode 100644 server/xml/macros/ref_forunders-informeret_samtykke-1.0.xml delete mode 100644 server/xml/macros/ref_forunders-konklusion-1.0.xml delete mode 100644 server/xml/macros/ref_komplikationer-1.0.xml delete mode 100644 server/xml/macros/ref_kontrol-1.0.xml delete mode 100644 server/xml/macros/ref_oejendrypning-1.0.xml delete mode 100644 server/xml/macros/ref_subjektivt-1.0.xml delete mode 100644 server/xml/macros/spaltelampe-1.0.xml delete mode 100644 server/xml/macros/spaltelampe-template-1.0.xml delete mode 100644 server/xml/macros/subjektiv_evaluering-1.0.xml delete mode 100644 server/xml/macros/supplerende-1.0.xml delete mode 100644 server/xml/macros/tao_aktuelle-1.0.xml delete mode 100644 server/xml/macros/tao_computerstyret_perimetri-1.0.xml delete mode 100644 server/xml/macros/tao_konklusion-1.0.xml delete mode 100644 server/xml/macros/tao_oftalmoskopi-1.0.xml delete mode 100644 server/xml/macros/tao_spaltelampe-1.0.xml delete mode 100644 server/xml/macros/tidligere_alment-1.0.xml delete mode 100644 server/xml/macros/tidligere_oejensygdomme-1.0.xml delete mode 100644 server/xml/macros/tobaksrygning-1.0.xml delete mode 100644 server/xml/macros/tonometri-1.0.xml delete mode 100644 server/xml/macros/topografi-1.0.xml delete mode 100644 server/xml/macros/visus-1.0.xml delete mode 100644 server/xml/macros/visus-autoref-1.0.xml delete mode 100644 server/xml/macros/visus-egen_korr-1.0.xml delete mode 100644 server/xml/macros/visus-manifest_refraktion-1.0.xml delete mode 100644 server/xml/macros/visus-ou-1.0.xml delete mode 100644 server/xml/macros/visus-template-1.0.xml delete mode 100644 server/xml/macros/visus-uden_korr-1.0.xml delete mode 100644 server/xml/macros/vurdering_af_fundus-1.0.xml delete mode 100644 server/xml/macros/yderligere_diagnostik-1.0.xml delete mode 100644 server/xml/templates/amd_behandling.xml delete mode 100644 server/xml/templates/amd_forunders.xml delete mode 100644 server/xml/templates/amd_kontrolunders.xml delete mode 100644 server/xml/templates/example.xml delete mode 100644 server/xml/templates/ref_behandling.xml delete mode 100644 server/xml/templates/ref_efterkontrol.xml delete mode 100644 server/xml/templates/ref_foerstedagskontrol.xml delete mode 100644 server/xml/templates/ref_forunders.xml delete mode 100644 server/xml/templates/tao_forunders.xml diff --git a/server/xml/macros/90d_linse-1.0.xml b/server/xml/macros/90d_linse-1.0.xml deleted file mode 100644 index 01d2541..0000000 --- a/server/xml/macros/90d_linse-1.0.xml +++ /dev/null @@ -1,270 +0,0 @@ - - - - - out = '90D linse:' - - if ( getValue('90d_linse.mangler.odxt') == '' and getValue('90d_linse.mangler.osin') == '' ) - then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.indblik.odxt') - .. ' på o.dxt og ' .. getValue('90d_linse.indblik.osin')..' på venstre.\n' - else - if ( getValue('90d_linse.mangler.odxt') == '' ) - then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.indblik.odxt') - .. ' på o.dxt.\n' - end - if ( getValue('90d_linse.mangler.osin') == '' ) - then - out = 'Inblikket til fundusbaggrunden er ' .. getValue('90d_linse.indblik.osin') - ..' på o.sin.\n' - end - end - - if ( getValue('90d_linse.mangler.odxt') == '' ) - then - if ( getValue('90d_linse.implikation.odxt') == 'retinal hævelse' ) - then - out = out .. 'På o.dxt findes der retinal hævelse' - if ( getValue('90d_linse.randbloedninger.odxt') ~= '' and getValue('90d_linse.exsudaterater.odxt') ~= '') - then - out = out .. ' med randblødning og exhudater.\n' - end - - if ( getValue('90d_linse.randbloedninger.odxt') == '' and getValue('90d_linse.exsudaterater.odxt') ~= '') - then - out = out .. ' med exhudater.\n' - end - - if ( getValue('90d_linse.randbloedninger.odxt') ~= '' and getValue('90d_linse.exsudaterater.odxt') == '') - then - out = out .. ' med randblødning.\n' - end - - if ( getValue('90d_linse.randbloedninger.odxt') == '' and getValue('90d_linse.exsudaterater.odxt') == '') - then - out = out .. '.\n' - end - end - - if ( getValue('90d_linse.implikation.odxt') == 'atrofi' ) - then - out = out .. 'På o.dxt findes der atrofi.\n' - end - end - - if ( getValue('90d_linse.mangler.osin') == '' ) - then - if ( getValue('90d_linse.implikation.osin') == 'retinal hævelse' ) - then - out = out .. 'På o.sin findes der retinal hævelse' - if ( getValue('90d_linse.randbloedninger.osin') ~= '' and getValue('90d_linse.exsudaterater.osin') ~= '') - then - out = out .. ' med randblødning og exhudater.\n' - end - - if ( getValue('90d_linse.randbloedninger.osin') == '' and getValue('90d_linse.exsudaterater.osin') ~= '') - then - out = out .. ' med exhudater.\n' - end - - if ( getValue('90d_linse.randbloedninger.osin') ~= '' and getValue('90d_linse.exsudaterater.osin') == '') - then - out = out .. ' med randblødning.\n' - end - - if ( getValue('90d_linse.randbloedninger.osin') == '' and getValue('90d_linse.exsudaterater.osin') == '') - then - out = out .. '.\n' - end - end - - if ( getValue('90d_linse.implikation.osin') == 'atrofi' ) - then - out = out .. 'På o.sin findes der atrofi.\n' - end - end - - if ( getValue('90d_linse.yderligere') ~= '' ) - then - out = out .. getValue('90d_linse.yderligere') .. '\n' - end - - return out - - - - - - 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 - - - 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -