Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:InspectDoctorsReferal>
         <tem:doctorsReferal>PH-161-MP</tem:doctorsReferal>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:InspectDoctorsReferal>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <InspectDoctorsReferalResponse xmlns="http://tempuri.org/">
         <InspectDoctorsReferalResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList i:nil="true"/>
            <a:IdHistory>0</a:IdHistory>
            <a:Success>true</a:Success>
            <a:IdDoc>856</a:IdDoc>
            <a:IdLpu>17</a:IdLpu>
            <a:Id_Patient i:nil="true"/>
            <a:Type>консультация</a:Type>
         </InspectDoctorsReferalResult>
      </InspectDoctorsReferalResponse>
   </s:Body>
</s:Envelope>

Запрос

  <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
  <soapenv:Header/>
  <soapenv:Body>
     <tem:GetDistrictList>
        <tem:guid>YourGUID</tem:guid>
        <tem:idHistory>0</tem:idHistory>
     </tem:GetDistrictList>
  </soapenv:Body>
</soapenv:Envelope>

Ответ

  <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
     <GetDistrictListResponse xmlns="http://tempuri.org/">
        <GetDistrictListResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
           <a:ErrorList/>
           <a:IdHistory i:nil="true"/>
           <a:Success>true</a:Success>
           <a:Districts>
              <a:District>
                 <a:DistrictName>Адмиралтейский</a:DistrictName>
                 <a:IdDistrict>1</a:IdDistrict>
                 <a:Okato>40262</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Василеостровский</a:DistrictName>
                 <a:IdDistrict>2</a:IdDistrict>
                 <a:Okato>40263</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Выборгский</a:DistrictName>
                 <a:IdDistrict>3</a:IdDistrict>
                 <a:Okato>40265</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Калининский</a:DistrictName>
                 <a:IdDistrict>4</a:IdDistrict>
                 <a:Okato>40273</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Кировский</a:DistrictName>
                 <a:IdDistrict>5</a:IdDistrict>
                 <a:Okato>40276</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Колпинский</a:DistrictName>
                 <a:IdDistrict>6</a:IdDistrict>
                 <a:Okato>40277</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Красногвардейский</a:DistrictName>
                 <a:IdDistrict>7</a:IdDistrict>
                 <a:Okato>40278</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Красносельский</a:DistrictName>
                 <a:IdDistrict>8</a:IdDistrict>
                 <a:Okato>40279</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Кронштадтский</a:DistrictName>
                 <a:IdDistrict>9</a:IdDistrict>
                 <a:Okato>40280</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Курортный</a:DistrictName>
                 <a:IdDistrict>10</a:IdDistrict>
                 <a:Okato>40281</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Московский</a:DistrictName>
                 <a:IdDistrict>11</a:IdDistrict>
                 <a:Okato>40284</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Невский</a:DistrictName>
                 <a:IdDistrict>12</a:IdDistrict>
                 <a:Okato>40285</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Петроградский</a:DistrictName>
                 <a:IdDistrict>13</a:IdDistrict>
                 <a:Okato>40288</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Петродворцовый</a:DistrictName>
                 <a:IdDistrict>14</a:IdDistrict>
                 <a:Okato>40290</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Приморский</a:DistrictName>
                 <a:IdDistrict>15</a:IdDistrict>
                 <a:Okato>40270</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Пушкинский</a:DistrictName>
                 <a:IdDistrict>16</a:IdDistrict>
                 <a:Okato>40294</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Фрунзенский</a:DistrictName>
                 <a:IdDistrict>17</a:IdDistrict>
                 <a:Okato>40296</a:Okato>
              </a:District>
              <a:District>
                 <a:DistrictName>Центральный</a:DistrictName>
                 <a:IdDistrict>18</a:IdDistrict>
                 <a:Okato>40298</a:Okato>
              </a:District>
           </a:Districts>
        </GetDistrictListResult>
     </GetDistrictListResponse>
  </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetLPUList>
         <tem:IdDistrict>1</tem:IdDistrict>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:GetLPUList>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetLPUListResponse xmlns="http://tempuri.org/">
         <GetLPUListResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:ListLPU>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>440</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Городская больница №28 Максимилиановская"</a:LPUFullName>
                  <a:LPUShortName>ГБ №28</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>5</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Городская поликлиника №24"</a:LPUFullName>
                  <a:LPUShortName>ГП №24</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>22</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Городская поликлиника №24" Детское поликлиническое отделение</a:LPUFullName>
                  <a:LPUShortName>ГП №24 ДПО</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>1</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Городская поликлиника №27"</a:LPUFullName>
                  <a:LPUShortName>ГП №27</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>17</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Городская поликлиника №27" Детское поликлиническое отделение</a:LPUFullName>
                  <a:LPUShortName>ГП №27 ДПО</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>2</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Городская поликлиника №28"</a:LPUFullName>
                  <a:LPUShortName>ГП №28</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>341</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Детская стоматологическая поликлиника №6"</a:LPUFullName>
                  <a:LPUShortName>ДСП №6</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>445</a:IdLPU>
                  <a:LPUFullName>СПб ГУЗ "Женская консультация №18" Центр женского и мужского здоровья</a:LPUFullName>
                  <a:LPUShortName>ЖК 18 ЦЗ</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>6</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Женская консультация №18" отделение №1</a:LPUFullName>
                  <a:LPUShortName>ЖК 18, О1</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>7</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Женская консультация №18" отделение №2</a:LPUFullName>
                  <a:LPUShortName>ЖК 18, О2</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>337</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Стоматологическая поликлиника №14"</a:LPUFullName>
                  <a:LPUShortName>СП №14</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>350</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Стоматологическая поликлиника №16"</a:LPUFullName>
                  <a:LPUShortName>СП №16</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
               <a:Clinic>
                  <a:Description i:nil="true"/>
                  <a:District>1</a:District>
                  <a:IdLPU>371</a:IdLPU>
                  <a:LPUFullName>СПб ГБУЗ "Центр по профилактике и борьбе со СПИД и инфекционными заболеваниями"</a:LPUFullName>
                  <a:LPUShortName>Центр СПИД</a:LPUShortName>
                  <a:LPUType>0</a:LPUType>
               </a:Clinic>
            </a:ListLPU>
         </GetLPUListResult>
      </GetLPUListResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:CheckPatient>
         <tem:pat>
            <hub:AriaNumber xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:Birthday>1972-11-29T00:00:00</hub:Birthday>
            <hub:CellPhone xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:Document_N xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:Document_S xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:HomePhone xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:IdPat xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:Name>Андрей</hub:Name>
            <hub:Polis_N xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:Polis_S xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:SecondName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:Snils xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <hub:Surname>Король</hub:Surname>
         </tem:pat>
         <tem:idLpu>511125</tem:idLpu>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
      </tem:CheckPatient>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <CheckPatientResponse xmlns="http://tempuri.org/">
         <CheckPatientResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:IdPat>824178</a:IdPat>
         </CheckPatientResult>
      </CheckPatientResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetSpesialityList>
         <tem:idLpu>1872</tem:idLpu>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:GetSpesialityList>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetSpesialityListResponse xmlns="http://tempuri.org/">
         <GetSpesialityListResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList i:nil="true"/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:ListSpesiality>
               <a:Spesiality>
                  <a:CountFreeParticipantIE>0</a:CountFreeParticipantIE>
                  <a:CountFreeTicket>0</a:CountFreeTicket>
                  <a:FerIdSpesiality>19</a:FerIdSpesiality>
                  <a:IdSpesiality>26180</a:IdSpesiality>
                  <a:LastDate i:nil="true"/>
                  <a:NameSpesiality>Отоларинголог</a:NameSpesiality>
                  <a:NearestDate i:nil="true"/>
               </a:Spesiality>
               <a:Spesiality>
                  <a:CountFreeParticipantIE>0</a:CountFreeParticipantIE>
                  <a:CountFreeTicket>0</a:CountFreeTicket>
                  <a:FerIdSpesiality>30</a:FerIdSpesiality>
                  <a:IdSpesiality>26206</a:IdSpesiality>
                  <a:LastDate i:nil="true"/>
                  <a:NameSpesiality>Уролог</a:NameSpesiality>
                  <a:NearestDate i:nil="true"/>
               </a:Spesiality>
               <a:Spesiality>
                  <a:CountFreeParticipantIE>0</a:CountFreeParticipantIE>
                  <a:CountFreeTicket>0</a:CountFreeTicket>
                  <a:FerIdSpesiality>30</a:FerIdSpesiality>
                  <a:IdSpesiality>26210</a:IdSpesiality>
                  <a:LastDate i:nil="true"/>
                  <a:NameSpesiality>Хирург</a:NameSpesiality>
                  <a:NearestDate i:nil="true"/>
               </a:Spesiality>
            </a:ListSpesiality>
            <a:LpuChanges>C 11.01.2017 по 11.03.2017 ремонт корпуса 3.</a:LpuChanges>
         </GetSpesialityListResult>
      </GetSpesialityListResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetDoctorList>
         <tem:idSpesiality>26180</tem:idSpesiality>
         <tem:idLpu>1872</tem:idLpu>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:GetDoctorList>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetDoctorListResponse xmlns="http://tempuri.org/">
         <GetDoctorListResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList i:nil="true"/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:Docs>
               <a:Doctor>
                  <a:AriaNumber>12</a:AriaNumber>
                  <a:Comment>С 05.12 по 16.12 в отпуске</a:Comment>
                  <a:CountFreeParticipantIE>0</a:CountFreeParticipantIE>
                  <a:CountFreeTicket>0</a:CountFreeTicket>
                  <a:IdDoc>13444</a:IdDoc>
                  <a:LastDate i:nil="true"/>
                  <a:Name>Ястремская Любовь Михайловна</a:Name>
                  <a:NearestDate i:nil="true"/>
                  <a:Snils>134-673-835 68</a:Snils>
               </a:Doctor>
            </a:Docs>
         </GetDoctorListResult>
      </GetDoctorListResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetAvailableDates>
         <tem:idDoc>13</tem:idDoc>
         <tem:idLpu>1</tem:idLpu>
         <tem:idPat>824178</tem:idPat>
         <tem:visitStart>2014-03-21T00:00:00.000</tem:visitStart>
         <tem:visitEnd>2014-04-25T00:00:00.000</tem:visitEnd>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:GetAvailableDates>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetAvailableDatesResponse xmlns="http://tempuri.org/">
         <GetAvailableDatesResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory>0</a:IdHistory>
            <a:Success>true</a:Success>
            <a:AvailableDateList xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
               <b:dateTime>2014-03-21T00:00:00</b:dateTime>
               <b:dateTime>2014-03-24T00:00:00</b:dateTime>
               <b:dateTime>2014-03-25T00:00:00</b:dateTime>
               <b:dateTime>2014-03-26T00:00:00</b:dateTime>
               <b:dateTime>2014-03-27T00:00:00</b:dateTime>
               <b:dateTime>2014-03-28T00:00:00</b:dateTime>
               <b:dateTime>2014-03-31T00:00:00</b:dateTime>
            </a:AvailableDateList>
         </GetAvailableDatesResult>
      </GetAvailableDatesResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetAvaibleAppointments>
         <tem:idDoc>13444</tem:idDoc>
         <tem:idLpu>1872</tem:idLpu>
         <tem:visitStart>2016-11-16T00:00:00.000</tem:visitStart>
         <tem:visitEnd>2016-11-17T00:00:00.000</tem:visitEnd>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:GetAvaibleAppointments>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetAvaibleAppointmentsResponse xmlns="http://tempuri.org/">
         <GetAvaibleAppointmentsResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList i:nil="true"/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:ListAppointments>
               <a:Appointment>
                  <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                  <a:IdAppointment>1249202</a:IdAppointment>
                  <a:Num>1</a:Num>
                  <a:Room>410</a:Room>
                  <a:VisitEnd>2016-11-16T09:10:00</a:VisitEnd>
                  <a:VisitStart>2016-11-16T09:00:00</a:VisitStart>
               </a:Appointment>
               <a:Appointment>
                  <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                  <a:IdAppointment>1249201</a:IdAppointment>
                  <a:Num>2</a:Num>
                  <a:Room>410</a:Room>
                  <a:VisitEnd>2016-11-16T09:20:00</a:VisitEnd>
                  <a:VisitStart>2016-11-16T09:10:00</a:VisitStart>
               </a:Appointment>
               <a:Appointment>
                  <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                  <a:IdAppointment>1249200</a:IdAppointment>
                  <a:Num>3</a:Num>
                  <a:Room>410</a:Room>
                  <a:VisitEnd>2016-11-16T09:30:00</a:VisitEnd>
                  <a:VisitStart>2016-11-16T09:20:00</a:VisitStart>
               </a:Appointment>
               <a:Appointment>
                  <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                  <a:IdAppointment>1249194</a:IdAppointment>
                  <a:Num>9</a:Num>
                  <a:Room>410</a:Room>
                  <a:VisitEnd>2016-11-16T10:40:00</a:VisitEnd>
                  <a:VisitStart>2016-11-16T10:30:00</a:VisitStart>
               </a:Appointment>
               <a:Appointment>
                  <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                  <a:IdAppointment>1249193</a:IdAppointment>
                  <a:Num>10</a:Num>
                  <a:Room>410</a:Room>
                  <a:VisitEnd>2016-11-16T10:50:00</a:VisitEnd>
                  <a:VisitStart>2016-11-16T10:40:00</a:VisitStart>
               </a:Appointment>
               <a:Appointment>
                  <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                  <a:IdAppointment>1249190</a:IdAppointment>
                  <a:Num>13</a:Num>
                  <a:Room>410</a:Room>
                  <a:VisitEnd>2016-11-16T11:30:00</a:VisitEnd>
                  <a:VisitStart>2016-11-16T11:10:00</a:VisitStart>
               </a:Appointment>
            </a:ListAppointments>
         </GetAvaibleAppointmentsResult>
      </GetAvaibleAppointmentsResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SetAppointment>
         <tem:idAppointment>1249202</tem:idAppointment>
         <tem:idLpu>1872</tem:idLpu>
         <tem:idPat>384012489</tem:idPat>
         <tem:guid>YourGUID</tem:guid>
      </tem:SetAppointment>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SetAppointmentResponse xmlns="http://tempuri.org/">
         <SetAppointmentResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList i:nil="true"/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:Type>отсутстствует_неопределено</a:Type>
         </SetAppointmentResult>
      </SetAppointmentResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2">
  <soapenv:Header />
  <soapenv:Body>
    <tem:SearchTop10Patient>
      <tem:pat>
        <hub:Name>Анд%</hub:Name>
        <hub:SecondName>Максимович</hub:SecondName>
        <hub:Surname>Король</hub:Surname>
      </tem:pat>
      <tem:idLpu>1</tem:idLpu>
      <tem:guid>YourGUID</tem:guid>
    </tem:SearchTop10Patient>
  </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SearchTop10PatientResponse xmlns="http://tempuri.org/">
         <SearchTop10PatientResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>false</a:Success>
            <a:ListPatient>
               <a:Patient>
                  <a:AriaNumber>ГП 27, ВПО(1-уч)</a:AriaNumber>
                  <a:Birthday>1972-11-29T00:00:00</a:Birthday>
                  <a:CellPhone>2222222222</a:CellPhone>
                  <a:Document_N/>
                  <a:Document_S/>
                  <a:HomePhone>9876543</a:HomePhone>
                  <a:IdPat>824178</a:IdPat>
                  <a:Name>Андрей</a:Name>
                  <a:Polis_N/>
                  <a:Polis_S/>
                  <a:SecondName>Максимович</a:SecondName>
                  <a:Snils i:nil="true"/>
                  <a:Surname>Король</a:Surname>
               </a:Patient>
               <a:Patient>
                  <a:AriaNumber/>
                  <a:Birthday>1987-12-14T00:00:00</a:Birthday>
                  <a:CellPhone/>
                  <a:Document_N/>
                  <a:Document_S/>
                  <a:HomePhone/>
                  <a:IdPat>3497317</a:IdPat>
                  <a:Name>Андрей</a:Name>
                  <a:Polis_N/>
                  <a:Polis_S/>
                  <a:SecondName>Максимович</a:SecondName>
                  <a:Snils i:nil="true"/>
                  <a:Surname>Король</a:Surname>
               </a:Patient>
               <a:Patient>
                  <a:AriaNumber/>
                  <a:Birthday>1989-11-29T00:00:00</a:Birthday>
                  <a:CellPhone/>
                  <a:Document_N/>
                  <a:Document_S/>
                  <a:HomePhone/>
                  <a:IdPat>3497318</a:IdPat>
                  <a:Name>Андрей</a:Name>
                  <a:Polis_N/>
                  <a:Polis_S/>
                  <a:SecondName>Максимович</a:SecondName>
                  <a:Snils i:nil="true"/>
                  <a:Surname>Король</a:Surname>
               </a:Patient>
               <a:Patient>
                  <a:AriaNumber/>
                  <a:Birthday>1989-05-21T00:00:00</a:Birthday>
                  <a:CellPhone/>
                  <a:Document_N/>
                  <a:Document_S/>
                  <a:HomePhone/>
                  <a:IdPat>3497319</a:IdPat>
                  <a:Name>Андрей</a:Name>
                  <a:Polis_N/>
                  <a:Polis_S/>
                  <a:SecondName>Максимович</a:SecondName>
                  <a:Snils i:nil="true"/>
                  <a:Surname>Король</a:Surname>
               </a:Patient>
               <a:Patient>
                  <a:AriaNumber/>
                  <a:Birthday>1996-05-20T00:00:00</a:Birthday>
                  <a:CellPhone/>
                  <a:Document_N/>
                  <a:Document_S/>
                  <a:HomePhone/>
                  <a:IdPat>3497320</a:IdPat>
                  <a:Name>Андрей</a:Name>
                  <a:Polis_N/>
                  <a:Polis_S/>
                  <a:SecondName>Максимович</a:SecondName>
                  <a:Snils i:nil="true"/>
                  <a:Surname>Король</a:Surname>
               </a:Patient>
            </a:ListPatient>
         </SearchTop10PatientResult>
      </SearchTop10PatientResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:AddNewPatient>
         <tem:patient>
            <hub:Birthday>1974-06-09T00:00:00</hub:Birthday>
            <hub:Name>Николай</hub:Name>
            <hub:Polis_N>7853720840001362 </hub:Polis_N>
            <hub:SecondName>Юрьевич</hub:SecondName>
            <hub:Surname>Лосев</hub:Surname>
         </tem:patient>
         <tem:idLpu>1872</tem:idLpu>
         <tem:approvedByTfoms>true</tem:approvedByTfoms>
         <tem:guid>YourGUID</tem:guid>
      </tem:AddNewPatient>
   </soapenv:Body>
