<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.element-examples.org" targetNamespace="http://www.element-examples.org" elementFormDefault="qualified" version="14.8.0">
    <xsd:simpleType name="SampleKindIdType">
        <xsd:restriction base="xsd:integer">
            <xsd:minInclusive value="1"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="LaboratoryType">
        <xsd:annotation>
            <xsd:documentation>see codegroup 38</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:integer">
            <xsd:minInclusive value="1"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="CertificationType">
        <xsd:annotation>
            <xsd:documentation>see codegroup 48</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:integer">
            <xsd:minInclusive value="1"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="FractionType">
        <xsd:annotation>
            <xsd:documentation>see codegroup 99</xsd:documentation>
        </xsd:annotation>
        <xsd:restriction base="xsd:integer">
            <xsd:minInclusive value="1"/>
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:element name="LabDelivery">
        <xsd:annotation>
            <xsd:documentation>XSD bestand dat het SIKB0101 xml-bestand beschrijft voor de aanlevering van analysepakketinformatie</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="Links"/>
                <xsd:element ref="AnalysisSets"/>
                <xsd:element ref="Categories" minOccurs="0"/>
                <xsd:element ref="AnalysisLinks" minOccurs="0"/>
                <xsd:element ref="Clients" minOccurs="0"/>
                <xsd:element ref="LabSampleMatrices" minOccurs="0"/>                
                <xsd:element ref="SpecialAppointments" minOccurs="0"/>
                <xsd:element ref="Urgencies" minOccurs="0"/>
                <xsd:element ref="StorePeriods" minOccurs="0"/>
                <xsd:element name="Reports" minOccurs="0">
                    <xsd:complexType>
                        <xsd:sequence>
                            <xsd:element name="Report" maxOccurs="unbounded">
                                <xsd:complexType>
                                    <xsd:sequence>
                                        <xsd:element name="ReportId">
                                            <xsd:simpleType>
                                                <xsd:restriction base="xsd:string">
                                                    <xsd:maxLength value="10"/>
                                                </xsd:restriction>
                                            </xsd:simpleType>
                                        </xsd:element>
                                        <xsd:element ref="Description"/>
                                    </xsd:sequence>
                                </xsd:complexType>
                            </xsd:element>
                        </xsd:sequence>
                    </xsd:complexType>
                </xsd:element>
                <xsd:element name="FractionLinks" minOccurs="0">
                    <xsd:complexType>
                        <xsd:sequence>
                            <xsd:element name="FractionLink" maxOccurs="unbounded">
                                <xsd:complexType>
                                    <xsd:sequence>
                                        <xsd:element ref="AnalysisSetId"/>
                                        <xsd:element name="Fraction" maxOccurs="unbounded">
                                            <xsd:complexType>
                                                <xsd:sequence>
                                                    <xsd:element name="FractionId" type="FractionType">
                                                        <xsd:annotation>
                                                            <xsd:documentation>unieke id van de fractie</xsd:documentation>
                                                        </xsd:annotation>
                                                    </xsd:element>
                                                    <xsd:element ref="SampleKind" minOccurs="0"/>
                                                    <xsd:element ref="Description"/>
                                                </xsd:sequence>
                                            </xsd:complexType>
                                        </xsd:element>
                                    </xsd:sequence>
                                </xsd:complexType>
                            </xsd:element>
                        </xsd:sequence>
                    </xsd:complexType>
                </xsd:element>
            </xsd:sequence>
            <xsd:attribute name="version" type="xsd:string" use="optional"/>
            <xsd:attribute name="versionDeliveryData">
                <xsd:annotation>
                    <xsd:documentation>Kenmerk (versie) wat door het laboratorium aan de analysepakketinformatie is gegeven</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:string">
                        <xsd:maxLength value="10"/>
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:attribute>
            <xsd:attribute name="laboratory" type="LaboratoryType" use="optional">
                <xsd:annotation>
                    <xsd:documentation>Laboratorium waarvan aanleverbestand afkomstig is</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="language">
                <xsd:annotation>
                    <xsd:documentation>Taal van de xsd. Taalcode volgens ISO 639-2 (dut=dutch, eng=english)</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:string">
                        <xsd:maxLength value="3"/>
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:attribute>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="Links">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="Link" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="AnalysisSets">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="AnalysisSet" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="Categories">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="Category" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="AnalysisLinks">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="AnalysisLink" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="Clients">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="Client" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="LabSampleMatrices">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="LabSampleMatrix" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="SpecialAppointments">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="SpecialAppointment" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="Urgencies">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="Urgency" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="StorePeriods">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="StorePeriod" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="Link">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="AnalysisSetId"/>
                <xsd:element ref="ClientId" minOccurs="0"/>
                <xsd:element ref="SpecialAppointmentId" minOccurs="0"/>
                <xsd:element ref="LabSampleMatrixCode" minOccurs="0"/>
                <xsd:element ref="Price" minOccurs="0"/>
                <xsd:element name="CertificationId" type="CertificationType" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>Aanduiding onder welke certificering/accreditatie de analyses uitgevoerd moeten worden</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element ref="CategoryId" minOccurs="0"/>
                <xsd:element name="Accredited" type="xsd:boolean" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>0 | 1 </xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="AnalysisSet">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="AnalysisSetId"/>
                <xsd:element ref="Description"/>
                <xsd:element ref="Sequence" minOccurs="0"/>
                <xsd:element ref="MinimalDeliveryTime" minOccurs="0"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="Category">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="CategoryId"/>
                <xsd:element ref="Description"/>
                <xsd:element ref="Sequence" minOccurs="0"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="AnalysisLink">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="AnalysisSetId"/>
                <xsd:element ref="Analysis" maxOccurs="unbounded"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="Analysis">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="AnalysisId"/>
                <xsd:element ref="Description"/>
                <xsd:element ref="MinimalDeliveryTime" minOccurs="0"/>
                <xsd:element ref="Observation" minOccurs="0"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="Client">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="ClientId"/>
                <xsd:element ref="Description"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="LabSampleMatrix">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="CompartimentId" type="xsd:int">
                    <xsd:annotation>
                        <xsd:documentation>The Matrix SIKB ID of the Sample Matrix
                        Domeintabel: Compartiment </xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="CompartimentCode" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>The Matrix Aquo code of the Sample Matrix
                        Domeintabel: Compartiment </xsd:documentation>
                    </xsd:annotation>
                    <xsd:simpleType>
                        <xsd:restriction base="xsd:string">
                            <xsd:length value="20"/>
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:element>
                <xsd:element ref="LabSampleMatrixCode"/>
                <xsd:element ref="Description"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="SpecialAppointment">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="SpecialAppointmentId"/>
                <xsd:element ref="Description"/>
                <xsd:element name="startdate" type="xsd:date" minOccurs="0"/>
                <xsd:element name="finaldate" type="xsd:date" minOccurs="0"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="Urgency">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="UrgencyId"/>
                <xsd:element ref="Description"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="StorePeriod">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="StorePeriodId"/>
                <xsd:element ref="Description"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="AnalysisSetId">
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
                <xsd:maxLength value="20"/>
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="ClientId">
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
                <xsd:maxLength value="20"/>
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="LabSampleMatrixCode">
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
                <xsd:maxLength value="20"/>
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="SpecialAppointmentId" type="xsd:string"/>
    <xsd:element name="SampleKind" type="SampleKindIdType"/>
    <xsd:element name="Price" type="xsd:float"/>
    <xsd:element name="Description">
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
                <xsd:maxLength value="100"/>
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="Sequence" type="xsd:integer"/>
    <xsd:element name="MinimalDeliveryTime" type="xsd:integer"/>
    <xsd:element name="Observation">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="quantityId" type="xsd:int" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>De grootheid van de Waarneming (Aantal, Concentratie, Dikte, Temperatuur, pH)
