e.Toscana Compliance Request for Comments: x Del: 20/10/2006 Categoria: 
Applicativa Destinatari: Regione Toscana, Amministrazioni locali 

GESTIONE INTEGRATA SERVIZI SOCIALI E SOCIOSANITARI 

Indice 
------
1. Contesto di riferimento
2. Obiettivi	
3. Modalit di cooperazione 
3.1 Erogazione Servizio
3.2 I messaggi 
4. Formato dei messaggi 
5. Bibliografia

1. Contesto di riferimento
==========================
GENESI  un sistema distribuito di applicazioni cooperanti per la 
realizzazione di una gestione pi integrata, efficiente ed omogenea dei 
servizi sociali e socio sanitari, realizzata con una definizione organica delle 
modalit con cui le informazioni vengono acquisite da varie fonti (Comuni, ASL, 
Volontariato etc.)
Gli utilzzatori del sistema sono:
- Osservatorio Sociale Regionale e, pi in generale, le strutture/dipartimenti 
  di carattere regionale operanti nell'Area Sociosanitaria; - Osservatori Sociali 
  Provinciali e, pi in generale, Uffici Provinciali delle Politiche Sociali; 
- Enti Pubblici operanti nel Settore Sociosanitario (Comuni, ASL, Societ 
  della Salute, Comunit Montane, Associazioni di Comuni); 
- Volontariato e Terzo Settore operante in ambito Sociale;
- Cittadino in stato di disagio sociale.
Tra i requisiti generali del progetto si possono individuare:

a)la diffusione, tramite l'utilizzo di uno  standard di comunicazione, di un
  linguaggio comune che consenta di potere interloquire evitando  possibili
  fraintendimenti basati su diverse interpretazioni della terminologia;

b)la disponibilit di creare spazi di comunicazione in grado di 
  aggregare soggetti con analoghi interessi sul particolare tema del sociale, 
  abbattendo le barriere spazio-temporali e atti a diffondere e condividere 
  informazioni sul tema sociosanitario e a promuovere discussioni su temi 
  specifici; 
c)la possibilit di disporre di uno strumento il cui uso non richieda 
  particolari skill tecnici, in grado di evolvere nel tempo in modo da adeguarsi 
  facilmente a nuovi requisiti e/o esigenze, basato sull'uso di piattaforme e 
  strumenti aperti non di tipo "proprietary"; 
d)la gestione delle informazioni garantendo i requisiti di sicurezza e 
  riservatezza delle stesse, in ottemperanza ai requisiti di legge, e, in 
  particolare a quanto stabilisce il Decreto Legislativo 196/2003 in merito
  al trattamento dei dati personali e sensibili e ai requisiti minimi di sicurezza.

2. Obiettivi
============ 
Il  sistema  GENESI,  integrandosi   con  l'infrastruttura  ed  i   servizi   di
cooperazione    applicativa     di     Regione     Toscana,    fornisce     alle
Amministrazioni  Locali  /  Enti  aderenti  al  progetto  GENESI  le  interfacce
applicative  necessarie  alla cooperazione  attraverso  componenti software  che
andranno a  collocarsi a  livello dei  vari NAL  della Rete Telematica Regionale
Toscana. Il  progetto adotta  quindi come  standard di  cooperazione applicativa
quello  definito dalla  Regione Toscana  nell'ambito del  piano regionale  di  e
-government. Parte integrante del progetto sono le definizioni delle  specifiche
riferite sia alle modalit di colloquio tra le componenti del sistema GENESI  ed
il CART, sia alla definizione dei messaggi scambiati tra le componenti stesse.

3. Modalit di cooperazione
===========================

Per  consentire  alle  applicazioni  che  appartengono  al  Sistema  GENESI   di
interagire tra loro e di  cooperare con altre applicazioni all'interno  del CART
sono state realizzate delle  componenti software secondo gli standard dettati da
Regione Toscana (vedi [D1] e [D5]). 
Nei paragrafi che seguono sono descritte le modalit in cui le applicazioni del 
Sistema GENESI utilizzano le componenti software diinteroperabilit realizzate. 
Vengono poi prese in esame le singole  funzionalit che prevedono cooperazione
applicativa ed  descritte la struttura dei dati che dovranno essere scambiati
tra le varie applicazioni coinvolte.

La modalit di comunicazione Publish&Subscribe prevede che i messaggi pubblicati
da  un  determinato Sistema  GENESI  (Pubblicatore) vengano  inviati  a tutti  i
Sistemi GENESI sottoscrittori.  Per far s  che si possa  scegliere di volta  in
volta a quale Sistema GENESI inviare  un messaggio (ad esempio, in seguito  alla
variazione dell'anagrafica di  un cittadino, si  vuole comunicare la  variazione
solo a quei Sistemi GENESI che  posseggono tale anagrafica)  stata adottata  la
modalit di comunicazione P&S con filtri  come descritto ai paragrafi 2.2 e  5.2
del documento [D3]. Secondo tale modalit, un messaggio viene pubblicato e messo
a  disposizione  solo di  quei  sottoscrittori dell'evento  indicati  nel filtro
legato al messaggio stesso. Le componenti software coinvolte in questa  modalit
di comunicazione sono quelle indicate in Figura 1 con i nomi GESTORE MESSAGGI  e
PROXY GENESI e saranno dettagliatamente descritte nel seguito del documento.

Il  GESTORE MESSAGGI   il  modulo software  incaricato di  inviare e  ricevere
messaggi per  il generico  Sistema GENESI.  In fase  di invio  messaggi, il  suo
compito consiste nel raccogliere tutte le richieste di pubblicazione di messaggi
da  parte  delle  applicazioni che  compongono  il  Sistema GENESI  (Backoffice,
Portale,  Backoffice  Integrato,   Report,  Autenticazione  e   Amministrazione)
abilitate a  tale funzionalit.  Le richieste  vengono raccolte  in una  coda di
messaggi JMS ed inviate  in modalit asincrona verso  il NAL di riferimento.  In
fase di  ricezione, invece,  il GESTORE  MESSAGGI si  incaricher di  richiedere
l'elenco dei messaggi  disponibili per il  Sistema GENESI su  cui  attestato  e
provveder alla consegna del messaggio alla componente del sistema  interessata.
Il PROXY  GENESI   il modulo  software presente  sul NAL  di riferimento per il
Sistema  GENESI  che  ha  il compito  di  ricevere  i  messaggi di  cooperazione
applicativa, validarli,  identificarne i  destinatari e  pubblicarli mediante le
funzionalit messe a disposizione dal Framework di Cooperazione Applicativa.  E'
inoltre il mezzo attraverso il quale il GESTORE MESAGGI pu richiedere  l'elenco
dei messaggi  destinati ad  uno specifico  Sistema GENESI.   Per poter gestire i
messaggi caratteristici della Cooperazione Applicativa tra Sistemi GENESI, si  
scelto di utilizzare un'unica tipologia di evento configurabile a livello  CART:
EVENTO_GENESI.  Secondo  il  modello gi  presentato  nel  documento "Specifiche
Funzionali  GENESI  -  VOL   5  Integrazione  e  Cooperazione   Applicativa"  le
informazioni scambiate tra componenti applicative aderenti al progetto GENESI ed
il CART saranno incluse in buste SOAP di trasporto.

All'interno  del  Sistema  GENESI,  lo  scambio  di  informazioni  tra  le varie
componenti applicative ed il GESTORE MESSAGGI avverr mediante l'invocazione  di
appositi metodi esposti dalla classe che impelementa il GESTORE MESSAGGI. Tra il
GESTORE MESSAGGI  ed il  PROXY GENESI  verr utilizzata  per il  trasporto delle
informazioni la busta "SOAP GENESI".
Questa presenta nell'header un tag  che identifica l'evento, uno che  identifica
il mittente, ed uno che permette di specificare i possibili destinatari (per  la
modalit P&S con filtro) e nella body part l'XML corrispondente al messaggio  di
cooperazione applicativa. Le informazioni saranno poi imbustate dal PROXY GENESI
nel formato busta e.Toscana secondo quanto stabilito nel documento [D3]  Regione
Toscana,  Proxy  Developer  Kit Ver.  1.5,  Infrastruttura  per la  Cooperazione
Applicativa, 20 settembre 2004. Quando il PROXY GENESI pubblica le  informazioni
sul CRIC, restituisce un acknowledgement di corretto invio al sistema  mittente.
L'effettiva consegna di tali messaggi ai destinatari  garantita dal CRIC.

3.1 Erogazione Servizio 
-----------------------
Il  SoleFacade,  a  seguito  della richiesta  inviata  dal   provider  al  CRIC,
istanzia il ProxyServiceProvider:  una classe che  implementa l'interfaccia  del
Sole  ServiceRequestProxy  fungendo  da  Proxy Applicativo,  cui viene demandata
l'esecuzione delle richieste al   provider vero   e   proprio    del   servizio.
Quando   il   SoleFacade   istanzia    il ProxyServiceProvider viene invocato il
metodo RequestService al quale   passata, come parametro,  la busta   e.Toscana
inviata  dal requester.   Il Proxy  passa  la busta  e.Toscana   al  LocalAgent,
delegandogli   l'estrazione   dell'evento    che  descrive   la   tipologia   di
richiesta,  i  parametri-criteri  di  fruizione  del servizio e l'url presso  il
quale    registrato  il  provider. Il  Local  Agent  quindi  controlla  che   i
parametri  inviati siano  corretti  e  completi  per l'evento richiesto.
Se  tutto   avviene  senza   errori,  tramite   un  WebService   lato  client  (
WSGenesiSOAErogazione() ) viene invocato il WebService lato server presente  sul
provider  ( WSGenericProvider()  ), componente  del Sistema  GENESI (Backoffice
Intergrato, Report) o sistema esterno (GIADA), il quale restituisce la  risposta
nel formato di un oggetto che mappa un file XML. La risposta  recepita, tramite
WebService client dal  LocalAgent che ne  modifica il formato  trasformandolo da
"Oggetto" a "Stringa".  La stringa   quindi restituita al  ProxyServiceProvider
che la invia al SoleFacade  come risposta, all'invocazione di quest'ultimo,  del
metodo requestService(). Il CRIC,  quindi, restituisce tale risposta  al Sistema
Richiedente che,  durante tutto  il flusso  informativo descritto,   rimasto in
attesa.