</soapenv:Envelope>
<h3 id="respAddNewPatient">Ответ</h3> <pre> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <AddNewPatientResponse xmlns="http://tempuri.org/"> <AddNewPatientResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <a:ErrorList i:nil="true"/> <a:IdHistory i:nil="true"/> <a:Success>true</a:Success> <a:IdPat>384012555</a:IdPat> </AddNewPatientResult> </AddNewPatientResponse> </s:Body> </s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:UpdatePhoneByIdPat>
         <tem:idLpu>1</tem:idLpu>
         <tem:idPat>1</tem:idPat>
         <tem:homePhone>1234567</tem:homePhone>
         <tem:cellPhone>9211231123</tem:cellPhone>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:UpdatePhoneByIdPat>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <UpdatePhoneByIdPatResponse xmlns="http://tempuri.org/">
         <UpdatePhoneByIdPatResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
         </UpdatePhoneByIdPatResult>
      </UpdatePhoneByIdPatResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetPatientHistory>
         <tem:idLpu>1</tem:idLpu>
         <tem:idPat>824178</tem:idPat>
         <tem:guid>YourGUID</tem:guid>
      </tem:GetPatientHistory>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetPatientHistoryResponse xmlns="http://tempuri.org/">
         <GetPatientHistoryResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:ListHistoryRefusal/>
            <a:ListHistoryVisit>
               <a:HistoryVisit>
                  <a:DateCreatedAppointment>2014-03-21T15:29:16</a:DateCreatedAppointment>
                  <a:DoctorBringReferal>
                     <a:AriaNumber i:nil="true"/>
                     <a:IdDoc i:nil="true"/>
                     <a:Name/>
                  </a:DoctorBringReferal>
                  <a:DoctorRendingConsultation>
                     <a:AriaNumber i:nil="true"/>
                     <a:IdDoc i:nil="true"/>
                     <a:Name>Артеева Наталья Тихоновна</a:Name>
                  </a:DoctorRendingConsultation>
                  <a:IdAppointment>24031408000000013006</a:IdAppointment>
                  <a:SpecialityBringReferal>
                     <a:FerIdSpesiality i:nil="true"/>
                     <a:IdSpesiality i:nil="true"/>
                     <a:NameSpesiality>Терапевт</a:NameSpesiality>
                  </a:SpecialityBringReferal>
                  <a:SpecialityRendingConsultation i:nil="true"/>
                  <a:UserCreatedAppointment>
                     <a:UserName>Иванов Иван Иванович</a:UserName>
                     <a:UserPosition>отсутстствует_неопределено</a:UserPosition>
                  </a:UserCreatedAppointment>
                  <a:VisitStart>2014-03-24T08:00:00</a:VisitStart>
               </a:HistoryVisit>
            </a:ListHistoryVisit>
         </GetPatientHistoryResult>
      </GetPatientHistoryResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
  <soapenv:Header />
  <soapenv:Body>
    <tem:CreateClaimForRefusal>
      <tem:idLpu>1</tem:idLpu>
      <tem:idPat>824178</tem:idPat>
      <tem:idAppointment>30101316000000013006</tem:idAppointment>
      <tem:guid>YourGUID</tem:guid>
      <tem:idHistory xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
    </tem:CreateClaimForRefusal>
  </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <CreateClaimForRefusalResponse xmlns="http://tempuri.org/">
      <CreateClaimForRefusalResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <a:ErrorList />
        <a:IdHistory i:nil="true" />
        <a:Success>true</a:Success>
      </CreateClaimForRefusalResult>
    </CreateClaimForRefusalResponse>
  </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetWorkingTime>
         <tem:idDoc>13</tem:idDoc>
         <tem:idLpu>1</tem:idLpu>
         <tem:visitStart>2013-10-07T00:00:00.000</tem:visitStart>
         <tem:visitEnd>2013-10-10T00:00:00.000</tem:visitEnd>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:GetWorkingTime>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetWorkingTimeResponse xmlns="http://tempuri.org/">
         <GetWorkingTimeResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList i:nil="true"/>
            <a:IdHistory>0</a:IdHistory>
            <a:Success>true</a:Success>
            <a:WorkingTimeList>
               <a:WorkingTime>
                  <a:DenyCause/>
                  <a:RecordableDay>true</a:RecordableDay>
                  <a:VisitEnd>2013-10-07T19:00:00</a:VisitEnd>
                  <a:VisitStart>2013-10-07T14:00:00</a:VisitStart>
               </a:WorkingTime>
               <a:WorkingTime>
                  <a:DenyCause/>
                  <a:RecordableDay>true</a:RecordableDay>
                  <a:VisitEnd>2013-10-08T19:00:00</a:VisitEnd>
                  <a:VisitStart>2013-10-08T14:00:00</a:VisitStart>
               </a:WorkingTime>
               <a:WorkingTime>
                  <a:DenyCause/>
                  <a:RecordableDay>true</a:RecordableDay>
                  <a:VisitEnd>2013-10-10T14:00:00</a:VisitEnd>
                  <a:VisitStart>2013-10-10T08:30:00</a:VisitStart>
               </a:WorkingTime>
            </a:WorkingTimeList>
         </GetWorkingTimeResult>
      </GetWorkingTimeResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SetWaitingList>
         <tem:idSpesiality>73</tem:idSpesiality>
         <tem:nameSpesiality>Терапевт</tem:nameSpesiality>
         <tem:idLpu>1</tem:idLpu><tem:rule>
            <hub:End>2014-05-22T00:00:00.000+04:00</hub:End>
            <hub:Start>2014-05-25T00:00:00.000+04:00</hub:Start>
         </tem:rule>
         <tem:claim>отсутствуют_свободные_талоны</tem:claim>
         <tem:idPat>824178</tem:idPat>
         <tem:namePat>Король Андрей Максимович</tem:namePat>
         <tem:birthday>1972-11-29</tem:birthday><tem:phone xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
         <tem:guid>YourGUID</tem:guid>
      </tem:SetWaitingList>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SetWaitingListResponse xmlns="http://tempuri.org/">
         <SetWaitingListResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
     <a:GuidClaim>BBB0586D-5A20-4AAD-8072-06331167B152</a:GuidClaim>
         </SetWaitingListResult>
      </SetWaitingListResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetDocListFullTree>
         <tem:idLpu>1</tem:idLpu>
         <tem:idPat>824178</tem:idPat>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:GetDocListFullTree>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetDocListFullTreeResponse xmlns="http://tempuri.org/">
         <GetDocListFullTreeResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory>0</a:IdHistory>
            <a:Success>true</a:Success>
            <a:ListDoctor>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>1272</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Метелева Лариса Александровна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>814</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Рябых Елена Алексеевна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Гастроэнтеролог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>896</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Набугорнова Татьяна Васильевна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Гинеколог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>151</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Брагин Вадим Григорьевич</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>153</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Шилова Ирина Михайловна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Инфекционист</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>935</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Юрченко Александр Васильевич</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Кардиолог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>1286</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Медсестра Д Д</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Медсестра_ДД</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>15</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Белова Ирина Георгиевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>17</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Вермель Инна Израйлевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>1145</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Петрова Елизавета Леонидовна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Невролог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>161</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Корытов Олег Витальевич</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>34</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Махкамов Абдуали Сулайманович</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Онколог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>35</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Москаленко Сергей Николаевич</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Отоларинголог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>14</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Баринова Ольга Петровна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>899</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Бережнова Юлия Александровна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>158</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Калайджян Рузан Левоновна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>42</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Пчелина Елена Николаевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>792</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Решетко Надежда Александровна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>44</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Родионова Анна Анатольевна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Офтальмолог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>28</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Кокорина Галина Николаевна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Пульмонолог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>16</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Веремей Надежда Дмитриевна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Ревматолог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description>(30-уч)</a:Description>
                        <a:IdEssence>13</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Артеева Наталья Тихоновна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(27-уч)</a:Description>
                        <a:IdEssence>205</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Головкова Светлана Владимировна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(32-уч)</a:Description>
                        <a:IdEssence>143</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Горбунова Марина Юрьевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(14-уч)</a:Description>
                        <a:IdEssence>20</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Гудачева Вера Иосифовна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(25-уч)</a:Description>
                        <a:IdEssence>21</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Гулуева Рашида Тохтасыновна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(8-уч)</a:Description>
                        <a:IdEssence>921</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Данилкин Виктор Иванович</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>1281</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Диспансеризация 2013</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(5-уч)</a:Description>
                        <a:IdEssence>24</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Ефремкин Иван Александрович</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(11-уч,12-уч)</a:Description>
                        <a:IdEssence>144</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Журова Светлана Александровна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(9-уч)</a:Description>
                        <a:IdEssence>145</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Корнилова Галина Алексеевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(13-уч)</a:Description>
                        <a:IdEssence>147</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Кулемина Елена Васильевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(36-уч)</a:Description>
                        <a:IdEssence>30</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Кулина Людмила Павловна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(34-уч)</a:Description>
                        <a:IdEssence>888</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Кучеренко Ольга Андреевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(17-уч)</a:Description>
                        <a:IdEssence>33</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Ларькина Альбина Ивановна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(23-уч)</a:Description>
                        <a:IdEssence>1061</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Меликова Татьяна Игоревна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(16-уч)</a:Description>
                        <a:IdEssence>36</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Науменко Елена Викторовна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(10-уч)</a:Description>
                        <a:IdEssence>211</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Нестеров Александр Иванович</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>148</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Папаскири Нана Александровна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(24-уч)</a:Description>
                        <a:IdEssence>43</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Разживина Лидия Андреевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(6-уч)</a:Description>
                        <a:IdEssence>45</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Рулева Татьяна Владимировна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(28-уч)</a:Description>
                        <a:IdEssence>48</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Суслова Татьяна Владимировна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description>(15-уч,99-уч)</a:Description>
                        <a:IdEssence>49</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Шония Нонна Макаровна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Терапевт</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>26</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Князева Елена Сергеевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>256</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Сагалович Леонид Борисович</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>846</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Серёженков Александр Владимирович</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Уролог</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>810</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Макарова Наталья Евгеньевна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Физиотерапевт</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>37</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Нестерова Антонина Яковлевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>890</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Пальцев Владимир Олегович</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>38</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Пересторонин Анатолий Николаевич</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>845</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Свитич Юрий Михайлович</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>416</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Шуткин Александр Владимирович</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Хирург</a:NameEssence>
               </a:Essence>
               <a:Essence>
                  <a:Description i:nil="true"/>
                  <a:IdEssence i:nil="true"/>
                  <a:ListEssence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>1259</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Бурдина Екатерина Александровна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>250</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Сёмина Светлана Анатольевна</a:NameEssence>
                     </a:Essence>
                     <a:Essence>
                        <a:Description i:nil="true"/>
                        <a:IdEssence>50</a:IdEssence>
                        <a:ListEssence/>
                        <a:NameEssence>Ядрышникова Галина Владимировна</a:NameEssence>
                     </a:Essence>
                  </a:ListEssence>
                  <a:NameEssence>Эндокринолог</a:NameEssence>
               </a:Essence>
            </a:ListDoctor>
         </GetDocListFullTreeResult>
      </GetDocListFullTreeResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetHubUserByGuid>
         <tem:usersGuid>64ee3ca4-ceeb-4815-89e0-128fcb35fd6d</tem:usersGuid>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>0</tem:idHistory>
      </tem:GetHubUserByGuid>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

