<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/EHEC_Server" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EHEC_Server" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Doctor">
    <xs:sequence>
      <xs:element minOccurs="0" name="DoctorId" type="xs:int" />
      <xs:element minOccurs="0" name="DoctorOrigin" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DoctorUid" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Exams" nillable="true" type="tns:ArrayOfExam" />
      <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Region" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Doctor" nillable="true" type="tns:Doctor" />
  <xs:complexType name="ArrayOfExam">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Exam" nillable="true" type="tns:Exam" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfExam" nillable="true" type="tns:ArrayOfExam" />
  <xs:complexType name="Exam">
    <xs:sequence>
      <xs:element minOccurs="0" name="Doctor" nillable="true" type="tns:Doctor" />
      <xs:element minOccurs="0" name="DoctorId" type="xs:int" />
      <xs:element minOccurs="0" name="ExamId" type="xs:int" />
      <xs:element minOccurs="0" name="ExamUid" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Origin_Exam" nillable="true" type="tns:ArrayOfOrigin_Exam" />
      <xs:element minOccurs="0" name="Patient" nillable="true" type="tns:Patient" />
      <xs:element minOccurs="0" name="PatientId" type="xs:int" />
      <xs:element minOccurs="0" name="Result" nillable="true" type="tns:Result" />
      <xs:element minOccurs="0" name="ResultId" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Exam" nillable="true" type="tns:Exam" />
  <xs:complexType name="ArrayOfOrigin_Exam">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Origin_Exam" nillable="true" type="tns:Origin_Exam" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOrigin_Exam" nillable="true" type="tns:ArrayOfOrigin_Exam" />
  <xs:complexType name="Origin_Exam">
    <xs:sequence>
      <xs:element minOccurs="0" name="Exam" nillable="true" type="tns:Exam" />
      <xs:element minOccurs="0" name="ExamId" type="xs:int" />
      <xs:element minOccurs="0" name="Origin" nillable="true" type="tns:Origin" />
      <xs:element minOccurs="0" name="OriginId" type="xs:int" />
      <xs:element minOccurs="0" name="Origin_ExamId" type="xs:int" />
      <xs:element minOccurs="0" name="Origin_ExamUid" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Origin_Exam" nillable="true" type="tns:Origin_Exam" />
  <xs:complexType name="Origin">
    <xs:sequence>
      <xs:element minOccurs="0" name="City" nillable="true" type="tns:City" />
      <xs:element minOccurs="0" name="CityId" type="xs:int" />
      <xs:element minOccurs="0" name="Food" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OriginId" type="xs:int" />
      <xs:element minOccurs="0" name="OriginUid" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Origin_Exam" nillable="true" type="tns:ArrayOfOrigin_Exam" />
      <xs:element minOccurs="0" name="Street" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Origin" nillable="true" type="tns:Origin" />
  <xs:complexType name="City">
    <xs:sequence>
      <xs:element minOccurs="0" name="CityId" type="xs:int" />
      <xs:element minOccurs="0" name="CityName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CityUid" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Origins" nillable="true" type="tns:ArrayOfOrigin" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="City" nillable="true" type="tns:City" />
  <xs:complexType name="ArrayOfOrigin">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Origin" nillable="true" type="tns:Origin" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOrigin" nillable="true" type="tns:ArrayOfOrigin" />
  <xs:complexType name="Patient">
    <xs:sequence>
      <xs:element minOccurs="0" name="BirthDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Exams" nillable="true" type="tns:ArrayOfExam" />
      <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PatientId" type="xs:int" />
      <xs:element minOccurs="0" name="PatientUid" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Region" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Street" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Patient" nillable="true" type="tns:Patient" />
  <xs:complexType name="Result">
    <xs:sequence>
      <xs:element minOccurs="0" name="Exams" nillable="true" type="tns:ArrayOfExam" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ResultId" type="xs:int" />
      <xs:element minOccurs="0" name="ResultUid" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Result" nillable="true" type="tns:Result" />
  <xs:complexType name="ArrayOfResult">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Result" nillable="true" type="tns:Result" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfResult" nillable="true" type="tns:ArrayOfResult" />
  <xs:complexType name="ArrayOfCity">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="City" nillable="true" type="tns:City" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCity" nillable="true" type="tns:ArrayOfCity" />
</xs:schema>