summaryrefslogtreecommitdiff
path: root/server/xml/macros/B.0.xml
diff options
context:
space:
mode:
authordeva <deva>2009-07-24 10:09:09 +0000
committerdeva <deva>2009-07-24 10:09:09 +0000
commit1d8429d8d3981dd027cdb7e160dd614ebf6c8ded (patch)
tree90ee0895191a38016c390244953fd065429ff4cf /server/xml/macros/B.0.xml
parent74e8a4a4e07238d7aefab9dc038aeb9339a69515 (diff)
Removed all macros from CVS.
Diffstat (limited to 'server/xml/macros/B.0.xml')
-rw-r--r--server/xml/macros/B.0.xml65
1 files changed, 0 insertions, 65 deletions
diff --git a/server/xml/macros/B.0.xml b/server/xml/macros/B.0.xml
deleted file mode 100644
index 3fb248a..0000000
--- a/server/xml/macros/B.0.xml
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!--
- 20090420: Bent Bisballe Nyeng
- Tilføjede '-' til cpr nummeret.
-
- 20090526: Bent Bisballe Nyeng
- Nye min størrelser på lineedits, så navnet altid kan ses.
- -->
-<macro name="B.0" version="1.0">
- <resume store_in_journal="false"/>
- <queries>
- <query service="pentominos" class="cpr" ttl="1000000"/>
- <query service="pentominos" class="referral" ttl="1000000"/>
- </queries>
- <maps>
- <map name="cpr_bindestreg">
- value = 0
- timestamp = 0
- source = 'pentominos'
-
- if(cpr and cpr.cpr and cpr.cpr.value and cpr.cpr.timestamp and cpr.cpr.source)
- then
- value = string.sub(cpr.cpr.value,1,6) .. '-' .. string.sub(cpr.cpr.value,7,11)
- timestamp = cpr.cpr.timestamp
- source = cpr.cpr.source
- end
-
- return value, timestamp, source
- </map>
- </maps>
- <scripts>
- </scripts>
- <window caption="Patient informationer (B.0)"
- layout="hbox">
-
- <!-- Patient info -->
- <frame layout="vbox">
- <frame layout="hbox">
- <label caption="Navn:" width="50"/>
- <lineedit name="name" map="cpr.name" readonly="true"
- value="Patienten kunne ikke findes" width="150"/>
- </frame>
- <frame layout="hbox">
- <label caption="Cpr-nr:" width="50"/>
- <lineedit name="cpr" map="cpr_bindestreg" value="-" readonly="true" width="150"/>
- </frame>
- </frame>
-
- <!-- Henvisnings info -->
- <frame layout="vbox">
- <frame layout="hbox">
- <label width="100" caption="Henvisende læge:"/>
- <lineedit name="referral.doctor" map="henvisning.doctor" readonly="true"
- value="Henvisnings informationer kunne ikke findes"/>
- </frame>
- <frame layout="hbox">
- <label width="100" caption="Henvisningskode:"/>
- <lineedit name="referral.diagnosecode" map="henvisning.code" value="-" readonly="true"/>
- <label width="60" caption="Diagnose:"/>
- <lineedit width="100" name="referral.diagnose" map="henvisning.diagnose" value="-" readonly="true"/>
- </frame>
- </frame>
-
- </window>
-</macro>