Пример ответа, где пользователем является оператор

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetHubUserByGuidResponse xmlns="http://tempuri.org/">
         <GetHubUserByGuidResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:HubUserList>
               <a:HubUser>
                  <a:UserName>Никитаева Наталия Васильевна</a:UserName>
                  <a:UserPosition>оператор</a:UserPosition>
                  <a:IdDistrict>4</a:IdDistrict>
                  <a:PublicGuid>64ee3ca4-ceeb-4815-89e0-128fcb35fd6d</a:PublicGuid>
               </a:HubUser>
            </a:HubUserList>
         </GetHubUserByGuidResult>
      </GetHubUserByGuidResponse>
   </s:Body>
</s:Envelope>

Пример ответа, где пользователем является система

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetHubUserByGuidResponse xmlns="http://tempuri.org/">
         <GetHubUserByGuidResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:HubUserList>
               <a:HubUser>
                  <a:UserName>Самсон</a:UserName>
                  <a:UserPosition>система</a:UserPosition>
                  <a:IdDistrict i:nil="true"/>
                  <a:PublicGuid>67e63ab5-1228-4d8f-8006-0cb90c17fc5e</a:PublicGuid>
               </a:HubUser>
            </a:HubUserList>
         </GetHubUserByGuidResult>
      </GetHubUserByGuidResponse>
   </s:Body>
</s:Envelope>

Запрос

