Справочники

Перечень открытых справочников системы, доступных для интеграции в информационные системы

Справочник «Источники аннулирования направления»

Получение всех элементов справочника

#!php

/udata/data/getAnnulSources/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getAnnulSources" generation-time="2.611129">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>1</id>
                <guid>insurance</guid>
                <name>Cтраховые медицинские организации</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>2</id>
                <guid>hospital</guid>
                <name>Медицинские организации, оказывающие медицинскую помощь в стационарных условиях</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>3</id>
                <guid>ambulant</guid>
                <name>Медицинские организации, оказывающие первичную медико-санитарную помощь в амбулаторных условиях</name>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение источника аннулирования по GUID

#!php

/udata/data/getAnnulSourceByGuid/{$annulSourceGuid}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getAnnulSourceByGuid" generation-time="0.098610">
    <response>
        <code>200</code>
        <data>
            <id>3</id>
            <guid>ambulant</guid>
            <name>Медицинские организации, оказывающие первичную медико-санитарную помощь в амбулаторных условиях</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Получение источника аннулирования по ID

#!php

/udata/data/getAnnulSourceById/{$annulSourceId}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getAnnulSourceById" generation-time="0.064843">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <guid>insurance</guid>
            <name>Cтраховые медицинские организации</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Справочник «Причины аннулирования направления»

Получение всех элементов справочника

#!php

/udata/data/getAnnulReasons/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getAnnulReasons" generation-time="0.378496">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>1</id>
                <guid>absence</guid>
                <name>Неявка пациента на госпитализацию</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>2</id>
                <guid>docs</guid>
                <name>Непредоставление необходимого пакета документов (отказ медицинской организации, оказывающей медицинскую помощь в стационарных условиях)</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>3</id>
                <guid>renouncement</guid>
                <name>Инициативный отказ от госпитализации пациентом</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>4</id>
                <guid>death</guid>
                <name>Смерть</name>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение причины аннулирования по GUID

#!php

/udata/data/getAnnulReasonByGuid/{$annulReasonGuid}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getAnnulReasonByGuid" generation-time="0.064594">
    <response>
        <code>200</code>
        <data>
            <id>2</id>
            <guid>docs</guid>
            <name>Непредоставление необходимого пакета документов (отказ медицинской организации, оказывающей медицинскую помощь в стационарных условиях)</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Получение причины аннулирования по ID

#!php

/udata/data/getAnnulReasonById/{$annulReasonId}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getAnnulReasonById" generation-time="0.394100">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <guid>absence</guid>
            <name>Неявка пациента на госпитализацию</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Справочник «Виды движения пациента»

Получение всех элементов справочника

#!php

/udata/data/getMoveTypes/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getMoveTypes" generation-time="0.096385">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>1</id>
                <guid>transfer</guid>
                <name>Перевод</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>2</id>
                <guid>moveout</guid>
                <name>Выписка</name>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение вида движения по GUID

#!php

/udata/data/getMoveTypeByGuid/{$id}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getMoveTypeByGuid" generation-time="0.075088">
    <response>
        <code>200</code>
        <data>
            <id>2</id>
            <guid>moveout</guid>
            <name>Выписка</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Получение вида движения по ID

#!php

/udata/data/getMoveTypeById/{$id}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getMoveTypeById" generation-time="0.103495">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <guid>transfer</guid>
            <name>Перевод</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Справочник «Профили коек»

Получение всех элементов справочника

#!php

/udata/data/getBedProfiles/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getBedProfiles" generation-time="0.512245">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>4</id>
                <department_profile_id>2</department_profile_id>
                <name>беременных и рожениц (акушерство и гинекология)</name>
                <is_active>1</is_active>
            </item>
            ...
            ...
            ...
            <item>
                <id>86</id>
                <department_profile_id>122</department_profile_id>
                <name>эндокринологические</name>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение профиля койки по ID

#!php

/udata/data/getBedProfileById/{$id}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getBedProfileById" generation-time="2.447575">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <department_profile_id>3</department_profile_id>
            <name>беременных и рожениц (акушерское дело)</name>
            <is_active>0</is_active>
        </data>
    </response>
</udata>

Справочник «Профили отделений»

Получение всех элементов справочника

#!php

/udata/data/getDepartmentProfiles/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getDepartmentProfiles" generation-time="0.191558">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>1</id>
                <name>абдоминальной хирургии</name>
                <is_active>1</is_active>
            </item>
            ...
            ...
            ...
            <item>
                <id>123</id>
                <name>эндоскопии</name>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение профиля отделения по ID

#!php

/udata/data/getDepartmentProfileById/{$id}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getDepartmentProfileById" generation-time="0.078298">
    <response>
        <code>200</code>
        <data>
            <id>10</id>
            <name>врачебно-летной экспертизе</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Справочник «Экстренность»

Получение всех элементов справочника

#!php

/udata/data/getEmergencies/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getEmergencies" generation-time="0.176694">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>1</id>
                <guid>planned</guid>
                <name>плановая</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>2</id>
                <guid>crashed</guid>
                <name>неотложная</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>3</id>
                <guid>extra</guid>
                <name>экстренная</name>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение экстренности по GUID

#!php

/udata/data/getEmergencyByGuid/{$guid}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getEmergencyByGuid" generation-time="0.081604">
    <response>
        <code>200</code>
        <data>
            <id>3</id>
            <guid>extra</guid>
            <name>экстренная</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Получение экстренности по ID