3.2 I messaggi
--------------

I messaggi il cui  codice  IGG* sono  i messaggi che consentono  lo scambio dei
dati tra le varie componenti Genesi, e sono:

IGG01 - Inserimento e variazione utente applicativo su GENESI
IGG02 - Inserimento e variazione anagrafica cittadino che richiede servizio su 
	GENESI
IGG03 - Erogazione servizio a cittadino e variazioni di stato pratica
IGG04 - Inserimento e variazione tabelle di codifica
IGG05 - Informazioni statistiche
IGG06 - Informazioni riguardanti la cartella integrata del cittadino
IGG07 - Inserimento e variazione catalogo
IGG08 - Informazioni riguardanti il catalogo di offerta di un Ente gestore
IGG09 - Informazioni riguardanti lo stato di una pratica
IGG10 - Inserimento e variazione anagrafica enti
IGG12 - Informazioni riguardanti la struttura di un questionario
IGG13 - Informazioni inerenti il registro del volontariato
IGG14 - Informazioni inerenti la carta d'identit terzo settore
IGG15 - Informazioni questionari rilevate durante campagna di rilevazione
IGG16 - Inserimento e variazione anagrafica servizio
IGG17 - Statistiche e report
IGG18 - Inserimento e variazione struttura territoriale socio-sanitaria
IGG19 - Richiesta anagrafica Ente
IGG20 - Riassegnazione pratica
IGG21 - Inserimento e  variazione anagrafica  associazioni di  volontariato non
	iscritte al Registro.

I messaggi il cui  codice  IGE* sono  i messaggi che consentono  lo scambio dei
dati tra Genesi verso l'esterno sono:	
IGE01 - Informazioni statistiche per ente
IGE02 - Messaggio di comunicazione inserimento anagrafica cittadino acquisita da
	GENESI
IGE03 - Messaggio  di  comunicazione  variazioni  anagrafiche  sul   cittadino
	effettuate da GENESI

I messaggi il cui codice  IEG* i messaggi che consentono  lo scambio dei 
dati tra Enti esterni verso verso GENESI sono:

IEG05 - Messaggio di comunicazione attribuzione codice unico Regionale del
	cittadino da GIADA

4. Formato  dei messaggi  
======================= 
IGG01 - Inserimento e variazione utente applicativo su GENESI
Funzionalit  che consente  di  comunicare l'avvenuto inserimento  o  variazione
di  un utente  applicativo  sulla componente  di amministrazione di  GENESI alle
altre  applicazioni interessate  allo specifico  evento. E'  inoltre utilizzata
dagli enti aderenti a GENESI  ma  dotati di un  backoffice proprietario  per  la
creazione di  un account  di accesso dei servizi di portale

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="UTENTEAPPLICATIVO">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COGNOME"/>
				<xs:element ref="NOME"/>
				<xs:element ref="USERNAME"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
				<xs:element ref="ENTE"/>
				<xs:element ref="VISTA" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="APPLICAZIONE" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="COGNOME" type="xs:string"/>
	<xs:element name="NOME" type="xs:string"/>
	<xs:element name="USERNAME" type="xs:string"/>
	<xs:element name="EMAIL" type="xs:string"/>
	<xs:element name="ENTE">
		<xs:annotation>
			<xs:documentation>Ente di appartenenza</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_ENTE"/>
				<xs:element ref="DESCRIZIONE_ENTE" minOccurs="0"/>
				<xs:element ref="URL_BACKOFFICE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_ENTE" type="xs:string"/>
	<xs:element name="DESCRIZIONE_ENTE" type="xs:string"/>
	<xs:element name="URL_BACKOFFICE" type="xs:string">
		<xs:annotation>
			<xs:documentation>URL per richiamare applicazione di backoffice per l'utente 
			applicativo</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="VISTA">
		<xs:annotation>
			<xs:documentation>Ente di visibilit dati</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_ENTE"/>
				<xs:element ref="DESCRIZIONE_ENTE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="APPLICAZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Componente applicativa di GENESI</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

IGG02 - Inserimento e variazione anagrafica cittadino che richiede servizio su GENESI
--------------------------------------------------------------------------------------
I dati anagrafici del cittadino, attraverso un servizio erogato dal   BACKOFFICE
installato sui SAP,  vengono comunicati al  BACKOFFICE INTEGRATO installato  sul
SAI  che li  utilizzer per  rendere disponibile  il servizio  di cartella  del
cittadino. Nel caso  di variazione, gli  stessi dati anagrafici  sono comunicati
anche alle altre  componenti di BACKOFFICE,  installate su altri  SAP di GENESI,
dalle quali il  cittadino in oggetto  ha richiesto l'erogazione  di un servizio.
Inoltre  le stesse  informazioni anagrafiche  sono comunicate  anche al  sistema
GIADA, che  potr in  tal modo  provvedere ad  aggiornare la  propria base  dati
informativa.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="CITTADINOGENESI">
		<xs:annotation>
			<xs:documentation>Cittadino GENESI</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COGNOME"/>
				<xs:element ref="NOME"/>
				<xs:element ref="CODICE_FISCALE"/>
				<xs:element ref="ID_GENESI"/>
				<xs:element ref="ID_GIADA" minOccurs="0"/>
				<xs:element ref="SESSO"/>
				<xs:element ref="DATA_NASCITA"/>
				<xs:element ref="COMUNE_NASCITA" minOccurs="0"/>
				<xs:element ref="STATO_NASCITA" minOccurs="0"/>
				<xs:element ref="RESIDENZA"/>
				<xs:element ref="DOMICILIO" minOccurs="0"/>
				<xs:element ref="TELEFONO" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="EMAIL" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="STATO_CIVILE" minOccurs="0"/>
				<xs:element ref="CITTADINANZA"/>
				<xs:element ref="OCCUPAZIONE" minOccurs="0"/>
				<xs:element ref="NUM_TESSERA_SANITARIA" minOccurs="0"/>
				<xs:element ref="PIN" minOccurs="0"/>
				<xs:element ref="FLAG_ELIMINATO" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="COGNOME" type="xs:string"/>
	<xs:element name="NOME" type="xs:string"/>
	<xs:element name="CODICE_FISCALE" type="xs:string"/>
	<xs:element name="ID_GENESI" type="xs:string">
		<xs:annotation>
			<xs:documentation>Identificativo del cittadino su GENESI</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ID_GIADA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Identificativo del cittadino su GIADA</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SESSO">
		<xs:annotation>
			<xs:documentation>(M |F)</xs:documentation>
		</xs:annotation>
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:enumeration value="M"/>
				<xs:enumeration value="F"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>
	<xs:element name="DATA_NASCITA" type="xs:string"/>
	<xs:element name="COMUNE_NASCITA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="STATO_NASCITA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Stato Estero di Nascita. Se non valorizzato si considera ITALIA.</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="RESIDENZA">
		<xs:annotation>
			<xs:documentation>Indirizzo di residenza</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COMUNE"/>
				<xs:element ref="INDIRIZZO" minOccurs="0"/>
				<xs:element ref="CAP" minOccurs="0"/>
				<xs:element ref="CIVICO" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="DOMICILIO">
		<xs:annotation>
			<xs:documentation>Indirizzo di domicilio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COMUNE"/>
				<xs:element ref="INDIRIZZO" minOccurs="0"/>
				<xs:element ref="CAP" minOccurs="0"/>
				<xs:element ref="PRESSO" minOccurs="0"/>
				<xs:element ref="CIVICO" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="COMUNE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="INDIRIZZO" type="xs:string"/>
	<xs:element name="CAP" type="xs:string"/>
	<xs:element name="PRESSO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Riferimento del cittadino presso il domicilio segnalato</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CIVICO" type="xs:string"/>
	<xs:element name="TELEFONO" type="xs:string"/>
	<xs:element name="EMAIL" type="xs:string"/>
	<xs:element name="STATO_CIVILE" type="xs:string">
		<xs:annotation>
			<xs:documentation>(CELIBE||NUBILE||CONIUGATO/A|DIVORZIATO/A=| VEDOVO/A)</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CITTADINANZA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice cittadinanza</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="OCCUPAZIONE" type="xs:string"/>
	<xs:element name="NUM_TESSERA_SANITARIA" type="xs:string"/>
	<xs:element name="PIN" type="xs:string">
		<xs:annotation>
			<xs:documentation>Password per la richiesta di servizi da portale</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="FLAG_ELIMINATO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Valorizzare per eliminare un cittadino gi inserito</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

