<?xml version="1.0" encoding="UTF-8"?>
<!--======================================--><!-- transformation with DocumentationFilter.xsl --><!-- itServe ag                                                            --><!-- 2003.04.10 Version 1.0                                       --><!-- Achtung:	                                                              --><!-- encoding="ISO-8859-1" umstellen!!!			  --><!--======================================--><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:id="http://www.swissdec.ch/schema/id/20180901/IncidentDeclaration" xmlns:c="http://www.swissdec.ch/schema/common/20180901/Common" targetNamespace="http://www.swissdec.ch/schema/id/20180901/IncidentDeclaration" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.0">


    <!-- state of standardisation: FINAL
        intern: release 1.0.0
        publication: 2018-09-25

        SVN keywords
        $Date:: 2018-09-26 01:38:19 +0200 (Mi., 26 Sep 2018)    $: Date of last commit
        $Revision:: 24023                                       $: Revision of last commit
        $Author:: boehm                                         $: Author of last commit

    -->


    <xs:import namespace="http://www.swissdec.ch/schema/common/20180901/Common" schemaLocation="Common.xsd"/>


    <!-- *** Operation: DeclareIncident  request
    -->
    <xs:complexType name="IncidentDeclarationType">
        <xs:annotation>
            
            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Déclaration</xs:documentation>
            
        </xs:annotation>
        <xs:sequence>
            <xs:element name="Company" type="id:CompanyType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Entreprise</xs:documentation>
                    
                </xs:annotation>

                <xs:key name="UVG-LAA-InstitutionID-Key">
                    <xs:selector xpath="id:Institutions/id:UVG-LAA"/>
                    <xs:field xpath="@institutionID"/>
                </xs:key>
                <xs:keyref name="UVG-LAA-InstitutionID-Ref" refer="id:UVG-LAA-InstitutionID-Key">
                    <xs:selector xpath="id:Staff/id:Person/id:UVG-LAA-Registration"/>
                    <xs:field xpath="@institutionIDRef"/>
                </xs:keyref>
                <xs:key name="UVGZ-LAAC-InstitutionID-Key">
                    <xs:selector xpath="id:Institutions/id:UVGZ-LAAC"/>
                    <xs:field xpath="@institutionID"/>
                </xs:key>
                <xs:keyref name="UVGZ-LAAC-InstitutionID-Ref" refer="id:UVGZ-LAAC-InstitutionID-Key">
                    <xs:selector xpath="id:Staff/id:Person/id:UVGZ-LAAC-Registration"/>
                    <xs:field xpath="@institutionIDRef"/>
                </xs:keyref>
                <xs:key name="KU-AC-InstitutionID-Key">
                    <xs:selector xpath="id:Institutions/id:KU-AC"/>
                    <xs:field xpath="@institutionID"/>
                </xs:key>
                <xs:keyref name="KU-AC-InstitutionID-Ref" refer="id:KU-AC-InstitutionID-Key">
                    <xs:selector xpath="id:Staff/id:Person/id:KU-AC-Registration"/>
                    <xs:field xpath="@institutionIDRef"/>
                </xs:keyref>
                <xs:key name="KTG-AMC-InstitutionID-Key">
                    <xs:selector xpath="id:Institutions/id:KTG-AMC"/>
                    <xs:field xpath="@institutionID"/>
                </xs:key>
                <xs:keyref name="KTG-AMC-InstitutionID-Ref" refer="id:KTG-AMC-InstitutionID-Key">
                    <xs:selector xpath="id:Staff/id:Person/id:KTG-AMC-Registration"/>
                    <xs:field xpath="@institutionIDRef"/>
                </xs:keyref>
                <xs:key name="WorkplaceID-Key">
                    <xs:selector xpath="id:CompanyDescription/c:Workplace"/>
                    <xs:field xpath="@workplaceID"/>
                </xs:key>
                <xs:keyref name="WorkplaceID-Ref" refer="id:WorkplaceID-Key">
                    <xs:selector xpath="id:Staff/id:Person"/>
                    <xs:field xpath="@workplaceIDRef"/>
                </xs:keyref>
            </xs:element>
            <xs:element name="GeneralIncidentDeclarationDescription" type="id:GeneralIncidentDeclarationDescriptionType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Description générale de la déclaration de
                            salaires
                        </xs:documentation>
                    
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="schemaVersion" type="id:SupportedMinorSchemaVersionAttributeType" use="required">
            <xs:annotation>
                
                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Version du schéma</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="GeneralIncidentDeclarationDescriptionType">
        <xs:sequence>
            <xs:element name="CreationDate" type="xs:dateTime">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date de création</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!-- *** Operation: DeclareIncident  response
    -->
    <xs:complexType name="AccidentStaffType">
        <xs:sequence>
            <xs:element name="Person" type="id:AccidentPersonIncidentResponseType" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Personne</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AccidentPersonIncidentResponseType">
        <xs:sequence>
            <xs:element name="ParticularsBase" type="c:ParticularsBaseType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identité</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Registration" type="id:AccidentRegistrationResponseType" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Inscription</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="KTG-AMC-StaffType">
        <xs:sequence>
            <xs:element name="Person" type="id:KTG-AMC-PersonIncidentResponseType" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Personne</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KTG-AMC-PersonIncidentResponseType">
        <xs:sequence>
            <xs:element name="ParticularsBase" type="c:ParticularsBaseType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identité</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Registration" type="id:RegistrationResponseType" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Inscription</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="RegistrationResponseType">
        <xs:sequence>
            <xs:element name="ResponseState" type="id:ResponseStateType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">État de la réponse</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CompanyCaseID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Numéro d'identification du cas de l'entreprise</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InsuranceCaseID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Numéro d'identification du cas de l'assureur</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IncidentCaseID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">IncidentCaseID</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ContactInsurance" type="c:ContactInstitutionType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Contact assureur</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TestCase" type="c:EmptyType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Cas de test</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="incidentCaseIDMapRef" type="c:InstanceRefIDType" use="required">
            <xs:annotation>
                
                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence IncidentCaseID</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="AccidentRegistrationResponseType">
        <xs:complexContent>
            <xs:extension base="id:RegistrationResponseType">
                <xs:sequence>
                    <xs:element name="DeliverCustomerIdentity" type="c:NotEmptyStringType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Assurance Clients Identification temporaire</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="DeliverContractIdentity" type="c:NotEmptyStringType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Assurance Clients Identification temporaire</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="ResponseStateType">
        <xs:sequence>
            <xs:element name="Code" type="c:ResponseCodeAAwRType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Code de l'état</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Info" type="c:NotificationsType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Informations</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Warning" type="c:NotificationsType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Avertissements</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Error" type="c:NotificationsType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Erreurs</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!-- *** Company ***

        kernel: Company
    -->
    <xs:complexType name="CompanyType">
        <xs:sequence>
            <xs:element name="CompanyDescription" type="c:CompanyDescriptionType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Description de l'entreprise</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Staff" type="id:PersonsType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Employés</xs:documentation>
                </xs:annotation>
                <xs:unique name="incidentCaseIDMapRef-Ctrl">
                    <xs:selector xpath="id:Person/*"/>
                    <xs:field xpath="@incidentCaseIDMapRef"/>
                </xs:unique>
            </xs:element>
            <xs:element name="Institutions" type="id:CustomerIdentificationType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Assurances</xs:documentation>
                    
                </xs:annotation>
                <xs:unique name="UVG-LAA-Ctrl">
                    <xs:selector xpath="id:UVG-LAA"/>
                    <xs:field xpath="id:InsuranceID"/>
                    <xs:field xpath="id:CustomerIdentity"/>
                    <xs:field xpath="id:ContractIdentity"/>
                </xs:unique>
                <xs:unique name="UVGZ-LAAC-Ctrl">
                    <xs:selector xpath="id:UVGZ-LAAC"/>
                    <xs:field xpath="id:InsuranceID"/>
                    <xs:field xpath="id:CustomerIdentity"/>
                    <xs:field xpath="id:ContractIdentity"/>
                </xs:unique>
                <xs:unique name="KU-AC-Ctrl">
                    <xs:selector xpath="id:KU-AC"/>
                    <xs:field xpath="id:InsuranceID"/>
                    <xs:field xpath="id:CustomerIdentity"/>
                    <xs:field xpath="id:ContractIdentity"/>
                </xs:unique>
                <xs:unique name="KTG-AMC-Ctrl">
                    <xs:selector xpath="id:KTG-AMC"/>
                    <xs:field xpath="id:InsuranceID"/>
                    <xs:field xpath="id:CustomerIdentity"/>
                    <xs:field xpath="id:ContractIdentity"/>
                </xs:unique>
            </xs:element>
        </xs:sequence>
    </xs:complexType>


    <!-- *** Institution ***
        
        kernel: Institution old Insurance
    -->
    <xs:complexType name="CustomerIdentificationType">
        <xs:sequence>
            <xs:element name="UVG-LAA" type="id:InstitutionType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Institution</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="UVGZ-LAAC" type="id:InstitutionType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Institution</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KU-AC" type="id:InstitutionType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Institution</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KTG-AMC" type="id:InstitutionIllnessType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Institution</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="InstitutionType">
        <xs:sequence>
            <xs:element name="InsuranceID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identificateur d'assurance</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InsuranceCompanyName" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Nom d'assurance</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:sequence>
                    <xs:element name="CustomerIdentity" type="c:NotEmptyStringType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identificateur du client de l'assurance</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ContractIdentity" type="c:NotEmptyStringType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identificateur de contrat</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
                <xs:element name="OrderCustomerIdentity" type="c:EmptyType">

                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">En attente d'un numéro de client temporaire</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
        </xs:sequence>
        <xs:attribute name="institutionID" type="c:InstanceRefIDType" use="required">
            <xs:annotation>
                
                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">InstitutionID</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="InstitutionIllnessType">
        <xs:sequence>
            <xs:element name="InsuranceID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identificateur d'assurance</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InsuranceCompanyName" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Nom d'assurance</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CustomerIdentity" type="c:NotEmptyStringType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identificateur du client de l'assurance</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ContractIdentity" type="c:NotEmptyStringType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identificateur de contrat</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="institutionID" type="c:InstanceRefIDType" use="required">
            <xs:annotation>
                
                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">InstitutionID</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>

    <!-- *** Person ***

        kernel: Person
    -->
    <xs:complexType name="PersonsType">
        <xs:sequence>
            <xs:element name="Person" type="id:PersonIncidentType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Personne</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PersonType">
        <xs:sequence>
            <xs:element name="Particulars" type="c:ParticularsType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identité</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="Work" type="c:WorkType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Informations concernant le travail</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="workplaceIDRef" type="id:WorkplaceIDType" use="required">
            <xs:annotation>
                
                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence sur l'identificateur du lieu de travail</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:simpleType name="WorkplaceIDType">
        <xs:annotation>
            
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:pattern value="#.*"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="PersonIncidentType">
        <xs:complexContent>
            <xs:extension base="id:PersonType">
                <xs:sequence>
                    <xs:element name="UVG-LAA-Registration" type="id:AccidentRegistrationType" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">événement LAA</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="UVGZ-LAAC-Registration" type="id:AccidentRegistrationType" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Evénement UVGZ</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="KU-AC-Registration" type="id:AccidentRegistrationType" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Événement KU</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="KTG-AMC-Registration" type="id:IllnessRegistrationType" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">événement LAA</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="AccidentRegistrationType">
        <xs:sequence>
            <xs:element name="CompanyCaseID" type="c:IDType">

                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">ID de dossier d'entreprise</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element name="Incident" type="id:IncidentAccidentRegistrationType">
                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Evénement</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="Relapse" type="id:RelapseAccidentRegistrationType">
                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Rechute</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="CaseOfIncapacitiesToWork" type="c:EmptyType" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Accident avec incapacité</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element name="InsuranceCode" type="c:AssuranceCategoryCodeType" maxOccurs="unbounded">
                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Code d’assurance</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="WithoutContract" type="c:EmptyType"/>
            </xs:choice>
            <xs:element name="HRLanguageCode" type="c:LanguageCodeType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Langue person RH</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="TestCase" type="c:EmptyType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Cas de test</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="incidentCaseIDMapRef" type="c:InstanceRefIDType" use="required">
            <xs:annotation>
                
                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence IncidentCaseID</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="institutionIDRef" type="c:InstanceRefIDType" use="required">
            <xs:annotation>
                
                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence InstitutionID</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
    <xs:complexType name="IncidentAccidentRegistrationType">
        <xs:sequence>
            <xs:element name="IncidentDate" type="id:RegistrationIncidentDateType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date de l'accident</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InsuranceCaseID" type="c:IDType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Numéro d'identification du cas de l'assureur</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RelapseAccidentRegistrationType">
        <xs:sequence>
            <xs:element name="RelapseDate" type="xs:date">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">date de repli</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IncidentDate" type="id:RegistrationIncidentDateType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date de l'accident</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InsuranceCaseID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Numéro d'identification du cas de l'assureur</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RegistrationIncidentDateType">
        <xs:choice>
            <xs:element name="Exact" type="xs:date">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date exacte</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Approximate" type="xs:date">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date approximative</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Clarification" type="c:EmptyType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Clarification</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="IllnessRegistrationType">
        <xs:sequence>
            <xs:element name="CompanyCaseID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">CompanyCaseID</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:choice>
                <xs:element name="BeginIncapacitiesToWork" type="xs:date">
                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">BeginIncapacitiesToWork</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="DateOfBirth" type="xs:date"/>
            </xs:choice>
            <xs:element name="InsuranceCaseID" type="c:IDType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">InsuranceCaseID</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InsuranceCode" type="c:AssuranceCategoryCodeType" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">InsuranceCode</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="HRLanguageCode" type="c:LanguageCodeType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">HRLanguageCode</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TestCase" type="c:EmptyType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Cas de test</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="incidentCaseIDMapRef" type="c:InstanceRefIDType" use="required">
            <xs:annotation>
                
                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence IncidentCaseID</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="institutionIDRef" type="c:InstanceRefIDType" use="required">
            <xs:annotation>
                
                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence InstitutionID</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>

    <!-- ****************************************************************************** -->
    <!--  main SynchronizeIncident Stories: -->
    <!-- *** Operation: SynchronizeIncident request and response
    -->
    <xs:complexType name="StoriesWithoutDeclarationType">
        <xs:sequence>
            <xs:element name="DialogMessage" type="id:DialogMessageType" minOccurs="0" maxOccurs="unbounded">
                <xs:key name="SectionID-Key3">
                    <xs:selector xpath="id:Section"/>
                    <xs:field xpath="@sectionID"/>
                </xs:key>
                <xs:keyref name="SectionID-Ref3" refer="id:SectionID-Key3">
                    <xs:selector xpath="id:Paragraph"/>
                    <xs:field xpath="@sectionIDRef"/>
                </xs:keyref>
            </xs:element>
        </xs:sequence>

    </xs:complexType>

    <!-- *** Operation: SynchronizeIncident request Element IncidentStories
    -->
    <xs:complexType name="IncidentStoriesRequestType">
        <xs:sequence>
            <xs:element name="IncidentContext" type="id:IncidentContextRequestType"/>
            <xs:element name="IncapacitiesToWork" type="id:IncapacitiesToWorkType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Incapacité de travail (AUF)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TakeWorkUpFully" type="id:TakeWorkUpFullyType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">reprise des travaux</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Treatments" type="id:TreatmentsType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Traitement médical</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Agreement" type="id:AgreementType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Autres assureurs</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AnnualSalary" type="id:AnnualSalaryType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Salaire annuel</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Payment" type="id:PaymentType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Coordonnées de paiement</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdditionsPerson" type="id:AdditionsPersonType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Contrat de travail</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Absences" type="id:AbsencesType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Heures perdues</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SpecialCode" type="id:SpecialCodeType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Code spécial</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AccidentDescription" type="id:AccidentDescriptionType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Description de l’accident</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="SalaryRaise" type="id:SalaryRaiseType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Augmentation de salaire</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PersonMutated" type="id:PersonMutatedType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Mutation de données personnelles</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SpecialCoverage" type="id:SpecialCoverageType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Cas particuliers</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="OtherEmployers" type="id:BooleanStoryType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Autres employeurs</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ShortTimeWork" type="id:BooleanStoryType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Chômage partiel</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="DialogMessage" type="id:DialogMessageType" minOccurs="0" maxOccurs="unbounded">
                <xs:key name="SectionID-Key1">
                    <xs:selector xpath="id:Section"/>
                    <xs:field xpath="@sectionID"/>
                </xs:key>
                <xs:keyref name="SectionID-Ref1" refer="id:SectionID-Key1">
                    <xs:selector xpath="id:Paragraph"/>
                    <xs:field xpath="@sectionIDRef"/>
                </xs:keyref>
            </xs:element>
            <xs:element name="Attachment" type="id:AttachmentType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="ProcessCtrl" type="id:ProcessCtrlRequestType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>

    <!-- *** Operation: SynchronizeIncident response
    -->
    <xs:complexType name="IncidentStoriesResponseType">
        <xs:sequence>
            <xs:element name="IncidentContext" type="id:IncidentContextResponseType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Contexte de l'incident</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="State" type="id:StateType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Statut</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="DialogMessage" type="id:DialogMessageType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Message de dialogue</xs:documentation>
                </xs:annotation>
                <xs:key name="SectionID-Key2">
                    <xs:selector xpath="id:Section"/>
                    <xs:field xpath="@sectionID"/>
                </xs:key>
                <xs:keyref name="SectionID-Ref2" refer="id:SectionID-Key2">
                    <xs:selector xpath="id:Paragraph"/>
                    <xs:field xpath="@sectionIDRef"/>
                </xs:keyref>
            </xs:element>
            <xs:element name="Settlement" type="id:SettlementType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Décompte de prestations</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Repayment" type="id:RepaymentType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">ID propre pour le remboursement</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CoveredDailyAllowance" type="id:CoveredDailyAllowanceType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Taux des indemnités journalières assurées</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CrossChannelLink" type="id:CrossChannelLinkType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="ProcessCtrl" type="id:ProcessCtrlResponseType" minOccurs="0">
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StoryNotificationResponseType">
        <xs:sequence>
            <xs:element name="RequestStoryID" type="c:IDType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence sur Request StoryID</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:group ref="c:NotificationsGroup"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StoryNotificationRequestType">
        <xs:sequence>
            <xs:element name="ResponseStoryID" type="c:IDType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence sur Response StoryID</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:group ref="c:NotificationsGroup"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="CoveredDailyAllowanceType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="Allowance" type="c:SalaryAmountType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Taux des indemnités journalières assurées</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ValidAsOf" type="xs:date" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date à partir de laquelle l'assureur doit payer directement à la
                                    personne.
                                </xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Description" type="c:NotEmptyStringType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Description</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <!-- IncidentContext -->
    <xs:group name="IncidentContextGroup">
        <xs:sequence>
            <xs:element name="CompanyCaseID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">CompanyCaseID</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="InsuranceCaseID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">InsuranceCaseID</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="IncidentCaseID" type="c:IncidentCaseIDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">IncidentCaseID</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReceivedStoryIDs" type="id:ReceivedStoriesType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">StoryIDs reçus</xs:documentation>
                </xs:annotation>
                <xs:unique name="StoryID-Ctrl">
                    <xs:selector xpath="id:StoryID"/>
                    <xs:field xpath="."/>
                </xs:unique>
            </xs:element>
            <xs:element name="TestCase" type="c:EmptyType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Cas de test</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:group>
    <xs:complexType name="ReceivedStoriesType">
        <xs:sequence>
            <xs:element name="StoryID" type="c:IDType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StateType">
        <xs:sequence>
            <xs:element name="Process" type="id:MainStateType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Les états du processus public</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Coverage" type="id:YesNoUnknownType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Conditions de couverture</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SmallRemark" type="c:NotEmptyStringType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Renseignements supplémentaires de l'assureur sur le statut.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CrossChannelLinkIDWaitForUse" type="c:IDType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="MainStateType">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="registrationReceived"/>
            <xs:enumeration value="checkingDeclaration"/>
            <xs:enumeration value="verifyingClaim"/>
            <xs:enumeration value="performingEntitlement"/>
            <xs:enumeration value="communicationStopped"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="IncidentContextRequestType">
        <xs:sequence>
            <xs:group ref="id:IncidentContextGroup"/>
            <xs:element name="ReceivedState" type="id:StateType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">État reçu</xs:documentation>
                </xs:annotation>
            </xs:element>
            <!-- Notification Stories-->
            <xs:element name="Info" type="id:StoryNotificationRequestType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Informations</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Warning" type="id:StoryNotificationRequestType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Avertissements</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Error" type="id:StoryNotificationRequestType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Erreurs</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="IncidentContextResponseType">
        <xs:sequence>
            <xs:group ref="id:IncidentContextGroup"/>
            <!-- Notification Stories-->
            <xs:element name="Info" type="id:StoryNotificationResponseType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Informations</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Warning" type="id:StoryNotificationResponseType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Avertissements</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Error" type="id:StoryNotificationResponseType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Erreurs</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <!-- Stories -->
    <xs:complexType name="StoryBaseType">
        <xs:sequence>
            <xs:element name="Creation" type="xs:dateTime">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Création</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="StoryID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">StoryID</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>


    <!-- IncapacitiesToWork -->
    <xs:complexType name="IncapacitiesToWorkType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:choice>
                    <xs:element name="IncapacityToWork" type="id:IncapacityToWorkType" maxOccurs="unbounded">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">incapacité de travail</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="NoIncapacityToWork" type="c:EmptyType"/>
                </xs:choice>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="IncapacityToWorkType">
        <xs:sequence>
            <xs:element name="Percentage" type="c:PercentType"/>
            <xs:element name="EffectiveFrom" type="xs:date">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date d'entrée en vigueur du degré d'incapacité de travail</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Valid" type="id:ValidToType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Indication de la durée de l'incapacité de travail</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ValidToType">
        <xs:choice>
            <xs:sequence>
                <xs:element name="To" type="xs:date"/>
                <xs:element name="TakeWorkUpFullyDate" type="xs:date" minOccurs="0">
                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">
                                Date à laquelle les travaux ont effectivement repris dans leur intégralité
                            </xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:sequence>
            <xs:element name="Unknown" type="c:EmptyType"/>
        </xs:choice>
    </xs:complexType>
    <!-- TakeWorkUpFully -->
    <xs:complexType name="TakeWorkUpFullyType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:choice>
                    <xs:element name="TakeWorkUpFullyDate" type="xs:date">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ExpectedLastDayOfIncapacityToWork" type="xs:date">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ExpectedIncapacityToWork" type="id:ExpectedIncapacityToWorkType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">la durée probable de l'incapacité totale de travail</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="NoIncapacityToWork" type="c:EmptyType"/>
                </xs:choice>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:simpleType name="ExpectedIncapacityToWorkType">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="to30Days"/>
            <xs:enumeration value="moreThan30Days"/>
            <xs:enumeration value="unknown"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- Treatments -->
    <xs:complexType name="TreatmentsType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="InitialTreatment" type="id:TreatmentAddressExtensionType">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="FurtherTreatment" type="id:TreatmentAddressExtensionType" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TreatmentAddressExtensionType">
        <xs:sequence>
            <xs:element name="ZSRNumber" type="xs:string" minOccurs="0">
                <xs:annotation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="UID-BFS" type="c:UID-BFSType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Numéro d’identification des entreprises</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="GLNNumber" type="xs:string" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">GLN (Global Location Number)</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TreatmentInstitution" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Nom du fournisseur de services</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Address" type="c:AddressType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Adresse de la personne</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EmailAddress" type="c:EmailAddressType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">courrier électronique</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PhoneNumber" type="xs:string" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">numéro de téléphone</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="MobilePhoneNumber" type="xs:string" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">numéro de portable</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!-- Agreement -->
    <xs:complexType name="AgreementType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:choice>
                    <xs:element name="OtherInsurancePredefined" type="id:OtherInsurancePredefinedType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Assurances prédéfinies</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="OtherInsurance" type="c:NotEmptyStringType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Autres assurances</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="NoOtherInsurance" type="c:EmptyType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Aucune autre assurance</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:choice>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <!-- AnnualSalary -->
    <xs:complexType name="AnnualSalaryType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:choice>
                    <xs:sequence>
                        <xs:element name="IncidentMonth" type="xs:gYearMonth">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">mois de l'événement</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="ContractValidAsOf" type="xs:date">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date de début de validité du contrat de travail</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="Present" type="id:KindOfSalariesTimedType" minOccurs="0">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">les composantes du salaire actuel assuré</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="Past" type="id:MonthSalaryType" minOccurs="0">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">les éléments du salaire antérieur assuré</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="ManualAdditions" type="id:KindOfSalaryType" minOccurs="0" maxOccurs="unbounded">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Ajouts manuels</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="AnnualSalaryTotal" type="c:SalaryAmountType">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Salaire annuel assuré</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="Statistic" type="id:SalaryBasesType">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Valeurs statistiques</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:sequence>
                    <xs:element name="NoIncapacityToWork" type="c:EmptyType"/>
                </xs:choice>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="KindOfSalariesTimedType">
        <xs:sequence>
            <xs:element name="HourlyPay" type="id:HourlyPayType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">salaires horaires et primes</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Detail" type="id:KindOfSalaryTimedType" maxOccurs="unbounded" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Rubriques avec détails</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="HourlyPayType">
        <xs:sequence>
            <xs:element name="HourlySalary" type="c:SalaryAmountType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">salaire horaire</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Earnings13th" type="c:PercentType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Treizième salaire mensuel</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="VacationAndPublicHolidayCompensation" type="c:PercentType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Indemnités de jours fériés et de jours fériés</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MonthSalaryType">
        <xs:sequence>
            <xs:element name="Salary" type="id:InsuredSalaryPastType" maxOccurs="12">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">composante salariale</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="PastAnnualTotal" type="c:SalaryAmountType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Total annuel de tous les mois</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SalaryBasesType">
        <xs:sequence>
            <xs:element name="BasicWages" type="c:SalaryAmountType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Salaire de base</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="FamilyIncomeSupplement" type="c:SalaryAmountType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">allocations pour enfant et familiales</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="VacationAndPublicHolidayCompensation" type="c:SalaryAmountType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">indemnités de vacances et pour jours fériés</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="OtherSupplements" type="c:SalaryAmountType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Autres allocations</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="Gratuity" type="c:SalaryAmountType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">gratification et 13e salaire</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KindOfSalaryTimedType">
        <xs:complexContent>
            <xs:extension base="id:KindOfSalaryType">
                <xs:sequence>
                    <xs:element name="Factor" type="id:FactorType" minOccurs="0"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="InsuredSalaryPastType">
        <xs:sequence>
            <xs:element name="Month" type="xs:gYearMonth">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Mois concerné</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="KindOfSalaries" type="id:KindOfSalariesPastType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">texte de rubrique</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Total" type="c:SalaryAmountType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Total mensuel de toutes les rubriques</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="HoursPerMonth" type="id:HoursAndIndustryMinutesType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Temps de travail par mois</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="KindOfSalaryType">
        <xs:sequence>
            <xs:element name="KindOfSalary" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Description textuelle du genre de salaire</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="Amount" type="c:SalaryAmountType"/>
            <xs:element name="StatisticCode" type="id:SalaryBaseCodeType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="SalaryBaseCodeType">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="BasicWages"/>
            <xs:enumeration value="FamilyIncomeSupplement"/>
            <xs:enumeration value="VacationAndPublicHolidayCompensation"/>
            <xs:enumeration value="OtherSupplements"/>
            <xs:enumeration value="Gratuity"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="FactorType">
        <xs:restriction base="xs:decimal">
            <xs:pattern value="[0-9]+\.[0-9]{2}"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="KindOfSalariesPastType">
        <xs:sequence>
            <xs:element name="Detail" type="id:KindOfSalaryType" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <!-- Payment -->
    <xs:complexType name="PaymentType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="Company" type="id:PaymentAddressBaseType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Paiement aux entreprises</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Person" type="id:PaymentAddressType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Paiement à la personne</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="PaymentAddressBaseType">
        <xs:sequence>
            <xs:element name="AccountOwner" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">titulaire du compte</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AccountOwnerSpecialAddress" type="c:NameAndAddressType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Titulaire du compte Adresse spéciale</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IBAN" type="id:IBANType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">numéro IBAN</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="FinancialInstitution" type="c:NameAndAddressType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Nom de l'institution financière</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PaymentAddressType">
        <xs:complexContent>
            <xs:extension base="id:PaymentAddressBaseType">
                <xs:sequence>
                    <xs:element name="ValidAsOf" type="xs:date">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Valable à partir de</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="IBANAccountType">
        <xs:sequence>
            <xs:element name="IBAN" type="id:IBANType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">numéro IBAN</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="IBANType">
        <xs:annotation>
            
            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Code IBAN</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:pattern value="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}"/>
        </xs:restriction>
    </xs:simpleType>

    <!-- AdditionsPerson -->
    <xs:complexType name="AdditionsPersonType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="Position" type="c:PositionType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Position professionnelle</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Contract" type="id:ContractType"/>
                    <xs:element name="ContractFixedUntil" type="xs:date" minOccurs="0">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ContractDissolveFrom" type="xs:date" minOccurs="0">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="JobTitle" type="c:IDType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Nom de profession</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="TaxAtSource" type="id:TaxAtSourceType" minOccurs="0"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="ContractType">
        <xs:annotation>
            
            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Contract</xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="KindOf" type="c:EmploymentContractType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">En quelque sorte</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ValidAsOf" type="xs:date">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Valable à partir du</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TaxAtSourceType">
        <xs:sequence>
            <xs:element name="TaxAtSourceCanton" type="c:CantonAddressType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Canton IS</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="TaxAtSourceMunicipalityID" type="c:MunicipalityIDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Numéro IS de la commune</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TaxAtSourceCategory" type="c:TaxAtSourceCategoryType" minOccurs="1">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Catégorie IS</xs:documentation>
                    
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!-- Absences -->
    <xs:complexType name="AbsencesType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="Absence" type="id:AbsenceType" maxOccurs="unbounded">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">heures perdues</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="AbsenceType">
        <xs:sequence>
            <xs:element name="Period" type="c:TimePeriodType"/>
            <xs:element name="Hours" type="id:HoursAndIndustryMinutesType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="MinutesType">
        <xs:restriction base="xs:short">
            <xs:minInclusive value="0"/>
            <xs:maxInclusive value="59"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- SpecialCode -->
    <xs:complexType name="SpecialCodeType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="Code" type="c:NotEmptyStringType"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <!-- AccidentDescription -->
    <xs:complexType name="AccidentDescriptionType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:choice>
                        <xs:element name="Accident" type="id:ClassOfInsuranceType">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Accident</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="OccupationalDisease" type="c:EmptyType">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Maladie professionnelle</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="CaseOfDeath" type="id:CaseOfDeathType">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Décès</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="Relapse" type="id:StoryRelapseType">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Rechute</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:choice>
                    <xs:element name="IncidentDate" type="id:StoryIncidentDateTimeType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date et heure de l’accident</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="IncidentScene" type="xs:string">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="IncidentDescription" type="xs:string">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="PoliceReportExists" type="id:YesNoUnknownType"/>
                    <xs:element name="Injury" type="id:InjuryType">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ExistInvolvedPersons" type="id:YesNoUnknownType" minOccurs="1">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="StoryIncidentDateTimeType">
        <xs:choice>
            <xs:element name="ExactDateTime" type="xs:dateTime">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date et heure exacte</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Approximate" type="xs:date">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date approximative</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="CaseOfDeathType">
        <xs:sequence>
            <xs:element name="DateOfDeath" type="xs:date">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date du décès</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ClassOfInsurance" type="id:ClassOfInsuranceType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">AP ou ANP</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ClassOfInsuranceType">
        <xs:choice>
            <xs:element name="AccidentAtWork" type="id:AccidentAtWorkType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Accident de travail</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AccidentAtLeisure" type="id:AccidentAtLeisureType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">ANP</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="AccidentAtWorkType">
        <xs:sequence>
            <xs:element name="InvolvedObjects" type="c:NotEmptyStringType" minOccurs="0">
                <xs:annotation>
                    
                    
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="StoryRelapseType">
        <xs:sequence>
            <xs:element name="InsuranceCaseID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Numéro d'identification du cas de l'assureur</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="RelapseDate" type="xs:date">
                <xs:annotation>
                    
                    
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AccidentAtLeisureType">
        <xs:sequence>
            <xs:element name="LastWorkingDay" type="xs:date"/>
            <xs:element name="ActivityAtTimeOfAccident" type="id:ActivityAtTimeOfAccidentType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="ActivityAtTimeOfAccidentType">
        <xs:annotation>
            
        </xs:annotation>
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="skiing"/>
            <xs:enumeration value="footballOrsoccer"/>
            <xs:enumeration value="paragliding"/>
            <xs:enumeration value="snowboarding"/>
            <xs:enumeration value="in-lineSkating"/>
            <xs:enumeration value="iceHockey"/>
            <xs:enumeration value="otherBallGames"/>
            <xs:enumeration value="otherSport"/>
            <xs:enumeration value="carDriving"/>
            <xs:enumeration value="motorbiking"/>
            <xs:enumeration value="scooterOrSmallMoped"/>
            <xs:enumeration value="bicycleOrMBT"/>
            <xs:enumeration value="runedOverAsPedestrian"/>
            <xs:enumeration value="otherRoadTraffic"/>
            <xs:enumeration value="housekeepingWork"/>
            <xs:enumeration value="doItYourselfOrMaintenanceWork"/>
            <xs:enumeration value="gardeningOrForestAndAgricultureWork"/>
            <xs:enumeration value="otherActivitiesAtHomeAndInTheYard"/>
            <xs:enumeration value="hikingOrWalking"/>
            <xs:enumeration value="otherActivities"/>
        </xs:restriction>
    </xs:simpleType>

    <!--    AccidentDescription/Injury -->
    <xs:complexType name="InjuryType">
        <xs:sequence>
            <xs:element name="InjuredPartOfBody" type="id:InjuredPartOfBodyType" minOccurs="1" maxOccurs="3">
                <xs:annotation>
                    
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="InjuredPartOfBodyType">
        <xs:sequence>
            <xs:element name="PartOfBody" type="id:PartOfBodyType"/>
            <xs:choice>
                <xs:element name="TypeOfInjury" type="id:TypeOfInjuryType">
                    <xs:annotation>
                        
                    </xs:annotation>
                </xs:element>
                <xs:element name="OtherTypeOfInjury" type="xs:string">
                    <xs:annotation>
                        
                    </xs:annotation>
                </xs:element>
            </xs:choice>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PartOfBodyType">
        <xs:choice>
            <xs:element name="UnassignedPart" type="id:BodyPartType"/>
            <xs:sequence>
                <xs:element name="Part" type="id:BodyOrientedPartType"/>
                <xs:element name="Position" type="id:PositionPartType"/>
            </xs:sequence>
        </xs:choice>
    </xs:complexType>
    <xs:simpleType name="TypeOfInjuryType">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="bite_01"/>
            <xs:enumeration value="fracture_02"/>
            <xs:enumeration value="inflammation_03"/>
            <xs:enumeration value="contusion_04"/>
            <xs:enumeration value="bruise_05"/>
            <xs:enumeration value="chap_06"/>
            <xs:enumeration value="cut_07"/>
            <xs:enumeration value="shot_08"/>
            <xs:enumeration value="swelling_09"/>
            <xs:enumeration value="graze_10"/>
            <xs:enumeration value="compressionSpine_11"/>
            <xs:enumeration value="sting_12"/>
            <xs:enumeration value="tearFissure_13"/>
            <xs:enumeration value="burn_14"/>
            <xs:enumeration value="sprainTwist_15"/>
            <xs:enumeration value="poisoning_16"/>
            <xs:enumeration value="causticity_17"/>
            <xs:enumeration value="pulledMuscleLigament_18"/>
            <xs:enumeration value="foreignObject_20"/>
            <xs:enumeration value="dislocation_21"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="BodyPartType">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="abdomen_459"/>
            <xs:enumeration value="bladder_669"/>
            <xs:enumeration value="thoracicSpine_259"/>
            <xs:enumeration value="entireBodySystemicEffect_819"/>
            <xs:enumeration value="genitals_449"/>
            <xs:enumeration value="neck_209"/>
            <xs:enumeration value="cervicalSpine_249"/>
            <xs:enumeration value="heart_619"/>
            <xs:enumeration value="otherInternalInjuries_609"/>
            <xs:enumeration value="liver_639"/>
            <xs:enumeration value="lumbarSpine_269"/>
            <xs:enumeration value="spleen_649"/>
            <xs:enumeration value="nose_139"/>
            <xs:enumeration value="multipleInjuries_709"/>
            <xs:enumeration value="skullBrain_109"/>
            <xs:enumeration value="shockPsych_809"/>
            <xs:enumeration value="coccyxButtocks_429"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="BodyOrientedPartType">
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="eye_12"/>
            <xs:enumeration value="pelvis_40"/>
            <xs:enumeration value="elbow_32"/>
            <xs:enumeration value="finger_36"/>
            <xs:enumeration value="metatarsusWithoutToes_54"/>
            <xs:enumeration value="ankle_53"/>
            <xs:enumeration value="face_11"/>
            <xs:enumeration value="metacarpusWithoutFingers_35"/>
            <xs:enumeration value="wrist_34"/>
            <xs:enumeration value="hipJoint_41"/>
            <xs:enumeration value="jaw_16"/>
            <xs:enumeration value="knee_51"/>
            <xs:enumeration value="groin_43"/>
            <xs:enumeration value="lungsInclusiveAirways_62"/>
            <xs:enumeration value="multipleAreasUpperExtremities_37"/>
            <xs:enumeration value="multipleAreasLowerExtremities_56"/>
            <xs:enumeration value="kidney_65"/>
            <xs:enumeration value="upperArm_31"/>
            <xs:enumeration value="thigh_50"/>
            <xs:enumeration value="earHearing_14"/>
            <xs:enumeration value="rear_21"/>
            <xs:enumeration value="shoulder_30"/>
            <xs:enumeration value="thorax_23"/>
            <xs:enumeration value="lowerArm_33"/>
            <xs:enumeration value="lowerThigh_52"/>
            <xs:enumeration value="teeth_15"/>
            <xs:enumeration value="toes_55"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PositionPartType">
        <xs:restriction base="xs:NMTOKEN">
            <!-- InjuredPartOfBody Stelle 3 -->
            <xs:enumeration value="left_1"/>
            <xs:enumeration value="right_2"/>
            <xs:enumeration value="both_3"/>
            <xs:enumeration value="unassigned_9"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- SalaryRaise -->
    <xs:complexType name="SalaryRaiseType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="ValidAsOf" type="xs:date">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Valable à partir du</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Present" type="id:KindOfSalariesTimedType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Eléments de salaire</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ManualAdditions" type="id:KindOfSalaryType" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Ajouts manuels</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <!-- PersonMutated -->
    <xs:complexType name="PersonMutatedType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="ValidAsOf" type="xs:date">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Valable à partir du</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Lastname" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Nom</xs:documentation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Firstname" type="xs:string" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Prénom</xs:documentation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="WithdrawalDate" type="xs:date" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date de départ</xs:documentation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Address" type="c:AddressType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Adresse</xs:documentation>
                            
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <!-- SpecialCoverage -->
    <xs:complexType name="SpecialCoverageType">
        <xs:annotation>
            
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="FamilyMember" type="c:EmptyType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Membre de la famille, associé(e)</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="OptionalEnterpriserInsurance" type="c:EmptyType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Assurance facultative des chefs d'entreprise</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="NegotiatedInsurance" type="c:EmptyType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Convention</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <!-- OtherEmployers and ShortTimeWork-->
    <xs:complexType name="BooleanStoryType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="Valid" type="xs:boolean"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <!-- Attachment -->
    <xs:complexType name="AttachmentType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="Filename" type="c:NotEmptyStringType"/>
                    <xs:element name="ContentType" type="id:ContentTypeType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Données binaires</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Data" type="xs:base64Binary">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Données binaires</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <!-- ProcessCtrl -->
    <xs:complexType name="ProcessCtrlRequestType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="IncidentForCompanyClosed" type="id:IncidentForCompanyClosedType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Evénement clôturé pour l’entreprise</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ChangeIdentities" type="id:ChangeIdentitiesType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Modifier les identités</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Comment" type="c:NotificationsType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Remarques</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="IncidentForCompanyClosedType">
        <xs:choice>
            <xs:element name="Normal" type="c:EmptyType"/>
            <xs:element name="Cancel" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Annulation</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
    </xs:complexType>

    <xs:complexType name="ChangeIdentitiesType">
        <xs:sequence>
            <xs:element name="ValidAsOf" type="xs:dateTime">
                <xs:annotation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="Company" type="id:CompanyIdentitiesType" minOccurs="0"/>
            <xs:element name="Institution" type="id:InstitutionIdentitiesType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CompanyIdentitiesType">
        <xs:sequence>
            <xs:element name="Old" type="id:CompanyUIDType"/>
            <xs:element name="New" type="id:CompanyUIDType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CompanyUIDType">
        <xs:sequence>
            <xs:element name="UID-BFS" type="c:UID-BFS-UnknownType"/>
            <xs:element name="DelegateUID-BFS" type="c:UID-BFSType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="InstitutionIdentitiesType">
        <xs:sequence>
            <xs:element name="Old" type="id:InstitutionChangeType"/>
            <xs:element name="New" type="id:InstitutionChangeType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="InstitutionChangeType">
        <xs:sequence>
            <xs:element name="CustomerIdentity" type="c:NotEmptyStringType"/>
            <xs:element name="ContractIdentity" type="c:NotEmptyStringType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <!--
    StoriesRequestType Subtypes end -->

    <!-- StoriesResponseType Subtypes
    -->
    <!-- Settlement story -->
    <xs:complexType name="SettlementType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="SettlementID" type="c:IDType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">ID décompte</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="SettlementDate" type="xs:dateTime">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Date de décompte</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="TotalBalance" type="id:TotalBalanceType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Montant total</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Coverage" type="c:NotEmptyStringType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Couverture</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="AnnualEarnings" type="c:SalaryAmountType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Gain annuel</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="CoveredDailyAllowance" type="c:SalaryAmountType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Montant de l’indemnité journalière assuré</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ContactInsurance" type="c:ContactInstitutionType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Contact assureur</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Indemnifications" type="id:IndemnificationsType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">postes de prestations</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Comment" type="c:NotificationsType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Remarques</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="TotalBalanceType">
        <xs:choice>
            <xs:element name="FavourCompany" type="id:FavourCompanyType"/>
            <xs:element name="FavourInstitution" type="id:FavourInstitutionType"/>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="FavourCompanyType">
        <xs:sequence>
            <xs:element name="Payment" type="c:SalaryAmountAbsoluteType"/>
            <xs:element name="PaymentThird" type="c:SalaryAmountAbsoluteType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="FavourInstitutionType">
        <xs:sequence>
            <xs:element name="Repayment" type="c:SalaryAmountAbsoluteType"/>
            <xs:element name="RepaymentThird" type="c:SalaryAmountAbsoluteType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="IndemnificationsType">
        <xs:sequence>
            <xs:element name="Normal" type="id:IndemnificationType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="Correction" type="id:IndemnificationCorrectionType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="IndemnificationCorrectionType">
        <xs:sequence>
            <xs:element name="LinkToOldIndemnification" type="id:LinkToOldIndemnificationType" minOccurs="0"/>
            <xs:element name="Old" type="id:IndemnificationType"/>
            <xs:element name="New" type="id:IndemnificationType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="LinkToOldIndemnificationType">
        <xs:sequence>
            <xs:element name="SettlementID" type="c:IDType"/>
            <xs:element name="IndemnificationID" type="c:IDType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="IndemnificationType">
        <xs:sequence>
            <xs:element name="IndemnificationID" type="c:IDType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">ID de performance</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ProductCategory" type="c:NotEmptyStringType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">catégorie de produit</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="WaitingDays" type="id:DaysType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">jours d'attente</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CoveringDays" type="id:DaysType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">jours de référence</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="IncapacityToWork" type="c:PercentType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">incapacité de travail</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="QuantityOfDays" type="xs:short" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Nombre de jours</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Period" type="c:TimePeriodType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Période</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="EffectiveDailyAllowance" type="c:SalaryAmountType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">taux du financement à un jour</xs:documentation>

                </xs:annotation>
            </xs:element>
            <xs:element name="Reduction" type="id:ReductionType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">réductions</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Balance" type="c:BalanceType">
                <xs:annotation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="Contract" type="id:ContractIndemnificationType" minOccurs="0" maxOccurs="unbounded"/>
            <xs:element name="Comment" type="c:NotificationsType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Remarques</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ReductionType">
        <xs:sequence>
            <xs:element name="ReasonPartialRelease" type="xs:string" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">raison de la réduction</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReasonReduction" type="xs:string" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">raison de la réduction</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReasonOnCompensation" type="xs:string" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">raison de la réduction</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReasonHospitalAliment" type="xs:string" minOccurs="0">
                <xs:annotation>
                    
                </xs:annotation>
            </xs:element>
            <xs:element name="Percentage" type="c:PercentType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">pourcentage</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="CoveringDays" type="id:DaysType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Journées d’indemnités</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="QuantityOfDays" type="xs:short" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Nombre de jours</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Period" type="c:TimePeriodType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Période</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReductionAllowance" type="c:SalaryAmountAbsoluteType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">approche de réduction</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ReductionAmountFavourInstitution" type="c:SalaryAmountAbsoluteType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Montant de la réduction en faveur de l'assureur</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AmountBeforeReductionFavourCompany" type="c:SalaryAmountAbsoluteType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Montant avant réduction en faveur de l'entreprise</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ContractIndemnificationType">
        <xs:sequence>
            <xs:element name="ContractIdentity" type="c:NotEmptyStringType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Identificateur de contrat</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="InsuranceCode" type="c:AssuranceCategoryCodeType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <!-- PaymentLink story -->
    <xs:complexType name="RepaymentType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="RepaymentID" type="c:IDType"/>
                    <xs:element name="LinkToSettlementID" type="c:IDType"/>
                    <xs:element name="ExpiryDate" type="xs:dateTime" minOccurs="0">
                        <xs:annotation>
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:choice>
                        <xs:element name="ESR" type="id:ESRType">
                            <xs:annotation>
                                
                                <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">service électronique des débiteurs</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="Transfer" type="id:TransferType"/>
                    </xs:choice>
                    <xs:element name="ContactInsurance" type="c:ContactInstitutionType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Contact assureur</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="ESRType">
        <xs:sequence>
            <xs:element name="ESRBalance" type="c:SalaryAmountType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">ISR Montant</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ESRReference" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence BVR</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ESRAccountNumber" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">BVR Numéro de compte</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="ESRLine" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">BVR Ligne de codage</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TransferType">
        <xs:sequence>
            <xs:element name="Balance" type="c:SalaryAmountType">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">montant</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Reference" type="xs:string">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Référence</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AccountNumber" type="xs:string" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Numéro de compte</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Line" type="xs:string" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Renseignements supplémentaires sur la facture.</xs:documentation>
                </xs:annotation>
            </xs:element>

            <xs:element name="FinancialInstitution" type="id:PaymentAddressBaseType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Institution financière du bénéficiaire</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!-- CrossChannelLink -->
    <xs:complexType name="CrossChannelLinkType">
        <xs:annotation>
            
            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Cross Channel Link</xs:documentation>
        </xs:annotation>
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="Credentials" type="c:CredentialsType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">identités</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Link" type="id:LinkType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Peut être une URL</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="LinkDescription" type="c:NotEmptyStringType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Description textuelle</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="LinkType">
        <xs:sequence>
            <xs:choice>
                <xs:element name="Url" type="xs:string">
                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">URL</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="WebService" type="xs:string">
                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Web Service</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
            <xs:element name="ExpiryDate" type="xs:dateTime">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Échéance</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>
    <!-- ProcessCtrl -->
    <xs:complexType name="ProcessCtrlResponseType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="ChangeInsuranceCaseID" type="id:OldNewIDType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Modifier l'InsuranceCaseID</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="InstitutionAddress" type="c:NameAndAddressType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Adresse de l'assureur</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="ContactInsurance" type="c:ContactInstitutionType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Contacter l'assureur</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="AwaitStory" type="id:AwaitPartType" minOccurs="0">
                        <xs:annotation>
                            
                            
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Comment" type="c:NotificationsType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Remarques</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="OldNewIDType">
        <xs:sequence>
            <xs:element name="Old" type="c:IDType"/>
            <xs:element name="New" type="c:IDType"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AwaitPartType">
        <xs:sequence>
            <xs:element name="IncapacitiesToWork" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Incapacité de travail</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="TakeWorkUpFully" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Reprise du travail</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Treatments" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Traitement médical</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Agreement" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Autres assureurs</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AnnualSalary" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Salaire annuel</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Payment" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Coordonnées de paiement</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AdditionsPerson" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Contrat de travail</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Absence" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Heures perdues</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="SpecialCode" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Code spécial</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="AccidentDescription" type="id:AwaitPartControlType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Description de l’accident</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="AwaitPartControlType">
        <xs:sequence>
            <xs:element name="ExpirationDate" type="xs:dateTime" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <!--
        StoriesResponseType Subtypes -->


    <!-- Dialog
    -->
    <xs:complexType name="DialogMessageType">
        <xs:complexContent>
            <xs:extension base="id:StoryBaseType">
                <xs:sequence>
                    <xs:element name="StandardDialogID" type="id:StandardFormIDType">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">ID de dialogue standard</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Previous" type="id:PreviousType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Lien vers l'histoire précédente</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Title" type="c:IDType" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Titre</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Description" type="xs:token" minOccurs="0">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Description</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Paragraph" type="id:ParagraphType" maxOccurs="unbounded">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">paragraphe</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                    <xs:element name="Section" type="id:SectionType" minOccurs="0" maxOccurs="unbounded">
                        <xs:annotation>
                            
                            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Section</xs:documentation>
                        </xs:annotation>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="PreviousType">
        <xs:choice>
            <xs:element name="RequestStoryID" type="c:IDType"/>
            <xs:element name="ResponseStoryID" type="c:IDType"/>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="ParagraphType">
        <xs:sequence>
            <!-- short damit eine Reihenfolge entsteht -->
            <xs:element name="ID" type="xs:short"/>
            <xs:element name="Label" type="xs:token"/>
            <xs:choice>
                <xs:element name="Value" type="id:ParagraphValueType" minOccurs="0">
                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Contenu du paragraphe</xs:documentation>
                    </xs:annotation>
                </xs:element>
                <xs:element name="Answer" type="id:ParagraphAnswerType" minOccurs="0">
                    <xs:annotation>
                        
                        <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Réponse</xs:documentation>
                    </xs:annotation>
                </xs:element>
            </xs:choice>
        </xs:sequence>
        <xs:attribute name="sectionIDRef" type="id:SectionIDType"/>
    </xs:complexType>
    <xs:complexType name="ParagraphValueType">
        <xs:choice>
            <xs:element name="String" type="xs:string"/>
            <xs:element name="Integer" type="xs:integer"/>
            <xs:element name="Double" type="xs:double"/>
            <xs:element name="Boolean" type="xs:boolean"/>
            <xs:element name="Date" type="xs:date"/>
            <xs:element name="DateTime" type="xs:dateTime"/>
            <xs:element name="YesNoUnknown" type="id:YesNoUnknownType"/>
        </xs:choice>
    </xs:complexType>
    <xs:complexType name="ParagraphAnswerType">
        <xs:sequence>
            <xs:choice>
                <xs:element name="String" type="id:AnswerStringType"/>
                <xs:element name="Integer" type="id:AnswerIntegerType"/>
                <xs:element name="Double" type="id:AnswerDoubleType"/>
                <xs:element name="Boolean" type="id:AnswerBooleanType"/>
                <xs:element name="Date" type="id:AnswerDateType"/>
                <xs:element name="DateTime" type="id:AnswerDateTimeType"/>
                <xs:element name="YesNoUnknown" type="id:AnswerYesNoUnknownType"/>
            </xs:choice>
            <xs:element name="Problem" type="c:NotEmptyStringType" minOccurs="0">
                <xs:annotation>
                    
                    <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Problème</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="optional" type="c:EmptySimpleType" use="optional"/>
    </xs:complexType>
    <xs:complexType name="AnswerStringType">
        <xs:sequence>
            <xs:element name="Default" type="xs:string" minOccurs="0"/>
            <xs:element name="Value" type="xs:string" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AnswerIntegerType">
        <xs:sequence>
            <xs:element name="Default" type="xs:integer" minOccurs="0"/>
            <xs:element name="Value" type="xs:integer" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AnswerDoubleType">
        <xs:sequence>
            <xs:element name="Default" type="xs:double" minOccurs="0"/>
            <xs:element name="Value" type="xs:double" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AnswerBooleanType">
        <xs:sequence>
            <xs:element name="Default" type="xs:boolean" minOccurs="0"/>
            <xs:element name="Value" type="xs:boolean" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AnswerDateType">
        <xs:sequence>
            <xs:element name="Default" type="xs:date" minOccurs="0"/>
            <xs:element name="Value" type="xs:date" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AnswerDateTimeType">
        <xs:sequence>
            <xs:element name="Default" type="xs:dateTime" minOccurs="0"/>
            <xs:element name="Value" type="xs:dateTime" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="AnswerYesNoUnknownType">
        <xs:sequence>
            <xs:element name="Default" type="id:YesNoUnknownType" minOccurs="0"/>
            <xs:element name="Value" type="id:YesNoUnknownType" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SectionType">
        <xs:sequence>
            <xs:element name="Heading" type="c:IDType" minOccurs="0"/>
            <xs:element name="Description" type="xs:token" minOccurs="0"/>
        </xs:sequence>
        <xs:attribute name="sectionID" type="id:SectionIDType" use="required"/>
    </xs:complexType>
    <xs:simpleType name="StandardFormIDType">
        <xs:restriction base="c:IDType">
            <!-- notStandard oder ( ID: NNNN.NNNN.NNNN und Version: -NNN )" -->
            <xs:pattern value="notStandard|[0-9]{4}\.[0-9]{4}\.[0-9]{4}-[0-9]{3}"/>
        </xs:restriction>
    </xs:simpleType>
    <!--
        Dialog -->


    <!-- simpleTypes -->
    <xs:simpleType name="OtherInsurancePredefinedType">
        <xs:annotation>
            
        </xs:annotation>
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="suva"/>
            <xs:enumeration value="otherCompulsoryAccidentInsurance"/>
            <xs:enumeration value="KTG-AMC"/>
            <xs:enumeration value="IV-AI"/>
            <xs:enumeration value="AHV-AVS"/>
            <xs:enumeration value="occupationalPreventionEstablishment"/>
            <xs:enumeration value="militaryInsurance"/>
            <xs:enumeration value="unemploymentInsurance"/>
            <xs:enumeration value="maternetyIdemnity"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="YesNoUnknownType">
        <xs:annotation>
            
        </xs:annotation>
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="yes"/>
            <!-- 1 -->
            <xs:enumeration value="no"/>
            <!-- 2 -->
            <xs:enumeration value="unknown"/>
            <!-- 9 -->
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="DaysType">
        <xs:restriction base="xs:decimal">
            <xs:minInclusive value="-9999.99"/>
            <xs:maxInclusive value="9999.99"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="SectionIDType">
        <xs:annotation>
            
        </xs:annotation>
        <xs:restriction base="xs:string">
            <xs:pattern value="#.*"/>
        </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="HoursAndIndustryMinutesType">
        <xs:restriction base="xs:decimal">
            <xs:pattern value="[0-9]+\.[0-9]{2}"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:simpleType name="ContentTypeType">
        <xs:annotation>
            
        </xs:annotation>
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="certificateOfIncapacityToWork"/>
            <xs:enumeration value="correspondence"/>
            <xs:enumeration value="invoice "/>
            <xs:enumeration value="other"/>
        </xs:restriction>
    </xs:simpleType>


    <!-- ** minor version **
        
        supported minor version (only to validate)
        attribute schemaVersion
    -->
    <xs:simpleType name="SupportedMinorSchemaVersionAttributeType">
        <xs:annotation>
            
            <xs:documentation xmlns:fo="http://www.w3.org/1999/XSL/Format">Versions "Minor" du schéma supportées</xs:documentation>
        </xs:annotation>
        <xs:restriction base="xs:decimal">
            <xs:pattern value="[0-9]\.[0-9]|[1-9]\d*\.[0-9]"/>
            <xs:enumeration value="0.0"/>
        </xs:restriction>
    </xs:simpleType>

</xs:schema>