Domeintabel: Parameter (in de groep: Grootheid)</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="parameterId" type="xsd:int" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>De parameter van de Waarneming ‘(ChemischeStof: lood, Object: Badgast)’
Domeintabel: Parameter (in de groep: Object, ChemischeStof)</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="conditionId" type="xsd:int" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>De hoedanigheid van de Waarneming ‘(Filtratie, Drooggewicht, Korrelfractiegroottes)’
Domeintabel: Hoedanigheid</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="unitId" type="xsd:int" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>De voorkeurs eenheid van de Waarneming
Domeintabel: Eenheid</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="biotaxonId" type="xsd:int" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>De parameter van de Waarneming uit de lijst Biotaxon
Domeintabel: Biotaxon</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="valueDeterminationMethodId" type="xsd:int" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>Methode waarop de meetwaarde bepaald gaat worden.
Domeintabel: Waardebepalingsmethode</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="valueDeterminationTechniqueId" type="xsd:int" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>Techniek waarmee de meetwaarde bepaald gaat worden.
Domeintabel: Waardebepalingstechniek</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="CategoryId" type="xsd:string"/>
    <xsd:element name="AnalysisId">
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
                <xsd:maxLength value="20"/>
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:element>
    <xsd:element name="UrgencyId" type="xsd:string"/>
    <xsd:element name="StorePeriodId" type="xsd:string"/>
</xsd:schema>