Запрос

    <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.Examination">
    <soapenv:Header/>
    <soapenv:Body>
       <tem:ValidateMedicalExamination>
          <tem:idLpu>31</tem:idLpu>
          <tem:comment xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
          <tem:medicalExaminationType>1</tem:medicalExaminationType>
          <tem:guid>YourGUID</tem:guid>
          <tem:examinationPatient>
             <hub:BirthDate>1991-06-06</hub:BirthDate>
             <hub:Email xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
             <hub:Gender>1</hub:Gender>
             <hub:Name>Фёдор</hub:Name>
             <hub:Patronymic>Акакиевич</hub:Patronymic>
             <hub:Phone xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
             <hub:PolicyNumber>7855210838000475</hub:PolicyNumber>
             <hub:PolicySeries xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
             <hub:Snils>00000000003</hub:Snils>
             <hub:Surname>Фёдоров</hub:Surname>
          </tem:examinationPatient>
       </tem:ValidateMedicalExamination>
    </soapenv:Body>
 </soapenv:Envelope> 

Ответ

  <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
     <ValidateMedicalExaminationResponse xmlns="http://tempuri.org/">
        <ValidateMedicalExaminationResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.Examination" 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:IdPat>8523</a:IdPat>
           <a:ListMedicalExamination>
              <a:MedicalExamination>
                 <a:ExaminationStatus>3</a:ExaminationStatus>
                 <a:ExaminationStatusNotes i:nil="true"/>
                 <a:IdMedicalExamination>dc396c89-e4fe-45f8-8162-35046f86ec5b</a:IdMedicalExamination>
                 <a:IsQuestionnaireFilled>false</a:IsQuestionnaireFilled>
                 <a:ListMedicalService/>
                 <a:MedicalExaminationType>1</a:MedicalExaminationType>
              </a:MedicalExamination>
           </a:ListMedicalExamination>
        </ValidateMedicalExaminationResult>
     </ValidateMedicalExaminationResponse>
  </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.Examination">
    <soapenv:Header/>
    <soapenv:Body>
       <tem:MedicalExaminationQuestioning>
          <tem:idLpu>31</tem:idLpu>
          <tem:idPat>8523</tem:idPat>
          <tem:idMedicalExamination>dc396c89-e4fe-45f8-8162-35046f86ec5b</tem:idMedicalExamination>
          <tem:comment xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
          <tem:guid>YourGUID</tem:guid>
          <tem:ListQuestionnaire>
             <hub:Questionnaire>
                <hub:ListQuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_1</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_2</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_3</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_4</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_5</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_6</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_7</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_8</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_9</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q1_10</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q2</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q3</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q4</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q5</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q6</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q8</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q9</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q10</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q11</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q12</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q13</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q14</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q15</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q16</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q17</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q18</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q19</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>До 30 минут</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q21</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Да</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q22</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q23</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Нет</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q24</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                   <hub:QuestionnaireAnswer>
                      <hub:AnswerValue>Никогда</hub:AnswerValue>
                      <hub:QuestionCode>QDISP_TO75_Q25</hub:QuestionCode>
                   </hub:QuestionnaireAnswer>
                </hub:ListQuestionnaireAnswer>
                <hub:QuestionnaireType>1</hub:QuestionnaireType>
             </hub:Questionnaire>
          </tem:ListQuestionnaire>
       </tem:MedicalExaminationQuestioning>
    </soapenv:Body>
 </soapenv:Envelope> 

Ответ

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
       <MedicalExaminationQuestioningResponse xmlns="http://tempuri.org/">
          <MedicalExaminationQuestioningResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.Examination" 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>
          </MedicalExaminationQuestioningResult>
       </MedicalExaminationQuestioningResponse>
    </s:Body>
 </s:Envelope> 

Запрос

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
    <soapenv:Header/>
    <soapenv:Body>
       <tem:GetMedicalExaminationPlan>
          <tem:idLpu>31</tem:idLpu>
          <tem:idPat>8523</tem:idPat>
          <tem:idMedicalExamination>dc396c89-e4fe-45f8-8162-35046f86ec5b</tem:idMedicalExamination>
          <tem:guid>YourGUID</tem:guid>
       </tem:GetMedicalExaminationPlan>
    </soapenv:Body>
 </soapenv:Envelope> 