IGG03 - Erogazione servizio a cittadino e variazioni di stato pratica
--------------------------------------------------------------------------------
L'erogazione di un servizio per il  cittadino e la variazione dello stato  della
pratica, eseguita  dalla componente  di BACKOFFICE  installata sui  SAP, sul SAI
oppure da un sistema esterno dotato  di un proprio backoffice  notificata  alla
componente di BACKOFFICE INTEGRATO installata sul SAI, la quale la registrer  
la utilizzer per la produzione della cartella integrata del cittadino.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="SERVIZIOGENESI">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CITTADINO"/>
				<xs:element ref="UTENTE"/>
				<xs:element ref="DATA"/>
				<xs:element ref="STATO"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CITTADINO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice Fiscale del cittadino</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="UTENTE">
		<xs:annotation>
			<xs:documentation>Utente che si occupa dell'erogazione del servizio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element ref="UTENTE_GENESI"/>
				<xs:element ref="DETTAGLIO_UTENTE"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="UTENTE_GENESI">
		<xs:annotation>
			<xs:documentation>Utilizzato da Enti GENESI</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="USERNAME"/>
				<xs:element ref="COD_ENTE"/>
				<xs:element ref="ID_UTENTE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="USERNAME" type="xs:string"/>
	<xs:element name="COD_ENTE" type="xs:string"/>
	<xs:element name="ID_UTENTE" type="xs:string"/>
	<xs:element name="DETTAGLIO_UTENTE">
		<xs:annotation>
			<xs:documentation>Utilizzato da Enti non GENESI</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COGNOME"/>
				<xs:element ref="NOME"/>
				<xs:element ref="ENTE"/>
				<xs:element ref="TELEFONO" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="COGNOME" type="xs:string"/>
	<xs:element name="NOME" type="xs:string"/>
	<xs:element name="ENTE" type="xs:string"/>
	<xs:element name="TELEFONO" type="xs:string"/>
	<xs:element name="EMAIL" type="xs:string"/>
	<xs:element name="DATA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data di variazione stato della pratica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="STATO">
		<xs:annotation>
			<xs:documentation>Stato della pratica</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element ref="PRIMO_ACCESSO"/>
				<xs:element ref="ISTRUTTORIA"/>
				<xs:element ref="EROGAZIONE"/>
				<xs:element ref="DISMISSIONE"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="PRIMO_ACCESSO">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="NUMERO_PRATICA"/>
				<xs:element ref="CODICE_ENTE" minOccurs="0"/>
				<xs:element ref="BISOGNO"/>
				<xs:element ref="ESITO"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="BISOGNO" type="xs:string"/>
	<xs:element name="ESITO" type="xs:string"/>
	<xs:element name="ISTRUTTORIA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="NUMERO_PRATICA"/>
				<xs:element ref="CODICE_ENTE" minOccurs="0"/>
				<xs:element ref="CODICE_SERVIZIO" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_SERVIZIO" type="xs:string"/>
	<xs:element name="NUMERO_PRATICA" type="xs:string"/>
	<xs:element name="CODICE_ENTE" type="xs:string"/>
	<xs:element name="EROGAZIONE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="TIPOLOGIAUTENZABEN"/>
				<xs:element ref="NUMERO_PRATICA"/>
				<xs:element ref="CODICE_ENTE" minOccurs="0"/>
				<xs:element ref="SERVIZIO_EROGATO" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SERVIZIO_EROGATO">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_SERVIZIO"/>
				<xs:element ref="PRESTAZIONE" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="DATA_INIZIO"/>
				<xs:element ref="DATA_LISTA" minOccurs="0"/>
				<xs:element ref="DATA_FINE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="PRESTAZIONE" type="xs:string"/>
	<xs:element name="DATA_INIZIO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data inizio erogazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_LISTA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data iscrizione alla lista di attesa</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="TIPOLOGIAUTENZABEN" type="xs:string"/>
	<xs:element name="DATA_FINE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data fine erogazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DISMISSIONE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="NUMERO_PRATICA"/>
				<xs:element ref="CODICE_SERVIZIO" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="CODICE_ENTE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>

IGG04 - Inserimento e variazione tabelle di codifica
--------------------------------------------------------------------------------
Le codifiche inserite  e variate dalla  componente di BACKOFFICE  installata sul
SAI, ed  anche dalla  componente gestionale  del sistema  informativo di Regione
Toscana, sono comunicate a tutte le componenti di BACKOFFICE installate sui SAP,
alla  componente  di  BACKOFFICE  INTEGRATO installato  sul  SAI  ed  ai sistemi
informativi esterni dotati di un proprio backoffice.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="CODIFICA">
		<xs:complexType>
			<xs:sequence maxOccurs="unbounded">
				<xs:element ref="TIPOLOGIA"/>
				<xs:element ref="VALORE"/>
				<xs:element ref="VALIDITA"/>
				<xs:element ref="ALTRO" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="TIPOLOGIA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Corrisponde alla tabella di codifica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="VALORE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE" type="xs:string"/>
	<xs:element name="DESCRIZIONE" type="xs:string"/>
	<xs:element name="ALTRO">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base="xs:string">
					<xs:attribute name="Nome" type="xs:string" use="required"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name="VALIDITA">
		<xs:annotation>
			<xs:documentation>Validit del servizio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="INIZIO"/>
				<xs:element ref="FINE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="INIZIO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data inizio validit servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="FINE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data fine validit servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

IGG05 - Informazioni statistiche
--------------------------------------------------------------------------------
Tutte  le  informazioni  riguardanti  l'offerta  e  la  domanda  gestite   dalla
componente di BACKOFFICE installata sui  SAP oppure sul SAI, vengono  comunicate
alla componente di REPORT installata sul SAI, che provveder a registrarle ed  a
renderle  successivamente  disponibili  come  report  e  statistiche.  Le stesse
informazioni sono comunicate anche dai backoffice proprietari di enti aderenti a
GENESI.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="STATISTICHE">
		<xs:annotation>
			<xs:documentation>Flusso per l'acquisizione dei dati statistici</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_FLUSSO"/>
				<xs:element ref="DATI" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_FLUSSO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del flusso definito su Hi-Report</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATI">
		<xs:annotation>
			<xs:documentation>Dati da caricare nella tabella collegata al flusso</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="VARIABILE" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="VARIABILE">
		<xs:annotation>
			<xs:documentation>Variabile da caricare</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_VARIABILE"/>
				<xs:element ref="VALORE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_VARIABILE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice della variabile contenuta nel flusso</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="VALORE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Valore della variabile contenuta nel flusso</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

IGG06 - Informazioni riguardanti la cartella integrata del cittadino

Il BACKOFFICE INTEGRATO  installato sul SAI,  che detiene tutte  le informazioni
necessarie alla produzione,  genera la cartella  del cittadino e  la restituisce
alle  componenti  di BACKOFFICE   installato  sui SAP  oppure  sul SAI,  PORTALE
installato  sul SAI  e backoffice  installato su  sistemi esterni  dotati di  un
proprio sistema informativo aderente a GENESI.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="CARTELLACITTADINO">
		<xs:annotation>
			<xs:documentation>Cartella integrata del cittadino</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_FISCALE"/>
				<xs:element ref="SERVIZIO" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_FISCALE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice fiscale del cittadino a cui si riferisce la cartella integrata</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SERVIZIO">
		<xs:annotation>
			<xs:documentation>Elenco dei servizi erogati al cittadino</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="STATO"/>
				<xs:element ref="DATA_VAR_STATO"/>
				<xs:element ref="UTENTE"/>
				<xs:element ref="EROGAZIONE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="DESCRIZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="STATO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Stato del servizio/della pratica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_VAR_STATO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data ultima variazione di stato della pratica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="UTENTE">
		<xs:annotation>
			<xs:documentation>Utente che si occupa dell'erogazione del servizio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element ref="ID_UTENTE"/>
				<xs:element ref="DETTAGLIO_UTENTE"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="ID_UTENTE" type="xs:string"/>
	<xs:element name="DETTAGLIO_UTENTE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COGNOME"/>
				<xs:element ref="NOME"/>
				<xs:element ref="ENTE"/>
				<xs:element ref="TELEFONO" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="COGNOME" type="xs:string"/>
	<xs:element name="NOME" type="xs:string"/>
	<xs:element name="ENTE" type="xs:string"/>
	<xs:element name="TELEFONO" type="xs:string"/>
	<xs:element name="EMAIL" type="xs:string"/>
	<xs:element name="EROGAZIONE">
		<xs:annotation>
			<xs:documentation>Informazioni sui tempi di erogazione del servizio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DATA_INIZIO"/>
				<xs:element ref="DATA_LISTA" minOccurs="0"/>
				<xs:element ref="DATA_FINE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="DATA_INIZIO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data inizio erogazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_LISTA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data iscrizione alla lista di attesa</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_FINE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data fine erogazione</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

IGG07 - Inserimento e variazione catalogo
--------------------------------------------------------------------------------
Tutte  le  informazioni  riguardanti  il  servizio  a  catalogo  definito  dalla
componente di BACKOFFICE installata sui SAP oppure sul SAI, ma anche dal sistema
esterno  dotato  di  un  proprio  sistema  informativo  di  backoffice,  vengono
comunicate alla componente di BACKOFFICE INTEGRATO installata sul SAI.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="SERVIZIOCATALOGO">
		<xs:annotation>
			<xs:documentation>Elenco dei servizi a catalogo</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_SERVIZIO_CATALOGO"/>
				<xs:element ref="CODICE_SERVIZIO"/>
				<xs:element ref="ENTE_TITOLARE"/>
				<xs:element ref="ENTE_GESTORE" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="ENTE_EROGATORE" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="MODALITA_ACCESSO" minOccurs="0"/>
				<xs:element ref="DATA_ATTIVAZIONE"/>
				<xs:element ref="DATA_SOPPRESSIONE" minOccurs="0"/>
				<xs:element ref="STRUTTURE_ATTREZZATURE" minOccurs="0"/>
				<xs:element ref="PRESTAZIONE" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="RETE_COLLABORAZIONE" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="COSTO_FISSO"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_SERVIZIO_CATALOGO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Identificativo univoco del servizio a catalogo, unico per singolo Ente titolare</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CODICE_SERVIZIO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice dell'anagrafica del servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ENTE_TITOLARE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice Ente titolare del catalogo</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ENTE_GESTORE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice Ente gestore del servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ENTE_EROGATORE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice Ente erogatore del servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="MODALITA_ACCESSO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Modalit di accesso al servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_ATTIVAZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data attivazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_SOPPRESSIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data soppressione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="STRUTTURE_ATTREZZATURE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Strutture e attrezzature utilizzate per il servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="PRESTAZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Prestazioni associate al servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="RETE_COLLABORAZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice della rete di collaborazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="COSTO_FISSO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Costo fisso</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

