[Mpuls-commits] r5799 - waska/branches/waska3/waskaweb/public/xml

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 2 09:08:26 CET 2012


Author: torsten
Date: 2012-02-02 09:08:25 +0100 (Thu, 02 Feb 2012)
New Revision: 5799

Removed:
   waska/branches/waska3/waskaweb/public/xml/eval_adele.xml
   waska/branches/waska3/waskaweb/public/xml/eval_aktiv.xml
   waska/branches/waska3/waskaweb/public/xml/eval_analyse.xml
   waska/branches/waska3/waskaweb/public/xml/eval_tagebuch.xml
   waska/branches/waska3/waskaweb/public/xml/eval_verlauf.xml
Log:
Deleted old waska2 evluations. The do not fit with the current db-scheme.


Deleted: waska/branches/waska3/waskaweb/public/xml/eval_adele.xml
===================================================================
--- waska/branches/waska3/waskaweb/public/xml/eval_adele.xml	2012-01-31 16:35:33 UTC (rev 5798)
+++ waska/branches/waska3/waskaweb/public/xml/eval_adele.xml	2012-02-02 08:08:25 UTC (rev 5799)
@@ -1,618 +0,0 @@
-<evaluationset>
-  <id>1</id>
-  <version>0.9.4</version>
-  <name>Verwendungsnachweis</name>
-  <desc>Die Verwendungsnachweise dienen der ESF-Berichterstattung. Neben einer grundsätzlichen Auswertbarkeit muss diese Fallakte  auch berichtisfähig sein.
-  </desc>
-  <requirement>
-    <phase>2,3,4,5</phase>
-    <validity>1</validity>
-    <validity>2</validity>
-  </requirement>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>1</id>
-    <name>Eintritte gesamt</name>
-    <desc>Zeigt die Anzahl der Eintritte in das CM innerhalb des Auswertungszeitraums</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>('%(sdate)s'::date <= datum_feststellung 
-				AND '%(edate)s'::date >= datum_feststellung)
-	  </where>
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>2</id>
-    <name>Austritte gesamt</name>
-    <desc>Zeigt die Anzahl der Austritte aus dem CM innerhalb des Auswertungszeitraums</desc>
-    <requirement>
-      <phase>3,4,5</phase>
-    </requirement>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>('%(edate)s'::date >= coalesce(beendigung_5, now()) 
-				AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))
-	  </where>
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>3</id>
-    <name>Vorzeitig ausgetreten</name>
-    <desc>Zeigt die Anzahl der vorzeitigen Austritte (Art der Beendigung ist "vorzeitige Beendigung") aus dem CM innerhalb des Auswertungszeitraums</desc>
-    <requirement>
-      <phase>3,4,5</phase>
-    </requirement>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>('%(edate)s'::date >= coalesce(beendigung_5, now()) 
-				AND '%(sdate)s'::date <= coalesce(beendigung_5, now())
-      			AND art_beendigung = 2)
-	  </where>
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>4</id>
-    <name>Abbrecher/innen</name>
-    <desc>Zeigt die Anzahl der Abbrüche (Art der Beendigung ist "Abbruch") des CM innerhalb des Auswertungszeitraums</desc>
-    <requirement>
-      <phase>3</phase>
-    </requirement>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>('%(edate)s'::date >= coalesce(beendigung_5, now()) 
-				AND '%(sdate)s'::date <= coalesce(beendigung_5, now())
-      			AND art_beendigung = 1)
-	  </where>
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>7</id>
-    <name>Alterklasse (15-24 Jahre)</name>
-    <desc>Zeigt die Anzahl der Jugendlichen im Alter von 15-24 Jahren. Das Alter bezieht sich auf das Eintrittsdatum ins Case Management.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(date_part('year', age(datum_feststellung, geburtsdatum)) >= 15 			AND date_part('year', age(datum_feststellung, geburtsdatum)) <= 24)
-      </where> 
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>8</id>
-    <name>Alterklasse (jünger 15, 25-54,  älter 64 Jahre)</name>
-    <desc>Zeigt die Anzahl der Jugendlichen im Alter von jünger als 15, 25-54, älter 64 Jahren. Das Alter bezieht sich auf das Eintrittsdatum ins Case Management.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(date_part('year', age(datum_feststellung, geburtsdatum)) < 15 
-		OR (date_part('year', age(datum_feststellung, geburtsdatum)) >= 25 
-			AND date_part('year', 
-					age(datum_feststellung, geburtsdatum)) <= 54) 
-		OR date_part('year', age(datum_feststellung, geburtsdatum)) > 64)
-	  </where> 
-    </ydim>
-  </evaluation>
-  <evaluation>
-    <id>9</id>
-    <!-- Immer 0 zurückgeben. Wunsch Ortiz -->
-    <name>Alterklasse (55-64 Jahre)</name>
-    <desc>Zeigt die Anzahl der Personen im Alter von 55-64 Jahren. Das Alter bezieht sich auf das Eintrittsdatum ins Case Management.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()) AND FALSE)</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(date_part('year', age(datum_feststellung, geburtsdatum)) >= 55 
-		AND date_part('year', age(datum_feststellung, geburtsdatum)) <= 64)
-	  </where> 
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<!--
-  <evaluation>
-    <id>10</id>
-    <name>Erwerbstätig</name>
-    <desc>Zeigt die Anzahl der Menschen mit Erwerbstätigkeit.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(erwerbstaetigkeit_job = 1 and arbeitslosigkeit_1 = 0)</where> 
-    </ydim>
-  </evaluation>
--->
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<!--
-  <evaluation>
-    <id>11</id>
-    <name>Selbstständig</name>
-    <desc>Zeigt die Anzahl der Menschen mit selbstständiger Tätigkeit.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(bei_eintritt_ist_der_jugendliche = 6 and erwerbstaetigkeit_job = 1 and arbeitslosigkeit_1 = 0)</where> 
-    </ydim>
-  </evaluation>
--->
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>12</id>
-    <name>Arbeitslos</name>
-    <desc>Zeigt die Anzahl der Menschen mit Arbeitslosigkeit.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(arbeitslosigkeit_1 = 1 and erwerbstaetigkeit_job = 0 
-				and ((bezug_alg2 = 1 and bezug_alg1 != 1)
-				      or (bezug_alg1 = 1 and bezug_alg2 != 1)))</where> 
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>13</id>
-    <name>Langzeitarbeitslos</name>
-    <desc>Zeigt die Anzahl der Menschen in Langzeitarbeitslosigkeit.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(arbeitslosigkeit_1 = 1 and erwerbstaetigkeit_job = 0
-				and ((bezug_alg2 = 1 and bezug_alg1 != 1)
-						 or bezug_alg1 = 1 and bezug_alg2 != 1) 
-				and dauer_nach_letzter_beschaeftigung > 12)</where> 
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>14</id>
-    <name>SGB II Bezug</name>
-    <desc>Zeigt die Anzahl der Menschen mit SGB II Bezug.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(arbeitslosigkeit_1 = 1 and erwerbstaetigkeit_job = 0
-				and bezug_alg2 = 1 and bezug_alg1 != 1)</where> 
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>15</id>
-    <name>SGB III Bezug</name>
-    <desc>Zeigt die Anzahl der Menschen mit SGB III Bezug.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(arbeitslosigkeit_1 = 1 and erwerbstaetigkeit_job = 0 
-				and bezug_alg1 = 1 and bezug_alg2 != 1 )</where> 
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>16</id>
-    <name>Nicht-Erwerbspersonen</name>
-    <desc>Zeigt die Anzahl der Menschen die nicht erwerbstätig sind..</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(erwerbstaetigkeit_job = 0 and arbeitslosigkeit_1 = 0)</where> 
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>17</id>
-    <name>Nicht-Erwerbspersonen in Ausbildung</name>
-    <desc>Zeigt die Anzahl der Menschen in Ausbildung, die als nicht-erwerbstätig gelten.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(erwerbstaetigkeit_job = 0 and arbeitslosigkeit_1 = 0 and bei_eintritt_ist_der_jugendliche in (1, 8, 9, 16))</where> 
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>19</id>
-    <name>Menschen mit Migrationshintergrund</name>
-    <desc>Zeigt die Anzahl der Menschen mit Migrationshintergund. Ein Migrationshintergrund besteht, wenn a) die Muttersprache nicht deutsch ist, oder b) die Staatsangehörigkeit nicht deutsch ist, oder c) die Mutter oder der Vater des jungen Menschen nicht in Deutschland geboren sind.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(muttersprache not in (18,-1,-3) 
-				OR staatsangehoerigkeit not in (29, -1,-3) 
-				OR vater not in (1, -1) 
-				OR mutter not in (1, -1))
-	  </where> 
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<!--
-  <evaluation>
-    <id>20</id>
-    <name>Menschen mit Behinderung</name>
-    <desc>Zeigt die Anzahl der Menschen mit Behinderung. Ein Behinderung besteht, wenn in den Angaben zur Entwicklung des jungen Menschen eine anerkannte Behinderung dokumentiert wurde.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT DISTINCT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_benachteiligung_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()) AND r.rg_anerkannte_behinderung = 1 AND r.rg_benachteiligung_bereich = 6 AND r.rg_benachteiligung_merkmal_g = 0)</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select DISTINCT count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(TRUE)</where>
-    </ydim>
-  </evaluation>
--->
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<!--
-  <evaluation>
-    <id>21</id>
-    <name>Menschen mit sonstiger Benachteiligung</name>
-    <desc>Zeigt die Anzahl der Menschen mit sonstiger Benachteiligung. Ein Benachteiligung besteht, wenn in den Angaben zur Entwicklung des jungen Menschen eine a) physische, oder b) psychische Krankheit dokumentiert wurde (geringes Problem oder größer).</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT DISTINCT t.id, %(xfield)s, %(yfield)s from %(from)s t JOIN rg_benachteiligung_tbl_view r ON r.master_id = t.id WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()) AND (r.rg_benachteiligung_bereich = 6 OR r.rg_benachteiligung_bereich = 7))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(TRUE)</where>
-    </ydim>
-  </evaluation> 
--->
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<!--
-  <evaluation>
-    <id>22</id>
-    <name>Ohne Schulabschluss</name>
-    <desc>Zeigt die Anzahl der Menschen ohne Schulabschluss.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(schulabschluss_1 = 1)</where> 
-    </ydim>
-  </evaluation>
--->
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<!--
-  <evaluation>
-    <id>23</id>
-    <name>ISCED 1, ISCED 2</name>
-    <desc>Zeigt die Anzahl der Menschen in den Kategorien ISCED 1 und ISCED 2 (Nur Hauptschule/Realschule/BGJ/BVJ)</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(schulabschluss_1 in (3,4,5,9,10))</where> 
-    </ydim>
-  </evaluation>
--->
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<!--
-  <evaluation>
-    <id>24</id>
-    <name>ISCED 3</name>
-    <desc>Zeigt die Anzahl der Menschen in der Kategorie ISCED 3 (Hochschulzugangsberechtigt 1. Bildungsweg)</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(schulabschluss_1 = 6)</where> 
-    </ydim>
-  </evaluation>
--->
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-<!--
-  <evaluation>
-    <id>25</id>
-    <name>ISCED 4</name>
-    <desc>Zeigt die Anzahl der Menschen in der Kategorie ISCED 4 (Hochschulzugangsberechtigt 2. Bildungsweg)</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(schulabschluss_1 = 8)</where> 
-    </ydim>
-  </evaluation>
--->
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>28</id>
-    <name>Gesamtzahl CM-Kunden</name>
-    <desc>Zeigt die Gesamtzahl der Jugendlichen an die sich während des Auswertungszeitraum im CM befunden haben.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>('%(edate)s'::date >= datum_feststellung AND '%(sdate)s'::date <= coalesce(beendigung_5, now()))</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-    </ydim>
-  </evaluation>
-</evaluationset>