Ответ

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
       <GetMedicalExaminationPlanResponse xmlns="http://tempuri.org/">
          <GetMedicalExaminationPlanResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.Examination" 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:MedicalExamination>
                <a:ExaminationStatus>3</a:ExaminationStatus>
                <a:ExaminationStatusNotes i:nil="true"/>
                <a:IdMedicalExamination>dc396c89-e4fe-45f8-8162-35046f86ec5b</a:IdMedicalExamination>
                <a:IsQuestionnaireFilled>false</a:IsQuestionnaireFilled>
                <a:ListMedicalService>
                   <a:MedicalService>
                      <a:IdMedicalService>6448aa6f-8cfb-4142-ba64-6ab53e0b197d</a:IdMedicalService>
                      <a:MedicalServiceAvailableResource>
                         <a:IdLpu>31</a:IdLpu>
                         <a:ListMedicalResource>
                            <a:MedicalResource2>
                               <a:IdMedicalResource>33159a29-2ee1-4c99-9032-090c89b6adcc</a:IdMedicalResource>
                               <a:MedicalEmployee>
                                  <a:MedicalEmployeeComment i:nil="true"/>
                                  <a:MedicalEmployeeFedIdSpeciality>27</a:MedicalEmployeeFedIdSpeciality>
                                  <a:MedicalEmployeeIdSpeciality>4324</a:MedicalEmployeeIdSpeciality>
                                  <a:MedicalEmployeeNameSpeciality>Терапия</a:MedicalEmployeeNameSpeciality>
                                  <a:MedicalEmployeePositionCode>109</a:MedicalEmployeePositionCode>
                                  <a:MedicalEmployeeSnils>11122255566</a:MedicalEmployeeSnils>
                               </a:MedicalEmployee>
                               <a:MedicalResourceComment i:nil="true"/>
                               <a:MedicalResourceName>Иванова Мария Владимировна</a:MedicalResourceName>
                               <a:ListSlot>
                                  <a:Slot>
                                     <a:Address>Санкт-Петербург, проспект Ленина, дом 15</a:Address>
                                     <a:IdSlot>1f0502b3-8989-4cca-8822-62183ed0b2f2</a:IdSlot>
                                     <a:Room>Кабинет №13</a:Room>
                                     <a:VisitEnd>2018-11-25T17:30:00</a:VisitEnd>
                                     <a:VisitStart>2018-11-25T16:30:00</a:VisitStart>
                                  </a:Slot>
                               </a:ListSlot>
                            </a:MedicalResource2>
                            <a:MedicalResource2>
                               <a:IdMedicalResource>594917ce-2030-4c88-8805-3acd736bd1ec</a:IdMedicalResource>
                               <a:MedicalEmployee>
                                  <a:MedicalEmployeeComment i:nil="true"/>
                                  <a:MedicalEmployeeFedIdSpeciality>27</a:MedicalEmployeeFedIdSpeciality>
                                  <a:MedicalEmployeeIdSpeciality>4324</a:MedicalEmployeeIdSpeciality>
                                  <a:MedicalEmployeeNameSpeciality>Терапия</a:MedicalEmployeeNameSpeciality>
                                  <a:MedicalEmployeePositionCode>109</a:MedicalEmployeePositionCode>
                                  <a:MedicalEmployeeSnils>11133255566</a:MedicalEmployeeSnils>
                               </a:MedicalEmployee>
                               <a:MedicalResourceComment i:nil="true"/>
                               <a:MedicalResourceName>Русакова Анна Андреевна</a:MedicalResourceName>
                               <a:ListSlot>
                                  <a:Slot>
                                     <a:Address>Санкт-Петербург, проспект Ленина, дом 15</a:Address>
                                     <a:IdSlot>09a7cfd5-eb45-4b8f-80d2-b94429eb6fcd</a:IdSlot>
                                     <a:Room>Кабинет №13</a:Room>
                                     <a:VisitEnd>2018-11-25T17:30:00</a:VisitEnd>
                                     <a:VisitStart>2018-11-25T16:30:00</a:VisitStart>
                                  </a:Slot>
                               </a:ListSlot>
                            </a:MedicalResource2>
                         </a:ListMedicalResource>
                      </a:MedicalServiceAvailableResource>
                      <a:MedicalServiceBooking>
                         <a:BookingMember>f40ec472-8e6a-42b2-a180-baa6d6e924c3</a:BookingMember>
                         <a:BookingSource>6</a:BookingSource>
                         <a:ChangeBookingMember>f40ec472-8e6a-42b2-a180-baa6d6e924c3</a:ChangeBookingMember>
                         <a:ChangeBookingSource>6</a:ChangeBookingSource>
                         <a:IdLpu>31</a:IdLpu>
                         <a:IdMedicalServiceBooking>00ec869d-e39b-4737-b40b-fde5e46dce10</a:IdMedicalServiceBooking>
                         <a:MedicalResource>
                            <a:IdMedicalResource>60bd3015-a242-454e-b327-0dfb0409e7bf</a:IdMedicalResource>
                            <a:MedicalEmployee i:nil="true"/>
                            <a:MedicalResourceComment i:nil="true"/>
                            <a:MedicalResourceName>Врачебный кабинет</a:MedicalResourceName>
                         </a:MedicalResource>
                         <a:MedicalServiceBookingDateTime>2018-11-01T16:30:00</a:MedicalServiceBookingDateTime>
                         <a:MedicalServiceBookingStatus>4</a:MedicalServiceBookingStatus>
                         <a:MedicalServiceBoookingComment i:nil="true"/>
                         <a:Room>Кабинет №13</a:Room>
                      </a:MedicalServiceBooking>
                      <a:MedicalServiceCode>B04.047.001</a:MedicalServiceCode>
                      <a:MedicalServiceComment i:nil="true"/>
                      <a:MedicalServiceConditions i:nil="true"/>
                      <a:MedicalServiceName>Диспансерный прием (осмотр, консультация) врача-терапевта</a:MedicalServiceName>
                      <a:MedicalServiceRequired>true</a:MedicalServiceRequired>
                      <a:MedicalServiceStatus>3</a:MedicalServiceStatus>
                      <a:MedicalServiceUnavailableReason i:nil="true"/>
                   </a:MedicalService>
                   <a:MedicalService>
                      <a:IdMedicalService>7ceb6f5b-613c-4a8f-98d2-fa8941e7dd8b</a:IdMedicalService>
                      <a:MedicalServiceAvailableResource>
                         <a:IdLpu>31</a:IdLpu>
                         <a:ListMedicalResource>
                            <a:MedicalResource2>
                               <a:IdMedicalResource>2a43a829-1c58-476a-99db-c2e83432c675</a:IdMedicalResource>
                               <a:MedicalEmployee i:nil="true"/>
                               <a:MedicalResourceComment i:nil="true"/>
                               <a:MedicalResourceName>Кабинет №108</a:MedicalResourceName>
                               <a:ListSlot>
                                  <a:Slot>
                                     <a:Address>Санкт-Петербург, проспект Ленина, дом 15</a:Address>
                                     <a:IdSlot>47763cfe-34bd-46c5-bad0-2987d4b1537e</a:IdSlot>
                                     <a:Room>Кабинет №108</a:Room>
                                     <a:VisitEnd>2018-11-25T19:30:00</a:VisitEnd>
                                     <a:VisitStart>2018-11-25T18:30:00</a:VisitStart>
                                  </a:Slot>
                               </a:ListSlot>
                            </a:MedicalResource2>
                         </a:ListMedicalResource>
                      </a:MedicalServiceAvailableResource>
                      <a:MedicalServiceBooking i:nil="true"/>
                      <a:MedicalServiceCode>A06.09.006</a:MedicalServiceCode>
                      <a:MedicalServiceComment i:nil="true"/>
                      <a:MedicalServiceConditions i:nil="true"/>
                      <a:MedicalServiceName>Флюорография легких</a:MedicalServiceName>
                      <a:MedicalServiceRequired>true</a:MedicalServiceRequired>
                      <a:MedicalServiceStatus>3</a:MedicalServiceStatus>
                      <a:MedicalServiceUnavailableReason i:nil="true"/>
                   </a:MedicalService>
                   <a:MedicalService>
                      <a:IdMedicalService>945df2e2-c7e5-4ebe-aa33-4d6f2216c65f</a:IdMedicalService>
                      <a:MedicalServiceAvailableResource>
                         <a:IdLpu>31</a:IdLpu>
                         <a:ListMedicalResource>
                            <a:MedicalResource2>
                               <a:IdMedicalResource>7b7315c4-2bf8-465b-a45d-1af5acf42b86</a:IdMedicalResource>
                               <a:MedicalEmployee i:nil="true"/>
                               <a:MedicalResourceComment i:nil="true"/>
                               <a:MedicalResourceName>Кабинет медицинской профилактики</a:MedicalResourceName>
                               <a:ListSlot>
                                  <a:Slot>
                                     <a:Address>Санкт-Петербург, проспект Ленина, дом 15</a:Address>
                                     <a:IdSlot>b79df3a4-5a47-4a09-ad8d-53ce1cde3653</a:IdSlot>
                                     <a:Room>Кабинет медицинской профилактики</a:Room>
                                     <a:VisitEnd>2018-11-25T20:30:00</a:VisitEnd>
                                     <a:VisitStart>2018-11-25T20:00:00</a:VisitStart>
                                  </a:Slot>
                               </a:ListSlot>
                            </a:MedicalResource2>
                         </a:ListMedicalResource>
                      </a:MedicalServiceAvailableResource>
                      <a:MedicalServiceBooking i:nil="true"/>
                      <a:MedicalServiceCode>A02.12.002</a:MedicalServiceCode>
                      <a:MedicalServiceComment i:nil="true"/>
                      <a:MedicalServiceConditions i:nil="true"/>
                      <a:MedicalServiceName>Измерение артериального давления на периферических артериях</a:MedicalServiceName>
                      <a:MedicalServiceRequired>true</a:MedicalServiceRequired>
                      <a:MedicalServiceStatus>3</a:MedicalServiceStatus>
                      <a:MedicalServiceUnavailableReason i:nil="true"/>
                   </a:MedicalService>
                </a:ListMedicalService>
                <a:MedicalExaminationType>1</a:MedicalExaminationType>
             </a:MedicalExamination>
          </GetMedicalExaminationPlanResult>
       </GetMedicalExaminationPlanResponse>
    </s:Body>
 </s:Envelope> 