IGG08 - Informazioni riguardanti il catalogo di offerta di un Ente gestore
--------------------------------------------------------------------------------
Il BACKOFFICE INTEGRATO  installato sul SAI,  che detiene tutte  le informazioni
necessarie alla produzione, genera l'elenco dei servizi presente nel catalogo di
offerta di un ente  e la restituisce alla  componente di PORTALE installata  sul
SAI ed al backoffice proprietario di un ente aderente a GENESI. Per l'estrazione
delle informazioni i  sistemi richiedenti invocano  il servizio di  cooperazione
applicativa comunicando il parametro  relativo al codice dell'Ente  proprietario
del catalogo (ENTE_TITOLARE)
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="CATALOGOENTE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="SERVIZIO" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_SERVIZIO_A_CATALOGO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice attribuito al servizio nel catalogo</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CODICE_SERVIZIO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice anagrafico del servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DESCRIZIONE_SERVIZIO" type="xs:string"/>
	<xs:element name="CAP" type="xs:string"/>
	<xs:element name="CODICE_ENTE" type="xs:string"/>
	<xs:element name="COGNOME" type="xs:string"/>
	<xs:element name="COMUNE" type="xs:string"/>
	<xs:element name="DATA_ATTIVAZIONE" type="xs:string"/>
	<xs:element name="DATA_SOPPRESSIONE" type="xs:string"/>
	<xs:element name="DESCRIZIONE_ENTE" type="xs:string"/>
	<xs:element name="EMAIL" type="xs:string"/>
	<xs:element name="ENTE_EROGATORE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_ENTE"/>
				<xs:element ref="DESCRIZIONE_ENTE"/>
				<xs:element ref="SEDE" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ENTE_GESTORE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_ENTE"/>
				<xs:element ref="DESCRIZIONE_ENTE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="FAX" type="xs:string"/>
	<xs:element name="FLAG_SENSIBILE" type="xs:string"/>
	<xs:element name="INDIRIZZO" type="xs:string"/>
	<xs:element name="MODALITA_ACCESSO" type="xs:string"/>
	<xs:element name="NOME" type="xs:string"/>
	<xs:element name="NOME_SEDE" type="xs:string"/>
	<xs:element name="PRESTAZIONE" type="xs:string"/>
	<xs:element name="REFERENTE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COGNOME"/>
				<xs:element ref="NOME"/>
				<xs:element ref="TELEFONO" minOccurs="0"/>
				<xs:element ref="FAX" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="RETE_COLLABORAZIONE" type="xs:string"/>
	<xs:element name="SEDE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="NOME_SEDE"/>
				<xs:element ref="COMUNE"/>
				<xs:element ref="INDIRIZZO"/>
				<xs:element ref="CAP"/>
				<xs:element ref="TELEFONO" minOccurs="0"/>
				<xs:element ref="FAX" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
				<xs:element ref="REFERENTE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SERVIZIO">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_SERVIZIO"/>
				<xs:element ref="CODICE_SERVIZIO_A_CATALOGO"/>
				<xs:element ref="DESCRIZIONE_SERVIZIO"/>
				<xs:element ref="ENTE_GESTORE" maxOccurs="unbounded"/>
				<xs:element ref="ENTE_EROGATORE" maxOccurs="unbounded"/>
				<xs:element ref="MODALITA_ACCESSO" minOccurs="0"/>
				<xs:element ref="FLAG_SENSIBILE" minOccurs="0"/>
				<xs:element ref="DATA_ATTIVAZIONE"/>
				<xs:element ref="DATA_SOPPRESSIONE" minOccurs="0"/>
				<xs:element ref="STRUTTURE_ATTREZZATURE" minOccurs="0"/>
				<xs:element ref="PRESTAZIONE" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="RETE_COLLABORAZIONE" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="STRUTTURE_ATTREZZATURE" type="xs:string"/>
	<xs:element name="TELEFONO" type="xs:string"/>
</xs:schema>

IGG09 - Informazioni riguardanti lo stato di una pratica
--------------------------------------------------------------------------------
Il BACKOFFICE INTEGRATO  installato sul SAI,  che detiene tutte  le informazioni
necessarie alla  produzione, determina  lo stato  di una  pratica relativa  alla
erogazione  di un  servizio al  cittadino e  lo restituisce  alla componente  di
PORTALE  installata  sul SAI.  Per  l'estrazione delle  informazioni  il PORTALE
invoca il servizio di cooperazione applicativa comunicando i parametri  relativi
al numero  della pratica,  al codice  fiscale del  cittadino intestatario  della
pratica ed al codice PIN comunicato  a quest'ultimo via mail per l'utilizzo  dei
servizi di portale GENESI.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="STATOPRATICA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="NUMERO_PRATICA"/>
				<xs:element ref="STATO"/>
				<xs:element ref="DATA_VAR_STATO"/>
				<xs:element ref="SERVIZIO" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="NUMERO_PRATICA" type="xs:string"/>
	<xs:element name="STATO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Stato della pratica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_VAR_STATO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data ultima variazione di stato della pratica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SERVIZIO">
		<xs:annotation>
			<xs:documentation>Servizi associati alla pratica</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="DATA_INIZIO" minOccurs="0"/>
				<xs:element ref="DATA_LISTA" minOccurs="0"/>
				<xs:element ref="DATA_FINE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="DESCRIZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_INIZIO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data inizio erogazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_LISTA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data iscrizione alla lista di attesa</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_FINE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data fine erogazione</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

IGG10 - Inserimento e variazione anagrafica enti
--------------------------------------------------------------------------------
Le  anagrafiche  di  enti  inserite e  variate  dalla  componente  di BACKOFFICE
installata sui SAP  e sul SAI,  ma anche da  un sistema informativo  aderente al
progetto  GENESI  e  dotato  di  un  proprio  backoffice,  sono  comunicate alla
componente di BACKOFFICE INTEGRATO installata sul SAI ed al PORTALE.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="ENTEGENESI">
		<xs:annotation>
			<xs:documentation>Anagrafica Ente</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_ENTE"/>
				<xs:element ref="DESCRIZIONE_ENTE"/>
				<xs:element ref="TIPO_STRUTTURA_TERRITORIALE"/>
				<xs:element ref="COD_STRUTTURA_TERRITORIALE"/>
				<xs:element ref="SEDE_LEGALE"/>
				<xs:element ref="REFERENTE" minOccurs="0"/>
				<xs:element ref="SEDE" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="SITO_WEB" minOccurs="0"/>
				<xs:element ref="FIGURA_PROFESSIONALE" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="COD_SAP"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_ENTE" type="xs:string"/>
	<xs:element name="DESCRIZIONE_ENTE" type="xs:string"/>
	<xs:element name="COD_STRUTTURA_TERRITORIALE" type="xs:string"/>
	<xs:element name="TIPO_STRUTTURA_TERRITORIALE" type="xs:string"/>
	<xs:element name="SEDE_LEGALE">
		<xs:annotation>
			<xs:documentation>Sede legale dell'Ente</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COMUNE"/>
				<xs:element ref="INDIRIZZO" minOccurs="0"/>
				<xs:element ref="CAP" minOccurs="0"/>
				<xs:element ref="TELEFONO" minOccurs="0"/>
				<xs:element ref="FAX" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="REFERENTE">
		<xs:annotation>
			<xs:documentation>Referente dell'Ente</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COGNOME" minOccurs="0"/>
				<xs:element ref="NOME" minOccurs="0"/>
				<xs:element ref="TELEFONO" minOccurs="0"/>
				<xs:element ref="FAX" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SEDE">
		<xs:annotation>
			<xs:documentation>Altre sedi dell'Ente</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_TIPO_SEDE"/>
				<xs:element ref="NOME_SEDE"/>
				<xs:element ref="COMUNE"/>
				<xs:element ref="INDIRIZZO" minOccurs="0"/>
				<xs:element ref="CAP" minOccurs="0"/>
				<xs:element ref="TELEFONO" minOccurs="0"/>
				<xs:element ref="FAX" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
				<xs:element ref="REFERENTE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_TIPO_SEDE" type="xs:string"/>
	<xs:element name="NOME_SEDE" type="xs:string"/>
	<xs:element name="COMUNE" type="xs:string"/>
	<xs:element name="INDIRIZZO" type="xs:string"/>
	<xs:element name="CAP" type="xs:string"/>
	<xs:element name="TELEFONO" type="xs:string"/>
	<xs:element name="FAX" type="xs:string"/>
	<xs:element name="EMAIL" type="xs:string"/>
	<xs:element name="COGNOME" type="xs:string"/>
	<xs:element name="NOME" type="xs:string"/>
	<xs:element name="SITO_WEB" type="xs:string"/>
	<xs:element name="FIGURA_PROFESSIONALE">
		<xs:annotation>
			<xs:documentation>Elenco delle figure professionali a disposizione dell'Ente</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_FIGURA_PROFESSIONALE"/>
				<xs:element ref="CODICE_TIPOLOGIA_RAPPORTO"/>
				<xs:element ref="NUMERO"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_FIGURA_PROFESSIONALE" type="xs:string"/>
	<xs:element name="CODICE_TIPOLOGIA_RAPPORTO" type="xs:string"/>
	<xs:element name="NUMERO" type="xs:string"/>
	<xs:element name="COD_SAP" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del SAP su cui lavora l'Ente</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LOGO" type="xs:base64Binary"/>
	<xs:element name="MODULO_RICHIESTA" type="xs:base64Binary"/>
</xs:schema>

