Îòêðîéòå àêòóàëüíóþ âåðñèþ äîêóìåíòà ïðÿìî ñåé÷àñ
Åñëè âû ÿâëÿåòåñü ïîëüçîâàòåëåì èíòåðíåò-âåðñèè ñèñòåìû ÃÀÐÀÍÒ, âû ìîæåòå îòêðûòü ýòîò äîêóìåíò ïðÿìî ñåé÷àñ èëè çàïðîñèòü ïî Ãîðÿ÷åé ëèíèè â ñèñòåìå.
Ïðèëîæåíèå Å
Ñõåìà XML âûãðóçêè ÅÑÊËÏ
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2013 sp1 (http://www.altova.com) by mk (company) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://service.rosminzdrav.ru/ESKLP" xmlns:xsd="undefined"
targetNamespace="http://service.rosminzdrav.ru/ESKLP">
<xs:element name="ESKLP">
<xs:annotation>
<xs:documentation>Åäèíûé ñïðàâî÷íèê-êàòàëîã ëåêàðñòâåííûõ ïðåïàðàòîâ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="group_list"/>
</xs:sequence>
<xs:attribute name="UUID" type="uuidType" use="required">
<xs:annotation>
<xs:documentation>Óíèêàëüíûé èäåíòèôèêàòîð âûãðóçêè</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="date_create" type="xs:dateTime" use="required">
<xs:annotation>
<xs:documentation>Äàòà-âðåìÿ ñîçäàíèÿ âûãðóçêè</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="group">
<xs:annotation>
<xs:documentation>Ãðóïïà óçëîâ ÑÌÍÍ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="date_change"/>
<xs:element ref="smnn_list" minOccurs="0">
<xs:annotation>
<xs:documentation>Ñïèñîê óçëîâ ÑÌÍÍ äàííîé ãðóïïû</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="group_list" minOccurs="0">
<xs:annotation>
<xs:documentation>Cïèñîê äî÷åðíèõ ãðóïï óçëîâ ÑÌÍÍ äàííîé ãðóïïû</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="BigNameType" use="required">
<xs:annotation>
<xs:documentation>Íàçâàíèå ãðóïïû óçëîâ ÑÌÍÍ, âûâîäèìîå ïîëüçîâàòåëÿì</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UUID" type="uuidType" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="group_list">
<xs:annotation>
<xs:documentation>Ñïèñîê ãðóïï óçëîâ ÑÌÍÍ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="group" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="smnn_list">
<xs:annotation>
<xs:documentation>Ñïèñîê óçëîâ ÑÌÍÍ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="smnn" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="smnn">
<xs:complexType>
<xs:annotation>
<xs:documentation>Óçåë ÑÌÍÍ. Ñîäåðæèò èíôîðìàöèþ, èñïîëüçóåìóþ ïðè îïèñàíèè Çàêàç÷èêîì îáúåêòà çàêóïêè. Îñíîâàí íà òðèàäå "ÌÍÍ + Ëåêàðñòâåííàÿ ôîðìà + Äîçèðîâêà"</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="okpd2"/>
<xs:element ref="code">
<xs:annotation>
<xs:documentation>Êîä óçëà ÑÌÍÍ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="mnn"/>
<xs:element ref="form"/>
<xs:element ref="dosage"/>
<xs:element ref="ftg"/>
<xs:element ref="ath" maxOccurs="unbounded"/>
<xs:element ref="is_znvlp"/>
<xs:element ref="is_narcotic"/>
<xs:element ref="date_create"/>
<xs:element ref="date_start"/>
<xs:element ref="date_end" minOccurs="0"/>
<xs:element ref="date_change"/>
<xs:element ref="smnn_price_list" minOccurs="0"/>
<xs:element ref="klp_list"/>
</xs:sequence>
<xs:attribute name="hash" type="hashType" use="required">
<xs:annotation>
<xs:documentation>Êîíòðîëüíàÿ ñóììà âåðñèè çàïèñè ÑÌÍÍ</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UUID" type="uuidType" use="required">
<xs:annotation>
<xs:documentation>Óíèêàëüíûé ñèñòåìíûé èäåíòèôèêàòîð çàïèñè ÑÌÍÍ</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="okpd2">
<xs:annotation>
<xs:documentation>Êîä ÎÊÏÄ2</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\d{2}\.\d{2}\.\d{2}\.\d{3}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="code">
<xs:annotation>
<xs:documentation>Êîä êàòàëîãà</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="codeType"/>
</xs:simpleType>
</xs:element>
<xs:element name="conv" type="convType"/>
<xs:element name="mnn" type="BigNameType">
<xs:annotation>
<xs:documentation>Íàèìåíîâàíèå ÌÍÍ íà ðóññêîì ÿçûêå</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="form" type="BigNameType">
<xs:annotation>
<xs:documentation>Íàçâàíèå ëåêàðñòâåííîé ôîðìû</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dosage">
<xs:annotation>
<xs:documentation>Îïèñàíèå äîçèðîâêè</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="grls_value" type="BigNameType" form="qualified">
<xs:annotation>
<xs:documentation>Ïîëíîå òåêñòîâîå îïèñàíèå äîçèðîâêè èç ÃÐËÑ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dosage_unit" form="qualified">
<xs:annotation>
<xs:documentation>Åäèíèöà èçìåðåíèÿ äîçèðîâêè ëåêàðñòâåííîãî ïðåïàðàòà</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="name">
<xs:annotation>
<xs:documentation>Íàçâàíèå åäèíèöû èçìåðåíèÿ äîçèðîâêè ëåêàðñòâåííîãî ïðåïàðàòà</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="okei_code" form="qualified">
<xs:annotation>
<xs:documentation>Êîä ÎÊÅÈ. Ïðè íàëè÷èè äàííûõ â ÅÑÊËÏ ïåðåäàåòñÿ ðåàëüíîå çíà÷åíèå. Ïðè îòñóòñòâèè äàííûõ, à òàêæå äëÿ êîìáèíèðîâàííûõ ïðåïàðàòîâ ïåðåäàåòñÿ 876</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\d{3,4}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="okei_name" type="BigNameType" form="qualified">
<xs:annotation>
<xs:documentation>Íàçâàíèå åäèíèöû ÎÊÅÈ. Ïðè íàëè÷èè äàííûõ â ÅÑÊËÏ ïåðåäàåòñÿ ðåàëüíîå çíà÷åíèå. Ïðè îòñóòñòâèè äàííûõ, à òàêæå äëÿ êîìáèíèðîâàííûõ ïðåïàðàòîâ ïåðåäàåòñÿ "Óñëîâíàÿ åäèíèöà"</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="dosage_num" form="qualified">
<xs:annotation>
<xs:documentation>Êîëè÷åñòâî åäèíèö èçìåðåíèÿ ëåêàðñòâåííîãî ïðåïàðàòà (åäèíèö äåéñòâóþùåãî âåùåñòâà) â åäèíèöå ëåêàðñòâåííîé ôîðìû</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:minExclusive value="0"/>
<xs:totalDigits value="20"/>
<xs:fractionDigits value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dosage_user" form="qualified">
<xs:annotation>
<xs:documentation>Ïîòðåáèòåëüñêàÿ åäèíèöà ëåêàðñòâåííîãî ïðåïàðàòà (åäèíèöà òîâàðà)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="name">
<xs:annotation>
<xs:documentation>Íàçâàíèå ïîòðåáèòåëüñêîé åäèíèöû ËÏ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="okei_code" form="qualified">
<xs:annotation>
<xs:documentation>Êîä ÎÊÅÈ. Ïðè îòñóòñòâèè âîçìîæíîñòè ñîïîñòàâèòü çíà÷åíèå ñ ÎÊÅÈ ïåðåäàåòñÿ 876</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\d{3,4}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="okei_name" type="BigNameType" form="qualified">
<xs:annotation>
<xs:documentation>Íàçâàíèå åäèíèöû ÎÊÅÈ. Ïðè îòñóòñòâèè âîçìîæíîñòè ñîïîñòàâèòü çíà÷åíèå ñ ÎÊÅÈ ïåðåäàåòñÿ "Óñëîâíàÿ åäèíèöà"</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="dosage_factor" form="qualified">
<xs:annotation>
<xs:documentation>Êðàòíîñòü ïîñòàâêè ïîòðåáèòåëüñêèõ åäèíèö</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="factor_value" form="qualified" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Êîíêðåòíîå çíà÷åíèå êðàòíîñòè ïîñòàâêè ïîòðåáèòåëüñêèõ åäèíèö</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="10"/>
<xs:totalDigits value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="factor_range" form="qualified" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Äèàïàçîí çíà÷åíèé êðàòíîñòè ïîñòàâêè ïîòðåáèòåëüñêèõ åäèíèö</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="min" form="qualified">
<xs:annotation>
<xs:documentation>Íèæíÿÿ ãðàíèöà äèàïàçîíà</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="20"/>
<xs:fractionDigits value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="max" form="qualified">
<xs:annotation>
<xs:documentation>Âåðõíÿÿ ãðàíèöà äèàïàçîíà</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="10"/>
<xs:totalDigits value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="step" form="qualified">
<xs:annotation>
<xs:documentation>Øàã èçìåíåíèÿ çíà÷åíèé êðàòíîñòè â äèàïàçîíå</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="10"/>
<xs:totalDigits value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="value">
<xs:annotation>
<xs:documentation>Ðåôåðåíòíàÿ öåíà åäèíèöû</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="10"/>
<xs:totalDigits value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="sigma">
<xs:annotation>
<xs:documentation>Ñòàíäàðòíîå îòêëîíåíèå äëÿ öåíîâîé ïîäâûáîðêè</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:fractionDigits value="10"/>
<xs:totalDigits value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ftg" type="BigNameType">
<xs:annotation>
<xs:documentation>Íàçâàíèå ÔÒÃ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ath">
<xs:annotation>
<xs:documentation>Ýëåìåíò ñïðàâî÷íèêà àíàòîìî-òåðàïåâòè÷åñêè-õèìè÷åñêîé êëàññèôèêàöèè (ÀÒÕ)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ath_name" type="BigNameType" form="qualified">
<xs:annotation>
<xs:documentation>Íàçâàíèå ÀÒÕ íà ðóññêîì</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ath_code" type="SmallNameType" form="qualified">
<xs:annotation>
<xs:documentation>Êîä ÀÒÕ</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="is_znvlp" type="xs:boolean">
<xs:annotation>
<xs:documentation>Ïðèçíàê ïðèíàäëåæíîñòè âñåõ ïðåïàðàòîâ, ïðèíàäëåæàùèõ äàííîìó óçëó êëàññèôèêàòîðà ðååñòðó ÆÍÂËÏ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="is_narcotic" type="xs:boolean">
<xs:annotation>
<xs:documentation>Íàëè÷èå â ëåêàðñòâåííîì ïðåïàðàòå íàðêîòè÷åñêèõ ñðåäñòâ, ïñèõîòðîïíûõ âåùåñòâ è èõ ïðåêóðñîðîâ, ïîäëåæàùèõ êîíòðîëþ â Ðîññèéñêîé Ôåäåðàöèè â ñîîòâåòñòâèè ñ çàêîíîäàòåëüñòâîì Ðîññèéñêîé Ôåäåðàöèè, ìåæäóíàðîäíûìè äîãîâîðàìè Ðîññèéñêîé Ôåäåðàöèè, â òîì ÷èñëå Åäèíîé êîíâåíöèåé î íàðêîòè÷åñêèõ ñðåäñòâàõ 1961 ãîäà è Êîíâåíöèåé î ïñèõîòðîïíûõ âåùåñòâàõ 1971 ãîäà</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="date_create" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Äàòà ñîçäàíèÿ çàïèñè</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="date_start" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Äàòà íà÷àëà äåéñòâèÿ çàïèñè</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="date_end" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Äàòà îêîí÷àíèÿ äåéñòâèÿ çàïèñè</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="date_change" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Äàòà ïîñëåäíåãî èçìåíåíèÿ çàïèñè</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="smnn_price_list">
<xs:annotation>
<xs:documentation>Ðåôåðåíòíûå öåíû íà óçåë ÑÌÍÍ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="smnn_price" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="smnn_price">
<xs:annotation>
<xs:documentation>Ðåôåðåíòíàÿ öåíà íà óçåë ÑÌÍÍ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="value">
<xs:annotation>
<xs:documentation>Çíà÷åíèå ðåôåðåíòíîé öåíû (ðóáëåé) çà åäèíèöó ëåêàðñòâåííîãî ïðåïàðàòà ñîîòâåòñòâóþùåãî óçëà ÑÌÍÍ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="sigma"/>
<xs:element ref="usage_min" minOccurs="0"/>
<xs:element ref="usage_max" minOccurs="0"/>
<xs:element ref="price_type"/>
<xs:element ref="date_create"/>
<xs:element ref="date_start"/>
<xs:element ref="date_end" minOccurs="0"/>
<xs:element ref="author"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="usage_min" type="xs:int">
<xs:annotation>
<xs:documentation>Ìèíèìàëüíîå êîëè÷åñòâî çàêóïàåìûõ åäèíèö ËÏ, äëÿ êîòîðûõ ïðèìåíèìà äàííàÿ öåíà</xs:documentation> </xs:annotation>
</xs:element>
<xs:element name="usage_max" type="xs:int">
<xs:annotation>
<xs:documentation>Ìàêñèìàëüíîå êîëè÷åñòâî çàêóïàåìûõ åäèíèö ËÏ, äëÿ êîòîðûõ ïðèìåíèìà äàííàÿ öåíà</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="price_type">
<xs:annotation>
<xs:documentation>Òèï öåíû:
1 - ðàññ÷èòàíà ïî Ìåòîäèêå ñ èñïîëüçîâàíèåì èñòîðè÷åñêèõ äàííûõ
2 - ðàññ÷èòàíà ïî Ìåòîäèêå ñ èñïîëüçîâàíèåì èñòîðè÷åñêèõ äàííûõ è ïîñëåäóþùåé ðó÷íîé êîððåêòèðîâêîé
3 - çàäàíà ïóòåì ïðîâåäåíèÿ ïåðåãîâîðîâ</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="author">
<xs:annotation>
<xs:documentation>ÑÍÈËÑ îïåðàòîðà, âíåñøåãî äàííóþ çàïèñü èëè 000-000-000 00 â ñëó÷àå àâòîìàòè÷åñêîãî ðàñ÷åòà</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\d{3}-\d{3}-\d{3} \d{2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="klp_list">
<xs:annotation>
<xs:documentation>Ñïèñîê ïîçèöèé ÊËÏ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="klp" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="klp">
<xs:annotation>
<xs:documentation>Ïîçèöèÿ ÊËÏ </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="code">
<xs:annotation>
<xs:documentation>Êîä êàòàëîãà äëÿ ïîçèöèè ÊËÏ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="conv">
<xs:annotation>
<xs:documentation>Ñâåðòêà êîäà êàòàëîãà äëÿ ïîçèöèè ÊËÏ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="trade_name"/>
<xs:element ref="pack_1"/>
<xs:element ref="pack_2"/>
<xs:element ref="completeness" minOccurs="0"/>
<xs:element ref="owner"/>
<xs:element ref="num_reg"/>
<xs:element ref="date_reg"/>
<xs:element ref="date_reg_renew" minOccurs="0"/>
<xs:element ref="barcode"/>
<xs:element ref="manufacturer"/>
<xs:element ref="date_create"/>
<xs:element ref="date_start"/>
<xs:element ref="date_end" minOccurs="0"/>
<xs:element ref="date_change"/>
<xs:element ref="klp_price_list" minOccurs="0"/>
<xs:element ref="klp_lim_price_list" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="hash" type="hashType" use="required">
<xs:annotation>
<xs:documentation>Êîíòðîëüíàÿ ñóììà âåðñèè çàïèñè ÊËÏ</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="UUID" type="uuidType" use="required">
<xs:annotation>
<xs:documentation>Óíèêàëüíûé ñèñòåìíûé èäåíòèôèêàòîð çàïèñè ÊËÏ</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="trade_name" type="BigNameType">
<xs:annotation>
<xs:documentation>Òîðãîâîå íàèìåíîâàíèå</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pack_1">
<xs:annotation>
<xs:documentation>Ïåðâè÷íàÿ óïàêîâêà</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="num" form="qualified">
<xs:annotation>
<xs:documentation>Êîëè÷åñòâî ëåêàðñòâåííîé ôîðìû â ïåðâè÷íîé óïàêîâêå</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal">
<xs:totalDigits value="11"/>
<xs:fractionDigits value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="name" type="BigNameType" form="qualified">
<xs:annotation>
<xs:documentation>Íàçâàíèå ïåðâè÷íîé óïàêîâêè</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="pack_2">
<xs:annotation>
<xs:documentation>Ïîòðåáèòåëüñêàÿ óïàêîâêà</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="num" form="qualified">
<xs:annotation>
<xs:documentation>Êîëè÷åñòâî ïåðâè÷íûõ óïàêîâîê â ïîòðåáèòåëüñêîé óïàêîâêå</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base:"xs:int">
<xs:totalDigits value="11">
</xs:restriction>
<xs:simpleType>
</xs:element>
<xs:element name="name" type="xs:string" form="qualified" minOccurs="0">
<xs:annotation>
<xs:documentation>Íàçâàíèå ïîòðåáèòåëüñêîé óïàêîâêè</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="completeness" type="BigNameType">
<xs:annotation>
<xs:documentation>Êîìïëåêòíîñòü óïàêîâêè</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="owner">
<xs:annotation>
<xs:documentation>ÞË âëàäåëüöà ðåãèñòðàöèîííîãî óäîñòîâåðåíèÿ ëåêàðñòâåííîãî ïðåïàðàòà</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="name">
<xs:annotation>
<xs:documentation>Íàçâàíèå âëàäåëüöà ðåãèñòðàöèîííîãî óäîñòîâåðåíèÿ ëåêàðñòâåííîãî ïðåïàðàòà</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="country_code" minOccurs="0">
<xs:annotation>
<xs:documentation>Êîä ñòðàíû ÎÊÑÌ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="country_name">
<xs:annotation>
<xs:documentation>Ñòðàíà</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="num_reg" type="SmallNameType">
<xs:annotation>
<xs:documentation>Íîìåð ðåãèñòðàöèîííîãî óäîñòîâåðåíèÿ ëåêàðñòâåííîãî ïðåïàðàòà</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="name" type="BigNameType"/>
<xs:element name="address" type="BigNameType"/>
<xs:element name="manufacturer">
<xs:annotation>
<xs:documentation>Ïðîèçâîäèòåëü ËÏ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="name">
<xs:annotation>
<xs:documentation>Ïîëíîå íàèìåíîâàíèå ïðîèçâîäèòåëÿ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="country_code" minOccurs="0"/>
<xs:element ref="country_name">
<xs:annotation>
<xs:documentation>Ñòðàíà</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="address">
<xs:annotation>
<xs:documentation>Àäðåñ ïðîèçâîäèòåëÿ</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="klp_lim_price_list">
<xs:annotation>
<xs:documentation>Ñïèñîê ïðåäåëüíûõ îòïóñêíûõ öåí íà ïîçèöèþ ÊËÏ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="klp_lim_price" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="klp_lim_price">
<xs:annotation>
<xs:documentation>Ïðåäåëüíàÿ îòïóñêíàÿ öåíà íà ïîçèöèþ ÊËÏ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="price_value">
<xs:annotation>
<xs:documentation>Çíà÷åíèå ïðåäåëüíîé îòïóñêíîé öåíû (ðóáëåé)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="reg_date">
<xs:annotation>
<xs:documentation>Äàòà ðåãèñòðàöèè ïðåäåëüíîé îòïóñêíîé öåíû</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="reg_num"/>
<xs:element ref="date_end" minOccurs="0"/>
<xs:element ref="date_deactivate" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="reg_date" type="xs:date">
<xs:annotation>
<xs:documentation>Äàòà ðåãèñòðàöèè ïðåäåëüíîé îòïóñêíîé öåíû</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="reg_num" type="SmallNameType">
<xs:annotation>
<xs:documentation>Íîìåð ðåøåíèÿ î ðåãèñòðàöèè ïðåäåëüíîé îòïóñêíîé öåíû</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="date_deactivate" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Äàòà èñêëþ÷åíèÿ öåíû èç ðååñòðà ïðåäåëüíûõ îòïóñêíûõ öåí</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="klp_price_list">
<xs:annotation>
<xs:documentation>Ñïèñîê ðåôåðåíòíûõ öåí íà ïîçèöèþ ÊËÏ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="klp_price" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="klp_price">
<xs:annotation>
<xs:documentation>Ðåôåðåíòíàÿ öåíà íà ïîçèöèþ ÊËÏ</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="value">
<xs:annotation>
<xs:documentation>Çíà÷åíèå ðåôåðåíòíîé öåíû (ðóáëåé) çà åäèíèöó ëåêàðñòâåííîãî ïðåïàðàòà</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="sigma">
<xs:annotation>
<xs:documentation>Çíà÷åíèå ñòàíäàðòíîãî îòêëîíåíèÿ äëÿ öåíîâîé ïîäâûáîðêè</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="price_type"/>
<xs:element ref="date_create"/>
<xs:element ref="date_start"/>
<xs:element ref="date_end" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="barcode">
<xs:annotation>
<xs:documentation>Òîâàðíûé íîìåð</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\d{8,14}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="date_reg_renew" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Äàòà îáíîâëåíèÿ ðåãèñòðàöèîííîãî óäîñòîâåðåíèÿ ëåêàðñòâåííîãî ïðåïàðàòà</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="date_reg" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Äàòà ïîëó÷åíèÿ ðåãèñòðàöèîííîãî óäîñòîâåðåíèÿ ëåêàðñòâåííîãî ïðåïàðàòà</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="country_name" type="BigNameType">
<xs:annotation>
<xs:documentation>Íàçâàíèå ñòðàíû</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="country_code">
<xs:annotation>
<xs:documentation>Êîä ñòðàíû ÎÊÑÌ (3 öèôðû)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\d{3}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:simpleType name="codeType">
<xs:annotation>
<xs:documentation>Òåêñòîâîå ïîëå êîäà êàòàëîãà</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="\d{2}\.\d{2}\.\d{2}\.\d{3}-\d{6}-\d-\d{5}-\d{13}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="convType">
<xs:annotation>
<xs:documentation>Òåêñòîâîå ïîëå êîäà ñâåðòêè</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z]{4}\d{3}[a-zA-Z]{2}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="uuidType">
<xs:annotation>
<xs:documentation>Óíèêàëüíûé èäåíòèôèêàòîð</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="hashType">
<xs:annotation>
<xs:documentation>Õýø-ñóììà</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[A-F0-9]{32}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="BigNameType">
<xs:annotation>
<xs:documentation>Áîëüøîå òåêñòîâîå ïîëå</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="500"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SmallNameType">
<xs:annotation>
<xs:documentation>Ìàëîå òåêñòîâîå ïîëå</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
<!--Êâèòàíöèÿ ïðèåìà çàïèñåé ñïðàâî÷íèêà. Òèïû-->
<xs:element name="confirmation">
<xs:annotation>
<xs:documentation>Êâèòàíöèÿ ïðèåìà çàïèñåé ñïðàâî÷íèêà</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="header">
<xs:annotation>
<xs:documentation>Çàãîëîâîê êâèòàíöèè</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="batchItemCount" type="xs:int">
<xs:annotation>
<xs:documentation>Êîëè÷åñâî îáðàáîòàííûõ çàïèñåé ñïðàâî÷íèêà</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="body">
<xs:annotation>
<xs:documentation>Äàííûå êâèòàíöèè</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="fileName" type="BigNameType">
<xs:annotation>
<xs:documentation>Èìÿ îáðàáîòàííîãî ôàéëà (ïàêåòà çàïèñåé ñïðàâî÷íèêà)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="result"/>
<xs:element name="positionResults" minOccurs="0">
<xs:annotation>
<xs:documentation>Ðåçóëüòàò îáðàáîòêè ïîçèöèé ôàéëà (ïàêåòà çàïèñåé ñïðàâî÷íèêà)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="positionResult" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Ðåçóëüòàò îáðàáîòêè ïîçèöèè (çàïèñè ñïðàâî÷íèêà)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="result">
<xs:annotation>
<xs:documentation>Ðåçóë üòàò îáðàáîòêè ïîçèöèè (çàïèñè ñïðàâî÷íèêà)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="violations" minOccurs="0">
<xs:annotation>
<xs:documentation>Âûÿâë åííûå â ïðîöåññå îáðàáîòêè ïîçèöèè (çàïèñè ñïðàâî÷íèêà) îøèáêè (ïðåäóïðåæäåíèÿ)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="violation" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="positionHash" type="hashType" use="required">
<xs:annotation>
<xs:documentation>Êîíòðîëü íàÿ ñóììà îáðàáîòàííîé ïîçèöèè (çàïèñè ñïðàâî÷íèêà)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="positionUUID" type="uuidType" use="required">
<xs:annotation>
<xs:documentation>Óíèêàëüí ûé ñèñòåìíûé èäåíòèôèêàòîð îáðàáîòàííîé ïîçèöèè (çàïèñè ñïðàâî÷íèêà)</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="violations" minOccurs="0">
<xs:annotation>
<xs:documentation>Âûÿâëåííûå â ïðîöåññå îáðàáîòêè ôàéëà (çàïèñåé ñïðàâî÷íèêà) íàðóøåíèÿ è îøèáêè ïàêåòà</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="violation"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="UUID" type="uuidType" use="required">
<xs:annotation>
<xs:documentation>Óíèêàëüíûé èäåíòèôèêàòîð êâèòàíöèè</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="parentUUID" type="uuidType" use="required">
<xs:annotation>
<xs:documentation>Óíèêàëüíûé èäåíòèôèêàòîð ïðèíÿòîãî ïàêåòà äàííûõ, íà êîòîðûé ôîðìèðóåòñÿ êâèòàíöèÿ</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="date_create" type="xs:dateTime" use="required">
<xs:annotation>
<xs:documentation>Äàòà-âðåìÿ ñîçäàíèÿ êâèòàíöèè</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="violation">
<xs:annotation>
<xs:documentation>Îøèáêà (ïðåäóïðåæäåíèå)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element ref="violationCode"/>
<xs:element ref="violationLevel"/>
<xs:element name="name" type="BigNameType">
<xs:annotation>
<xs:documentation>Íàçâàíèå</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" minOccurs="0">
<xs:annotation>
<xs:documentation>Îïèñàíèå</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="violationLevel">
<xs:annotation>
<xs:documentation>Óðîâåíü îøèáêè (ïðåäóïðåæäåíèÿ):
error - îøèáêà;
warning - ïðåäóïðåæäåíèå.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="error"/>
<xs:enumeration value="warning"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="violationCode">
<xs:annotation>
<xs:documentation>Êîä îøèáêè (ïðåäóïðåæäåíèÿ)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="result">
<xs:annotation>
<xs:documentation>Ðåçóëüòàò îáðàáîòêè ôàéëà (ïàêåòà çàïèñåé ñïðàâî÷íèêà)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="success"/>
<xs:enumeration value="failure"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:schema>
Åñëè âû ÿâëÿåòåñü ïîëüçîâàòåëåì èíòåðíåò-âåðñèè ñèñòåìû ÃÀÐÀÍÒ, âû ìîæåòå îòêðûòü ýòîò äîêóìåíò ïðÿìî ñåé÷àñ èëè çàïðîñèòü ïî Ãîðÿ÷åé ëèíèè â ñèñòåìå.