Пример запроса при передаче уведомления «онлайн»

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2">
    <soapenv:Header/>
    <soapenv:Body>
       <tem:SendNotificationAboutAppointment>
          <tem:doctor>
             <hub:IdDoc>38</hub:IdDoc>
             <hub:Name>Буров Артём Тимофеевич</hub:Name>
             <hub:Snils>11876065990</hub:Snils>
          </tem:doctor>
          <tem:spesiality>
             <hub:FerIdSpesiality>27</hub:FerIdSpesiality>
             <hub:IdSpesiality>1</hub:IdSpesiality>
             <hub:NameSpesiality>Терапевт</hub:NameSpesiality>
          </tem:spesiality>
          <tem:idLpu>31</tem:idLpu><tem:patient>
             <hub:Birthday>1986-06-07T00:00:00</hub:Birthday>
             <hub:IdPat>758</hub:IdPat>
             <hub:Name>Андрей</hub:Name>
             <hub:Polis_N>5653310842002156</hub:Polis_N>
             <hub:SecondName>Игоревич</hub:SecondName>
             <hub:Surname>Иванов</hub:Surname>
          </tem:patient>
          <tem:appointment xsi:type="hub:Appointment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <hub:IdAppointment>30-09-2018 14:00</hub:IdAppointment>
 <hub:VisitEnd>2018-09-30T14:30:00.000</hub:VisitEnd>
 <hub:VisitStart>2018-09-30T14:00:00.000</hub:VisitStart>
 </tem:appointment>
          <tem:appointmentSource>Регистратура</tem:appointmentSource>
          <tem:guid>YourGUID</tem:guid>
          <tem:fedIdPosition>109</tem:fedIdPosition>
       </tem:SendNotificationAboutAppointment>
    </soapenv:Body>
 </soapenv:Envelope> 

Пример запроса при пакетной передаче уведомлений «постфактум»

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2">
    <soapenv:Header/>
    <soapenv:Body>
       <tem:SendNotificationAboutAppointment>
          <tem:doctor>
             <hub:IdDoc>38</hub:IdDoc>
             <hub:Name>Буров Артём Тимофеевич</hub:Name>
             <hub:Snils>11876065990</hub:Snils>
          </tem:doctor>
          <tem:spesiality>
             <hub:FerIdSpesiality>27</hub:FerIdSpesiality>
             <hub:IdSpesiality>1</hub:IdSpesiality>
             <hub:NameSpesiality>Терапевт</hub:NameSpesiality>
          </tem:spesiality>
          <tem:idLpu>31</tem:idLpu><tem:patient>
             <hub:Birthday>1986-06-07T00:00:00</hub:Birthday>
             <hub:IdPat>758</hub:IdPat>
             <hub:Name>Андрей</hub:Name>
             <hub:Polis_N>5653310842002156</hub:Polis_N>
             <hub:SecondName>Игоревич</hub:SecondName>
             <hub:Surname>Иванов</hub:Surname>
          </tem:patient>
          <tem:appointment xsi:type="hub:NoticeAppointment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <hub:IdAppointment>468486885769699</hub:IdAppointment>
    <hub:VisitEnd>2017-112018-09-30T14:4930:00.000</hub:VisitEnd>
    <hub:VisitStart>2017-112018-09-30T14:4900:00.000</hub:VisitStart>
    <hub:EventDateTime>2017-11-29T132018-09-26T13:19:00.000</hub:EventDateTime>
 </tem:appointment>
          <tem:appointmentSource>Прочее</tem:appointmentSource>
          <tem:guid>YourGUID</tem:guid>
          <tem:member>PublicMemberGUID</tem:member>
           <tem:fedIdPosition>109</tem:fedIdPosition>
       </tem:SendNotificationAboutAppointment>
    </soapenv:Body>
 </soapenv:Envelope> 

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SendNotificationAboutAppointmentResponse xmlns="http://tempuri.org/">
         <SendNotificationAboutAppointmentResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:IdNotification>21414</a:IdNotification>
         </SendNotificationAboutAppointmentResult>
      </SendNotificationAboutAppointmentResponse>
   </s:Body>
</s:Envelope>

Запрос

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">
   <soap:Header/>
   <soap:Body>
      <tem:SendNotificationAboutAppointmentStatus>
         <tem:idNotification>36</tem:idNotification>
         <tem:guid>YourGUID</tem:guid>
         <tem:status>посещение_состоялось</tem:status>
         <tem:eventDatetime>2013-07-31T12:00:00</tem:eventDatetime>
         <tem:idHistory>343434</tem:idHistory>
      </tem:SendNotificationAboutAppointmentStatus>
   </soap:Body>
</soap:Envelope>