IGG12 - Informazioni riguardanti la struttura di un questionario
--------------------------------------------------------------------------------
La  struttura  di  un  questionario  definita  dalla  componente  di  BACKOFFICE
installata  sui  SAP  e  sul SAI    comunicata  alla  componente di  BACKOFFICE
installata su tutti gli altri SAP e sul SAI.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="STRUTTURAQUESTIONARIO">
		<xs:complexType>
			<xs:choice>
				<xs:element ref="QUESTIONARIO"/>
				<xs:element ref="MODULO"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="ALTERNATIVA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="TIPOLOGIA"/>
				<xs:element ref="NUMERO_SOTTO_DOMANDE"/>
				<xs:element ref="SOTTODOMANDA" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE" type="xs:string"/>
	<xs:element name="DESCRIZIONE" type="xs:string"/>
	<xs:element name="DOMANDA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE" minOccurs="0"/>
				<xs:element ref="ID_UTENTE"/>
				<xs:element ref="TIPOLOGIA" minOccurs="0"/>
				<xs:element ref="FORMATO" minOccurs="0"/>
				<xs:element ref="SPIEGAZIONE" minOccurs="0"/>
				<xs:element ref="NUMERO_ALTERNATIVE"/>
				<xs:element ref="NUMERO_RISPOSTE_POSSIBILI" minOccurs="0"/>
				<xs:element ref="MAX_DIMENSIONE_RISPOSTA" minOccurs="0"/>
				<xs:element ref="ALTERNATIVA" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="FORMATO" type="xs:string"/>
	<xs:element name="ID_UTENTE" type="xs:string"/>
	<xs:element name="MAX_DIMENSIONE_RISPOSTA" type="xs:string"/>
	<xs:element name="MODULO">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE" minOccurs="0"/>
				<xs:element ref="ID_UTENTE"/>
				<xs:element ref="DOMANDA" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="NOTE">
		<xs:complexType/>
	</xs:element>
	<xs:element name="NUMERO_ALTERNATIVE" type="xs:string"/>
	<xs:element name="NUMERO_RISPOSTE_POSSIBILI" type="xs:string"/>
	<xs:element name="NUMERO_SOTTO_DOMANDE" type="xs:string"/>
	<xs:element name="QUESTIONARIO">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="ID_UTENTE"/>
				<xs:element ref="MODULO" maxOccurs="unbounded"/>
				<xs:element ref="NOTE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SOTTODOMANDA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="FORMATO"/>
				<xs:element ref="MAX_DIMENSIONE_RISPOSTA"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SPIEGAZIONE" type="xs:string"/>
	<xs:element name="TIPOLOGIA" type="xs:string"/>
</xs:schema>

IGG13 - Informazioni inerenti il registro del volontariato
--------------------------------------------------------------------------------
Le  informazioni riguardanti  il registro  del volontariato  inserite e  variate
dalla componente di BACKOFFICE installata sui SAP e sul SAI sono comunicate alla
componente di BACKOFFICE INTEGRATO installata sul SAI.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="REGISTROVOLONTARIATO">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_ENTE"/>
				<xs:element ref="DENOMINAZIONE_ENTE"/>
				<xs:element ref="TIPOLOGIA"/>
				<xs:element ref="ACRONIMO"/>
				<xs:element ref="NUMERO_ISCRIZIONE"/>
				<xs:element ref="CODICE_ARCHIVIO" minOccurs="0"/>
				<xs:element ref="SEDE_LEGALE"/>
				<xs:element ref="SETTORE_INTERVENTO" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="SETTORE_PRIMARIO" minOccurs="0"/>
				<xs:element ref="ZSS"/>
				<xs:element ref="ADERENTE_REGISTRO" minOccurs="0"/>
				<xs:element ref="COD_FISC_P_IVA"/>
				<xs:element ref="ID_UTENTE"/>
				<xs:element ref="DATA_VALIDAZIONE"/>
				<xs:element ref="NOTE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ACRONIMO" type="xs:string"/>
	<xs:element name="ADERENTE_REGISTRO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione dei registri cui aderisce</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CAP" type="xs:string"/>
	<xs:element name="CODICE_ARCHIVIO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Numero di protocollo di registrazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CODICE_ENTE" type="xs:string"/>
	<xs:element name="COD_FISC_P_IVA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice fiscale o Partita IVA dell'Ente di terzo settore</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="COMUNE" type="xs:string">
		<xs:annotation>
			<xs:documentation>ID del comune</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_VALIDAZIONE" type="xs:string"/>
	<xs:element name="DENOMINAZIONE_ENTE" type="xs:string"/>
	<xs:element name="EMAIL" type="xs:string"/>
	<xs:element name="FAX" type="xs:string"/>
	<xs:element name="ID_UTENTE" type="xs:string">
		<xs:annotation>
			<xs:documentation>ID Utente della Provincia che ha validato il registro</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="INDIRIZZO" type="xs:string"/>
	<xs:element name="NOTE" type="xs:string"/>
	<xs:element name="NUMERO_ISCRIZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Numero di iscrizione al registro</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SEDE_LEGALE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COMUNE"/>
				<xs:element ref="INDIRIZZO" minOccurs="0"/>
				<xs:element ref="CAP" minOccurs="0"/>
				<xs:element ref="TELEFONO" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="FAX" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SETTORE_INTERVENTO" type="xs:string">
		<xs:annotation>
			<xs:documentation>ID del settore di intervento</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SETTORE_PRIMARIO" type="xs:string">
		<xs:annotation>
			<xs:documentation>ID del settore primario (da valorizzare per Associazioni di Promozione Sociale)</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="TELEFONO" type="xs:string"/>
	<xs:element name="TIPOLOGIA" type="xs:string">
		<xs:annotation>
			<xs:documentation>ID della tipologia Ente di terzo settore</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ZSS" type="xs:string"/>
</xs:schema>

IGG14 - Informazioni inerenti la carta d'identit terzo settore
--------------------------------------------------------------------------------
Le informazioni  riguardanti la  carta d'identit  del terzo  settore inserite e
variate  dalla  componente di  BACKOFFICE  installata sui  SAP  e sul  SAI  sono
comunicate alla componente di BACKOFFICE INTEGRATO installata sul SAI.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="CARTAIDENTITATERZOSETTORE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_ENTE"/>
				<xs:element ref="DENOMINAZIONE_ENTE"/>
				<xs:element ref="ANNO_COSTITUZIONE"/>
				<xs:element ref="LUOGO_COSTITUZIONE"/>
				<xs:element ref="SEDE_OPERATIVA" minOccurs="0"/>
				<xs:element ref="ATTREZZATURA" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="ALTRA_ATTREZZATURA" minOccurs="0"/>
				<xs:element ref="MEZZO" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="ALTRO_MEZZO" minOccurs="0"/>
				<xs:element ref="SERVIZIO_EROGATO" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="ALTRI_SERVIZI_EROGATI" minOccurs="0"/>
				<xs:element ref="SITO_INTERNET" minOccurs="0"/>
				<xs:element ref="ALTRE_INFO" minOccurs="0"/>
				<xs:element ref="NOTE" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ALTRA_ATTREZZATURA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione di altre strutture non codificate</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ALTRI_SERVIZI_EROGATI" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione di altri servizi non codificati</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ALTRO_MEZZO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione di altri mezzi non codificati</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ANNO_COSTITUZIONE" type="xs:string"/>
	<xs:element name="CAP" type="xs:string"/>
	<xs:element name="CODICE_ENTE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice dell'Ente di Terzo Settore</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="COMUNE" type="xs:string"/>
	<xs:element name="DENOMINAZIONE" type="xs:string"/>
	<xs:element name="DENOMINAZIONE_ENTE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Denominazione dell'Ente di Terzo Settore</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="EMAIL" type="xs:string"/>
	<xs:element name="FAX" type="xs:string"/>
	<xs:element name="INDIRIZZO" type="xs:string"/>
	<xs:element name="LUOGO_COSTITUZIONE" type="xs:string"/>
	<xs:element name="MEZZO" type="xs:string"/>
	<xs:element name="NOTE" type="xs:string"/>
	<xs:element name="SEDE_OPERATIVA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DENOMINAZIONE"/>
				<xs:element ref="COMUNE"/>
				<xs:element ref="INDIRIZZO" minOccurs="0"/>
				<xs:element ref="CAP" minOccurs="0"/>
				<xs:element ref="TELEFONO" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="FAX" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SERVIZIO_EROGATO" type="xs:string"/>
	<xs:element name="SITO_INTERNET" type="xs:string"/>
	<xs:element name="ATTREZZATURA" type="xs:string"/>
	<xs:element name="TELEFONO" type="xs:string"/>
	<xs:element name="ALTRE_INFO"/>
</xs:schema>

IGG16 - Inserimento e variazione anagrafica servizio
--------------------------------------------------------------------------------
Le anagrafiche  dei servizi  inserite e  variate dalla  componente di BACKOFFICE
installata sul SAI, ma anche dalla componente gestionale del sistema informativo
di  Regione  Toscana,  sono  comunicate  a  tutte  le  componenti  di BACKOFFICE
installate sui  SAP, a  quella di  BACKOFFICE INTEGRATO  sul SAI  ed ai  sistemi
informativi esterni dotati di un proprio backoffice.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="SERVIZIO">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="FLAG_SENSIBILE"/>
				<xs:element ref="AMBITO_PROGRAMMAZIONE" minOccurs="0"/>
				<xs:element ref="CATEGORIA"/>
				<xs:element ref="SETTORE"/>
				<xs:element ref="MACROTIPOLOGIA"/>
				<xs:element ref="PRESTAZIONE" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="VALIDITA"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del Servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DESCRIZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione del Servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="FLAG_SENSIBILE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Indica se si tratta di un servizio sensibile</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="AMBITO_PROGRAMMAZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice dell'ambito di programmazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CATEGORIA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice della categoria</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SETTORE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del settore</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="MACROTIPOLOGIA" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice della macrotipologia</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="PRESTAZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice della prestazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="VALIDITA">
		<xs:annotation>
			<xs:documentation>Validit del servizio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="INIZIO"/>
				<xs:element ref="FINE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="INIZIO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data inizio validit servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="FINE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data fine validit servizio</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

IGG17 - Statistiche e report
--------------------------------------------------------------------------------
Le informazioni riguardanti i report e le statistiche prodotte dalla  componente
REPORT  di GENESI,  vengono comunicate  al componente  PORTALE di  GENESI ed  al
sistema  informativo  di un  ente  aderente a  GENESI  dotato di  un  backoffice
proprietario.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="STATISTICHE">
		<xs:annotation>
			<xs:documentation>Flusso per l'acquisizione dei dati statistici</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_FLUSSO"/>
				<xs:element ref="DATI" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_FLUSSO" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del flusso definito su Hi-Report</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATI">
		<xs:annotation>
			<xs:documentation>Dati da caricare nella tabella collegata al flusso</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="VARIABILE" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="VARIABILE">
		<xs:annotation>
			<xs:documentation>Variabile da caricare</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_VARIABILE"/>
				<xs:element ref="VALORE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE_VARIABILE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice della variabile contenuta nel flusso</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="VALORE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Valore della variabile contenuta nel flusso</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:element>

