export1.xml 1.74 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
R.W.Majeed's avatar
R.W.Majeed committed
2
3
<export xmlns="http://sekmi.de/ns/histream/export-v1"
			xmlns:eav="http://sekmi.de/histream/ns/eav-data">
4
    <concepts>
5
        <group class="testclass">
R.W.Majeed's avatar
R.W.Majeed committed
6
7
8
9
10
            <concept wildcard-notation="T:type:st*"/>
        </group>
        <group class="testeav">
        	<!-- will cause problems if wildcards are overlapping -->
        	<concept wildcard-notation="T:date:*"/>
11
        </group>
12
        <concept notation="T:full"/>
13
14
15
16
        <concept wildcard-notation="CEDIS:*"/>
    </concepts>
    <patient-table>
        <column header="pid" xpath="@id"/>
R.W.Majeed's avatar
R.W.Majeed committed
17
18
19
        <column header="dob" xpath="eav:birthdate"/>
        <column header="sex" xpath="eav:gender"/>
        <column header="modified" xpath="eav:source/@timestamp"/>
20
    </patient-table>
21
    <visit-table>
22
        <column header="pid" xpath="../@id"/>
23
		<column header="vid" xpath="@id"/>
R.W.Majeed's avatar
R.W.Majeed committed
24
		<column header="start" xpath="eav:start"/>
25
		<column header="byclass" xpath="eav:fact[@class='testclass']/@concept"/>
R.W.Majeed's avatar
R.W.Majeed committed
26
27
28
29
		<column header="f_start" xpath="eav:fact[@concept='T:full']/@start"/>
		<column header="f_end" xpath="eav:fact[@concept='T:full']/@end"/>
		<column header="f_loc" xpath="eav:fact[@concept='T:full']/@location"/>
		<column header="f_val" xpath="eav:fact[@concept='T:full']/eav:value"/>
30
    </visit-table>
R.W.Majeed's avatar
R.W.Majeed committed
31
    <!-- eav-table/@xpath uses visit context. Enter expression to select desired fact elements -->
R.W.Majeed's avatar
R.W.Majeed committed
32
	<eav-table id="eavtabletest" xpath="eav:fact[@class='testeav']">
R.W.Majeed's avatar
R.W.Majeed committed
33
		<!-- context for column/@xpath expression is each fact node -->
34

R.W.Majeed's avatar
R.W.Majeed committed
35
36
37
38
39
		<column header="pid" xpath="../../@id"/>
		<column header="visit" xpath="../@id"/>
		<column header="code" xpath="@concept"/>
		<column header="start" xpath="@start"/>
	</eav-table>
R.W.Majeed's avatar
R.W.Majeed committed
40
	<!-- more eav-table allowed -->
R.W.Majeed's avatar
R.W.Majeed committed
41
</export>