Ответ

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
   <s:Body>
      <SendNotificationAboutAppointmentStatusResponse xmlns="http://tempuri.org/">
         <SendNotificationAboutAppointmentStatusResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
         </SendNotificationAboutAppointmentStatusResult>
      </SendNotificationAboutAppointmentStatusResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetPatientsAreas>
         <tem:idLpu>1</tem:idLpu>
         <tem:idPat>23</tem:idPat>
         <tem:guid>YourGUID</tem:guid>
         <tem:idHistory>1</tem:idHistory>
      </tem:GetPatientsAreas>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetPatientsAreasResponse xmlns="http://tempuri.org/">
         <GetPatientsAreasResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory>1</a:IdHistory>
            <a:Success>true</a:Success>
            <a:PatientsAreaList>
               <a:PatientsArea>
                  <a:Area>Test Area 1</a:Area>
                  <a:AreaType>Фельдшерский</a:AreaType>
               </a:PatientsArea>
               <a:PatientsArea>
                  <a:Area>Test Area 2</a:Area>
                  <a:AreaType>Терапевтический</a:AreaType>
               </a:PatientsArea>
            </a:PatientsAreaList>
         </GetPatientsAreasResult>
      </GetPatientsAreasResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:InspectDoctorsReferral2>
		<tem:idLpu xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
         <tem:doctorsReferal>78164028008644</tem:doctorsReferal>
         <tem:surname>Козырева</tem:surname>
         <tem:attachedReferral xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
         <tem:guid>YourGUID</tem:guid>
      </tem:InspectDoctorsReferral2>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <InspectDoctorsReferral2Response xmlns="http://tempuri.org/">
         <InspectDoctorsReferral2Result xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList i:nil="true"/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:IdLpu>1872</a:IdLpu>
            <a:IdPat>384012489</a:IdPat>
            <a:ListSpeciality>
               <a:Speciality2>
                  <a:Description i:nil="true"/>
                  <a:FerIdSpeciality i:nil="true"/>
                  <a:IdSpeciality>26180</a:IdSpeciality>
                  <a:ListDoctor>
                     <a:Doctor2>
                        <a:Description i:nil="true"/>
                        <a:IdDoc>13444</a:IdDoc>
                        <a:ListAppointment>
                           <a:Appointment>
                              <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                              <a:IdAppointment>1249221</a:IdAppointment>
                              <a:Num>8</a:Num>
                              <a:Room>410</a:Room>
                              <a:VisitEnd>2016-11-17T15:30:00</a:VisitEnd>
                              <a:VisitStart>2016-11-17T15:15:00</a:VisitStart>
                           </a:Appointment>
                           <a:Appointment>
                              <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                              <a:IdAppointment>1249217</a:IdAppointment>
                              <a:Num>12</a:Num>
                              <a:Room>410</a:Room>
                              <a:VisitEnd>2016-11-17T16:20:00</a:VisitEnd>
                              <a:VisitStart>2016-11-17T16:10:00</a:VisitStart>
                           </a:Appointment>
                           <a:Appointment>
                              <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                              <a:IdAppointment>1249211</a:IdAppointment>
                              <a:Num>18</a:Num>
                              <a:Room>410</a:Room>
                              <a:VisitEnd>2016-11-17T17:30:00</a:VisitEnd>
                              <a:VisitStart>2016-11-17T17:20:00</a:VisitStart>
                           </a:Appointment>
                           <a:Appointment>
                              <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                              <a:IdAppointment>1249247</a:IdAppointment>
                              <a:Num>8</a:Num>
                              <a:Room>410</a:Room>
                              <a:VisitEnd>2016-11-18T15:30:00</a:VisitEnd>
                              <a:VisitStart>2016-11-18T15:15:00</a:VisitStart>
                           </a:Appointment>
                           <a:Appointment>
                              <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                              <a:IdAppointment>1249243</a:IdAppointment>
                              <a:Num>12</a:Num>
                              <a:Room>410</a:Room>
                              <a:VisitEnd>2016-11-18T16:20:00</a:VisitEnd>
                              <a:VisitStart>2016-11-18T16:10:00</a:VisitStart>
                           </a:Appointment>
                           <a:Appointment>
                              <a:Address>Санкт-Петербург, Будапештская ул., д. 20</a:Address>
                              <a:IdAppointment>1249237</a:IdAppointment>
                              <a:Num>18</a:Num>
                              <a:Room>410</a:Room>
                              <a:VisitEnd>2016-11-18T17:30:00</a:VisitEnd>
                              <a:VisitStart>2016-11-18T17:20:00</a:VisitStart>
                           </a:Appointment>
                        </a:ListAppointment>
                        <a:Name>Ястремская Любовь Михайловна</a:Name>
                        <a:Snils i:nil="true"/>
                     </a:Doctor2>
                  </a:ListDoctor>
                  <a:NameSpeciality>Отоларинголог</a:NameSpeciality>
               </a:Speciality2>
            </a:ListSpeciality>
         </InspectDoctorsReferral2Result>
      </InspectDoctorsReferral2Response>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:CheckReferral>
         <tem:doctorsReferral>78164028008644</tem:doctorsReferral>
         <tem:guid>YourGUID</tem:guid>
      </tem:CheckReferral>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <CheckReferralResponse xmlns="http://tempuri.org/">
         <CheckReferralResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:Referral xmlns:b="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.ProxyAndReturn.Dto">
               <b:EventsInfo>
                  <b:Cancellation i:nil="true"/>
                  <b:Source>
                     <b:IsReferralReviewed>true</b:IsReferralReviewed>
                     <b:PlannedDate>2016-11-10T00:00:00</b:PlannedDate>
                     <b:ReferralCreateDate>2016-11-10T00:00:00</b:ReferralCreateDate>
                     <b:ReferralOutDate>2016-11-10T00:00:00</b:ReferralOutDate>
                     <b:ReferralReviewDate>2016-11-10T00:00:00</b:ReferralReviewDate>
                  </b:Source>
                  <b:Target>
                     <b:CaseAidForm i:nil="true"/>
                     <b:CaseAidPlace i:nil="true"/>
                     <b:CaseAidType i:nil="true"/>
                     <b:CaseCloseDate i:nil="true"/>
                     <b:CaseOpenDate i:nil="true"/>
                     <b:IsReferralReviwed i:nil="true"/>
                     <b:Lpu i:nil="true"/>
                     <b:ReceptionAppointComment i:nil="true"/>
                     <b:ReceptionAppointDate i:nil="true"/>
                     <b:ReceptionAppointTime i:nil="true"/>
                     <b:ReferralReviewDate i:nil="true"/>
                     <b:RefferalCreatedDate i:nil="true"/>
                  </b:Target>
               </b:EventsInfo>
               <b:Patient>
                  <b:Addresses>
                     <b:AddressDto>
                        <b:AddressType>
                           <b:Code>4</b:Code>
                           <b:System>urn:oid:1.2.643.2.69.1.1.1.28</b:System>
                           <b:Version>1</b:Version>
                        </b:AddressType>
                        <b:StringAddress>Авангардная ул., д.6, корп.2, кв.122</b:StringAddress>
                     </b:AddressDto>
                  </b:Addresses>
                  <b:ContactDtos>
                     <b:ContactDto>
                        <b:ContactType>
                           <b:Code>2</b:Code>
                           <b:System>urn:oid:1.2.643.2.69.1.1.1.27</b:System>
                           <b:Version>1</b:Version>
                        </b:ContactType>
                        <b:ContactValue>+7 (812) 648-21-21</b:ContactValue>
                     </b:ContactDto>
                  </b:ContactDtos>
                  <b:Documents>
                     <b:DocumentDto>
                        <b:DocN>7854410877000666</b:DocN>
                        <b:DocS i:nil="true"/>
                        <b:DocumentType>
                           <b:Code>228</b:Code>
                           <b:System>urn:oid:1.2.643.2.69.1.1.1.59</b:System>
                           <b:Version>1</b:Version>
                        </b:DocumentType>
                        <b:ExpiredDate i:nil="true"/>
                        <b:IssuedDate i:nil="true"/>
                        <b:Provider>
                           <b:Code>78008</b:Code>
                           <b:System>urn:oid:1.2.643.5.1.13.2.1.1.635</b:System>
                           <b:Version>1</b:Version>
                        </b:Provider>
                        <b:ProviderName>САНКТ-ПЕТЕРБУРГСКИЙ ФИЛИАЛ ОАО "РОСНО-МС"</b:ProviderName>
                        <b:RegionCode>
                           <b:Code>78</b:Code>
                           <b:System>urn:oid:1.2.643.2.69.1.1.1.51</b:System>
                           <b:Version>1</b:Version>
                        </b:RegionCode>
                     </b:DocumentDto>
                  </b:Documents>
                  <b:Jobs/>
                  <b:Person>
                     <b:BirthDate>1985-05-22T00:00:00</b:BirthDate>
                     <b:HumanName>
                        <b:FamilyName>Козырева</b:FamilyName>
                        <b:GivenName>Любовь</b:GivenName>
                        <b:MiddleName>Петровна</b:MiddleName>
                     </b:HumanName>
                     <b:IdPatientMis>653</b:IdPatientMis>
                     <b:IdPersonMis i:nil="true"/>
                     <b:Sex>
                        <b:Code>2</b:Code>
                        <b:System>urn:oid:1.2.643.5.1.13.2.1.1.156</b:System>
                        <b:Version>1</b:Version>
                     </b:Sex>
                  </b:Person>
                  <b:Privileges/>
               </b:Patient>
               <b:ReferralInfo>
                  <b:Comment>На консультацию к специалисту</b:Comment>
                  <b:Date>2016-11-10T00:00:00</b:Date>
                  <b:IdMq>78164028008644</b:IdMq>
                  <b:MqReferralStatus>
                     <b:Code>3</b:Code>
                     <b:System>urn:oid:1.2.643.2.69.1.1.1.50</b:System>
                     <b:Version>1</b:Version>
                  </b:MqReferralStatus>
                  <b:Priority>В плановом порядке</b:Priority>
                  <b:ProfileMedService>
                     <b:Code>9</b:Code>
                     <b:System>urn:oid:1.2.643.2.69.1.1.1.56</b:System>
                     <b:Version>1</b:Version>
                  </b:ProfileMedService>
                  <b:Reason>Для уточнения диагноза</b:Reason>
                  <b:ReferralType>
                     <b:Code>4</b:Code>
                     <b:System>urn:oid:1.2.643.2.69.1.1.1.55</b:System>
                     <b:Version>1</b:Version>
                  </b:ReferralType>
               </b:ReferralInfo>
               <b:ReferralSurvey>
                  <b:Additional>
                     <b:AllergyIodine i:nil="true"/>
                     <b:Height i:nil="true"/>
                     <b:Weight i:nil="true"/>
                     <b:ExtraData xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
                  </b:Additional>
                  <b:Comment i:nil="true"/>
                  <b:SurveyOrgan i:nil="true"/>
                  <b:SurveyType i:nil="true"/>
               </b:ReferralSurvey>
               <b:Source>
                  <b:Doctors>
                     <b:Doctor>
                        <b:ContactDtos>
                           <b:ContactDto>
                              <b:ContactType>
                                 <b:Code>2</b:Code>
                                 <b:System>urn:oid:1.2.643.2.69.1.1.1.27</b:System>
                                 <b:Version>1</b:Version>
                              </b:ContactType>
                              <b:ContactValue>+7 (812) 309-86-09</b:ContactValue>
                           </b:ContactDto>
                        </b:ContactDtos>
                        <b:Lpu>
                           <b:Code>0b09d9d0-3137-472d-bc1e-bdf2cc9730ce</b:Code>
                           <b:System>urn:oid:1.2.643.2.69.1.1.1.64</b:System>
                           <b:Version>1</b:Version>
                        </b:Lpu>
                        <b:Person>
                           <b:BirthDate i:nil="true"/>
                           <b:HumanName>
                              <b:FamilyName>Буров</b:FamilyName>
                              <b:GivenName>Артём</b:GivenName>
                              <b:MiddleName>Тимофеевич</b:MiddleName>
                           </b:HumanName>
                           <b:IdPatientMis i:nil="true"/>
                           <b:IdPersonMis>54</b:IdPersonMis>
                           <b:Sex>
                              <b:Code>1</b:Code>
                              <b:System>urn:oid:1.2.643.5.1.13.2.1.1.156</b:System>
                              <b:Version>1</b:Version>
                           </b:Sex>
                        </b:Person>
                        <b:Position>
                           <b:Code>73</b:Code>
                           <b:System>urn:oid:1.2.643.5.1.13.2.1.1.607</b:System>
                           <b:Version>1</b:Version>
                        </b:Position>
                        <b:Role>
                           <b:Code>1</b:Code>
                           <b:System>urn:oid:1.2.643.2.69.1.1.1.66</b:System>
                           <b:Version>1</b:Version>
                        </b:Role>
                        <b:Speciality>
                           <b:Code>27</b:Code>
                           <b:System>urn:oid:1.2.643.5.1.13.2.1.1.181</b:System>
                           <b:Version>1</b:Version>
                        </b:Speciality>
                     </b:Doctor>
                  </b:Doctors>
                  <b:IdCaseMis>245</b:IdCaseMis>
                  <b:IdReferralMis>247</b:IdReferralMis>
                  <b:Lpu>
                     <b:Code>0b09d9d0-3137-472d-bc1e-bdf2cc9730ce</b:Code>
                     <b:System>urn:oid:1.2.643.2.69.1.1.1.64</b:System>
                     <b:Version>1</b:Version>
                  </b:Lpu>
                  <b:MainDiagnosis>
                     <b:MainDiagnosis>
                        <b:ComplicationDiagnosis/>
                        <b:DiagnosisInfo>
                           <b:Comment>Предварительный</b:Comment>
                           <b:DiagnosedDate>2016-12-01T00:00:00</b:DiagnosedDate>
                           <b:DiagnosisType>
                              <b:Code>1</b:Code>
                              <b:System>urn:oid:1.2.643.2.69.1.1.1.26</b:System>
                              <b:Version>1</b:Version>
                           </b:DiagnosisType>
                           <b:MkbCode>
                              <b:Code>D09.9</b:Code>
                              <b:System>urn:oid:1.2.643.2.69.1.1.1.2</b:System>
                              <b:Version>1</b:Version>
                           </b:MkbCode>
                        </b:DiagnosisInfo>
                     </b:MainDiagnosis>
                  </b:MainDiagnosis>
               </b:Source>
               <b:Target>
                  <b:Doctors/>
                  <b:IdCaseMis>22</b:IdCaseMis>
                  <b:IsReferralReviewed i:nil="true"/>
                  <b:Lpu>
                     <b:Code>d536347b-4105-49a1-bae6-0b3114e89aa0</b:Code>
                     <b:System>urn:oid:1.2.643.2.69.1.1.1.64</b:System>
                     <b:Version>1</b:Version>
                  </b:Lpu>
                  <b:MainDiagnosis/>
                  <b:ReceptionAppointComment i:nil="true"/>
                  <b:ReceptionAppointDate i:nil="true"/>
                  <b:ReceptionAppointTime i:nil="true"/>
                  <b:ReferralReviewDate i:nil="true"/>
               </b:Target>
            </a:Referral>
         </CheckReferralResult>
      </CheckReferralResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetAvailableDoctors>
         <tem:idLpu>31</tem:idLpu>
         <tem:idPat>758</tem:idPat>
         <tem:guid>YourGUID</tem:guid>
      </tem:GetAvailableDoctors>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetAvailableDoctorsResponse xmlns="http://tempuri.org/">
         <GetAvailableDoctorsResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <a:ErrorList/>
            <a:IdHistory i:nil="true"/>
            <a:Success>true</a:Success>
            <a:Comment>В связи с ремонтом, возможны изменения в расписании. Приносим свои извинения за доставленные неудобства.</a:Comment>
            <a:ListSpeciality>
               <a:Speciality3>
                  <a:Comment>С 18 до 40 лет</a:Comment>
                  <a:CountFreeParticipantIE>7</a:CountFreeParticipantIE>
                  <a:CountFreeTicket>50</a:CountFreeTicket>
                  <a:Docs>
                     <a:Doctor3>
                        <a:Area>Терапевтический №1</a:Area>
                        <a:AreaType>Терапевтический</a:AreaType>
                        <a:Comment>Отпуск с 12.11 по 15.11</a:Comment>
                        <a:CountFreeParticipantIE>7</a:CountFreeParticipantIE>
                        <a:CountFreeTicket>50</a:CountFreeTicket>
                        <a:IdDoc>38</a:IdDoc>
                        <a:LastDate>2017-10-21T16:08:00</a:LastDate>
                        <a:Name>Буров Артём Тимофеевич</a:Name>
                        <a:NearestDate>2017-10-15T16:08:00</a:NearestDate>
                        <a:Snils i:nil="true"/>
                     </a:Doctor3>
                  </a:Docs>
                  <a:FerIdSpeciality>27</a:FerIdSpeciality>
                  <a:IdSpeciality>1</a:IdSpeciality>
                  <a:LastDate i:nil="true"/>
                  <a:NameSpeciality>Терапевт</a:NameSpeciality>
                  <a:NearestDate i:nil="true"/>
               </a:Speciality3>
               <a:Speciality3>
                  <a:Comment>В хирургическом отделении ремонт в ноябре. Могут быть изменения в расписании приема специалистов.</a:Comment>
                  <a:CountFreeParticipantIE>7</a:CountFreeParticipantIE>
                  <a:CountFreeTicket>50</a:CountFreeTicket>
                  <a:Docs>
                     <a:Doctor3>
                        <a:Area i:nil="true"/>
                        <a:AreaType i:nil="true"/>
                        <a:Comment/>
                        <a:CountFreeParticipantIE>7</a:CountFreeParticipantIE>
                        <a:CountFreeTicket>50</a:CountFreeTicket>
                        <a:IdDoc>65</a:IdDoc>
                        <a:LastDate>2017-10-21T16:08:00</a:LastDate>
                        <a:Name>Кукалия Олеги Нузгарович</a:Name>
                        <a:NearestDate>2017-10-15T16:08:00</a:NearestDate>
                        <a:Snils i:nil="true"/>
                     </a:Doctor3>
                  </a:Docs>
                  <a:FerIdSpeciality>30</a:FerIdSpeciality>
                  <a:IdSpeciality>16</a:IdSpeciality>
                  <a:LastDate>2017-10-01T12:09:07.9806991+03:00</a:LastDate>
                  <a:NameSpeciality>Хирург</a:NameSpeciality>
                  <a:NearestDate>2017-10-01T12:09:07.9806991+03:00</a:NearestDate>
               </a:Speciality3>
            </a:ListSpeciality>
         </GetAvailableDoctorsResult>
      </GetAvailableDoctorsResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetAvailableAppointmentsByPARequest>
         <tem:attachedPARequest>
            <hub:IdPar>78175000000000</hub:IdPar>
         </tem:attachedPARequest>
         <tem:guid>YourGUID</tem:guid>
      </tem:GetAvailableAppointmentsByPARequest>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <GetAvailableAppointmentsByPARequestResponse xmlns="http://tempuri.org/">
         <GetAvailableAppointmentsByPARequestResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorList xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <IdHistory i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <Success xmlns="http://schemas.datacontract.org/2004/07/HubService2">true</Success>
            <a:IdLpu>511132</a:IdLpu>
            <a:IdPat i:nil="true"/>
            <a:ListSpeciality xmlns:b="http://schemas.datacontract.org/2004/07/HubService2">
               <b:Speciality2>
                  <b:Description>В связи с ремонтом, прием может вестись в других кабинетах</b:Description>
                  <b:FerIdSpeciality>27</b:FerIdSpeciality>
                  <b:IdSpeciality>1</b:IdSpeciality>
                  <b:ListDoctor>
                     <b:Doctor2>
                        <b:Description>Прием в 208 кабинете</b:Description>
                        <b:IdDoc>1f</b:IdDoc>
                        <b:ListAppointment>
                           <b:Appointment>
                              <b:Address>СПб, Дворцовая площадь 1</b:Address>
                              <b:IdAppointment>20-10-2017 14:49</b:IdAppointment>
                              <b:Num>0</b:Num>
                              <b:Room>1</b:Room>
                              <b:VisitEnd>2017-10-20T14:49:00</b:VisitEnd>
                              <b:VisitStart>2017-10-20T14:49:00</b:VisitStart>
                           </b:Appointment>
                           <b:Appointment>
                              <b:Address>СПб, Дворцовая площадь 1</b:Address>
                              <b:IdAppointment>21-10-2017 14:49</b:IdAppointment>
                              <b:Num>0</b:Num>
                              <b:Room>1</b:Room>
                              <b:VisitEnd>2017-10-21T14:49:00</b:VisitEnd>
                              <b:VisitStart>2017-10-21T14:49:00</b:VisitStart>
                           </b:Appointment>
                        </b:ListAppointment>
                        <b:Name>Врач тестовый терапевт</b:Name>
                        <b:Snils>12312312312</b:Snils>
                     </b:Doctor2>
                  </b:ListDoctor>
                  <b:NameSpeciality>Терапевт</b:NameSpeciality>
               </b:Speciality2>
               <b:Speciality2>
                  <b:Description>Прием в 301 кабинете</b:Description>
                  <b:FerIdSpeciality>14</b:FerIdSpeciality>
                  <b:IdSpeciality>2</b:IdSpeciality>
                  <b:ListDoctor>
                     <b:Doctor2>
                        <b:Description/>
                        <b:IdDoc>5f</b:IdDoc>
                        <b:ListAppointment>
                           <b:Appointment>
                              <b:Address>СПб, Дворцовая площадь 1</b:Address>
                              <b:IdAppointment>15-10-2017 14:49</b:IdAppointment>
                              <b:Num>0</b:Num>
                              <b:Room>1</b:Room>
                              <b:VisitEnd>2017-10-15T14:54:00</b:VisitEnd>
                              <b:VisitStart>2017-10-15T14:49:00</b:VisitStart>
                           </b:Appointment>
                           <b:Appointment>
                              <b:Address>СПб, Дворцовая площадь 1</b:Address>
                              <b:IdAppointment>21-10-2017 14:49</b:IdAppointment>
                              <b:Num>0</b:Num>
                              <b:Room>1</b:Room>
                              <b:VisitEnd>2017-10-21T14:49:00</b:VisitEnd>
                              <b:VisitStart>2017-10-21T14:49:00</b:VisitStart>
                           </b:Appointment>
                        </b:ListAppointment>
                        <b:Name>Врач тестовый невролог</b:Name>
                        <b:Snils>12312312312</b:Snils>
                     </b:Doctor2>
                  </b:ListDoctor>
                  <b:NameSpeciality>Невролог</b:NameSpeciality>
               </b:Speciality2>
               <b:Speciality2>
                  <b:Description>Прием осуществляется только через регистратуру</b:Description>
                  <b:FerIdSpeciality i:nil="true"/>
                  <b:IdSpeciality>3</b:IdSpeciality>
                  <b:ListDoctor>
                     <b:Doctor2>
                        <b:Description>Прием осуществляется только через регистратуру</b:Description>
                        <b:IdDoc>4f</b:IdDoc>
                        <b:ListAppointment/>
                        <b:Name>Врач семейный</b:Name>
                        <b:Snils>12312312312</b:Snils>
                     </b:Doctor2>
                  </b:ListDoctor>
                  <b:NameSpeciality>Общая врачебная практика (семейная медицина)</b:NameSpeciality>
               </b:Speciality2>
            </a:ListSpeciality>
         </GetAvailableAppointmentsByPARequestResult>
      </GetAvailableAppointmentsByPARequestResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SetAppointmentByPARequest>
         <tem:idAppointment>21-10-2017 14:49</tem:idAppointment>
         <tem:attachedPARequest>
            <hub:IdPar>78175000000000</hub:IdPar>
         </tem:attachedPARequest>
         <tem:guid>YourGUID</tem:guid>
      </tem:SetAppointmentByPARequest>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SetAppointmentByPARequestResponse xmlns="http://tempuri.org/">
         <SetAppointmentByPARequestResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorList xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <IdHistory i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <Success xmlns="http://schemas.datacontract.org/2004/07/HubService2">true</Success>
            <a:Type>1</a:Type>
         </SetAppointmentByPARequestResult>
      </SetAppointmentByPARequestResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:RegisterPARequest>
         <tem:request>
            <hub:PARequest>
               <hub:FerIdSpeciality>27</hub:FerIdSpeciality>
               <hub:IdDoc>38</hub:IdDoc>
               <hub:IdLpu>31</hub:IdLpu>
               <hub:IdNsiLpu xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
               <hub:IdSpeciality>1</hub:IdSpeciality>
               <hub:NameDoc>Буров Артём Тимофеевич</hub:NameDoc>
               <hub:NameSpeciality>Терапевт</hub:NameSpeciality>
            </hub:PARequest>
            <hub:PARequestInfo>
               <hub:Claim>1</hub:Claim>
               <hub:Info>Нужна прививка</hub:Info>
            </hub:PARequestInfo>
            <hub:PARequestPatient>
               <hub:BirthDate>1972-12-22T00:00:00</hub:BirthDate>
               <hub:FirstName>Артём</hub:FirstName>
               <hub:IdPatient>520</hub:IdPatient>
               <hub:LastName>Меркушев</hub:LastName>
               <hub:MiddleName>Филиппович</hub:MiddleName>
               <hub:PARequestPatientContacts>
                  <hub:AdditionalInformation>Удобнее вечером</hub:AdditionalInformation>
                  <hub:Email>mail@mail.com</hub:Email>
                  <hub:Phone>+78120000000</hub:Phone>
               </hub:PARequestPatientContacts>
            </hub:PARequestPatient>
            <hub:PASource>1</hub:PASource>
            <hub:PreferredIntervals>
               <hub:PARequestInterval>
                  <hub:EndDate>2017-12-09T00:00:00.000</hub:EndDate>
                  <hub:StartDate>2017-12-05T00:00:00.000</hub:StartDate>
               </hub:PARequestInterval>
               <hub:PARequestInterval>
                  <hub:EndDate>2017-12-12T00:00:00.000</hub:EndDate>
                  <hub:StartDate>2017-12-11T00:00:00.000</hub:StartDate>
               </hub:PARequestInterval>
            </hub:PreferredIntervals>
         </tem:request>
         <tem:guid>YourGUID</tem:guid>
      </tem:RegisterPARequest>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <RegisterPARequestResponse xmlns="http://tempuri.org/">
         <RegisterPARequestResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorList xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <IdHistory i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <Success xmlns="http://schemas.datacontract.org/2004/07/HubService2">true</Success>
            <a:IdPar>78175000000000</a:IdPar>
         </RegisterPARequestResult>
      </RegisterPARequestResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:CancelPARequest>
         <tem:request>
            <hub:DeactivationComment>не актуально</hub:DeactivationComment>
            <hub:DeactivationReason>2</hub:DeactivationReason>
            <hub:IdPar>78175000000000</hub:IdPar>
            <hub:LinkedIdPar>78175000000001</hub:LinkedIdPar>
            <hub:PASource>1</hub:PASource>
         </tem:request>
         <tem:guid>YourGUID</tem:guid>
      </tem:CancelPARequest>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <CancelPARequestResponse xmlns="http://tempuri.org/">
         <CancelPARequestResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorList xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <IdHistory i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <Success xmlns="http://schemas.datacontract.org/2004/07/HubService2">true</Success>
            <a:CancellationResult>true</a:CancellationResult>
            <a:IdPar>78175000000000</a:IdPar>
         </CancelPARequestResult>
      </CancelPARequestResponse>
   </s:Body>