IGG18 - Inserimento e variazione struttura territoriale socio-sanitaria
--------------------------------------------------------------------------------
L'inserimento e la variazione della struttura territoriale socio-sanitaria (enti
appartenenti  e   legami  esistenti  tra  loro)  ad  opera  dalla  componente di
BACKOFFICE installata sul SAI, ma anche dalla componente gestionale del  sistema
informativo di Regione Toscana,  comunicata a tutte le componenti di BACKOFFICE
installate sui SAP, a  quella di BACKOFFICE INTEGRATO  installata sul SAI ed  ai
sistemi informativi esterni dotati di un proprio backoffice.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="STRUTTURATERRITORIALE">
		<xs:complexType>
			<xs:choice>
				<xs:element ref="REGIONE"/>
				<xs:element ref="PROVINCIA"/>
				<xs:element ref="COMUNE"/>
				<xs:element ref="SOCIETA_SALUTE"/>
				<xs:element ref="ASL"/>
				<xs:element ref="DSS"/>
				<xs:element ref="ZSS"/>
				<xs:element ref="COMUNITA_MONTANA"/>
				<xs:element ref="ASSOCIAZIONE_COMUNI"/>
			</xs:choice>
		</xs:complexType>
	</xs:element>
	<xs:element name="REGIONE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="PROVINCIA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="CODICE_REGIONE"/>
				<xs:element ref="SIGLA"/>
				<xs:element ref="CODICE_SOCIETA_SALUTE" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="COMUNE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="CODICE_PROVINCIA"/>
				<xs:element ref="CODICE_DSS" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="CODICE_SOCIETA_SALUTE" minOccurs="0"/>
				<xs:element ref="CODICE_ZSS" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SOCIETA_SALUTE">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="CODICE_REGIONE"/>
				<xs:element ref="CODICE_PROVINCIA" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ASL">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="CODICE_REGIONE"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="DSS">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="CODICE_ZSS"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ZSS">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="CODICE_REGIONE"/>
				<xs:element ref="CODICE_ASL"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="COMUNITA_MONTANA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="CODICE_COMUNE_CAPO" minOccurs="0"/>
				<xs:element ref="CODICE_COMUNE" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ASSOCIAZIONE_COMUNI">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE"/>
				<xs:element ref="DESCRIZIONE"/>
				<xs:element ref="CODICE_COMUNE_CAPO" minOccurs="0"/>
				<xs:element ref="CODICE_COMUNE" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CODICE" type="xs:string"/>
	<xs:element name="DESCRIZIONE" type="xs:string"/>
	<xs:element name="CODICE_REGIONE" type="xs:string"/>
	<xs:element name="SIGLA" type="xs:string"/>
	<xs:element name="CODICE_PROVINCIA" type="xs:string"/>
	<xs:element name="CODICE_COMUNITA_MONTANA" type="xs:string"/>
	<xs:element name="CODICE_ASSOCIAZIONE_COMUNI" type="xs:string"/>
	<xs:element name="CODICE_DSS" type="xs:string"/>
	<xs:element name="CODICE_ASL" type="xs:string"/>
	<xs:element name="CODICE_SOCIETA_SALUTE" type="xs:string"/>
	<xs:element name="CODICE_ZSS" type="xs:string"/>
	<xs:element name="CODICE_COMUNE" type="xs:string"/>
	<xs:element name="CODICE_COMUNE_CAPO" type="xs:string"/>
</xs:schema>

IGG19 - Richiesta anagrafica Ente
--------------------------------------------------------------------------------
La richiesta da parte del  PORTALE dell'anagrafica di un Ente,  avviene mediante
l'invocazione  di  un  servizio  sincrono  al  provider  BACKOFFICE   INTEGRATO,
comunicando come  parametro il  codice dell'Ente  da ricercare.  Il formato  del
messaggio  restituito al  PORTALE   lo stesso  descritto al  paragrafo "IGG10 
- Inserimento e variazione anagrafica enti". 

IGG20 - Riassegnazione pratica
Evento  asincrono  che  permette  di  comunicare  al  BACKOFFICE  INTEGRATO   le
variazioni  effettuate  in  seguito  alla  riassegnazione  di  una  pratica  dal
BACKOFFICE  sui  SAP  oppure  sul  SAI.  La  riassegnazione  avviene  assegnando
all'ID_UTENTE_NEW tutte le scehede della pratica NUMERO_PRATICA che sono  legate
all'ID_UTENTE_OLD.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="RIASSEGNAZIONEPRATICA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="USER_UTENTE_OLD"/>
				<xs:element ref="USER_UTENTE_NEW"/>
				<xs:element ref="NUMERO_PRATICA"/>
				<xs:element ref="COD_ENTE_OLD"/>
				<xs:element ref="COD_ENTE_NEW"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="USER_UTENTE_OLD" type="xs:string">
		<xs:annotation>
			<xs:documentation>UserName dell'utente che aveva in carico la scheda</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="USER_UTENTE_NEW" type="xs:string">
		<xs:annotation>
			<xs:documentation>UserName dell'utente che prende in carico la scheda</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="NUMERO_PRATICA" type="xs:string"/>
	<xs:element name="COD_ENTE_OLD" type="xs:string"/>
	<xs:element name="COD_ENTE_NEW" type="xs:string"/>
</xs:schema>

IGG21 - Inserimento e variazione anagrafica associazioni di volontariato non 
	iscritte al Registro.

Le informazioni  riguardanti le  anagrafiche delle  associazioni di volontariato
non iscritte al registro del  volontariato, inserite e variate dalla  componente
di BACKOFFICE installata sui  SAP e sul SAI  sono comunicate alla componente  di
BACKOFFICE INTEGRATO installata sul SAI.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="ANAGRAFICANONISCRITTI">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CODICE_ORGANIZZAZIONE"/>
				<xs:element ref="DENOMINAZIONE_ORGANIZZAZIONE"/>
				<xs:element ref="SEDE_AMMINISTRATIVA" minOccurs="0"/>
				<xs:element ref="SEDE_OPERATIVA" minOccurs="0"/>
				<xs:element ref="SERVIZI_OFFERTI" minOccurs="0"/>
				<xs:element ref="NUMERO_SOCI" minOccurs="0"/>
				<xs:element ref="ZSS"/>
				<xs:element ref="DATA_COSTITUZIONE" minOccurs="0"/>
				<xs:element ref="ATTIVITA_REALIZZATE" minOccurs="0"/>
				<xs:element ref="ALTRE_INFO_UTILI" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ALTRE_INFO_UTILI" type="xs:string"/>
	<xs:element name="ATTIVITA_REALIZZATE" type="xs:string"/>
	<xs:element name="CODICE_ORGANIZZAZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice Organizzazione di Terzo Settore</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="COMUNE" type="xs:string">
		<xs:annotation>
			<xs:documentation>ID del Comune</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DATA_COSTITUZIONE" type="xs:string"/>
	<xs:element name="DENOMINAZIONE_ORGANIZZAZIONE" type="xs:string">
		<xs:annotation>
			<xs:documentation>Denominazione Organizzazione di Terzo Settore</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="EMAIL" type="xs:string"/>
	<xs:element name="FAX" type="xs:string"/>
	<xs:element name="INDIRIZZO" type="xs:string"/>
	<xs:element name="NUMERO_SOCI" type="xs:string"/>
	<xs:element name="SEDE_AMMINISTRATIVA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COMUNE"/>
				<xs:element ref="INDIRIZZO" minOccurs="0"/>
				<xs:element ref="TELEFONO" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="FAX" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SEDE_OPERATIVA">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="COMUNE"/>
				<xs:element ref="INDIRIZZO" minOccurs="0"/>
				<xs:element ref="TELEFONO" minOccurs="0" maxOccurs="unbounded"/>
				<xs:element ref="FAX" minOccurs="0"/>
				<xs:element ref="EMAIL" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SERVIZI_OFFERTI" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione dei servizi offerti</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="TELEFONO" type="xs:string"/>
	<xs:element name="ZSS" type="xs:string">
		<xs:annotation>
			<xs:documentation>ID della Zona Socio Sanitaria</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>