Запрос

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
    <soapenv:Header/>
    <soapenv:Body>
       <tem:GetMedicalServiceAvailableSlots>
          <tem:idLpu>31</tem:idLpu>
          <tem:idPat>8523</tem:idPat>
          <tem:idMedicalExamination>dc396c89-e4fe-45f8-8162-35046f86ec5b</tem:idMedicalExamination>
          <tem:idMedicalService>6448aa6f-8cfb-4142-ba64-6ab53e0b197d</tem:idMedicalService>
          <tem:idMedicalResource>33159a29-2ee1-4c99-9032-090c89b6adcc</tem:idMedicalResource>
          <tem:slotSearchStartDate>2018-11-16T00:00:00</tem:slotSearchStartDate>
          <tem:slotSearchEndDate>2018-11-19T00:00:00</tem:slotSearchEndDate>
          <tem:guid>YourGUID</tem:guid>
       </tem:GetMedicalServiceAvailableSlots>
    </soapenv:Body>
 </soapenv:Envelope> 

Ответ

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
       <GetMedicalServiceAvailableSlotsResponse xmlns="http://tempuri.org/">
          <GetMedicalServiceAvailableSlotsResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.Examination" 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:ListSlot>
                <a:Slot>
                   <a:Address>Санкт-Петербург, проспект Ленина, дом 15</a:Address>
                   <a:IdSlot>1f0502b3-8989-4cca-8822-62183ed0b2f2</a:IdSlot>
                   <a:Room>Кабинет №13</a:Room>
                   <a:VisitEnd>2018-11-17T13:30:00</a:VisitEnd>
                   <a:VisitStart>2018-11-17T12:30:00</a:VisitStart>
                </a:Slot>
                <a:Slot>
                   <a:Address>Санкт-Петербург, проспект Ленина, дом 15</a:Address>
                   <a:IdSlot>09a7cfd5-eb45-4b8f-80d2-b94429eb6fcd</a:IdSlot>
                   <a:Room>Кабинет №13</a:Room>
                   <a:VisitEnd>2018-11-17T14:30:00</a:VisitEnd>
                   <a:VisitStart>2018-11-17T13:30:00</a:VisitStart>
                </a:Slot>
                <a:Slot>
                   <a:Address>Санкт-Петербург, проспект Ленина, дом 15</a:Address>
                   <a:IdSlot>47763cfe-34bd-46c5-bad0-2987d4b1537e</a:IdSlot>
                   <a:Room>Кабинет №108</a:Room>
                   <a:VisitEnd>2018-11-17T15:30:00</a:VisitEnd>
                   <a:VisitStart>2018-11-17T14:30:00</a:VisitStart>
                </a:Slot>
             </a:ListSlot>
          </GetMedicalServiceAvailableSlotsResult>
       </GetMedicalServiceAvailableSlotsResponse>
    </s:Body>
 </s:Envelope> 