Deleted: waska/branches/waska3/waskaweb/public/xml/eval_aktiv.xml
===================================================================
--- waska/branches/waska3/waskaweb/public/xml/eval_aktiv.xml	2012-01-31 16:35:33 UTC (rev 5798)
+++ waska/branches/waska3/waskaweb/public/xml/eval_aktiv.xml	2012-02-02 08:08:25 UTC (rev 5799)
@@ -1,200 +0,0 @@
-<evaluationset>
-  <id>3</id>
-  <version>0.9.1</version>
-  <name>Aktive Fälle</name>
-  <desc>Die Auswertung betrachtet die Anzahl der laufenden Fälle zu einem
-  Zeitpunkt X in den verschiedenen Phasen. Als Zeitpunkt/Stichtag wird das
-  Enddatum des angegebenen Auswertungszeitraums verwendet. Das Startdatum ist
-  hier nicht von Bedeutung.  Bei einer Beendigung der Phase am Stichtag wird
-  der Fall nicht für die beendete Phase gezählt</desc>
-  <requirement>
-    <phase>0</phase>
-    <validity>1</validity>
-  </requirement>
-  <evaluation>
-    <id>1</id>
-    <name>Jugendliche in der Eingangsanamnese</name>
-    <desc>Zeigt die Gesamtanzahl der Fälle in der Phase A (Eingangsanamnese) zum Zeitpunkt X. Fälle, die am Stichtag die Phase A beendeten, werden nicht gezählt.</desc>
-    <requirement>
-      <phase>0</phase>
-    </requirement>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>
-	  		('%(sdate)s'::date <= coalesce(datum_feststellung, now()) 
-			AND '%(edate)s'::date >= erstgespraech)
-      </where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <xdim>
-      <label>Migration nach Geschlecht</label>
-      <table>geschlecht_tbl</table>
-      <field>(CASE WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 0) THEN 0 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 1) THEN 1 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -3) THEN -3 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -1) THEN -1 ELSE 10 END) as migration</field>
-      <join>migration</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase = 0 OR (erstgespraech <= '%(edate)s'::date AND coalesce(datum_feststellung, now()) > '%(edate)s'::date))</where>
-    </ydim>
-  </evaluation>
-  <evaluation>
-    <id>2</id>
-    <name>Jugendliche im Case Management</name>
-    <desc>Zeigt die Gesamtanzahl der Fälle in der Phase B (Case Management) zum Zeitpunkt X. Fälle, die am Stichtag die Phase B beendeten, werden nicht gezählt.</desc>
-    <requirement>
-      <phase>2,3,4,5</phase>
-    </requirement>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>
-	  		('%(sdate)s'::date <= coalesce(beendigung_5, now()) 
-			AND '%(edate)s'::date >= datum_feststellung)
-      </where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <xdim>
-      <label>Migration nach Geschlecht</label>
-      <table>geschlecht_tbl</table>
-      <field>(CASE WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 0) THEN 0 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 1) THEN 1 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -3) THEN -3 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -1) THEN -1 ELSE 10 END) as migration</field>
-      <join>migration</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase = 2 OR 
-                (datum_feststellung <= '%(edate)s'::date 
-                    AND coalesce(beendigung_5, now()) > '%(edate)s'::date))
-      </where>
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>3</id>
-    <name>Jugendliche in der Nachbetreuung</name>
-    <desc>Zeigt die Gesamtanzahl der Fälle in der Phase C (Nachbetreuung) zum Zeitpunkt X. Fälle, die am Stichtag die Phase C beendeten, werden nicht gezählt.</desc>
-    <requirement>
-      <phase>4,5</phase>
-    </requirement>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>
-	  		('%(sdate)s'::date <= coalesce(beendigung_nachbetreuung, now()) 
-			AND '%(edate)s'::date >= beendigung_5)
-      </where>
-	  <where>(TRUE)</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <xdim>
-      <label>Migration nach Geschlecht</label>
-      <table>geschlecht_tbl</table>
-      <field>(CASE WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 0) THEN 0 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 1) THEN 1 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -3) THEN -3 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -1) THEN -1 ELSE 10 END) as migration</field>
-      <join>migration</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase = 5 OR 
-                (beendigung_5 <= '%(edate)s'::date 
-                    AND coalesce(beendigung_nachbetreuung, now()) 
-                                                > '%(edate)s'::date))
-      </where>
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>4</id>
-    <name>Jugendliche in der Beratung</name>
-    <desc>Zeigt die Gesamtanzahl der Fälle in der Beratung zum Zeitpunkt X. Fälle, die am Stichtag die Beratung beendeten, werden nicht gezählt.</desc>
-    <requirement>
-      <phase>6,7</phase>
-    </requirement>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>
-	  		('%(sdate)s'::date <= coalesce(datum_ende_beratung, now()) 
-			AND '%(edate)s'::date >= datum_feststellung)
-      </where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <xdim>
-      <label>Migration nach Geschlecht</label>
-      <table>geschlecht_tbl</table>
-      <field>(CASE WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 0) THEN 0 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 1) THEN 1 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -3) THEN -3 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -1) THEN -1 ELSE 10 END) as migration</field>
-      <join>migration</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase = 6 OR 
-                (datum_feststellung <= '%(edate)s'::date 
-                    AND coalesce(datum_ende_beratung, now()) 
-                                                > '%(edate)s'::date))
-      </where>
-    </ydim>
-  </evaluation>
-</evaluationset>