IGE02 - Messaggio di comunicazione inserimento anagrafica cittadino acquisita da GENESI
--------------------------------------------------------------------------------
Il backoffice  GENESI memorizza  le informazioni  relative alla  scheda e quelle
relative  al cittadino.  Se queste  ultime non  sono presenti sul  sistema
locale (SAP)  le inserisce e le comunica a GIADA. Se, invece, sono gi presenti
verifica che  queste siano  uguali a  quelle inserite.  In caso  di incongruenza
GENESI acquisisce comunque  le informazioni fornite  dal cittadino (gestendo  lo
storico  delle   variazioni),  ma   contestualmente  comunica   le  incongruenze
riscontrate a GIADA (vedesi  messaggio IGE03). Per comunicare  sia l'inserimento
sul  sistema locale  di un  cittadino che  la incongruernza  delle informazioni
fornite dal cittadino  con quelle memorizzate  sul sistema locale  (acquisite da
GIADA) viene pubblicato un messaggio per il sistema GIADA utilizzando i  servizi
EDA del CART.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="Domicilio">
		<xs:annotation>
			<xs:documentation>Contiene le informazioni acquisite da GENESI relative al domicilio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ComuneDomicilio"/>
				<xs:element ref="LocalitaDomicilio"/>
				<xs:element ref="Indirizzo"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Residenza">
		<xs:annotation>
			<xs:documentation>Contiene le informazioni acquisite da GENESI relative alla residenza</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ComuneResidenza"/>
				<xs:element ref="LocalitaResidenza"/>
				<xs:element ref="Indirizzo"/>
				<xs:element ref="NazioneResidenzaEstera"/>
				<xs:element ref="LocalitaResidenzaEstera"/>
				<xs:element ref="ResidenzaEstera"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="PosizioneLavorativa">
		<xs:annotation>
			<xs:documentation>Contiene le informazioni acquisite da GENESI relative alla posizione lavorativa: STUDENTE, COLTIVATORE DIRETTO, MEZZADRO, OPERAIO, IMPIEGATO PUBBLICO, IMPIEGATO PRIVATO, LAVORATO AUTONOMO, LIBERO PROFESSIONISTA, DIRIGENTE O FUNZIONARIO PUBBLICO, DIRIGENTE O FUNZIONARIO PRIVATO, INOCCUPATO, DISOCCUPATO, LAVORATORE SOCIALMENTE, IN CASSA INTEGRAZIONE, IN MOBILITA', CASALINGA, PENSIONATO</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SituazioneAbitativa">
		<xs:annotation>
			<xs:documentation>Contiene le informazioni acquisite da GENESI relative alla situazione abitativa: ABITAZIONE DI PROPRIETA', ABITAZIONE IN USO/USUFRUTTO, ABITAZIONE IN AFFITTO (case popolari, con sfratto esecutivo, condizione di morisit), DOMICILIO OCCASIONALE, ALLOGGIO ABUSIVO, SENZA DIMORA</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="StatoCivile">
		<xs:annotation>
			<xs:documentation>Contiene le informazioni acquisite da GENESI relative allo stato civile: CELIBE/NUBILE, CONIUGATO, CONVIVENTE, VEDOVO, SEPARATO, DIVORZIATO </xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="TitoloStudio">
		<xs:annotation>
			<xs:documentation>Contiene le informazioni acquisite da GENESI relative al titolo di studio:  NESSUNO, LICENZA ELEMENTARE, LICENZA MEDIA INFERIORE, QUALIFICA PROFESSIONALE, LICENZA MEDIA SUPERIORE, DIPLOMA UNIVERSITARIO (LAUREA BREVE), DIPLOMA DI LAUREA</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CittadinanzaStraniera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice della cittadinanza straniera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Codice" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice codifica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CodiceComune" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CodiceFiscale" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice Fiscale</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CodiceIdentificativo" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice identificativo univico del cittadino su GIADA</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Cognome" type="xs:string"/>
	<xs:element name="Colore" type="xs:string"/>
	<xs:element name="ComuneDomicilio" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di domicilio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ComuneNascita" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ComuneResidenza" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di residenza</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DataNascita" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data di nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DataInserimento" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data dell'inserimento delle informazioni acquisite da GENESI</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SAPPubblicatore" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del SAP pubblicatore del messaggio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Descrizione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione codifica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DescrizioneFrazione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione frazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DescrizioneVia" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione via</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Esponente" type="xs:string">
		<xs:annotation>
			<xs:documentation>Esponente</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="FlagCFvalido" type="xs:string">
		<xs:annotation>
			<xs:documentation>Indica la validit del codice fiscale a seguito di verifica da parte di GIADA del codice fiscale</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Indirizzo">
		<xs:annotation>
			<xs:documentation>Indirizzo di residenza/domicilio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DescrizioneFrazione"/>
				<xs:element ref="DescrizioneVia"/>
				<xs:element ref="NumeroCivico"/>
				<xs:element ref="Esponente"/>
				<xs:element ref="Colore"/>
				<xs:element ref="Interno"/>
				<xs:element ref="Piano"/>
				<xs:element ref="Scala"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ResidenzaEstera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Indirizzo di residenza estera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Interno" type="xs:string">
		<xs:annotation>
			<xs:documentation>Interno</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaDomicilio" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit domicilio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaNascita" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaResidenza" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit residenza</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaResidenzaEstera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit residenza estera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="NazioneResidenzaEstera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Nazione residenza estera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Nome" type="xs:string"/>
	<xs:element name="NumeroCivico" type="xs:string">
		<xs:annotation>
			<xs:documentation>Numero civico</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Piano" type="xs:string"/>
	<xs:element name="Scala" type="xs:string"/>
	<xs:element name="InserimentoDatiAnagraficiGENESI">
		<xs:annotation>
			<xs:documentation>Radice del messaggio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DatiAnagrafici"/>
				<xs:element ref="Residenza"/>
				<xs:element ref="Domicilio" minOccurs="0"/>
				<xs:element ref="StatoCivile" minOccurs="0"/>
				<xs:element ref="TitoloStudio" minOccurs="0"/>
				<xs:element ref="PosizioneLavorativa" minOccurs="0"/>
				<xs:element ref="SituazioneAbitativa" minOccurs="0"/>
				<xs:element ref="DataInserimento"/>
				<xs:element ref="SAPPubblicatore"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="DatiAnagrafici">
		<xs:annotation>
			<xs:documentation>Contiene le informazioni anagrafiche del cittadino inserito su GENESI perch non presente</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CodiceFiscale"/>
				<xs:element ref="Nome"/>
				<xs:element ref="Cognome"/>
				<xs:element ref="DataNascita"/>
				<xs:element ref="ComuneNascita"/>
				<xs:element ref="LocalitaNascita"/>
				<xs:element ref="CittadinanzaStraniera"/>
			</xs:sequence>
			<xs:attribute name="Sesso" type="xs:string" use="required"/>
			<xs:attribute name="CittadinanzaItaliana" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>

IGE03 - Messaggio di comunicazione variazioni anagrafiche sul cittadino 
	effettuate da GENESI.
--------------------------------------------------------------------------------
Messaggio  di variazione  anagrafica inviato  a GIADA  in seguito  a variazioni
avvenute attraverso  il BACKOFFICE  GENESI. Il  messaggio   predisposto per  la
variazione di  molte informazioni.  Si sceglie  di comunicare   a GIADA  le sole
variazioni  dell'indirizzo  di  residenza  del  cittadino,  gli  altri  tipi  di
variazione verranno gestiti in un secondo momento.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="CambioIndirizzoDomicilio">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative al domicilio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ComuneDomicilio"/>
				<xs:element ref="LocalitaDomicilio"/>
				<xs:element ref="Indirizzo"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CambioIndirizzoResidenza">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative alla residenza</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ComuneResidenza"/>
				<xs:element ref="LocalitaResidenza"/>
				<xs:element ref="Indirizzo"/>
				<xs:element ref="NazioneResidenzaEstera"/>
				<xs:element ref="LocalitaResidenzaEstera"/>
				<xs:element ref="IndirizzoResidenzaEstera"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CambioPosizioneLavorativa">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative alla posizione lavorativa: STUDENTE, COLTIVATORE DIRETTO, MEZZADRO, OPERAIO, IMPIEGATO PUBBLICO, IMPIEGATO PRIVATO, LAVORATO AUTONOMO, LIBERO PROFESSIONISTA, DIRIGENTE O FUNZIONARIO PUBBLICO, DIRIGENTE O FUNZIONARIO PRIVATO, INOCCUPATO, DISOCCUPATO, LAVORATORE SOCIALMENTE, IN CASSA INTEGRAZIONE, IN MOBILITA', CASALINGA, PENSIONATO</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CambioSituazioneAbitativa">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative alla situazione abitativa: ABITAZIONE DI PROPRIETA', ABITAZIONE IN USO/USUFRUTTO, ABITAZIONE IN AFFITTO (case popolari, con sfratto esecutivo, condizione di morisit), DOMICILIO OCCASIONALE, ALLOGGIO ABUSIVO, SENZA DIMORA</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CambioStatoCivile">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative allo stato civile: CELIBE/NUBILE, CONIUGATO, CONVIVENTE, VEDOVO, SEPARATO, DIVORZIATO </xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CambioTitoloStudio">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative al titolo di studio:  NESSUNO, LICENZA ELEMENTARE, LICENZA MEDIA INFERIORE, QUALIFICA PROFESSIONALE, LICENZA MEDIA SUPERIORE, DIPLOMA UNIVERSITARIO (LAUREA BREVE), DIPLOMA DI LAUREA</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CittadinanzaStraniera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice della cittadinanza straniera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Codice" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice codifica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CodiceComune" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CodiceFiscale" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice Fiscale</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CodiceIdentificativo" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice identificativo univico del cittadino su GIADA</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Cognome" type="xs:string"/>
	<xs:element name="Colore" type="xs:string"/>
	<xs:element name="ComuneDomicilio" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di domicilio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ComuneNascita" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ComuneResidenza" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di residenza</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DataNascita" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data di nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DataVariazione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data delle variazione delle informazioni acquisite da GENESI</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="SAPPubblicatore" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del SAP pubblicatore del messaggio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Descrizione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione codifica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DescrizioneFrazione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione frazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DescrizioneVia" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione via</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Esponente" type="xs:string">
		<xs:annotation>
			<xs:documentation>Esponente</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="FlagCFvalido" type="xs:string">
		<xs:annotation>
			<xs:documentation>Indica la validit del codice fiscale a seguito di verifica da parte di GIADA del codice fiscale</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="IndirizzoResidenza">
		<xs:annotation>
			<xs:documentation>Indirizzo di Residenza</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DescrizioneFrazione"/>
				<xs:element ref="DescrizioneVia"/>
				<xs:element ref="NumeroCivico"/>
				<xs:element ref="Esponente"/>
				<xs:element ref="Colore"/>
				<xs:element ref="Interno"/>
				<xs:element ref="Piano"/>
				<xs:element ref="Scala"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Indirizzo">
		<xs:annotation>
			<xs:documentation>Indirizzo di Residenza/Domicilio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DescrizioneFrazione"/>
				<xs:element ref="DescrizioneVia"/>
				<xs:element ref="NumeroCivico"/>
				<xs:element ref="Esponente"/>
				<xs:element ref="Colore"/>
				<xs:element ref="Interno"/>
				<xs:element ref="Piano"/>
				<xs:element ref="Scala"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="IndirizzoResidenzaEstera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Indirizzo di residenza estera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Interno" type="xs:string">
		<xs:annotation>
			<xs:documentation>Interno</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaDomicilio" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit domicilio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaNascita" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaResidenza" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit residenza</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaResidenzaEstera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit residenza estera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="NazioneResidenzaEstera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Nazione residenza estera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Nome" type="xs:string"/>
	<xs:element name="NumeroCivico" type="xs:string">
		<xs:annotation>
			<xs:documentation>Numero civico</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Piano" type="xs:string"/>
	<xs:element name="Scala" type="xs:string"/>
	<xs:element name="VariazioneDatiAnagraficiGENESI">
		<xs:annotation>
			<xs:documentation>Radice del messaggio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="VecchiDatiAnagrafici"/>
				<xs:element ref="CambioIndirizzoResidenza" minOccurs="0"/>
				<xs:element ref="CambioIndirizzoDomicilio" minOccurs="0"/>
				<xs:element ref="CambioStatoCivile" minOccurs="0"/>
				<xs:element ref="CambioTitoloStudio" minOccurs="0"/>
				<xs:element ref="CambioPosizioneLavorativa" minOccurs="0"/>
				<xs:element ref="CambioSituazioneAbitativa" minOccurs="0"/>
				<xs:element ref="DataVariazione"/>
				<xs:element ref="SAPPubblicatore"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="VecchiDatiAnagrafici">
		<xs:annotation>
			<xs:documentation>Contiene le informazioni anagrafiche del cittadino incongruenti rispetto a quelle acquisite da GENESI</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CodiceIdentificativo"/>
				<xs:element ref="CodiceFiscale"/>
				<xs:element ref="FlagCFvalido"/>
				<xs:element ref="Nome"/>
				<xs:element ref="Cognome"/>
				<xs:element ref="DataNascita"/>
				<xs:element ref="ComuneNascita"/>
				<xs:element ref="LocalitaNascita"/>
				<xs:element ref="CittadinanzaStraniera"/>
				<xs:element ref="ComuneResidenza"/>
				<xs:element ref="IndirizzoResidenza"/>
				<xs:element ref="NazioneResidenzaEstera"/>
				<xs:element ref="LocalitaResidenzaEstera"/>
				<xs:element ref="IndirizzoResidenzaEstera"/>
			</xs:sequence>
			<xs:attribute name="Sesso" type="xs:string" use="required"/>
			<xs:attribute name="CittadinanzaItaliana" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