#!php

/udata/data/getEmergencyById/{$id}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getEmergencyById" generation-time="0.090066">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <guid>planned</guid>
            <name>плановая</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Справочник «Статусы»

Получение всех элементов справочника

#!php

/udata/data/getStatuses/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getStatuses" generation-time="0.113479">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>1</id>
                <guid>added</guid>
                <name>Зарегистрирован</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>2</id>
                <guid>canceled</guid>
                <name>Аннулирован</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>3</id>
                <guid>moveouted</guid>
                <name>Выписан</name>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение статуса по GUID

#!php

/udata/data/getStatusByGuid/{$guid}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getStatusByGuid" generation-time="0.075594">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <guid>added</guid>
            <name>Зарегистрирован</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Получение статуса по ID

#!php

/udata/data/getStatusById/{$id}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getStatusById" generation-time="0.089115">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <guid>added</guid>
            <name>Зарегистрирован</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Справочник «Формы оказания помощи»

Получение всех элементов справочника

#!php

/udata/data/getForms/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getForms" generation-time="0.140142">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>1</id>
                <guid>hospital</guid>
                <name>стационар</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>2</id>
                <guid>day_hospital</guid>
                <name>дневной стационар</name>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение формы оказания помощи по GUID

#!php

/udata/data/getFormByGuid/{$guid}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getFormByGuid" generation-time="0.079654">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <guid>hospital</guid>
            <name>стационар</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Получение формы оказания помощи по ID

#!php

/udata/data/getFormById/{$id}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getFormById" generation-time="0.078159">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <guid>hospital</guid>
            <name>стационар</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Справочник «Типы полисов»

Получение всех элементов справочника

#!php

/udata/data/getPolicyTypes/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyTypes" generation-time="0.143510">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>1</id>
                <guid>old</guid>
                <name>Полис ОМС старого образца</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>2</id>
                <guid>temporary</guid>
                <name>Временное свидетельство</name>
                <is_active>1</is_active>
            </item>
            <item>
                <id>3</id>
                <guid>enp</guid>
                <name>Полис ОМС единого образца</name>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение типа полиса по GUID

#!php

/udata/data/getPolicyTypeByGuid/{$guid}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyTypeByGuid" generation-time="0.074592">
    <response>
        <code>200</code>
        <data>
            <id>3</id>
            <guid>enp</guid>
            <name>Полис ОМС единого образца</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Получение типа полиса по ID

#!php

/udata/data/getPolicyTypeById/{$id}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyTypeById" generation-time="0.085236">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <guid>old</guid>
            <name>Полис ОМС старого образца</name>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Справочник «Страховые компании»

Получение всех элементов справочника

#!php

/udata/data/getPolicyCompanies/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyCompanies" generation-time="0.219543">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>1</id>
                <code>01001</code>
                <name>ФИЛИАЛ ООО ВТБ МЕДИЦИНА В РЕСПУБЛИКЕ АДЫГЕЯ</name>
                <region_code>01</region_code>
                <is_active>1</is_active>
            </item>
            ...
            ...
            ...
            <item>
                <id>582</id>
                <code>86003</code>
                <name>ООО "МСК "МАКСИМУС"</name>
                <region_code>92</region_code>
                <is_active>1</is_active>
            </item>
        </data>
    </response>
</udata>

Получение страховой компании по реестровому номеру

#!php

/udata/data/getPolicyCompanyByCode/{$guid}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyCompanyByCode" generation-time="0.078742">
    <response>
        <code>200</code>
        <data>
            <id>582</id>
            <code>86003</code>
            <name>ООО "МСК "МАКСИМУС"</name>
            <region_code>92</region_code>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Получение страховой компании по ID

#!php

/udata/data/getPolicyCompanyById/{$id}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getPolicyCompanyById" generation-time="0.079509">
    <response>
        <code>200</code>
        <data>
            <id>1</id>
            <code>01001</code>
            <name>ФИЛИАЛ ООО ВТБ МЕДИЦИНА В РЕСПУБЛИКЕ АДЫГЕЯ</name>
            <region_code>01</region_code>
            <is_active>1</is_active>
        </data>
    </response>
</udata>

Справочник «Регионы»

Получение всех элементов справочника

#!php

/udata/data/getRegions/
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getRegions" generation-time="0.158663">
    <response>
        <code>200</code>
        <data>
            <item>
                <id>01</id>
                <name>Адыгея Респ</name>
                <okato>79000</okato>
            </item>
            ...
            ...
            ...
            <item>
                <id>02</id>
                <name>Башкортостан Респ</name>
                <okato>80000</okato>
            </item>
        </data>
    </response>
</udata>

Получение региона по коду

#!php

/udata/data/getRegionByCode/{$code}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getRegionByCode" generation-time="0.078556">
    <response>
        <code>200</code>
        <data>
            <id>26</id>
            <name>Ставропольский край</name>
            <okato>07000</okato>
        </data>
    </response>
</udata>

Получение региона по OKATO

#!php

/udata/data/getRegionByOkato/{$okato}
#!xml

<?xml version="1.0" encoding="utf-8"?>
<udata xmlns:xlink="http://www.w3.org/TR/xlink" module="data" method="getRegionByOkato" generation-time="0.081053">
    <response>
        <code>200</code>
        <data>
            <id>26</id>
            <name>Ставропольский край</name>
            <okato>07000</okato>
        </data>
    </response>
</udata>