Deleted: waska/branches/waska3/waskaweb/public/xml/eval_analyse.xml
===================================================================
--- waska/branches/waska3/waskaweb/public/xml/eval_analyse.xml	2012-01-31 16:35:33 UTC (rev 5798)
+++ waska/branches/waska3/waskaweb/public/xml/eval_analyse.xml	2012-02-02 08:08:25 UTC (rev 5799)
@@ -1,72 +0,0 @@
-<evaluationset>
-  <id>4</id>
-  <version>1.0</version>
-  <name>Fallaktenanalyse</name>
-  <desc>Analyse der Fallakten nach Phasen und Validität</desc>
-  <evaluation>
-    <id>1</id>
-    <name>Gesamtzahl</name>
-    <desc>Zeigt die Gesamtanzahl der Fälle in der Datenbank an.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>(TRUE)</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-    </ydim>
-  </evaluation>
-  <evaluation>
-    <id>2</id>
-    <name>Phase</name>
-    <desc>Zeigt Verteilung von Phasen über die Geschlechter auf.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>(TRUE)</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Phase</label>
-      <field>phase</field>
-      <table>phase_tbl</table>
-      <join>phase</join>
-    </ydim>
-  </evaluation>
-  <evaluation>
-    <id>3</id>
-    <name>Auswertbarkeit in Phasen</name>
-    <desc>Zeigt die Auswertbarkeit in den verschiedenen Phasen auf.</desc>
-    <basequery>
-      <table>(select DISTINCT p.id, p.phase, p.geschlecht, l.tag_id from nm_tags_cases_view l join master_tbl_eval_total_view p on l.case_id = p.id) zzz</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>(TRUE)</where>
-    </basequery>
-    <xdim>
-      <label>Phase</label>
-      <field>phase</field>
-      <table>( select * from phase_tbl where id in (-1,0,1,2,3,4,5,6,7) )</table>
-      <join>phase</join>
-    </xdim>
-    <ydim>
-      <label>Validität</label>
-      <field>tag_id</field>
-      <table>(select id, label as value from tags_view where id in (1,2,0))</table>
-      <join>tag_id</join>
-    </ydim>
-  </evaluation>
-</evaluationset>