</xs:schema>

IEG05 - Messaggio di comunicazione attribuzione codice unico Regionale del cittadino da GIADA
--------------------------------------------------------------------------------
GIADA  acquisisce  i messaggi  inviati  da GENESI  relativi  a comunicazioni  di
inserimento o variazioni informazioni anagrafiche di un cittadino, utilizzando i
servizi EDA del CART.  Al momento non   previsto che il sistema  GIADA effettui
una  verifica  della correttezza  delle  informazioni inviate  da  GENESI. GIADA
controller  le  informazioni  inviate  da  GENESI  solo  nel  caso  queste   si
riferiscano  alla  comunicazione di   un  inserimento su  GENESI,  restituendo a
quest'ultimo: 
 il solo identificativo univoco con il quale  registrato il cittadino su GIADA
  se questo non era gi censito sul proprio sistema.  
 Il codice univoco unitamente agli altri dati  in suo possesso, se il cittadino
  era gi censito su GIADA. Per la comunicazione di tali informazioni GIADA 
  utilizza il messaggio descritto di seguito.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="Domicilio">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative al domicilio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ComuneDomicilio"/>
				<xs:element ref="LocalitaDomicilio"/>
				<xs:element ref="Indirizzo"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Residenza">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative alla residenza</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ComuneResidenza"/>
				<xs:element ref="LocalitaResidenza"/>
				<xs:element ref="Indirizzo"/>
				<xs:element ref="NazioneResidenzaEstera"/>
				<xs:element ref="LocalitaResidenzaEstera"/>
				<xs:element ref="ResidenzaEstera"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="PosizioneLavorativa">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative alla posizione lavorativa: STUDENTE, COLTIVATORE DIRETTO, MEZZADRO, OPERAIO, IMPIEGATO PUBBLICO, IMPIEGATO PRIVATO, LAVORATO AUTONOMO, LIBERO PROFESSIONISTA, DIRIGENTE O FUNZIONARIO PUBBLICO, DIRIGENTE O FUNZIONARIO PRIVATO, INOCCUPATO, DISOCCUPATO, LAVORATORE SOCIALMENTE, IN CASSA INTEGRAZIONE, IN MOBILITA', CASALINGA, PENSIONATO</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SituazioneAbitativa">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative alla situazione abitativa: ABITAZIONE DI PROPRIETA', ABITAZIONE IN USO/USUFRUTTO, ABITAZIONE IN AFFITTO (case popolari, con sfratto esecutivo, condizione di morisit), DOMICILIO OCCASIONALE, ALLOGGIO ABUSIVO, SENZA DIMORA</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="StatoCivile">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative allo stato civile: CELIBE/NUBILE, CONIUGATO, CONVIVENTE, VEDOVO, SEPARATO, DIVORZIATO </xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="TitoloStudio">
		<xs:annotation>
			<xs:documentation>Contiene le nuove informazioni acquisite da GENESI relative al titolo di studio:  NESSUNO, LICENZA ELEMENTARE, LICENZA MEDIA INFERIORE, QUALIFICA PROFESSIONALE, LICENZA MEDIA SUPERIORE, DIPLOMA UNIVERSITARIO (LAUREA BREVE), DIPLOMA DI LAUREA</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="Codice"/>
				<xs:element ref="Descrizione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CittadinanzaStraniera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice della cittadinanza straniera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Codice" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice codifica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CodiceComune" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CodiceFiscale" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice Fiscale</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="CodiceIdentificativo" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice identificativo univico del cittadino su GIADA</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Cognome" type="xs:string"/>
	<xs:element name="Colore" type="xs:string"/>
	<xs:element name="ComuneDomicilio" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di domicilio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ComuneNascita" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="ComuneResidenza" type="xs:string">
		<xs:annotation>
			<xs:documentation>Codice del comune di residenza</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DataNascita" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data di nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DataVariazione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Data delle variazione delle informazioni acquisite da GENESI</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Descrizione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione codifica</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DescrizioneFrazione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione frazione</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="DescrizioneVia" type="xs:string">
		<xs:annotation>
			<xs:documentation>Descrizione via</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Esponente" type="xs:string">
		<xs:annotation>
			<xs:documentation>Esponente</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="FlagCFvalido" type="xs:string">
		<xs:annotation>
			<xs:documentation>Indica la validit del codice fiscale a seguito di verifica da parte di GIADA del codice fiscale</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Indirizzo">
		<xs:annotation>
			<xs:documentation>Indirizzo di Residenza/Domicilio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="DescrizioneFrazione"/>
				<xs:element ref="DescrizioneVia"/>
				<xs:element ref="NumeroCivico"/>
				<xs:element ref="Esponente"/>
				<xs:element ref="Colore"/>
				<xs:element ref="Interno"/>
				<xs:element ref="Piano"/>
				<xs:element ref="Scala"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="ResidenzaEstera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Indirizzo di residenza estera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Interno" type="xs:string">
		<xs:annotation>
			<xs:documentation>Interno</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaDomicilio" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit domicilio</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaNascita" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit nascita</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaResidenza" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit residenza</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="LocalitaResidenzaEstera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Localit residenza estera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="NazioneResidenzaEstera" type="xs:string">
		<xs:annotation>
			<xs:documentation>Nazione residenza estera</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Nome" type="xs:string"/>
	<xs:element name="NumeroCivico" type="xs:string">
		<xs:annotation>
			<xs:documentation>Numero civico</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Piano" type="xs:string"/>
	<xs:element name="Scala" type="xs:string"/>
	<xs:element name="RegistrazioneCittadinoGENESI">
		<xs:annotation>
			<xs:documentation>Radice del messaggio</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="VecchiDatiAnagrafici"/>
				<xs:element ref="DataVariazione"/>
				<xs:element ref="Accettazione" minOccurs="0"/>
				<xs:element ref="Motivazione" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="VecchiDatiAnagrafici">
		<xs:annotation>
			<xs:documentation>Contiene le informazioni anagrafiche del cittadino incongruenti rispetto a quelle acquisite da GENESI</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="CodiceIdentificativo"/>
				<xs:element ref="CodiceFiscale"/>
				<xs:element ref="FlagCFvalido" minOccurs="0"/>
				<xs:element ref="Nome"/>
				<xs:element ref="Cognome"/>
				<xs:element ref="DataNascita"/>
				<xs:element ref="ComuneNascita"/>
				<xs:element ref="LocalitaNascita"/>
				<xs:element ref="CittadinanzaStraniera"/>
				<xs:element ref="Residenza" minOccurs="0"/>
				<xs:element ref="Domicilio" minOccurs="0"/>
				<xs:element ref="StatoCivile" minOccurs="0"/>
				<xs:element ref="TitoloStudio" minOccurs="0"/>
				<xs:element ref="PosizioneLavorativa" minOccurs="0"/>
				<xs:element ref="SituazioneAbitativa" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="Sesso" type="xs:string" use="required"/>
			<xs:attribute name="CittadinanzaItaliana" type="xs:string" use="required"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="Accettazione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Identifica la accettazione(1)/rifiuto(0) dell'inserimento/variazione anagrafica comunicata da GENESI</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:element name="Motivazione" type="xs:string">
		<xs:annotation>
			<xs:documentation>Motivazione dell'accettazione/rifiuto dell'inserimento/variazione anagrafica informazioni eseguita da GENESI</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>


Bibliografia
============

[D1]	Regione Toscana, Infrastruttura per la Cooperazione Applicativa   C.A.R.T.
        Il Modello e l'Architettura, 02 Dicembre 2003
[D2]	Regione Toscana, Infrastruttura per la Cooperazione Applicativa   C.A.R.T.
        Linee guida per lo sviluppo dei proxy applicativi, 02 Dicembre 2003
[D3]	Regione Toscana, Proxy Developer Kit Ver. 1.5, 
        Infrastruttura per la Cooperazione Applicativa, 20 settembre 2004
[D4]	Regione Toscana, Deployment di un'applicazione in ambiente NAL Ver. 1.8,
        ottobre 2004
[D5]	Regione Toscana, Progetto A3 CART, Infrastruttura di servizi per la
        Cooperazione Applicativa, Giugno 2003
[D6]	Regione Toscana, PETRA NAL - Kit per gli sviluppatori,
        Guida all'installazione Ver. 3.1.1,  Luglio 2004
[D7]	Italdata, GENESI - Data model fisico, ver. 1.0, novembre 2004.
