Справочник «Источники аннулирования направления»
Получение всех элементов справочника
#!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>
No Comments