Выбор района (GetDistrictList)
Запрос
<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>
Выбор ЛПУ (GetLPUList)
Запрос
<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>
Идентификация пациента (CheckPatient)
Запрос
<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>
Выбор специальности (GetSpesialityList)
Запрос
<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>
Выбор врача (GetDoctorList)
Запрос
<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>
Выбор даты (GetAvailableDates)
Запрос
<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>
Выбор времени приема (GetAvaibleAppointments)
Запрос
<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>
Подтверждение записи (SetAppointment)
Запрос
<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>
Поиск пациента (SearchTop10patient)
Запрос
<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>
Добавление пациента в стороннюю МИС (AddNewPatient)
Запрос
<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>
Передача в МИС номера телефона пациента (UpdatePhoneByIdPat)
Запрос
<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>
Просмотр предстоящих записей пациента (GetPatientHistory)
Запрос
<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>
Подача заявки на отмену записи (CreateClaimForRefusal)
Запрос
<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>
Просмотр расписаний (без записи) (GetWorkingTime)
Запрос
<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>
Получение списка врачей, сгруппированных по специальности (GetDocListFullTree)
Запрос
<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>
Определение пользователя по его GUID (GetHubUserByGuid)
Запрос
<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>
Получение доступных врачей для записи пациента на прием (GetAvailableDoctors)
Запрос
<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>
Получение списка должностей (GetPositionList)
Запрос
<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>
Получение списка врачей по должности (GetDoctorList2)
Запрос
<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>
Получение списка услуг (GetServiceList)
Запрос
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <GetServiceList xmlns="http://tempuri.org/"> <idDoc>5f</idDoc> <idLpu>1</idLpu> <idPat>1785</idPat> <guid>28709CBB-BB52-435A-96A7-97D1D6903777</guid> <idHistory i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" /> </GetServiceList> </s:Body> </s:Envelope>
Ответ
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <GetServiceListResponse xmlns="http://tempuri.org/"> <GetServiceListResult xmlns:d4p1="http://schemas.datacontract.org/2004/07/HubService2" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <d4p1:ErrorList /> <d4p1:IdHistory i:nil="true" /> <d4p1:Success>true</d4p1:Success> <d4p1:Comment>Testing ServiceListResult Comment</d4p1:Comment> <d4p1:ListService> <d4p1:Service> <d4p1:Comment>Testing Service Comment 0</d4p1:Comment> <d4p1:IdService>Service-ID-0</d4p1:IdService> <d4p1:NameService>Testing Service Name 0</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 1</d4p1:Comment> <d4p1:IdService>Service-ID-1</d4p1:IdService> <d4p1:NameService>Testing Service Name 1</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 2</d4p1:Comment> <d4p1:IdService>Service-ID-2</d4p1:IdService> <d4p1:NameService>Testing Service Name 2</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 3</d4p1:Comment> <d4p1:IdService>Service-ID-3</d4p1:IdService> <d4p1:NameService>Testing Service Name 3</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 4</d4p1:Comment> <d4p1:IdService>Service-ID-4</d4p1:IdService> <d4p1:NameService>Testing Service Name 4</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 5</d4p1:Comment> <d4p1:IdService>Service-ID-5</d4p1:IdService> <d4p1:NameService>Testing Service Name 5</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 6</d4p1:Comment> <d4p1:IdService>Service-ID-6</d4p1:IdService> <d4p1:NameService>Testing Service Name 6</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 7</d4p1:Comment> <d4p1:IdService>Service-ID-7</d4p1:IdService> <d4p1:NameService>Testing Service Name 7</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 8</d4p1:Comment> <d4p1:IdService>Service-ID-8</d4p1:IdService> <d4p1:NameService>Testing Service Name 8</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 9</d4p1:Comment> <d4p1:IdService>Service-ID-9</d4p1:IdService> <d4p1:NameService>Testing Service Name 9</d4p1:NameService> </d4p1:Service> <d4p1:Service> <d4p1:Comment>Testing Service Comment 10</d4p1:Comment> <d4p1:IdService>Service-ID-10</d4p1:IdService> <d4p1:NameService>Testing Service Name 10</d4p1:NameService> </d4p1:Service> </d4p1:ListService> </GetServiceListResult> </GetServiceListResponse> </s:Body> </s:Envelope>