summaryrefslogtreecommitdiff
path: root/server/xml/macros/header-1.0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/header-1.0.xml')
-rw-r--r--server/xml/macros/header-1.0.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/xml/macros/header-1.0.xml b/server/xml/macros/header-1.0.xml
index 93af95f..5e9ee89 100644
--- a/server/xml/macros/header-1.0.xml
+++ b/server/xml/macros/header-1.0.xml
@@ -18,11 +18,11 @@
timestamp = 0
source = 'pentominos'
- if(cpr and cpr.cpr and cpr.cpr.value and cpr.cpr.timestamp and cpr.cpr.source)
+ if(cpr and cpr.cpr and cpr.cpr.value and cpr.cpr.timestamp and cpr.cpr.kilde)
then
value = string.sub(cpr.cpr.value,1,6) .. '-' .. string.sub(cpr.cpr.value,7,11)
timestamp = cpr.cpr.timestamp
- source = cpr.cpr.source
+ source = cpr.cpr.kilde
end
return value, timestamp, source
@@ -50,14 +50,14 @@
<frame layout="vbox">
<frame layout="hbox">
<label width="100" caption="Henvisende læge:"/>
- <lineedit name="referral.doctor" map="henvisning.doctor" readonly="true"
+ <lineedit name="henvisning.laege" map="henvisning.laege" 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"/>
+ <lineedit name="henvisning.diagnose_kode" map="henvisning.code" value="-" readonly="true"/>
<label width="60" caption="Diagnose:"/>
- <lineedit width="100" name="referral.diagnose" map="henvisning.diagnose" value="-" readonly="true"/>
+ <lineedit width="100" name="henvisning.diagnose" map="henvisning.diagnose" value="-" readonly="true"/>
</frame>
</frame>