</s:Envelope>

Запрос

Запрос по идентификатору заявки

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SearchActivePARequests>
         <tem:filter>
            <hub:IdPar>78175000000000</hub:IdPar>
         </tem:filter>
         <tem:guid>YourGUID</tem:guid>
      </tem:SearchActivePARequests>
   </soapenv:Body>
</soapenv:Envelope>

Запрос по параметрам заявки

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SearchActivePARequests>
         <tem:filter>
            <hub:Claim>1</hub:Claim>
            <hub:FerIdSpeciality>27</hub:FerIdSpeciality>
            <hub:IdDoc>1f</hub:IdDoc>
            <hub:IdLpu>511132</hub:IdLpu>
            <hub:IdNsiLpu>d7fb6608-bc0c-18d3-f510-a0c4c5e717a9</hub:IdNsiLpu>
            <hub:IdPatients>
               <arr:string>4</arr:string>
               <arr:string>41</arr:string>
            </hub:IdPatients>
            <hub:IdSpeciality>1</hub:IdSpeciality>
         </tem:filter>
         <tem:guid>YourGUID</tem:guid>
      </tem:SearchActivePARequests>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

Заявка по параметрам найдена

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SearchActivePARequestsResponse xmlns="http://tempuri.org/">
         <SearchActivePARequestsResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorList xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <IdHistory i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <Success xmlns="http://schemas.datacontract.org/2004/07/HubService2">true</Success>
            <a:ActivePARequests>
               <a:ActivePARequestInfo>
                  <a:CreatedDate>2017-11-29T16:02:41.352595</a:CreatedDate>
                  <a:IdPar>78175000000000</a:IdPar>
                  <a:PARequest>
                     <a:FerIdSpeciality>27</a:FerIdSpeciality>
                     <a:IdDoc>38</a:IdDoc>
                     <a:IdLpu>31</a:IdLpu>
                     <a:IdNsiLpu>e8fa4bbc-c1dc-4e68-956c-ff4dd558b6b7</a:IdNsiLpu>
                     <a:IdSpeciality>1</a:IdSpeciality>
                     <a:NameDoc>Буров Артём Тимофеевич</a:NameDoc>
                     <a:NameSpeciality>Терапевт</a:NameSpeciality>
                  </a:PARequest>
                  <a:PARequestInfo>
                     <a:Claim>1</a:Claim>
                     <a:Info>Нужна прививка</a:Info>
                  </a:PARequestInfo>
                  <a:PARequestPatient>
                     <a:BirthDate>1972-12-22T00:00:00</a:BirthDate>
                     <a:FirstName>Артём</a:FirstName>
                     <a:IdPatient>520</a:IdPatient>
                     <a:LastName>Меркушев</a:LastName>
                     <a:MiddleName>Филиппович</a:MiddleName>
                     <a:PARequestPatientContacts>
                        <a:AdditionalInformation>Удобнее вечером</a:AdditionalInformation>
                        <a:Email>mail@mail.com</a:Email>
                        <a:Phone>+78120000000</a:Phone>
                     </a:PARequestPatientContacts>
                  </a:PARequestPatient>
                  <a:PASourceCreated>1</a:PASourceCreated>
                  <a:PreferredIntervals>
                     <a:PARequestInterval>
                        <a:EndDate>2017-12-09T00:00:00</a:EndDate>
                        <a:StartDate>2017-12-05T00:00:00</a:StartDate>
                     </a:PARequestInterval>
                     <a:PARequestInterval>
                        <a:EndDate>2017-12-12T00:00:00</a:EndDate>
                        <a:StartDate>2017-12-11T00:00:00</a:StartDate>
                     </a:PARequestInterval>
                  </a:PreferredIntervals>
               </a:ActivePARequestInfo>
            </a:ActivePARequests>
            <a:Count>1</a:Count>
         </SearchActivePARequestsResult>
      </SearchActivePARequestsResponse>
   </s:Body>