Запрос

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
    <soapenv:Header/>
    <soapenv:Body>
       <tem:BookMedicalService>
          <tem:idLpu>31</tem:idLpu>
          <tem:idPat>8523</tem:idPat>
          <tem:idMedicalExamination>dc396c89-e4fe-45f8-8162-35046f86ec5b</tem:idMedicalExamination>
          <tem:idMedicalService>6448aa6f-8cfb-4142-ba64-6ab53e0b197d</tem:idMedicalService>
          <tem:idMedicalResource>33159a29-2ee1-4c99-9032-090c89b6adcc</tem:idMedicalResource>
          <tem:idSlot>1f0502b3-8989-4cca-8822-62183ed0b2f2</tem:idSlot>
          <tem:visitStart>2018-11-17T12:30:00</tem:visitStart>
          <tem:guid>YourGUID</tem:guid>
       </tem:BookMedicalService>
    </soapenv:Body>
 </soapenv:Envelope> 

Ответ

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
       <BookMedicalServiceResponse xmlns="http://tempuri.org/">
          <BookMedicalServiceResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.Examination" 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:MedicalService>
                <a:IdMedicalService>6448aa6f-8cfb-4142-ba64-6ab53e0b197d</a:IdMedicalService>
                <a:MedicalServiceAvailableResource i:nil="true"/>
                <a:MedicalServiceBooking>
                   <a:BookingMember>f40ec472-8e6a-42b2-a180-baa6d6e924c3</a:BookingMember>
                   <a:BookingSource>6</a:BookingSource>
                   <a:ChangeBookingMember>00000000-0000-0000-0000-000000000000</a:ChangeBookingMember>
                   <a:ChangeBookingSource i:nil="true"/>
                   <a:IdLpu>31</a:IdLpu>
                   <a:IdMedicalServiceBooking>48affb32-9217-4707-b608-1b162fad3d3a</a:IdMedicalServiceBooking>
                   <a:MedicalResource>
                      <a:IdMedicalResource>33159a29-2ee1-4c99-9032-090c89b6adcc</a:IdMedicalResource>
                      <a:MedicalEmployee>
                         <a:MedicalEmployeeComment i:nil="true"/>
                         <a:MedicalEmployeeFedIdSpeciality>27</a:MedicalEmployeeFedIdSpeciality>
                         <a:MedicalEmployeeIdSpeciality>4324</a:MedicalEmployeeIdSpeciality>
                         <a:MedicalEmployeeNameSpeciality>Терапия</a:MedicalEmployeeNameSpeciality>
                         <a:MedicalEmployeePositionCode>109</a:MedicalEmployeePositionCode>
                         <a:MedicalEmployeeSnils>11122255566</a:MedicalEmployeeSnils>
                      </a:MedicalEmployee>
                      <a:MedicalResourceComment i:nil="true"/>
                      <a:MedicalResourceName>Иванова Мария Владимировна</a:MedicalResourceName>
                   </a:MedicalResource>
                   <a:MedicalServiceBookingDateTime>2018-11-17T12:30:00</a:MedicalServiceBookingDateTime>
                   <a:MedicalServiceBookingStatus>1</a:MedicalServiceBookingStatus>
                   <a:MedicalServiceBoookingComment i:nil="true"/>
                   <a:Room>Кабинет №13</a:Room>
                </a:MedicalServiceBooking>
                <a:MedicalServiceCode>B04.047.001</a:MedicalServiceCode>
                <a:MedicalServiceComment i:nil="true"/>
                <a:MedicalServiceConditions i:nil="true"/>
                <a:MedicalServiceName>Диспансерный прием (осмотр, консультация) врача-терапевта</a:MedicalServiceName>
                <a:MedicalServiceRequired>true</a:MedicalServiceRequired>
                <a:MedicalServiceStatus>1</a:MedicalServiceStatus>
                <a:MedicalServiceUnavailableReason i:nil="true"/>
             </a:MedicalService>
          </BookMedicalServiceResult>
       </BookMedicalServiceResponse>
    </s:Body>
 </s:Envelope> 