Deleted: waska/branches/waska3/waskaweb/public/xml/eval_tagebuch.xml
===================================================================
--- waska/branches/waska3/waskaweb/public/xml/eval_tagebuch.xml	2012-01-31 16:35:33 UTC (rev 5798)
+++ waska/branches/waska3/waskaweb/public/xml/eval_tagebuch.xml	2012-02-02 08:08:25 UTC (rev 5799)
@@ -1,54 +0,0 @@
-<evaluationset>
-  <id>5</id>
-  <version>0.9.1</version>
-  <name>Tagebuch Auswertungen</name>
-  <desc>Auswertung der Zeitaufwände nach den definierten Kategorien</desc>
-  <requirement>
-    <phase>2,3,4,5</phase>
-    <validity>1</validity>
-  </requirement>
-  <evaluation>
-    <id>1</id>
-    <name>Falltagebuch</name>
-    <desc>Zeigt den aktuell dokumentierten Aufwand in Minuten im Falltagebuch kategorisiert nach den verschiedenen Aufwandsarten.</desc>
-    <requirement>
-      <phase>2</phase>
-    </requirement>
-    <basequery>
-      <table>(select p.id, p.geschlecht, p.muttersprache, p.staatsangehoerigkeit, p.vater, p.mutter, l.art, l.dauer from ka_logbuch_tbl_view l join master_tbl_eval_total_view p on l.master_id = p.id) zzz</table>
-      <template>SELECT id, EXTRACT(epoch FROM dauer) as dauer, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>TRUE</where>
-      <aggregate>sum(m.dauer)/60</aggregate>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <ydim>
-      <label>Unmittelbare Arbeit mit dem Jugendlichen</label>
-      <field>art</field>
-      <table>(select id, beschreibung as value from ka_logbuch_art_tbl where id in (1, 2, 3, 4, 10))</table>
-      <join>art</join>
-    </ydim>
-    <ydim>
-      <label>Arbeit mit Eltern</label>
-      <field>art</field>
-      <table>(select id, beschreibung as value from ka_logbuch_art_tbl where id in (11,12,13))</table>
-      <join>art</join>
-    </ydim>
-    <ydim>
-      <label>Arbeit mit Dritten</label>
-      <field>art</field>
-      <table>(select id, beschreibung as value from ka_logbuch_art_tbl where id in (5,6,7,8))</table>
-      <join>art</join>
-    </ydim>
-    <ydim>
-      <label>Sonstiges</label>
-      <field>art</field>
-      <table>(select id, beschreibung as value from ka_logbuch_art_tbl where id in (14,15,16,-2,-1))</table>
-      <join>art</join>
-    </ydim>
-  </evaluation>
-</evaluationset>