</s:Envelope>

Заявка по параметрам не найдена

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SearchActivePARequestsResponse xmlns="http://tempuri.org/">
         <SearchActivePARequestsResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorList xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <IdHistory i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <Success xmlns="http://schemas.datacontract.org/2004/07/HubService2">true</Success>
            <a:ActivePARequests/>
            <a:Count>0</a:Count>
         </SearchActivePARequestsResult>
      </SearchActivePARequestsResponse>
   </s:Body>
</s:Envelope>

Запрос

Запрос по идентификаторам пациента

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SearchPARequests>
         <tem:filter>
            <hub:IdInfos>
               <hub:IdInfo>
                  <hub:IdLpu>511132</hub:IdLpu>
                  <hub:IdPatient>4</hub:IdPatient>
               </hub:IdInfo>
               <hub:IdInfo>
                  <hub:IdLpu>511136</hub:IdLpu>
                  <hub:IdPatient>4</hub:IdPatient>
               </hub:IdInfo>
            </hub:IdInfos>
         </tem:filter>
         <tem:guid>YourGUID</tem:guid>
      </tem:SearchPARequests>
   </soapenv:Body>
</soapenv:Envelope>

Запрос по идентификатору заявки

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SearchPARequests>
         <tem:filter>
            <hub:IdPar>78175000000000</hub:IdPar>
         </tem:filter>
         <tem:guid>YourGUID</tem:guid>
      </tem:SearchPARequests>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

Заявки по параметрам найдены

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SearchPARequestsResponse xmlns="http://tempuri.org/">
         <SearchPARequestsResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorList xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <IdHistory i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <Success xmlns="http://schemas.datacontract.org/2004/07/HubService2">true</Success>
            <a:Count>2</a:Count>
            <a:PARequests>
               <a:SearchPARequestInfo>
                  <a:CreatedDate>2017-10-06T18:16:20.347038</a:CreatedDate>
                  <a:IdPar>78175000000000</a:IdPar>
                  <a:PARequest>
                     <a:FerIdSpeciality>27</a:FerIdSpeciality>
                     <a:IdDoc i:nil="true"/>
                     <a:IdLpu>511132</a:IdLpu>
                     <a:IdNsiLpu>d7fb6608-bc0c-18d3-f510-a0c4c5e717a9</a:IdNsiLpu>
                     <a:IdSpeciality>1</a:IdSpeciality>
                     <a:NameDoc i:nil="true"/>
                     <a:NameSpeciality>Терапевт</a:NameSpeciality>
                  </a:PARequest>
                  <a:PARequestInfo>
                     <a:Claim>1</a:Claim>
                     <a:Info>нужна прививка</a:Info>
                  </a:PARequestInfo>
                  <a:PARequestPatient>
                     <a:BirthDate>1982-01-15T00:00:00</a:BirthDate>
                     <a:FirstName>Добрый</a:FirstName>
                     <a:IdPatient>4</a:IdPatient>
                     <a:LastName>Владимир</a:LastName>
                     <a:MiddleName>Николаевич</a:MiddleName>
                     <a:PARequestPatientContacts>
                        <a:AdditionalInformation>лучше вечером</a:AdditionalInformation>
                        <a:Email i:nil="true"/>
                        <a:Phone>+78126408055</a:Phone>
                     </a:PARequestPatientContacts>
                  </a:PARequestPatient>
                  <a:PASourceCreated>2</a:PASourceCreated>
                  <a:PreferredIntervals>
                     <a:PARequestInterval>
                        <a:EndDate>2017-10-09T00:00:00</a:EndDate>
                        <a:StartDate>2017-10-07T00:00:00</a:StartDate>
                     </a:PARequestInterval>
                  </a:PreferredIntervals>
                  <a:PARequestDeactivationInfo>
                     <a:DeactivationComment>не актуально</a:DeactivationComment>
                     <a:DeactivationDate>2017-10-06T18:16:50.127625</a:DeactivationDate>
                     <a:DeactivationReason>2</a:DeactivationReason>
                     <a:LinkedIdPar i:nil="true"/>
                     <a:PASourceDeactivated>1</a:PASourceDeactivated>
                  </a:PARequestDeactivationInfo>
                  <a:PARequestStatus>3</a:PARequestStatus>
               </a:SearchPARequestInfo>
               <a:SearchPARequestInfo>
                  <a:CreatedDate>2017-10-06T18:17:39.329675</a:CreatedDate>
                  <a:IdPar>78175000000000</a:IdPar>
                  <a:PARequest>
                     <a:FerIdSpeciality>27</a:FerIdSpeciality>
                     <a:IdDoc i:nil="true"/>
                     <a:IdLpu>511132</a:IdLpu>
                     <a:IdNsiLpu>d7fb6608-bc0c-18d3-f510-a0c4c5e717a9</a:IdNsiLpu>
                     <a:IdSpeciality>1</a:IdSpeciality>
                     <a:NameDoc i:nil="true"/>
                     <a:NameSpeciality>Терапевт</a:NameSpeciality>
                  </a:PARequest>
                  <a:PARequestInfo>
                     <a:Claim>1</a:Claim>
                     <a:Info>sf</a:Info>
                  </a:PARequestInfo>
                  <a:PARequestPatient>
                     <a:BirthDate>1982-01-15T00:00:00</a:BirthDate>
                     <a:FirstName>Добрый</a:FirstName>
                     <a:IdPatient>4</a:IdPatient>
                     <a:LastName>Владимир</a:LastName>
                     <a:MiddleName>Николаевич</a:MiddleName>
                     <a:PARequestPatientContacts>
                        <a:AdditionalInformation>лучше вечером</a:AdditionalInformation>
                        <a:Email i:nil="true"/>
                        <a:Phone>+78126408055</a:Phone>
                     </a:PARequestPatientContacts>
                  </a:PARequestPatient>
                  <a:PASourceCreated>2</a:PASourceCreated>
                  <a:PreferredIntervals>
                     <a:PARequestInterval>
                        <a:EndDate>2017-10-09T00:00:00</a:EndDate>
                        <a:StartDate>2017-10-07T00:00:00</a:StartDate>
                     </a:PARequestInterval>
                  </a:PreferredIntervals>
                  <a:PARequestDeactivationInfo>
                     <a:DeactivationComment>не актуально</a:DeactivationComment>
                     <a:DeactivationDate>2017-10-15T13:49:40.854877</a:DeactivationDate>
                     <a:DeactivationReason>2</a:DeactivationReason>
                     <a:LinkedIdPar i:nil="true"/>
                     <a:PASourceDeactivated>1</a:PASourceDeactivated>
                  </a:PARequestDeactivationInfo>
                  <a:PARequestStatus>3</a:PARequestStatus>
               </a:SearchPARequestInfo>
            </a:PARequests>
         </SearchPARequestsResult>
      </SearchPARequestsResponse>
   </s:Body>
</s:Envelope>

Заявок по параметрам не найдено

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SearchPARequestsResponse xmlns="http://tempuri.org/">
         <SearchPARequestsResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorList xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <IdHistory i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <Success xmlns="http://schemas.datacontract.org/2004/07/HubService2">true</Success>
            <a:Count>0</a:Count>
            <a:PARequests/>
         </SearchPARequestsResult>
      </SearchPARequestsResponse>
   </s:Body>
</s:Envelope>

