Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Raphael
histream
Commits
4abdb076
Commit
4abdb076
authored
Aug 05, 2015
by
R.W.Majeed
Browse files
fixed datasource errors
parent
c0520a2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
histream-import/src/test/resources/test-1-datasource.xml
View file @
4abdb076
...
...
@@ -30,8 +30,8 @@
<patient-id>
patid
</patient-id>
<firstname>
vorname
</firstname>
<surname>
nachname
</surname>
<birthdate
format=
"d.M.u"
>
geburtsdatum
</birthdate>
<deathdate
format=
"d.M.u"
>
verstorben
</deathdate>
<birthdate
format=
"d.M.u"
na=
""
>
geburtsdatum
</birthdate>
<deathdate
format=
"d.M.u"
na=
""
>
verstorben
</deathdate>
<gender>
geschlecht
</gender>
<ignore
xsi:type=
"string"
>
ignoriert1
</ignore>
<ignore
xsi:type=
"string"
>
patfakt1
</ignore>
...
...
@@ -47,14 +47,15 @@
<idat>
<patient-id>
patid
</patient-id>
<visit-id>
fallnr
</visit-id>
<start
format=
"d.M.u[ H[:m[:s]]]"
na=
"
@
"
truncate-to=
"year"
>
start
</start>
<end
format=
"d.M.u[ H[:m[:s]]]"
>
end
</end>
<start
format=
"d.M.u[ H[:m[:s]]]"
na=
""
truncate-to=
"year"
>
start
</start>
<end
format=
"d.M.u[ H[:m[:s]]]"
na=
""
>
end
</end>
</idat>
<mdat>
<!-- in/out code -->
<concept
id=
"weight"
>
<value
xsi:type=
"string"
>
gewicht
</value>
<start>
start
</start>
<!-- TODO: verify that na values are no allowed for concept start timestamps -->
<start
format=
"d.M.u[ H[:m[:s]]]"
na=
""
>
start
</start>
</concept>
</mdat>
</visit-table>
...
...
@@ -70,7 +71,6 @@
</idat>
<mdat>
<concept
id=
"natrium"
>
<!-- TODO implement numeric columns -->
<value
xsi:type=
"decimal"
>
na
</value>
<start
format=
"d.M.u[ H[:m[:s]]]"
>
zeitpunkt
</start>
<unit
constant-value=
"mmol/l"
/>
...
...
@@ -78,6 +78,10 @@
<value
xsi:type=
"string"
constant-value=
""
/>
</modifier>
</concept>
<concept
id=
"kalium"
>
<value
xsi:type=
"decimal"
>
k
</value>
<start
format=
"d.M.u[ H[:m[:s]]]"
>
zeitpunkt
</start>
</concept>
</mdat>
..
</wide-table>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment