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