query-result.xml 1.29 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
<query-result request-ref="1" xmlns="http://aktin.org/ns/exchange"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xmlns:xhtml="http://www.w3.org/1999/xhtml">

	<timestamp>2015-12-02T18:30:14</timestamp>
	<execution-time>P10S</execution-time>

	<result xsi:type="result-tables">
		<table id="patients">
			<thead>
				<tr>
					<td>id</td>
					<td>birthdate</td>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>1</td>
					<td>2010-01-01</td>
				</tr>
			</tbody>
		</table>
		<table id="visits">
			<headers>
				<header>patient-ref</header>
				<header>id</header>
				<header>start</header>
			</headers>
			<tr>
				<td>1</td>
				<td>1</td>
				<td>2016-05-08T09:32:00</td>
			</tr>
		</table>
		<table id="diagnoses">
			<headers>
				<header>patient-ref</header>
				<header>visit-ref</header>
				<header>start</header>
				<header>code</header>
			</headers>
			<tr>
				<td>1</td>
				<td>1</td>
				<td>2016-05-08T09:32:00</td>
				<td>R46.1</td>
			</tr>
			<tr>
				<td>1</td>
				<td>1</td>
				<td>2016-05-08T09:32:00</td>
				<td>W46.05</td>
			</tr>
		</table>
	</result>
	<!-- OR <result xsi:type="aggragated-result"> <value id="cedis-count">321</value> 
		<breakdown id="gender"> <value id="male">110</value> <value id="female">112</value> 
		</breakdown> </result> -->
</query-result>