Deleted: waska/branches/waska3/waskaweb/public/xml/eval_verlauf.xml
===================================================================
--- waska/branches/waska3/waskaweb/public/xml/eval_verlauf.xml	2012-01-31 16:35:33 UTC (rev 5798)
+++ waska/branches/waska3/waskaweb/public/xml/eval_verlauf.xml	2012-02-02 08:08:25 UTC (rev 5799)
@@ -1,225 +0,0 @@
-<evaluationset mode="trend">
-  <id>2</id>
-  <version>0.9.1</version>
-  <name>Auswertung über den zeitlichen Verlauf</name>
-  <desc>Zeigt eine zusammenfassende Beschreibung der CM Fälle und der Ein- und Austritte über einen monatlichen Verlauf innerhalb des Auswertungszeitraums</desc>
-  <requirement>
-    <phase>2,3,4,5,6,7</phase>
-    <validity>1</validity>
-  </requirement>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>1</id>
-    <name>Gesamtzahl der Teilnehmer</name>
-    <desc>Zeigt die monatliche Entwicklung der Gesamtanzahl der Fälle innerhalb des Auswertungszeitraums.</desc>
-    <requirement>
-      <phase>2,3,4,5,6,7</phase>
-    </requirement>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>
-		SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s
-	  </template>
-      <where>
-		('%(edate)s'::date >= datum_feststellung 
-				AND ((phase in (2,3,4,5) 
-					  AND '%(sdate)s'::date <= coalesce(beendigung_5, 
-															now()))
-					OR (phase in (6,7) 
-					  AND '%(sdate)s'::date <= coalesce(datum_ende_beratung,
-															 now()))
-				))
-	  </where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <xdim>
-      <label>Migration nach Geschlecht</label>
-      <field>(CASE WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 0) THEN 0 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 1) THEN 1 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -3) THEN -3 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -1) THEN -1 ELSE 10 END) as migration</field>
-      <table>geschlecht_tbl</table>
-      <join>migration</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Teilnehmer</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-    </ydim>
-    <ydim>
-      <label>davon Beratungsfälle</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase in (6,7))</where>
-    </ydim>
-    <ydim>
-      <label>davon Case Management Fälle</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase in (2,3,4,5))</where>
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>2</id>
-    <name>Gesamtzahl der Neueintritte</name>
-    <desc>Zeigt die monatliche Entwicklung der Gesamtanzahl der Neueintritte innerhalb des Auswertungszeitraums. Der relative Anteil von Wiederaufnahmen und Neueintritten ergibt sich aus den Angaben in der Eingangsdokumentation. Hierbei muss a) die Angabe "Jugendlicher war bereits im CM" und b) eine genehmigte Wiedervorlage bzw. Neuaufnahme dokumentiert sein.</desc>
-    <requirement>
-      <phase>2,3,4,5,6,7</phase>
-    </requirement>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>
-		('%(sdate)s'::date <= datum_feststellung 
-			AND '%(edate)s'::date >= datum_feststellung)</where>
-    </basequery>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <xdim>
-      <label>Migration nach Geschlecht</label>
-      <field>(CASE WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 0) THEN 0 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 1) THEN 1 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -3) THEN -3 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -1) THEN -1 ELSE 10 END) as migration</field>
-      <table>geschlecht_tbl</table>
-      <join>migration</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Neueintritte</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-    </ydim>
-    <ydim>
-      <label>Davon noch allgemeinschulpflichtig</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(schulpflichtig=1)</where>
-    </ydim>
-    <ydim>
-      <label>Davon allgemeinschulpflichtig mit Übergangsprognose</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(schulpflichtig=1 AND FALSE)</where>
-    </ydim>
-  </evaluation>
-<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-  <evaluation>
-    <id>3</id>
-    <name>Gesamtzahl der Austritte</name>
-    <desc>Zeigt die montaliche Entwicklung der Gesamtanzahl der Austritte innerhalb des Auswertungszeitraums.</desc>
-    <basequery>
-      <table>master_tbl_eval_total_view</table>
-      <template>SELECT id, %(xfield)s, %(yfield)s from %(from)s WHERE %(where)s</template>
-      <where>
-		(
-		('%(edate)s'::date >= datum_feststellung) AND 
-		(phase in (3,4,5) 
-			  AND '%(sdate)s'::date <= coalesce(beendigung_5, now())
-			  AND '%(edate)s'::date >= coalesce(beendigung_5, now()))
-			OR (phase in (7) 
-			  AND '%(sdate)s'::date <= coalesce(datum_ende_beratung, now())
-			  AND '%(edate)s'::date >= coalesce(datum_ende_beratung, now()))
-		)
-	  </where>
-    </basequery>
-    <requirement>
-      <phase>3,4,5,7</phase>
-    </requirement>
-    <xdim>
-      <label>Geschlecht</label>
-      <field>geschlecht</field>
-      <table>geschlecht_tbl</table>
-      <join>geschlecht</join>
-    </xdim>
-    <xdim>
-      <label>Migration nach Geschlecht</label>
-      <field>(CASE WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 0) THEN 0 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = 1) THEN 1 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -3) THEN -3 WHEN ((muttersprache not in (18,-1, -3) or
-      staatsangehoerigkeit not in (29, -1, -3) or vater not in (1, -1) or
-      mutter not in (1, -1)) and geschlecht = -1) THEN -1 ELSE 10 END) as migration</field>
-      <table>geschlecht_tbl</table>
-      <join>migration</join>
-    </xdim>
-    <ydim>
-      <label>Gesamtzahl Austritte</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-    </ydim>
-    <ydim>
-      <label>davon Beratungsfälle</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase = 7)</where>
-    </ydim>
-    <ydim>
-      <label>davon Case Management Fälle</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase in (3,4,5))</where>
-    </ydim>
-    <ydim>
-      <label>davon CM mit erfolgreiche Beendigung</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase in (3,4,5) AND art_beendigung = 0)</where>
-    </ydim>
-    <ydim>
-      <label>davon CM mit sonst. Beendigung</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase in (3,4,5) AND art_beendigung = 2)</where>
-    </ydim>
-    <ydim>
-      <label>davon CM mit unbekannter Beendigung</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>
-        (phase in (3,4,5) AND (art_beendigung = -1 OR art_beendigung = -3))
-      </where>
-    </ydim>
-    <ydim>
-      <label>davon CM-Abbrüche</label>
-      <field>(select count(id) from master_tbl_eval_total_view) as anzahl</field>
-      <table>(select DISTINCT count(id) as id, 'Gesamt' as value from master_tbl_eval_total_view)</table>
-      <join>anzahl</join>
-      <where>(phase in (3,4,5) AND art_beendigung = 1)</where>
-    </ydim>
-  </evaluation>
-</evaluationset>



More information about the Mpuls-commits mailing list