Запрос

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SearchCtoPARequests>
         <tem:filter>
            <hub:PatientBirthday>1986-06-07T00:00:00</hub:PatientBirthday>
         </tem:filter>
         <tem:guid>YourGUID</tem:guid>
      </tem:SearchCtoPARequests>
   </soapenv:Body>
</soapenv:Envelope>

Ответ

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <SearchCtoPARequestsResponse xmlns="http://tempuri.org/">
         <SearchCtoPARequestsResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.PostAppointment" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorList xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <IdHistory i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HubService2"/>
            <Success xmlns="http://schemas.datacontract.org/2004/07/HubService2">true</Success>
            <a:Count>21</a:Count>
            <a:PARequests>
               <a:SearchPARequestInfo>
                  <a:CreatedDate>2017-10-14T15:31:38.442189</a:CreatedDate>
                  <a:IdPar>78175000000000</a:IdPar>
                  <a:PARequest>
                     <a:FerIdSpeciality>27</a:FerIdSpeciality>
                     <a:IdDoc>9f</a:IdDoc>
                     <a:IdLpu>466</a:IdLpu>
                     <a:IdNsiLpu>b5f38db4-1e0f-4e31-816f-1be7a6ad5ff9</a:IdNsiLpu>
                     <a:IdSpeciality>1</a:IdSpeciality>
                     <a:NameDoc>Ярошевич Юлия Валерьевна</a:NameDoc>
                     <a:NameSpeciality>Терапевт</a:NameSpeciality>
                  </a:PARequest>
                  <a:PARequestInfo>
                     <a:Claim>1</a:Claim>
                     <a:Info>болит</a:Info>
                  </a:PARequestInfo>
                  <a:PARequestPatient>
                     <a:BirthDate>1986-06-07T00:00:00</a:BirthDate>
                     <a:FirstName>Андрей</a:FirstName>
                     <a:IdPatient>24</a:IdPatient>
                     <a:LastName>Гуль</a:LastName>
                     <a:MiddleName/>
                     <a:PARequestPatientContacts>
                        <a:AdditionalInformation/>
                        <a:Email/>
                        <a:Phone>+7(911)7874796</a:Phone>
                     </a:PARequestPatientContacts>
                  </a:PARequestPatient>
                  <a:PASourceCreated>5</a:PASourceCreated>
                  <a:PreferredIntervals>
                     <a:PARequestInterval>
                        <a:EndDate>2017-10-19T00:00:00</a:EndDate>
                        <a:StartDate>2017-10-17T00:00:00</a:StartDate>
                     </a:PARequestInterval>
                  </a:PreferredIntervals>
                  <a:PARequestDeactivationInfo i:nil="true"/>
                  <a:PARequestStatus>1</a:PARequestStatus>
               </a:SearchPARequestInfo>
           </a:PARequests>
         </SearchCtoPARequestsResult>
      </SearchCtoPARequestsResponse>
   </s:Body>
</s:Envelope>

Запрос

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
        <soapenv:Header/>
        <soapenv:Body>
           <tem:GetPositionList>
              <tem:idLpu>466</tem:idLpu>
              <tem:idPat>26</tem:idPat>
              <tem:guid>YourGUID</tem:guid>
           </tem:GetPositionList>
        </soapenv:Body>
     </soapenv:Envelope>    

Ответ

        <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
        <s:Body>
           <GetPositionListResponse xmlns="http://tempuri.org/">
              <GetPositionListResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                 <a:ErrorList i:nil="true"/>
                 <a:IdHistory i:nil="true"/>
                 <a:Success>true</a:Success>
                 <a:Comment i:nil="true"/>
                 <a:ListPosition>
                    <a:Position>
                       <a:Comment i:nil="true"/>
                       <a:CountFreeParticipantIE>7</a:CountFreeParticipantIE>
                       <a:CountFreeTicket>50</a:CountFreeTicket>
                       <a:FedIdPosition>109</a:FedIdPosition>
                       <a:IdPosition>58</a:IdPosition>
                       <a:LastDate>2018-10-10T19:00:00</a:LastDate>
                       <a:NamePosition>врач-терапевт</a:NamePosition>
                       <a:NearestDate>2018-10-01T12:00:00</a:NearestDate>
                    </a:Position>
                    <a:Position>
                       <a:Comment i:nil="true"/>
                       <a:CountFreeParticipantIE>1</a:CountFreeParticipantIE>
                       <a:CountFreeTicket>5</a:CountFreeTicket>
                       <a:FedIdPosition>45</a:FedIdPosition>
                       <a:IdPosition>61</a:IdPosition>
                       <a:LastDate>2018-10-10T19:00:00</a:LastDate>
                       <a:NamePosition>врач-невролог</a:NamePosition>
                       <a:NearestDate>2018-10-02T12:00:00</a:NearestDate>
                    </a:Position>
                    <a:Position>
                       <a:Comment i:nil="true"/>
                       <a:CountFreeParticipantIE>10</a:CountFreeParticipantIE>
                       <a:CountFreeTicket>48</a:CountFreeTicket>
                       <a:FedIdPosition>54</a:FedIdPosition>
                       <a:IdPosition>62</a:IdPosition>
                       <a:LastDate>2018-10-10T19:00:00</a:LastDate>
                       <a:NamePosition>врач-офтальмолог</a:NamePosition>
                       <a:NearestDate>2018-10-03T12:00:00</a:NearestDate>
                    </a:Position>
                 </a:ListPosition>
              </GetPositionListResult>
           </GetPositionListResponse>
        </s:Body>
     </s:Envelope>     

Запрос

        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
        <soapenv:Header/>
        <soapenv:Body>
           <tem:GetDoctorList2>
              <tem:idLpu>466</tem:idLpu>
              <tem:idPat>26</tem:idPat>
              <tem:fedIdPosition>109</tem:fedIdPosition>
              <tem:guid>YourGUID</tem:guid>
           </tem:GetDoctorList2>
        </soapenv:Body>
     </soapenv:Envelope>     

Ответ

        <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
        <s:Body>
            <GetDoctorList2Response xmlns="http://tempuri.org/">
                <GetDoctorList2Result xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                    <a:ErrorList i:nil="true"/>
                    <a:IdHistory i:nil="true"/>
                    <a:Success>true</a:Success>
                    <a:Docs>
                        <a:Doctor3>
                            <a:Area i:nil="true"/>
                            <a:AreaType i:nil="true"/>
                            <a:Comment i:nil="true"/>
                            <a:CountFreeParticipantIE>20</a:CountFreeParticipantIE>
                            <a:CountFreeTicket>20</a:CountFreeTicket>
                            <a:IdDoc>9748</a:IdDoc>
                            <a:LastDate>2018-10-15T12:00:00</a:LastDate>
                            <a:Name>Ивонина Наталья Сергеевна</a:Name>
                            <a:NearestDate>2018-09-28T14:00:00</a:NearestDate>
                            <a:Snils>11787365997</a:Snils>
                        </a:Doctor3>
                        <a:Doctor3>
                            <a:Area i:nil="true"/>
                            <a:AreaType i:nil="true"/>
                            <a:Comment i:nil="true"/>
                            <a:CountFreeParticipantIE>22</a:CountFreeParticipantIE>
                            <a:CountFreeTicket>22</a:CountFreeTicket>
                            <a:IdDoc>8474</a:IdDoc>
                            <a:LastDate>2018-10-17T15:00:00</a:LastDate>
                            <a:Name>Васильчикова Анастасия Сергеевна</a:Name>
                            <a:NearestDate>2018-09-30T14:00:00</a:NearestDate>
                            <a:Snils>14526742566</a:Snils>
                        </a:Doctor3>
                    </a:Docs>
                </GetDoctorList2Result>
            </GetDoctorList2Response>
        </s:Body>
    </s:Envelope>    

Запрос

  <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:hub="http://schemas.datacontract.org/2004/07/HubService2">
  <soapenv:Header/>
  <soapenv:Body>
      <tem:GetAvailableAppointmentsInfo>
          <tem:patient xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>     
          <tem:info>
              <hub:ProfileMedService>113</hub:ProfileMedService>         
              <hub:SourceLpu>d7fb6608-bc0c-18d3-f510-a0c4c5e717a9</hub:SourceLpu>
          </tem:info>
          <tem:idLpu>007921EB-A4A4-9B7D-65FA-69F2C5FC883E</tem:idLpu>
          <tem:guid>YourGUID</tem:guid>
      </tem:GetAvailableAppointmentsInfo>
  </soapenv:Body>
</soapenv:Envelope>         

Ответ

        <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
        <s:Body>
           <GetAvailableAppointmentsInfoResponse xmlns="http://tempuri.org/">
              <GetAvailableAppointmentsInfoResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                 <a:ErrorList/>
                 <a:IdHistory i:nil="true"/>
                 <a:Success>true</a:Success>
                 <a:IdLpu>370</a:IdLpu>
                 <a:IdPat>120</a:IdPat>
                 <a:ListSpeciality>
                    <a:Speciality2>
                       <a:Description i:nil="true"/>
                       <a:FerIdSpeciality>27</a:FerIdSpeciality>
                       <a:IdSpeciality>73</a:IdSpeciality>
                       <a:ListDoctor>
                          <a:Doctor2>
                             <a:Description i:nil="true"/>
                             <a:IdDoc>38</a:IdDoc>
                             <a:ListAppointment>
                                <a:Appointment>
                                   <a:Address>Санкт-Петербург, г. Пушкин, Московская улица дом 15</a:Address>
                                   <a:IdAppointment>5493e7ae-1cee-4ed4-b472-ea735e416650</a:IdAppointment>
                                   <a:Num i:nil="true"/>
                                   <a:Room>Кабинет №13</a:Room>
                                   <a:VisitEnd>2018-09-30T13:00:00</a:VisitEnd>
                                   <a:VisitStart>2018-09-30T12:00:00</a:VisitStart>
                                </a:Appointment>
                                <a:Appointment>
                                   <a:Address>Санкт-Петербург, г. Пушкин, Московская улица дом 15</a:Address>
                                   <a:IdAppointment>0b0100ef-a426-49a3-9be2-d9e21c3d8112</a:IdAppointment>
                                   <a:Num i:nil="true"/>
                                   <a:Room>Кабинет №13</a:Room>
                                   <a:VisitEnd>2018-09-30T14:00:00</a:VisitEnd>
                                   <a:VisitStart>2018-09-30T13:00:00</a:VisitStart>
                                </a:Appointment>
                             </a:ListAppointment>
                             <a:Name>Иванова Мария Владимировна</a:Name>
                             <a:Snils>11122255566</a:Snils>
                          </a:Doctor2>
                       </a:ListDoctor>
                       <a:NameSpeciality>Терапия</a:NameSpeciality>
                    </a:Speciality2>
                 </a:ListSpeciality>
              </GetAvailableAppointmentsInfoResult>
           </GetAvailableAppointmentsInfoResponse>
        </s:Body>
     </s:Envelope>