Запрос

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
    <soapenv:Header/>
    <soapenv:Body>
       <tem:CancelMedicalServiceBooking>
          <tem:idLpu>31</tem:idLpu>
          <tem:idMedicalServiceBooking>48affb32-9217-4707-b608-1b162fad3d3a</tem:idMedicalServiceBooking>
          <tem:idPat>8523</tem:idPat>
          <tem:guid>YourGUID</tem:guid>
       </tem:CancelMedicalServiceBooking>
    </soapenv:Body>
 </soapenv:Envelope> 

Ответ

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
       <CancelMedicalServiceBookingResponse xmlns="http://tempuri.org/">
          <CancelMedicalServiceBookingResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.Examination" 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>
          </CancelMedicalServiceBookingResult>
       </CancelMedicalServiceBookingResponse>
    </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.Examination">
    <soapenv:Header/>
    <soapenv:Body>
       <tem:UpdateMedicalServiceBooking>
          <tem:idLpu>31</tem:idLpu>
          <tem:idPat>8523</tem:idPat>
          <tem:guid>C10B287B-6DFC-433D-BD18-34EDCD88A002</tem:guid>
          <tem:medicalExamination>
             <hub:ExaminationStatus>3</hub:ExaminationStatus>
             <hub:IdMedicalExamination>dc396c89-e4fe-45f8-8162-35046f86ec5b</hub:IdMedicalExamination>
             <hub:IsQuestionnaireFilled>true</hub:IsQuestionnaireFilled>
             <hub:ListMedicalService>
                <hub:MedicalService>
                   <hub:IdMedicalService>6448aa6f-8cfb-4142-ba64-6ab53e0b197d</hub:IdMedicalService>
                   <hub:MedicalServiceAvailableResource xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
                   <hub:MedicalServiceBooking>
                      <hub:BookingMember>f40ec472-8e6a-42b2-a180-baa6d6e924c3</hub:BookingMember>
                      <hub:BookingSource>6</hub:BookingSource>
                      <hub:ChangeBookingMember>f40ec472-8e6a-42b2-a180-baa6d6e924c3</hub:ChangeBookingMember>
                      <hub:ChangeBookingSource>6</hub:ChangeBookingSource>
                      <hub:IdLpu>31</hub:IdLpu>
                      <hub:IdMedicalServiceBooking>00ec869d-e39b-4737-b40b-fde5e46dce10</hub:IdMedicalServiceBooking>
                      <hub:ListMedicalResource>
                         <hub:MedicalResource>
                            <hub:IdMedicalResource>60bd3015-a242-454e-b327-0dfb0409e7bf</hub:IdMedicalResource>
                            <hub:MedicalResourceName>Врачебный кабинет</hub:MedicalResourceName>
                         </hub:MedicalResource>
                      </hub:ListMedicalResource>
                      <hub:MedicalServiceBookingDateTime>2018-12-01T16:30:00</hub:MedicalServiceBookingDateTime>
                      <hub:MedicalServiceBookingStatus>4</hub:MedicalServiceBookingStatus>
                      <hub:Room>Кабинет №13</hub:Room>
                   </hub:MedicalServiceBooking>
                   <hub:MedicalServiceCode>B04.047.001</hub:MedicalServiceCode>
                   <hub:MedicalServiceName>Диспансерный прием (осмотр, консультация) врача-терапевта</hub:MedicalServiceName>
                   <hub:MedicalServiceRequired>true</hub:MedicalServiceRequired>
                   <hub:MedicalServiceStatus>3</hub:MedicalServiceStatus>
                </hub:MedicalService>
             </hub:ListMedicalService>
             <hub:MedicalExaminationType>1</hub:MedicalExaminationType>
          </tem:medicalExamination>
       </tem:UpdateMedicalServiceBooking>
    </soapenv:Body>
 </soapenv:Envelope> 

Ответ

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
       <UpdateMedicalServiceBookingResponse xmlns="http://tempuri.org/">
          <UpdateMedicalServiceBookingResult xmlns:a="http://schemas.datacontract.org/2004/07/HubService2.ContractsClasses.Examination" 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>
          </UpdateMedicalServiceBookingResult>
       </UpdateMedicalServiceBookingResponse>
    </s:Body>
 </s:Envelope>