Compare commits

...

2 Commits

Author SHA1 Message Date
d9de3c2e3d Фиксы
Some checks failed
Build And Push / publish (push) Failing after 3m7s
2025-09-24 04:27:13 +03:00
178f3a8925 Фиксы 2025-09-24 04:27:08 +03:00
5 changed files with 79 additions and 94 deletions

View File

@ -1,9 +1,4 @@
repos:
- repo: https://github.com/crate-ci/typos
rev: v1.31.1
hooks:
- id: typos
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.2
hooks:

View File

@ -128,7 +128,7 @@ specs = {
{'SpecialityID': '101', 'SpecialityName': 'Фармация'},
{
'SpecialityID': '63',
'SpecialityName': 'Санитарно-гигиенические лабораторные исследования',
'SpecialityName': 'Санитарно-гигиенические лабораторные исследования', # noqa: E501
},
{'SpecialityID': '17', 'SpecialityName': 'Дерматовенерология'},
{
@ -224,10 +224,10 @@ findpat = [
'birthDate': '1956-03-26',
'gender': 'М',
'docType': 'Свид. о рожд. РФ',
'docSer': 'III-КБ',
'docSet': 'III-КБ',
'docNum': '863865',
'polNum': '1688489725000170',
'address1': 'Татарстан, Лаишевский р-н, с Среднее Девятово, ул.Новостройка, д.9',
'address1': 'Татарстан, Лаишевский р-н, с Среднее Девятово, ул.Новостройка, д.9', # noqa: E501
}
]
},
@ -242,7 +242,7 @@ findpat = [
'birthDate': '1948-12-11',
'gender': 'М',
'docType': 'Паспорт РФ',
'docSer': '92 10',
'docSet': '92 10',
'docNum': '190402',
'polNum': '1650230848000380',
'address1': '92228000010 ул. д.0 кв.0',
@ -260,9 +260,9 @@ profile = [
'birthDate': '1956-03-26',
'gender': 'М',
'docType': 'Свидетельство о рождении, выданное в РФ',
'docSer': 'III-КБ',
'docSet': 'III-КБ',
'docNum': '863865',
'addressReal': 'Татарстан, Лаишевский р-н, с Среднее Девятово, ул.Новостройка, д.9',
'addressReal': 'Татарстан, Лаишевский р-н, с Среднее Девятово, ул.Новостройка, д.9', # noqa: E501
},
{
'id': 'e7b8456e-73c2-4723-8e4e-4f275546ea97',
@ -273,7 +273,7 @@ profile = [
'birthDate': '1948-12-11',
'gender': 'М',
'docType': 'Паспорт гражданина РФ',
'docSer': '92 10',
'docSet': '92 10',
'docNum': '190402',
'addressReal': '92228000010 ул. д.0 кв.0',
},
@ -301,7 +301,7 @@ vacs = [
{
'Type': 'ROUTE_TO_DIAGNOSTICS',
'CreationDateTime': '2025-03-1711:41',
'Name': 'Ультразвуковое исследование лимфатических узлов (одна анатомическая зона) [A04.06.002]',
'Name': 'Ультразвуковое исследование лимфатических узлов (одна анатомическая зона) [A04.06.002]', # noqa: E501
'Place': None,
'ResultExits': '0',
'LpuName': 'ГАУЗ "ГКБ №7"',
@ -370,7 +370,7 @@ vacs = [
{
'Type': 'ROUTE_TO_DIAGNOSTICS',
'CreationDateTime': '2025-03-1711:41',
'Name': 'Ультразвуковое исследование лимфатических узлов (одна анатомическая зона) [A04.06.002]',
'Name': 'Ультразвуковое исследование лимфатических узлов (одна анатомическая зона) [A04.06.002]', # noqa: E501
'Place': None,
'ResultExits': '0',
'LpuName': 'ГАУЗ "ГКБ №7"',
@ -471,7 +471,7 @@ elns = [
},
],
'LpuName': 'ГАУЗ Новошешминская ЦРБ',
'BranchAddress': 'Республика Татарстан,с.Новошешминск, ул.Майская, д.8',
'BranchAddress': 'Республика Татарстан,с.Новошешминск, ул.Майская, д.8', # noqa: E501
'FssLnStatus': '30',
'SentSNILS': '10690452241',
},
@ -490,7 +490,7 @@ elns = [
}
],
'LpuName': 'ГАУЗ Новошешминская ЦРБ',
'BranchAddress': 'Республика Татарстан,с.Новошешминск, ул.Майская, д.8',
'BranchAddress': 'Республика Татарстан,с.Новошешминск, ул.Майская, д.8', # noqa: E501
'FssLnStatus': '10',
'SentSNILS': '10690452241',
},
@ -509,7 +509,7 @@ elns = [
}
],
'LpuName': 'ГАУЗ Новошешминская ЦРБ',
'BranchAddress': 'Республика Татарстан,с.Новошешминск, ул.Майская, д.8',
'BranchAddress': 'Республика Татарстан,с.Новошешминск, ул.Майская, д.8', # noqa: E501
'FssLnStatus': '30',
'SentSNILS': '10690452241',
},
@ -524,7 +524,7 @@ diagnosticResults = {
'ContainsFile': 0,
'PostingDate': '2025-05-06',
'MedServiceCode': 'A12.05.004.002',
'MedServiceName': 'Проба на совместимость перед переливанием эритроцитов по неполным антителам (IgG)',
'MedServiceName': 'Проба на совместимость перед переливанием эритроцитов по неполным антителам (IgG)', # noqa: E501
'PostName': 'Сиразиева Г.Р.',
'PostSpec': 'Терапевт',
'LpuName': 'ГАУЗ "ГКБ №7"',
@ -571,7 +571,7 @@ currHosp = [
'MedicalExaminationType': 'Дневниковая запись',
'HospDestinations': [
{
'Signa': 'Массаж Длительность: 25 мин.Область воздействия: Шея. \r\nПосле еды 1 раз через день в 11:00. Повторять 3 дня. Назначил:Изотова Г.М. (Сердечно-сосудистый хирург)'
'Signa': 'Массаж Длительность: 25 мин.Область воздействия: Шея. \r\nПосле еды 1 раз через день в 11:00. Повторять 3 дня. Назначил:Изотова Г.М. (Сердечно-сосудистый хирург)' # noqa: E501
}
],
},
@ -602,7 +602,7 @@ currHosp = [
{
'RouteDate': '21.07.2025',
'ResearchCode': '14.1.A8.900',
'ResearchName': '*Посев на гемофильную палочку (Haemophylus influenzae) с определением чувствительности к антибиотикам',
'ResearchName': '*Посев на гемофильную палочку (Haemophylus influenzae) с определением чувствительности к антибиотикам', # noqa: E501
},
{
'RouteDate': '21.07.2025',
@ -624,7 +624,7 @@ currHosp = [
],
'HospDestinations': [
{
'Signa': 'Ацетилсалициловая кислота табл. шип. 500 мг x 1 доза по 1 дозе по 1 дозе. \r\nВнутрь (перорально) (до еды) 1 раз в 08:00. Повторять 2 дня. Назначил:Изотова Г.М. (Сердечно-сосудистый хирург)'
'Signa': 'Ацетилсалициловая кислота табл. шип. 500 мг x 1 доза по 1 дозе по 1 дозе. \r\nВнутрь (перорально) (до еды) 1 раз в 08:00. Повторять 2 дня. Назначил:Изотова Г.М. (Сердечно-сосудистый хирург)' # noqa: E501
}
],
},
@ -663,8 +663,21 @@ patFLG = [
},
]
entries = [
{'error': 'Не найдены записи по указанному patId'},
{'error': 'Не найдены записи по указанному patId'},
{
'Entries': [
{
'DateTime': '2025-09-19 19:40',
'TicketType': 'Первичный',
'EntryPlace': 'Регистратура',
'EntryType': 'Запись на прием к врачу',
'Place': '6',
'ResourceName': 'Сиразетдинов Рамзис Халафутдинович',
'Speciality': 'Врач общей практики (семейный врач)',
'Branch': 'Главное здание',
'LpuName': 'ГАУЗ Азнакаевская ЦРБ',
}
]
}
]
routesList = [
{
@ -689,7 +702,7 @@ routesList = [
{
'Type': 'ROUTE_TO_DIAGNOSTICS',
'CreationDateTime': '2025-03-1711:41',
'Name': 'Ультразвуковое исследование лимфатических узлов (одна анатомическая зона) [A04.06.002]',
'Name': 'Ультразвуковое исследование лимфатических узлов (одна анатомическая зона) [A04.06.002]', # noqa: E501
'Place': None,
'ResultExits': '0',
'LpuName': 'ГАУЗ "ГКБ №7"',
@ -758,7 +771,7 @@ routesList = [
{
'Type': 'ROUTE_TO_DIAGNOSTICS',
'CreationDateTime': '2025-03-1711:41',
'Name': 'Ультразвуковое исследование лимфатических узлов (одна анатомическая зона) [A04.06.002]',
'Name': 'Ультразвуковое исследование лимфатических узлов (одна анатомическая зона) [A04.06.002]', # noqa: E501
'Place': None,
'ResultExits': '0',
'LpuName': 'ГАУЗ "ГКБ №7"',
@ -813,177 +826,155 @@ medexamDict = {
'Code': '024',
'MedExamItems': [
{
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:ConstOperand type="Int32">21</lx:ConstOperand> <lx:ConstOperand type="Int32">24</lx:ConstOperand> <lx:ConstOperand type="Int32">27</lx:ConstOperand> <lx:ConstOperand type="Int32">30</lx:ConstOperand> <lx:ConstOperand type="Int32">33</lx:ConstOperand> <lx:ConstOperand type="Int32">36</lx:ConstOperand> <lx:ConstOperand type="Int32">39</lx:ConstOperand> <lx:ConstOperand type="Int32">40</lx:ConstOperand> <lx:ConstOperand type="Int32">41</lx:ConstOperand> <lx:ConstOperand type="Int32">42</lx:ConstOperand> <lx:ConstOperand type="Int32">43</lx:ConstOperand> <lx:ConstOperand type="Int32">44</lx:ConstOperand> <lx:ConstOperand type="Int32">45</lx:ConstOperand> <lx:ConstOperand type="Int32">46</lx:ConstOperand> <lx:ConstOperand type="Int32">47</lx:ConstOperand> <lx:ConstOperand type="Int32">48</lx:ConstOperand> <lx:ConstOperand type="Int32">49</lx:ConstOperand> <lx:ConstOperand type="Int32">50</lx:ConstOperand> <lx:ConstOperand type="Int32">51</lx:ConstOperand> <lx:ConstOperand type="Int32">52</lx:ConstOperand> <lx:ConstOperand type="Int32">53</lx:ConstOperand> <lx:ConstOperand type="Int32">54</lx:ConstOperand> <lx:ConstOperand type="Int32">55</lx:ConstOperand> <lx:ConstOperand type="Int32">56</lx:ConstOperand> <lx:ConstOperand type="Int32">57</lx:ConstOperand> <lx:ConstOperand type="Int32">58</lx:ConstOperand> <lx:ConstOperand type="Int32">59</lx:ConstOperand> <lx:ConstOperand type="Int32">60</lx:ConstOperand> <lx:ConstOperand type="Int32">61</lx:ConstOperand> <lx:ConstOperand type="Int32">62</lx:ConstOperand> <lx:ConstOperand type="Int32">63</lx:ConstOperand> <lx:ConstOperand type="Int32">64</lx:ConstOperand> <lx:ConstOperand type="Int32">65</lx:ConstOperand> <lx:ConstOperand type="Int32">66</lx:ConstOperand> <lx:ConstOperand type="Int32">67</lx:ConstOperand> <lx:ConstOperand type="Int32">68</lx:ConstOperand> <lx:ConstOperand type="Int32">69</lx:ConstOperand> <lx:ConstOperand type="Int32">70</lx:ConstOperand> <lx:ConstOperand type="Int32">71</lx:ConstOperand> <lx:ConstOperand type="Int32">72</lx:ConstOperand> <lx:ConstOperand type="Int32">73</lx:ConstOperand> <lx:ConstOperand type="Int32">74</lx:ConstOperand> <lx:ConstOperand type="Int32">75</lx:ConstOperand> <lx:ConstOperand type="Int32">76</lx:ConstOperand> <lx:ConstOperand type="Int32">77</lx:ConstOperand> <lx:ConstOperand type="Int32">78</lx:ConstOperand> <lx:ConstOperand type="Int32">79</lx:ConstOperand> <lx:ConstOperand type="Int32">80</lx:ConstOperand> <lx:ConstOperand type="Int32">81</lx:ConstOperand> <lx:ConstOperand type="Int32">82</lx:ConstOperand> <lx:ConstOperand type="Int32">83</lx:ConstOperand> <lx:ConstOperand type="Int32">84</lx:ConstOperand> <lx:ConstOperand type="Int32">85</lx:ConstOperand> <lx:ConstOperand type="Int32">86</lx:ConstOperand> <lx:ConstOperand type="Int32">87</lx:ConstOperand> <lx:ConstOperand type="Int32">88</lx:ConstOperand> <lx:ConstOperand type="Int32">89</lx:ConstOperand> <lx:ConstOperand type="Int32">90</lx:ConstOperand> <lx:ConstOperand type="Int32">91</lx:ConstOperand> <lx:ConstOperand type="Int32">92</lx:ConstOperand> <lx:ConstOperand type="Int32">93</lx:ConstOperand> <lx:ConstOperand type="Int32">94</lx:ConstOperand> <lx:ConstOperand type="Int32">95</lx:ConstOperand> <lx:ConstOperand type="Int32">96</lx:ConstOperand> <lx:ConstOperand type="Int32">97</lx:ConstOperand> <lx:ConstOperand type="Int32">98</lx:ConstOperand> <lx:ConstOperand type="Int32">99</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A02.07.004',
'MedicalServiceName': 'Д04 Антропометрия (измерение роста стоя, массы тела, окружности талии), расчет индекса массы тела 1 этап',
'MedicalServiceName': 'Д04 Антропометрия (измерение роста стоя, массы тела, окружности талии), расчет индекса массы тела 1 этап', # noqa: E501
},
{
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:ConstOperand type="Int32">21</lx:ConstOperand> <lx:ConstOperand type="Int32">24</lx:ConstOperand> <lx:ConstOperand type="Int32">27</lx:ConstOperand> <lx:ConstOperand type="Int32">30</lx:ConstOperand> <lx:ConstOperand type="Int32">33</lx:ConstOperand> <lx:ConstOperand type="Int32">36</lx:ConstOperand> <lx:ConstOperand type="Int32">39</lx:ConstOperand> <lx:ConstOperand type="Int32">40</lx:ConstOperand> <lx:ConstOperand type="Int32">41</lx:ConstOperand> <lx:ConstOperand type="Int32">42</lx:ConstOperand> <lx:ConstOperand type="Int32">43</lx:ConstOperand> <lx:ConstOperand type="Int32">44</lx:ConstOperand> <lx:ConstOperand type="Int32">45</lx:ConstOperand> <lx:ConstOperand type="Int32">46</lx:ConstOperand> <lx:ConstOperand type="Int32">47</lx:ConstOperand> <lx:ConstOperand type="Int32">48</lx:ConstOperand> <lx:ConstOperand type="Int32">49</lx:ConstOperand> <lx:ConstOperand type="Int32">50</lx:ConstOperand> <lx:ConstOperand type="Int32">51</lx:ConstOperand> <lx:ConstOperand type="Int32">52</lx:ConstOperand> <lx:ConstOperand type="Int32">53</lx:ConstOperand> <lx:ConstOperand type="Int32">54</lx:ConstOperand> <lx:ConstOperand type="Int32">55</lx:ConstOperand> <lx:ConstOperand type="Int32">56</lx:ConstOperand> <lx:ConstOperand type="Int32">57</lx:ConstOperand> <lx:ConstOperand type="Int32">58</lx:ConstOperand> <lx:ConstOperand type="Int32">59</lx:ConstOperand> <lx:ConstOperand type="Int32">60</lx:ConstOperand> <lx:ConstOperand type="Int32">61</lx:ConstOperand> <lx:ConstOperand type="Int32">62</lx:ConstOperand> <lx:ConstOperand type="Int32">63</lx:ConstOperand> <lx:ConstOperand type="Int32">64</lx:ConstOperand> <lx:ConstOperand type="Int32">65</lx:ConstOperand> <lx:ConstOperand type="Int32">66</lx:ConstOperand> <lx:ConstOperand type="Int32">67</lx:ConstOperand> <lx:ConstOperand type="Int32">68</lx:ConstOperand> <lx:ConstOperand type="Int32">69</lx:ConstOperand> <lx:ConstOperand type="Int32">70</lx:ConstOperand> <lx:ConstOperand type="Int32">71</lx:ConstOperand> <lx:ConstOperand type="Int32">72</lx:ConstOperand> <lx:ConstOperand type="Int32">73</lx:ConstOperand> <lx:ConstOperand type="Int32">74</lx:ConstOperand> <lx:ConstOperand type="Int32">75</lx:ConstOperand> <lx:ConstOperand type="Int32">76</lx:ConstOperand> <lx:ConstOperand type="Int32">77</lx:ConstOperand> <lx:ConstOperand type="Int32">78</lx:ConstOperand> <lx:ConstOperand type="Int32">79</lx:ConstOperand> <lx:ConstOperand type="Int32">80</lx:ConstOperand> <lx:ConstOperand type="Int32">81</lx:ConstOperand> <lx:ConstOperand type="Int32">82</lx:ConstOperand> <lx:ConstOperand type="Int32">83</lx:ConstOperand> <lx:ConstOperand type="Int32">84</lx:ConstOperand> <lx:ConstOperand type="Int32">85</lx:ConstOperand> <lx:ConstOperand type="Int32">86</lx:ConstOperand> <lx:ConstOperand type="Int32">87</lx:ConstOperand> <lx:ConstOperand type="Int32">88</lx:ConstOperand> <lx:ConstOperand type="Int32">89</lx:ConstOperand> <lx:ConstOperand type="Int32">90</lx:ConstOperand> <lx:ConstOperand type="Int32">91</lx:ConstOperand> <lx:ConstOperand type="Int32">92</lx:ConstOperand> <lx:ConstOperand type="Int32">93</lx:ConstOperand> <lx:ConstOperand type="Int32">94</lx:ConstOperand> <lx:ConstOperand type="Int32">95</lx:ConstOperand> <lx:ConstOperand type="Int32">96</lx:ConstOperand> <lx:ConstOperand type="Int32">97</lx:ConstOperand> <lx:ConstOperand type="Int32">98</lx:ConstOperand> <lx:ConstOperand type="Int32">99</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A09.05.026',
'MedicalServiceName': 'Д12 Определение уровня общего холестерина в крови (допускается экспресс-метод) 1 этап',
'MedicalServiceName': 'Д12 Определение уровня общего холестерина в крови (допускается экспресс-метод) 1 этап', # noqa: E501
},
{
'AgeGroupName': 'От 18 лет',
'AgeGroupCriteria': '<lx:Criterion type="&gt;=" xmlns:lx="lexem"><lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /><lx:DateAdd datepart="Year"> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Birthday" /> </lx:Path></lx:DateAdd>\r\n</lx:Criterion>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A09.19.001',
'MedicalServiceName': 'Д30 Исследование кала на скрытую кровь 1 этап',
'MedicalServiceName': 'Д30 Исследование кала на скрытую кровь 1 этап', # noqa: E501
},
{
'AgeGroupName': 'Взрослые 40-99',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">40</lx:ConstOperand><lx:ConstOperand type="Int32">41</lx:ConstOperand><lx:ConstOperand type="Int32">42</lx:ConstOperand><lx:ConstOperand type="Int32">43</lx:ConstOperand><lx:ConstOperand type="Int32">44</lx:ConstOperand><lx:ConstOperand type="Int32">45</lx:ConstOperand><lx:ConstOperand type="Int32">46</lx:ConstOperand><lx:ConstOperand type="Int32">47</lx:ConstOperand><lx:ConstOperand type="Int32">48</lx:ConstOperand><lx:ConstOperand type="Int32">49</lx:ConstOperand><lx:ConstOperand type="Int32">50</lx:ConstOperand><lx:ConstOperand type="Int32">51</lx:ConstOperand><lx:ConstOperand type="Int32">52</lx:ConstOperand><lx:ConstOperand type="Int32">53</lx:ConstOperand><lx:ConstOperand type="Int32">54</lx:ConstOperand><lx:ConstOperand type="Int32">55</lx:ConstOperand><lx:ConstOperand type="Int32">56</lx:ConstOperand><lx:ConstOperand type="Int32">57</lx:ConstOperand><lx:ConstOperand type="Int32">58</lx:ConstOperand><lx:ConstOperand type="Int32">59</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">61</lx:ConstOperand><lx:ConstOperand type="Int32">62</lx:ConstOperand><lx:ConstOperand type="Int32">63</lx:ConstOperand><lx:ConstOperand type="Int32">64</lx:ConstOperand><lx:ConstOperand type="Int32">65</lx:ConstOperand><lx:ConstOperand type="Int32">66</lx:ConstOperand><lx:ConstOperand type="Int32">67</lx:ConstOperand><lx:ConstOperand type="Int32">68</lx:ConstOperand><lx:ConstOperand type="Int32">69</lx:ConstOperand><lx:ConstOperand type="Int32">70</lx:ConstOperand><lx:ConstOperand type="Int32">71</lx:ConstOperand><lx:ConstOperand type="Int32">72</lx:ConstOperand><lx:ConstOperand type="Int32">73</lx:ConstOperand><lx:ConstOperand type="Int32">74</lx:ConstOperand><lx:ConstOperand type="Int32">75</lx:ConstOperand><lx:ConstOperand type="Int32">76</lx:ConstOperand><lx:ConstOperand type="Int32">77</lx:ConstOperand><lx:ConstOperand type="Int32">78</lx:ConstOperand><lx:ConstOperand type="Int32">79</lx:ConstOperand><lx:ConstOperand type="Int32">80</lx:ConstOperand><lx:ConstOperand type="Int32">81</lx:ConstOperand><lx:ConstOperand type="Int32">82</lx:ConstOperand><lx:ConstOperand type="Int32">83</lx:ConstOperand><lx:ConstOperand type="Int32">84</lx:ConstOperand><lx:ConstOperand type="Int32">85</lx:ConstOperand><lx:ConstOperand type="Int32">86</lx:ConstOperand><lx:ConstOperand type="Int32">87</lx:ConstOperand><lx:ConstOperand type="Int32">88</lx:ConstOperand><lx:ConstOperand type="Int32">89</lx:ConstOperand><lx:ConstOperand type="Int32">90</lx:ConstOperand><lx:ConstOperand type="Int32">91</lx:ConstOperand><lx:ConstOperand type="Int32">92</lx:ConstOperand><lx:ConstOperand type="Int32">93</lx:ConstOperand><lx:ConstOperand type="Int32">94</lx:ConstOperand><lx:ConstOperand type="Int32">95</lx:ConstOperand><lx:ConstOperand type="Int32">96</lx:ConstOperand><lx:ConstOperand type="Int32">97</lx:ConstOperand><lx:ConstOperand type="Int32">98</lx:ConstOperand><lx:ConstOperand type="Int32">99</lx:ConstOperand> </lx:LexemList></lx:Criterion>\r\n</lx:Criteria>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'B03.016.002',
'MedicalServiceName': 'Д10 Клинический анализ крови (в объеме не менее определения концентрации гемоглобина в эритроцитах, количества лейкоцитов и скорости оседания эритроцитов) 1 этап',
'MedicalServiceName': 'Д10 Клинический анализ крови (в объеме не менее определения концентрации гемоглобина в эритроцитах, количества лейкоцитов и скорости оседания эритроцитов) 1 этап', # noqa: E501
},
{
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:ConstOperand type="Int32">21</lx:ConstOperand> <lx:ConstOperand type="Int32">24</lx:ConstOperand> <lx:ConstOperand type="Int32">27</lx:ConstOperand> <lx:ConstOperand type="Int32">30</lx:ConstOperand> <lx:ConstOperand type="Int32">33</lx:ConstOperand> <lx:ConstOperand type="Int32">36</lx:ConstOperand> <lx:ConstOperand type="Int32">39</lx:ConstOperand> <lx:ConstOperand type="Int32">40</lx:ConstOperand> <lx:ConstOperand type="Int32">41</lx:ConstOperand> <lx:ConstOperand type="Int32">42</lx:ConstOperand> <lx:ConstOperand type="Int32">43</lx:ConstOperand> <lx:ConstOperand type="Int32">44</lx:ConstOperand> <lx:ConstOperand type="Int32">45</lx:ConstOperand> <lx:ConstOperand type="Int32">46</lx:ConstOperand> <lx:ConstOperand type="Int32">47</lx:ConstOperand> <lx:ConstOperand type="Int32">48</lx:ConstOperand> <lx:ConstOperand type="Int32">49</lx:ConstOperand> <lx:ConstOperand type="Int32">50</lx:ConstOperand> <lx:ConstOperand type="Int32">51</lx:ConstOperand> <lx:ConstOperand type="Int32">52</lx:ConstOperand> <lx:ConstOperand type="Int32">53</lx:ConstOperand> <lx:ConstOperand type="Int32">54</lx:ConstOperand> <lx:ConstOperand type="Int32">55</lx:ConstOperand> <lx:ConstOperand type="Int32">56</lx:ConstOperand> <lx:ConstOperand type="Int32">57</lx:ConstOperand> <lx:ConstOperand type="Int32">58</lx:ConstOperand> <lx:ConstOperand type="Int32">59</lx:ConstOperand> <lx:ConstOperand type="Int32">60</lx:ConstOperand> <lx:ConstOperand type="Int32">61</lx:ConstOperand> <lx:ConstOperand type="Int32">62</lx:ConstOperand> <lx:ConstOperand type="Int32">63</lx:ConstOperand> <lx:ConstOperand type="Int32">64</lx:ConstOperand> <lx:ConstOperand type="Int32">65</lx:ConstOperand> <lx:ConstOperand type="Int32">66</lx:ConstOperand> <lx:ConstOperand type="Int32">67</lx:ConstOperand> <lx:ConstOperand type="Int32">68</lx:ConstOperand> <lx:ConstOperand type="Int32">69</lx:ConstOperand> <lx:ConstOperand type="Int32">70</lx:ConstOperand> <lx:ConstOperand type="Int32">71</lx:ConstOperand> <lx:ConstOperand type="Int32">72</lx:ConstOperand> <lx:ConstOperand type="Int32">73</lx:ConstOperand> <lx:ConstOperand type="Int32">74</lx:ConstOperand> <lx:ConstOperand type="Int32">75</lx:ConstOperand> <lx:ConstOperand type="Int32">76</lx:ConstOperand> <lx:ConstOperand type="Int32">77</lx:ConstOperand> <lx:ConstOperand type="Int32">78</lx:ConstOperand> <lx:ConstOperand type="Int32">79</lx:ConstOperand> <lx:ConstOperand type="Int32">80</lx:ConstOperand> <lx:ConstOperand type="Int32">81</lx:ConstOperand> <lx:ConstOperand type="Int32">82</lx:ConstOperand> <lx:ConstOperand type="Int32">83</lx:ConstOperand> <lx:ConstOperand type="Int32">84</lx:ConstOperand> <lx:ConstOperand type="Int32">85</lx:ConstOperand> <lx:ConstOperand type="Int32">86</lx:ConstOperand> <lx:ConstOperand type="Int32">87</lx:ConstOperand> <lx:ConstOperand type="Int32">88</lx:ConstOperand> <lx:ConstOperand type="Int32">89</lx:ConstOperand> <lx:ConstOperand type="Int32">90</lx:ConstOperand> <lx:ConstOperand type="Int32">91</lx:ConstOperand> <lx:ConstOperand type="Int32">92</lx:ConstOperand> <lx:ConstOperand type="Int32">93</lx:ConstOperand> <lx:ConstOperand type="Int32">94</lx:ConstOperand> <lx:ConstOperand type="Int32">95</lx:ConstOperand> <lx:ConstOperand type="Int32">96</lx:ConstOperand> <lx:ConstOperand type="Int32">97</lx:ConstOperand> <lx:ConstOperand type="Int32">98</lx:ConstOperand> <lx:ConstOperand type="Int32">99</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A01.30.026',
'MedicalServiceName': 'Д01 Опрос (анкетирование) на выявление неинфекционных заболеваний и факторов риска их развития',
'MedicalServiceName': 'Д01 Опрос (анкетирование) на выявление неинфекционных заболеваний и факторов риска их развития', # noqa: E501
},
{
'AgeGroupName': 'Жен 40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="="> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Sex" /> </lx:Path> <lx:BaseObjectOperand Entity="VCLib.ENUMS" type="Int32" PrimaryKey="10302"><Name><![CDATA[женский]]></Name> </lx:BaseObjectOperand></lx:Criterion><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">40</lx:ConstOperand><lx:ConstOperand type="Int32">42</lx:ConstOperand><lx:ConstOperand type="Int32">44</lx:ConstOperand><lx:ConstOperand type="Int32">46</lx:ConstOperand><lx:ConstOperand type="Int32">48</lx:ConstOperand><lx:ConstOperand type="Int32">50</lx:ConstOperand><lx:ConstOperand type="Int32">52</lx:ConstOperand><lx:ConstOperand type="Int32">54</lx:ConstOperand><lx:ConstOperand type="Int32">56</lx:ConstOperand><lx:ConstOperand type="Int32">58</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">62</lx:ConstOperand><lx:ConstOperand type="Int32">64</lx:ConstOperand><lx:ConstOperand type="Int32">66</lx:ConstOperand><lx:ConstOperand type="Int32">68</lx:ConstOperand><lx:ConstOperand type="Int32">70</lx:ConstOperand><lx:ConstOperand type="Int32">72</lx:ConstOperand><lx:ConstOperand type="Int32">74</lx:ConstOperand> </lx:LexemList></lx:Criterion>\r\n</lx:Criteria>',
'AgeGroupName': 'Жен 40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A06.30.00299',
'MedicalServiceName': 'Д35 Расшифровка маммограммы врачом (описание и интерпретация рентгенографических изображений) 1 этап',
'MedicalServiceName': 'Д35 Расшифровка маммограммы врачом (описание и интерпретация рентгенографических изображений) 1 этап', # noqa: E501
},
{
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:ConstOperand type="Int32">21</lx:ConstOperand> <lx:ConstOperand type="Int32">24</lx:ConstOperand> <lx:ConstOperand type="Int32">27</lx:ConstOperand> <lx:ConstOperand type="Int32">30</lx:ConstOperand> <lx:ConstOperand type="Int32">33</lx:ConstOperand> <lx:ConstOperand type="Int32">36</lx:ConstOperand> <lx:ConstOperand type="Int32">39</lx:ConstOperand> <lx:ConstOperand type="Int32">40</lx:ConstOperand> <lx:ConstOperand type="Int32">41</lx:ConstOperand> <lx:ConstOperand type="Int32">42</lx:ConstOperand> <lx:ConstOperand type="Int32">43</lx:ConstOperand> <lx:ConstOperand type="Int32">44</lx:ConstOperand> <lx:ConstOperand type="Int32">45</lx:ConstOperand> <lx:ConstOperand type="Int32">46</lx:ConstOperand> <lx:ConstOperand type="Int32">47</lx:ConstOperand> <lx:ConstOperand type="Int32">48</lx:ConstOperand> <lx:ConstOperand type="Int32">49</lx:ConstOperand> <lx:ConstOperand type="Int32">50</lx:ConstOperand> <lx:ConstOperand type="Int32">51</lx:ConstOperand> <lx:ConstOperand type="Int32">52</lx:ConstOperand> <lx:ConstOperand type="Int32">53</lx:ConstOperand> <lx:ConstOperand type="Int32">54</lx:ConstOperand> <lx:ConstOperand type="Int32">55</lx:ConstOperand> <lx:ConstOperand type="Int32">56</lx:ConstOperand> <lx:ConstOperand type="Int32">57</lx:ConstOperand> <lx:ConstOperand type="Int32">58</lx:ConstOperand> <lx:ConstOperand type="Int32">59</lx:ConstOperand> <lx:ConstOperand type="Int32">60</lx:ConstOperand> <lx:ConstOperand type="Int32">61</lx:ConstOperand> <lx:ConstOperand type="Int32">62</lx:ConstOperand> <lx:ConstOperand type="Int32">63</lx:ConstOperand> <lx:ConstOperand type="Int32">64</lx:ConstOperand> <lx:ConstOperand type="Int32">65</lx:ConstOperand> <lx:ConstOperand type="Int32">66</lx:ConstOperand> <lx:ConstOperand type="Int32">67</lx:ConstOperand> <lx:ConstOperand type="Int32">68</lx:ConstOperand> <lx:ConstOperand type="Int32">69</lx:ConstOperand> <lx:ConstOperand type="Int32">70</lx:ConstOperand> <lx:ConstOperand type="Int32">71</lx:ConstOperand> <lx:ConstOperand type="Int32">72</lx:ConstOperand> <lx:ConstOperand type="Int32">73</lx:ConstOperand> <lx:ConstOperand type="Int32">74</lx:ConstOperand> <lx:ConstOperand type="Int32">75</lx:ConstOperand> <lx:ConstOperand type="Int32">76</lx:ConstOperand> <lx:ConstOperand type="Int32">77</lx:ConstOperand> <lx:ConstOperand type="Int32">78</lx:ConstOperand> <lx:ConstOperand type="Int32">79</lx:ConstOperand> <lx:ConstOperand type="Int32">80</lx:ConstOperand> <lx:ConstOperand type="Int32">81</lx:ConstOperand> <lx:ConstOperand type="Int32">82</lx:ConstOperand> <lx:ConstOperand type="Int32">83</lx:ConstOperand> <lx:ConstOperand type="Int32">84</lx:ConstOperand> <lx:ConstOperand type="Int32">85</lx:ConstOperand> <lx:ConstOperand type="Int32">86</lx:ConstOperand> <lx:ConstOperand type="Int32">87</lx:ConstOperand> <lx:ConstOperand type="Int32">88</lx:ConstOperand> <lx:ConstOperand type="Int32">89</lx:ConstOperand> <lx:ConstOperand type="Int32">90</lx:ConstOperand> <lx:ConstOperand type="Int32">91</lx:ConstOperand> <lx:ConstOperand type="Int32">92</lx:ConstOperand> <lx:ConstOperand type="Int32">93</lx:ConstOperand> <lx:ConstOperand type="Int32">94</lx:ConstOperand> <lx:ConstOperand type="Int32">95</lx:ConstOperand> <lx:ConstOperand type="Int32">96</lx:ConstOperand> <lx:ConstOperand type="Int32">97</lx:ConstOperand> <lx:ConstOperand type="Int32">98</lx:ConstOperand> <lx:ConstOperand type="Int32">99</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A09.05.023.003',
'MedicalServiceName': 'Д11 Определение уровня глюкозы в крови экспресс-методом (допускается лабораторный метод) 1 этап',
'MedicalServiceName': 'Д11 Определение уровня глюкозы в крови экспресс-методом (допускается лабораторный метод) 1 этап', # noqa: E501
},
{
'AgeGroupName': '45',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">45</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A03.16.001',
'MedicalServiceName': 'Эзофагогастродуоденоскопия',
},
{
'AgeGroupName': 'Женщины(18,21,24,27,30,33,36,39,40,41,42,43,44-99)',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">18</lx:ConstOperand><lx:ConstOperand type="Int32">21</lx:ConstOperand><lx:ConstOperand type="Int32">24</lx:ConstOperand><lx:ConstOperand type="Int32">27</lx:ConstOperand><lx:ConstOperand type="Int32">30</lx:ConstOperand><lx:ConstOperand type="Int32">33</lx:ConstOperand><lx:ConstOperand type="Int32">36</lx:ConstOperand><lx:ConstOperand type="Int32">39</lx:ConstOperand><lx:ConstOperand type="Int32">40</lx:ConstOperand><lx:ConstOperand type="Int32">41</lx:ConstOperand><lx:ConstOperand type="Int32">42</lx:ConstOperand><lx:ConstOperand type="Int32">43</lx:ConstOperand><lx:ConstOperand type="Int32">44</lx:ConstOperand><lx:ConstOperand type="Int32">45</lx:ConstOperand><lx:ConstOperand type="Int32">46</lx:ConstOperand><lx:ConstOperand type="Int32">47</lx:ConstOperand><lx:ConstOperand type="Int32">48</lx:ConstOperand><lx:ConstOperand type="Int32">49</lx:ConstOperand><lx:ConstOperand type="Int32">50</lx:ConstOperand><lx:ConstOperand type="Int32">51</lx:ConstOperand><lx:ConstOperand type="Int32">52</lx:ConstOperand><lx:ConstOperand type="Int32">53</lx:ConstOperand><lx:ConstOperand type="Int32">54</lx:ConstOperand><lx:ConstOperand type="Int32">55</lx:ConstOperand><lx:ConstOperand type="Int32">56</lx:ConstOperand><lx:ConstOperand type="Int32">57</lx:ConstOperand><lx:ConstOperand type="Int32">58</lx:ConstOperand><lx:ConstOperand type="Int32">59</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">61</lx:ConstOperand><lx:ConstOperand type="Int32">62</lx:ConstOperand><lx:ConstOperand type="Int32">63</lx:ConstOperand><lx:ConstOperand type="Int32">64</lx:ConstOperand><lx:ConstOperand type="Int32">65</lx:ConstOperand><lx:ConstOperand type="Int32">66</lx:ConstOperand><lx:ConstOperand type="Int32">67</lx:ConstOperand><lx:ConstOperand type="Int32">68</lx:ConstOperand><lx:ConstOperand type="Int32">69</lx:ConstOperand><lx:ConstOperand type="Int32">70</lx:ConstOperand><lx:ConstOperand type="Int32">71</lx:ConstOperand><lx:ConstOperand type="Int32">72</lx:ConstOperand><lx:ConstOperand type="Int32">73</lx:ConstOperand><lx:ConstOperand type="Int32">74</lx:ConstOperand><lx:ConstOperand type="Int32">75</lx:ConstOperand><lx:ConstOperand type="Int32">76</lx:ConstOperand><lx:ConstOperand type="Int32">77</lx:ConstOperand><lx:ConstOperand type="Int32">78</lx:ConstOperand><lx:ConstOperand type="Int32">79</lx:ConstOperand><lx:ConstOperand type="Int32">80</lx:ConstOperand><lx:ConstOperand type="Int32">81</lx:ConstOperand><lx:ConstOperand type="Int32">82</lx:ConstOperand><lx:ConstOperand type="Int32">83</lx:ConstOperand><lx:ConstOperand type="Int32">84</lx:ConstOperand><lx:ConstOperand type="Int32">85</lx:ConstOperand><lx:ConstOperand type="Int32">86</lx:ConstOperand><lx:ConstOperand type="Int32">87</lx:ConstOperand><lx:ConstOperand type="Int32">88</lx:ConstOperand><lx:ConstOperand type="Int32">89</lx:ConstOperand><lx:ConstOperand type="Int32">90</lx:ConstOperand><lx:ConstOperand type="Int32">91</lx:ConstOperand><lx:ConstOperand type="Int32">92</lx:ConstOperand><lx:ConstOperand type="Int32">93</lx:ConstOperand><lx:ConstOperand type="Int32">94</lx:ConstOperand><lx:ConstOperand type="Int32">95</lx:ConstOperand><lx:ConstOperand type="Int32">96</lx:ConstOperand><lx:ConstOperand type="Int32">97</lx:ConstOperand><lx:ConstOperand type="Int32">98</lx:ConstOperand><lx:ConstOperand type="Int32">99</lx:ConstOperand> </lx:LexemList></lx:Criterion><lx:Criterion type="="> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Sex" /> </lx:Path> <lx:BaseObjectOperand Entity="VCLib.ENUMS" type="Int32" PrimaryKey="10302"><Name><![CDATA[женский]]></Name> </lx:BaseObjectOperand></lx:Criterion>\r\n</lx:Criteria>',
'AgeGroupName': 'Женщины(18,21,24,27,30,33,36,39,40,41,42,43,44-99)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Специальность',
'MedicalServiceCode': 'B04.001.002',
'MedicalServiceName': 'Осмотр фельдшером (акушеркой) или врачом акушером-гинекологом (ПОСЕЩЕНИЕ)',
'MedicalServiceName': 'Осмотр фельдшером (акушеркой) или врачом акушером-гинекологом (ПОСЕЩЕНИЕ)', # noqa: E501
'SpecialityName': 'Акушер-гинеколог',
},
{
'AgeGroupName': '35-99',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">35</lx:ConstOperand> <lx:ConstOperand type="Int32">36</lx:ConstOperand> <lx:ConstOperand type="Int32">37</lx:ConstOperand> <lx:ConstOperand type="Int32">38</lx:ConstOperand> <lx:ConstOperand type="Int32">39</lx:ConstOperand> <lx:ConstOperand type="Int32">40</lx:ConstOperand> <lx:ConstOperand type="Int32">41</lx:ConstOperand> <lx:ConstOperand type="Int32">42</lx:ConstOperand> <lx:ConstOperand type="Int32">43</lx:ConstOperand> <lx:ConstOperand type="Int32">44</lx:ConstOperand> <lx:ConstOperand type="Int32">45</lx:ConstOperand> <lx:ConstOperand type="Int32">46</lx:ConstOperand> <lx:ConstOperand type="Int32">47</lx:ConstOperand> <lx:ConstOperand type="Int32">48</lx:ConstOperand> <lx:ConstOperand type="Int32">49</lx:ConstOperand> <lx:ConstOperand type="Int32">50</lx:ConstOperand> <lx:ConstOperand type="Int32">51</lx:ConstOperand> <lx:ConstOperand type="Int32">52</lx:ConstOperand> <lx:ConstOperand type="Int32">53</lx:ConstOperand> <lx:ConstOperand type="Int32">54</lx:ConstOperand> <lx:ConstOperand type="Int32">55</lx:ConstOperand> <lx:ConstOperand type="Int32">56</lx:ConstOperand> <lx:ConstOperand type="Int32">57</lx:ConstOperand> <lx:ConstOperand type="Int32">58</lx:ConstOperand> <lx:ConstOperand type="Int32">59</lx:ConstOperand> <lx:ConstOperand type="Int32">60</lx:ConstOperand> <lx:ConstOperand type="Int32">61</lx:ConstOperand> <lx:ConstOperand type="Int32">62</lx:ConstOperand> <lx:ConstOperand type="Int32">63</lx:ConstOperand> <lx:ConstOperand type="Int32">64</lx:ConstOperand> <lx:ConstOperand type="Int32">65</lx:ConstOperand> <lx:ConstOperand type="Int32">66</lx:ConstOperand> <lx:ConstOperand type="Int32">67</lx:ConstOperand> <lx:ConstOperand type="Int32">68</lx:ConstOperand> <lx:ConstOperand type="Int32">69</lx:ConstOperand> <lx:ConstOperand type="Int32">70</lx:ConstOperand> <lx:ConstOperand type="Int32">71</lx:ConstOperand> <lx:ConstOperand type="Int32">72</lx:ConstOperand> <lx:ConstOperand type="Int32">73</lx:ConstOperand> <lx:ConstOperand type="Int32">74</lx:ConstOperand> <lx:ConstOperand type="Int32">75</lx:ConstOperand> <lx:ConstOperand type="Int32">76</lx:ConstOperand> <lx:ConstOperand type="Int32">77</lx:ConstOperand> <lx:ConstOperand type="Int32">78</lx:ConstOperand> <lx:ConstOperand type="Int32">79</lx:ConstOperand> <lx:ConstOperand type="Int32">80</lx:ConstOperand> <lx:ConstOperand type="Int32">81</lx:ConstOperand> <lx:ConstOperand type="Int32">82</lx:ConstOperand> <lx:ConstOperand type="Int32">83</lx:ConstOperand> <lx:ConstOperand type="Int32">84</lx:ConstOperand> <lx:ConstOperand type="Int32">85</lx:ConstOperand> <lx:ConstOperand type="Int32">86</lx:ConstOperand> <lx:ConstOperand type="Int32">87</lx:ConstOperand> <lx:ConstOperand type="Int32">88</lx:ConstOperand> <lx:ConstOperand type="Int32">89</lx:ConstOperand> <lx:ConstOperand type="Int32">90</lx:ConstOperand> <lx:ConstOperand type="Int32">91</lx:ConstOperand> <lx:ConstOperand type="Int32">92</lx:ConstOperand> <lx:ConstOperand type="Int32">93</lx:ConstOperand> <lx:ConstOperand type="Int32">94</lx:ConstOperand> <lx:ConstOperand type="Int32">95</lx:ConstOperand> <lx:ConstOperand type="Int32">96</lx:ConstOperand> <lx:ConstOperand type="Int32">97</lx:ConstOperand> <lx:ConstOperand type="Int32">98</lx:ConstOperand> <lx:ConstOperand type="Int32">99</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A05.10.0066',
'MedicalServiceName': 'Д20 Электрокардиография (в покое) 1 этап',
'MedicalServiceName': 'Д20 Электрокардиография (в покое) 1 этап', # noqa: E501
},
{
'AgeGroupName': 'Мужчины (45,50,55,60,64)',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="="> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Sex" /> </lx:Path> <lx:BaseObjectOperand Entity="VCLib.ENUMS" type="Int32" PrimaryKey="10301"><Name><![CDATA[мужской]]></Name> </lx:BaseObjectOperand></lx:Criterion><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">45</lx:ConstOperand><lx:ConstOperand type="Int32">50</lx:ConstOperand><lx:ConstOperand type="Int32">55</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">64</lx:ConstOperand> </lx:LexemList></lx:Criterion>\r\n</lx:Criteria>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A09.05.130',
'MedicalServiceName': 'Д31 Анализ крови на уровень содержания простатспецифического антигена 1 этап',
'MedicalServiceName': 'Д31 Анализ крови на уровень содержания простатспецифического антигена 1 этап', # noqa: E501
},
{
'AgeGroupName': 'женщины(40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74)',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="="> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Sex" /> </lx:Path> <lx:ConstOperand type="Int32">10302</lx:ConstOperand></lx:Criterion><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">40</lx:ConstOperand><lx:ConstOperand type="Int32">42</lx:ConstOperand><lx:ConstOperand type="Int32">44</lx:ConstOperand><lx:ConstOperand type="Int32">46</lx:ConstOperand><lx:ConstOperand type="Int32">48</lx:ConstOperand><lx:ConstOperand type="Int32">50</lx:ConstOperand><lx:ConstOperand type="Int32">52</lx:ConstOperand><lx:ConstOperand type="Int32">54</lx:ConstOperand><lx:ConstOperand type="Int32">56</lx:ConstOperand><lx:ConstOperand type="Int32">58</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">62</lx:ConstOperand><lx:ConstOperand type="Int32">64</lx:ConstOperand><lx:ConstOperand type="Int32">66</lx:ConstOperand><lx:ConstOperand type="Int32">68</lx:ConstOperand><lx:ConstOperand type="Int32">70</lx:ConstOperand><lx:ConstOperand type="Int32">72</lx:ConstOperand><lx:ConstOperand type="Int32">74</lx:ConstOperand> </lx:LexemList></lx:Criterion>\r\n</lx:Criteria>',
'AgeGroupName': 'женщины(40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A06.20.004',
'MedicalServiceName': 'Д34 Маммография обеих молочных желез без расшифровки маммограммы врачом (включает стоимость проведения процедуры рентгеновской или цифровой маммографии на рентгеновском аппарате-маммографе) 1 этап',
'MedicalServiceName': 'Д34 Маммография обеих молочных желез без расшифровки маммограммы врачом (включает стоимость проведения процедуры рентгеновской или цифровой маммографии на рентгеновском аппарате-маммографе) 1 этап', # noqa: E501
},
{
'AgeGroupName': 'жен(18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63)',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="="> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Sex" /> </lx:Path> <lx:ConstOperand type="Int32">10302</lx:ConstOperand></lx:Criterion><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">18</lx:ConstOperand><lx:ConstOperand type="Int32">21</lx:ConstOperand><lx:ConstOperand type="Int32">24</lx:ConstOperand><lx:ConstOperand type="Int32">27</lx:ConstOperand><lx:ConstOperand type="Int32">30</lx:ConstOperand><lx:ConstOperand type="Int32">33</lx:ConstOperand><lx:ConstOperand type="Int32">36</lx:ConstOperand><lx:ConstOperand type="Int32">39</lx:ConstOperand><lx:ConstOperand type="Int32">42</lx:ConstOperand><lx:ConstOperand type="Int32">45</lx:ConstOperand><lx:ConstOperand type="Int32">48</lx:ConstOperand><lx:ConstOperand type="Int32">51</lx:ConstOperand><lx:ConstOperand type="Int32">54</lx:ConstOperand><lx:ConstOperand type="Int32">57</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">63</lx:ConstOperand> </lx:LexemList></lx:Criterion>\r\n</lx:Criteria>',
'AgeGroupName': 'жен(18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A11.20.025',
'MedicalServiceName': 'П37 Взятие мазка (соскоба) с поверхности шейки матки (наружного маточного зева) и цервикального канала на цитологическое исследование (без учёта стоимости цитологического исследования мазка с шейки матки) 1 этап',
'MedicalServiceName': 'П37 Взятие мазка (соскоба) с поверхности шейки матки (наружного маточного зева) и цервикального канала на цитологическое исследование (без учёта стоимости цитологического исследования мазка с шейки матки) 1 этап', # noqa: E501
},
{
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39)',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:ConstOperand type="Int32">21</lx:ConstOperand> <lx:ConstOperand type="Int32">24</lx:ConstOperand> <lx:ConstOperand type="Int32">27</lx:ConstOperand> <lx:ConstOperand type="Int32">30</lx:ConstOperand> <lx:ConstOperand type="Int32">33</lx:ConstOperand> <lx:ConstOperand type="Int32">36</lx:ConstOperand> <lx:ConstOperand type="Int32">39</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A23.30.055/1',
'MedicalServiceName': 'П42 Определение относительного сердечно-сосудистого риска',
'MedicalServiceName': 'П42 Определение относительного сердечно-сосудистого риска', # noqa: E501
},
{
'AgeGroupName': 'Взрослые 40-99',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">40</lx:ConstOperand><lx:ConstOperand type="Int32">41</lx:ConstOperand><lx:ConstOperand type="Int32">42</lx:ConstOperand><lx:ConstOperand type="Int32">43</lx:ConstOperand><lx:ConstOperand type="Int32">44</lx:ConstOperand><lx:ConstOperand type="Int32">45</lx:ConstOperand><lx:ConstOperand type="Int32">46</lx:ConstOperand><lx:ConstOperand type="Int32">47</lx:ConstOperand><lx:ConstOperand type="Int32">48</lx:ConstOperand><lx:ConstOperand type="Int32">49</lx:ConstOperand><lx:ConstOperand type="Int32">50</lx:ConstOperand><lx:ConstOperand type="Int32">51</lx:ConstOperand><lx:ConstOperand type="Int32">52</lx:ConstOperand><lx:ConstOperand type="Int32">53</lx:ConstOperand><lx:ConstOperand type="Int32">54</lx:ConstOperand><lx:ConstOperand type="Int32">55</lx:ConstOperand><lx:ConstOperand type="Int32">56</lx:ConstOperand><lx:ConstOperand type="Int32">57</lx:ConstOperand><lx:ConstOperand type="Int32">58</lx:ConstOperand><lx:ConstOperand type="Int32">59</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">61</lx:ConstOperand><lx:ConstOperand type="Int32">62</lx:ConstOperand><lx:ConstOperand type="Int32">63</lx:ConstOperand><lx:ConstOperand type="Int32">64</lx:ConstOperand><lx:ConstOperand type="Int32">65</lx:ConstOperand><lx:ConstOperand type="Int32">66</lx:ConstOperand><lx:ConstOperand type="Int32">67</lx:ConstOperand><lx:ConstOperand type="Int32">68</lx:ConstOperand><lx:ConstOperand type="Int32">69</lx:ConstOperand><lx:ConstOperand type="Int32">70</lx:ConstOperand><lx:ConstOperand type="Int32">71</lx:ConstOperand><lx:ConstOperand type="Int32">72</lx:ConstOperand><lx:ConstOperand type="Int32">73</lx:ConstOperand><lx:ConstOperand type="Int32">74</lx:ConstOperand><lx:ConstOperand type="Int32">75</lx:ConstOperand><lx:ConstOperand type="Int32">76</lx:ConstOperand><lx:ConstOperand type="Int32">77</lx:ConstOperand><lx:ConstOperand type="Int32">78</lx:ConstOperand><lx:ConstOperand type="Int32">79</lx:ConstOperand><lx:ConstOperand type="Int32">80</lx:ConstOperand><lx:ConstOperand type="Int32">81</lx:ConstOperand><lx:ConstOperand type="Int32">82</lx:ConstOperand><lx:ConstOperand type="Int32">83</lx:ConstOperand><lx:ConstOperand type="Int32">84</lx:ConstOperand><lx:ConstOperand type="Int32">85</lx:ConstOperand><lx:ConstOperand type="Int32">86</lx:ConstOperand><lx:ConstOperand type="Int32">87</lx:ConstOperand><lx:ConstOperand type="Int32">88</lx:ConstOperand><lx:ConstOperand type="Int32">89</lx:ConstOperand><lx:ConstOperand type="Int32">90</lx:ConstOperand><lx:ConstOperand type="Int32">91</lx:ConstOperand><lx:ConstOperand type="Int32">92</lx:ConstOperand><lx:ConstOperand type="Int32">93</lx:ConstOperand><lx:ConstOperand type="Int32">94</lx:ConstOperand><lx:ConstOperand type="Int32">95</lx:ConstOperand><lx:ConstOperand type="Int32">96</lx:ConstOperand><lx:ConstOperand type="Int32">97</lx:ConstOperand><lx:ConstOperand type="Int32">98</lx:ConstOperand><lx:ConstOperand type="Int32">99</lx:ConstOperand> </lx:LexemList></lx:Criterion>\r\n</lx:Criteria>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A02.26.015',
'MedicalServiceName': 'Д03 Измерение внутриглазного давления 1 этап',
'MedicalServiceName': 'Д03 Измерение внутриглазного давления 1 этап', # noqa: E501
},
{
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:ConstOperand type="Int32">21</lx:ConstOperand> <lx:ConstOperand type="Int32">24</lx:ConstOperand> <lx:ConstOperand type="Int32">27</lx:ConstOperand> <lx:ConstOperand type="Int32">30</lx:ConstOperand> <lx:ConstOperand type="Int32">33</lx:ConstOperand> <lx:ConstOperand type="Int32">36</lx:ConstOperand> <lx:ConstOperand type="Int32">39</lx:ConstOperand> <lx:ConstOperand type="Int32">40</lx:ConstOperand> <lx:ConstOperand type="Int32">41</lx:ConstOperand> <lx:ConstOperand type="Int32">42</lx:ConstOperand> <lx:ConstOperand type="Int32">43</lx:ConstOperand> <lx:ConstOperand type="Int32">44</lx:ConstOperand> <lx:ConstOperand type="Int32">45</lx:ConstOperand> <lx:ConstOperand type="Int32">46</lx:ConstOperand> <lx:ConstOperand type="Int32">47</lx:ConstOperand> <lx:ConstOperand type="Int32">48</lx:ConstOperand> <lx:ConstOperand type="Int32">49</lx:ConstOperand> <lx:ConstOperand type="Int32">50</lx:ConstOperand> <lx:ConstOperand type="Int32">51</lx:ConstOperand> <lx:ConstOperand type="Int32">52</lx:ConstOperand> <lx:ConstOperand type="Int32">53</lx:ConstOperand> <lx:ConstOperand type="Int32">54</lx:ConstOperand> <lx:ConstOperand type="Int32">55</lx:ConstOperand> <lx:ConstOperand type="Int32">56</lx:ConstOperand> <lx:ConstOperand type="Int32">57</lx:ConstOperand> <lx:ConstOperand type="Int32">58</lx:ConstOperand> <lx:ConstOperand type="Int32">59</lx:ConstOperand> <lx:ConstOperand type="Int32">60</lx:ConstOperand> <lx:ConstOperand type="Int32">61</lx:ConstOperand> <lx:ConstOperand type="Int32">62</lx:ConstOperand> <lx:ConstOperand type="Int32">63</lx:ConstOperand> <lx:ConstOperand type="Int32">64</lx:ConstOperand> <lx:ConstOperand type="Int32">65</lx:ConstOperand> <lx:ConstOperand type="Int32">66</lx:ConstOperand> <lx:ConstOperand type="Int32">67</lx:ConstOperand> <lx:ConstOperand type="Int32">68</lx:ConstOperand> <lx:ConstOperand type="Int32">69</lx:ConstOperand> <lx:ConstOperand type="Int32">70</lx:ConstOperand> <lx:ConstOperand type="Int32">71</lx:ConstOperand> <lx:ConstOperand type="Int32">72</lx:ConstOperand> <lx:ConstOperand type="Int32">73</lx:ConstOperand> <lx:ConstOperand type="Int32">74</lx:ConstOperand> <lx:ConstOperand type="Int32">75</lx:ConstOperand> <lx:ConstOperand type="Int32">76</lx:ConstOperand> <lx:ConstOperand type="Int32">77</lx:ConstOperand> <lx:ConstOperand type="Int32">78</lx:ConstOperand> <lx:ConstOperand type="Int32">79</lx:ConstOperand> <lx:ConstOperand type="Int32">80</lx:ConstOperand> <lx:ConstOperand type="Int32">81</lx:ConstOperand> <lx:ConstOperand type="Int32">82</lx:ConstOperand> <lx:ConstOperand type="Int32">83</lx:ConstOperand> <lx:ConstOperand type="Int32">84</lx:ConstOperand> <lx:ConstOperand type="Int32">85</lx:ConstOperand> <lx:ConstOperand type="Int32">86</lx:ConstOperand> <lx:ConstOperand type="Int32">87</lx:ConstOperand> <lx:ConstOperand type="Int32">88</lx:ConstOperand> <lx:ConstOperand type="Int32">89</lx:ConstOperand> <lx:ConstOperand type="Int32">90</lx:ConstOperand> <lx:ConstOperand type="Int32">91</lx:ConstOperand> <lx:ConstOperand type="Int32">92</lx:ConstOperand> <lx:ConstOperand type="Int32">93</lx:ConstOperand> <lx:ConstOperand type="Int32">94</lx:ConstOperand> <lx:ConstOperand type="Int32">95</lx:ConstOperand> <lx:ConstOperand type="Int32">96</lx:ConstOperand> <lx:ConstOperand type="Int32">97</lx:ConstOperand> <lx:ConstOperand type="Int32">98</lx:ConstOperand> <lx:ConstOperand type="Int32">99</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'AgeGroupName': 'Взрослые(18,21,24,27,30,33,36,39,40,41,42,43-99)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A02.12.002',
'MedicalServiceName': 'Д02 Измерение артериального давления 1 этап',
'MedicalServiceName': 'Д02 Измерение артериального давления 1 этап', # noqa: E501
},
{
'AgeGroupName': '40-64',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">40</lx:ConstOperand> <lx:ConstOperand type="Int32">41</lx:ConstOperand> <lx:ConstOperand type="Int32">42</lx:ConstOperand> <lx:ConstOperand type="Int32">43</lx:ConstOperand> <lx:ConstOperand type="Int32">44</lx:ConstOperand> <lx:ConstOperand type="Int32">45</lx:ConstOperand> <lx:ConstOperand type="Int32">46</lx:ConstOperand> <lx:ConstOperand type="Int32">47</lx:ConstOperand> <lx:ConstOperand type="Int32">48</lx:ConstOperand> <lx:ConstOperand type="Int32">49</lx:ConstOperand> <lx:ConstOperand type="Int32">50</lx:ConstOperand> <lx:ConstOperand type="Int32">51</lx:ConstOperand> <lx:ConstOperand type="Int32">52</lx:ConstOperand> <lx:ConstOperand type="Int32">53</lx:ConstOperand> <lx:ConstOperand type="Int32">54</lx:ConstOperand> <lx:ConstOperand type="Int32">55</lx:ConstOperand> <lx:ConstOperand type="Int32">56</lx:ConstOperand> <lx:ConstOperand type="Int32">57</lx:ConstOperand> <lx:ConstOperand type="Int32">58</lx:ConstOperand> <lx:ConstOperand type="Int32">59</lx:ConstOperand> <lx:ConstOperand type="Int32">60</lx:ConstOperand> <lx:ConstOperand type="Int32">61</lx:ConstOperand> <lx:ConstOperand type="Int32">62</lx:ConstOperand> <lx:ConstOperand type="Int32">63</lx:ConstOperand> <lx:ConstOperand type="Int32">64</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A23.30.055/2',
'MedicalServiceName': 'П40 Определение абсолютного сердечно-сосудистого риска',
'MedicalServiceName': 'П40 Определение абсолютного сердечно-сосудистого риска', # noqa: E501
},
{
'AgeGroupName': 'Мужчины (45,50,55,60,64)',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="="> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Sex" /> </lx:Path> <lx:BaseObjectOperand Entity="VCLib.ENUMS" type="Int32" PrimaryKey="10301"><Name><![CDATA[мужской]]></Name> </lx:BaseObjectOperand></lx:Criterion><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">45</lx:ConstOperand><lx:ConstOperand type="Int32">50</lx:ConstOperand><lx:ConstOperand type="Int32">55</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">64</lx:ConstOperand> </lx:LexemList></lx:Criterion>\r\n</lx:Criteria>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A11.12.009',
'MedicalServiceName': 'Д32 Взятие крови из периферической вены',
'MedicalServiceName': 'Д32 Взятие крови из периферической вены', # noqa: E501
},
{
'AgeGroupName': 'Женщины от 18 лет',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="="> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Sex" /> </lx:Path> <lx:BaseObjectOperand Entity="VCLib.ENUMS" type="Int32" PrimaryKey="10302" /></lx:Criterion><lx:Criterion type="&gt;="> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> <lx:DateAdd datepart="Year"><lx:ConstOperand type="Int32">18</lx:ConstOperand><lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /></lx:Path> </lx:DateAdd></lx:Criterion>\r\n</lx:Criteria>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A08.20.017.0021',
'MedicalServiceName': 'П38 Цитологическое исследование мазка с шейки матки (Жидкостной метод) 1 этап',
'MedicalServiceName': 'П38 Цитологическое исследование мазка с шейки матки (Жидкостной метод) 1 этап', # noqa: E501
},
{
'AgeGroupName': 'От 18 лет',
'AgeGroupCriteria': '<lx:Criterion type="&gt;=" xmlns:lx="lexem"><lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /><lx:DateAdd datepart="Year"> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Birthday" /> </lx:Path></lx:DateAdd>\r\n</lx:Criterion>',
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A08.20.013/3',
'MedicalServiceName': 'П39 Цитологическое исследование мазка с шейки матки Папаниколау 1 этап',
'MedicalServiceName': 'П39 Цитологическое исследование мазка с шейки матки Папаниколау 1 этап', # noqa: E501
},
{
'AgeGroupName': 'Взрослые (18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,63,65,68,71,74,77,80,83,86,89,92,95,98)',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:ConstOperand type="Int32">21</lx:ConstOperand> <lx:ConstOperand type="Int32">24</lx:ConstOperand> <lx:ConstOperand type="Int32">27</lx:ConstOperand> <lx:ConstOperand type="Int32">30</lx:ConstOperand> <lx:ConstOperand type="Int32">33</lx:ConstOperand> <lx:ConstOperand type="Int32">36</lx:ConstOperand> <lx:ConstOperand type="Int32">39</lx:ConstOperand> <lx:ConstOperand type="Int32">42</lx:ConstOperand> <lx:ConstOperand type="Int32">45</lx:ConstOperand> <lx:ConstOperand type="Int32">48</lx:ConstOperand> <lx:ConstOperand type="Int32">51</lx:ConstOperand> <lx:ConstOperand type="Int32">54</lx:ConstOperand> <lx:ConstOperand type="Int32">57</lx:ConstOperand> <lx:ConstOperand type="Int32">60</lx:ConstOperand> <lx:ConstOperand type="Int32">63</lx:ConstOperand> <lx:ConstOperand type="Int32">65</lx:ConstOperand> <lx:ConstOperand type="Int32">68</lx:ConstOperand> <lx:ConstOperand type="Int32">71</lx:ConstOperand> <lx:ConstOperand type="Int32">74</lx:ConstOperand> <lx:ConstOperand type="Int32">77</lx:ConstOperand> <lx:ConstOperand type="Int32">80</lx:ConstOperand> <lx:ConstOperand type="Int32">83</lx:ConstOperand> <lx:ConstOperand type="Int32">86</lx:ConstOperand> <lx:ConstOperand type="Int32">89</lx:ConstOperand> <lx:ConstOperand type="Int32">92</lx:ConstOperand> <lx:ConstOperand type="Int32">95</lx:ConstOperand> <lx:ConstOperand type="Int32">98</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'AgeGroupName': 'Взрослые (18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,63,65,68,71,74,77,80,83,86,89,92,95,98)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'B04.070.002',
'MedicalServiceName': 'П42 Индивидуальное краткое профилактическое консультирование по коррекции факторов риска развития неинфекционных заболеваний',
'MedicalServiceName': 'П42 Индивидуальное краткое профилактическое консультирование по коррекции факторов риска развития неинфекционных заболеваний', # noqa: E501
},
{
'AgeGroupName': 'Взрослые(18,24,30,36,40,42,44,46,48,50,52-98)',
'AgeGroupCriteria': '<lx:Criterion type="IN" xmlns:lx="lexem"><lx:Cast type="Int32"> <lx:MathOperator sign="-"><lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /></lx:DatePart><lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path></lx:DatePart> </lx:MathOperator></lx:Cast><lx:LexemList> <lx:ConstOperand type="Int32">18</lx:ConstOperand> <lx:ConstOperand type="Int32">20</lx:ConstOperand> <lx:ConstOperand type="Int32">22</lx:ConstOperand> <lx:ConstOperand type="Int32">24</lx:ConstOperand> <lx:ConstOperand type="Int32">26</lx:ConstOperand> <lx:ConstOperand type="Int32">28</lx:ConstOperand> <lx:ConstOperand type="Int32">30</lx:ConstOperand> <lx:ConstOperand type="Int32">32</lx:ConstOperand> <lx:ConstOperand type="Int32">34</lx:ConstOperand> <lx:ConstOperand type="Int32">36</lx:ConstOperand> <lx:ConstOperand type="Int32">38</lx:ConstOperand> <lx:ConstOperand type="Int32">40</lx:ConstOperand> <lx:ConstOperand type="Int32">42</lx:ConstOperand> <lx:ConstOperand type="Int32">44</lx:ConstOperand> <lx:ConstOperand type="Int32">45</lx:ConstOperand> <lx:ConstOperand type="Int32">46</lx:ConstOperand> <lx:ConstOperand type="Int32">48</lx:ConstOperand> <lx:ConstOperand type="Int32">50</lx:ConstOperand> <lx:ConstOperand type="Int32">52</lx:ConstOperand> <lx:ConstOperand type="Int32">54</lx:ConstOperand> <lx:ConstOperand type="Int32">56</lx:ConstOperand> <lx:ConstOperand type="Int32">58</lx:ConstOperand> <lx:ConstOperand type="Int32">60</lx:ConstOperand> <lx:ConstOperand type="Int32">62</lx:ConstOperand> <lx:ConstOperand type="Int32">64</lx:ConstOperand> <lx:ConstOperand type="Int32">66</lx:ConstOperand> <lx:ConstOperand type="Int32">68</lx:ConstOperand> <lx:ConstOperand type="Int32">70</lx:ConstOperand> <lx:ConstOperand type="Int32">72</lx:ConstOperand> <lx:ConstOperand type="Int32">74</lx:ConstOperand> <lx:ConstOperand type="Int32">76</lx:ConstOperand> <lx:ConstOperand type="Int32">78</lx:ConstOperand> <lx:ConstOperand type="Int32">80</lx:ConstOperand> <lx:ConstOperand type="Int32">82</lx:ConstOperand> <lx:ConstOperand type="Int32">84</lx:ConstOperand> <lx:ConstOperand type="Int32">86</lx:ConstOperand> <lx:ConstOperand type="Int32">88</lx:ConstOperand> <lx:ConstOperand type="Int32">90</lx:ConstOperand> <lx:ConstOperand type="Int32">92</lx:ConstOperand> <lx:ConstOperand type="Int32">94</lx:ConstOperand> <lx:ConstOperand type="Int32">96</lx:ConstOperand> <lx:ConstOperand type="Int32">98</lx:ConstOperand></lx:LexemList>\r\n</lx:Criterion>',
'AgeGroupName': 'Взрослые(18,24,30,36,40,42,44,46,48,50,52-98)', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A06.09.006',
@ -991,20 +982,18 @@ medexamDict = {
},
{
'AgeGroupName': 'От 18 лет',
'AgeGroupCriteria': '<lx:Criterion xmlns:lx="lexem" type="&gt;="><lx:UserQueryOperand type="Const" expectedValueSpecification="System.DateTime" name="ActualDate"/><lx:DateAdd datepart="Year"><lx:ConstOperand type="Int32">18</lx:ConstOperand><lx:Path OwnerQueryLevel="0"><lx:StepInt index="5240005"/><lx:StepInt index="5220002"/><lx:StepInt index="5040015"/></lx:Path></lx:DateAdd></lx:Criterion>',
'Required': 'Обязательный',
'Type': 'Специальность',
'MedicalServiceCode': 'B01.047.005',
'MedicalServiceName': 'Прием (осмотр) врача-терапевта, включающий установление диагноза, определение группы состояния здоровья, группы диспансерного наблюдения, проведение краткого профилактического консультирования, включая рекомендации по здоровому питанию, уровню физической а',
'MedicalServiceName': 'Прием (осмотр) врача-терапевта, включающий установление диагноза, определение группы состояния здоровья, группы диспансерного наблюдения, проведение краткого профилактического консультирования, включая рекомендации по здоровому питанию, уровню физической а', # noqa: E501
'SpecialityName': 'Терапевт',
},
{
'AgeGroupName': 'Жен 40,42,44,46,48,50,52,54,56,58,60,62,64,65-75',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="="> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Sex" /> </lx:Path> <lx:BaseObjectOperand Entity="VCLib.ENUMS" type="Int32" PrimaryKey="10302"><Name><![CDATA[женский]]></Name> </lx:BaseObjectOperand></lx:Criterion><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">40</lx:ConstOperand><lx:ConstOperand type="Int32">42</lx:ConstOperand><lx:ConstOperand type="Int32">44</lx:ConstOperand><lx:ConstOperand type="Int32">46</lx:ConstOperand><lx:ConstOperand type="Int32">48</lx:ConstOperand><lx:ConstOperand type="Int32">50</lx:ConstOperand><lx:ConstOperand type="Int32">52</lx:ConstOperand><lx:ConstOperand type="Int32">54</lx:ConstOperand><lx:ConstOperand type="Int32">56</lx:ConstOperand><lx:ConstOperand type="Int32">58</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">62</lx:ConstOperand><lx:ConstOperand type="Int32">64</lx:ConstOperand><lx:ConstOperand type="Int32">65</lx:ConstOperand><lx:ConstOperand type="Int32">66</lx:ConstOperand><lx:ConstOperand type="Int32">67</lx:ConstOperand><lx:ConstOperand type="Int32">68</lx:ConstOperand><lx:ConstOperand type="Int32">69</lx:ConstOperand><lx:ConstOperand type="Int32">70</lx:ConstOperand><lx:ConstOperand type="Int32">71</lx:ConstOperand><lx:ConstOperand type="Int32">72</lx:ConstOperand><lx:ConstOperand type="Int32">73</lx:ConstOperand><lx:ConstOperand type="Int32">74</lx:ConstOperand><lx:ConstOperand type="Int32">75</lx:ConstOperand> </lx:LexemList></lx:Criterion>\r\n</lx:Criteria>',
'AgeGroupName': 'Жен 40,42,44,46,48,50,52,54,56,58,60,62,64,65-75', # noqa: E501
'Required': 'Обязательный',
'Type': 'Услуга',
'MedicalServiceCode': 'A09.19.001',
'MedicalServiceName': 'Д30 Исследование кала на скрытую кровь 1 этап',
'MedicalServiceName': 'Д30 Исследование кала на скрытую кровь 1 этап', # noqa: E501
},
{
'Required': 'Дополнительный',
@ -1019,12 +1008,11 @@ medexamDict = {
'MedicalServiceName': 'Флюорография легких',
},
{
'AgeGroupName': 'жен(18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63)',
'AgeGroupCriteria': '<lx:Criteria type="And" xmlns:lx="lexem"><lx:Criterion type="="> <lx:Path OwnerQueryLevel="0"><lx:StepString name="AmbulanceCard" /><lx:StepString name="Patient" /><lx:StepString name="Sex" /> </lx:Path> <lx:ConstOperand type="Int32">10302</lx:ConstOperand></lx:Criterion><lx:Criterion type="IN"> <lx:Cast type="Int32"><lx:MathOperator sign="-"> <lx:DatePart datepart="Year"> <lx:UserQueryOperand type="Const" expectedValueSpecification="DateTime" name="ActualDate" /> </lx:DatePart> <lx:DatePart datepart="Year"> <lx:Path OwnerQueryLevel="0"> <lx:StepString name="AmbulanceCard" /> <lx:StepString name="Patient" /> <lx:StepString name="Birthday" /> </lx:Path> </lx:DatePart></lx:MathOperator> </lx:Cast> <lx:LexemList><lx:ConstOperand type="Int32">18</lx:ConstOperand><lx:ConstOperand type="Int32">21</lx:ConstOperand><lx:ConstOperand type="Int32">24</lx:ConstOperand><lx:ConstOperand type="Int32">27</lx:ConstOperand><lx:ConstOperand type="Int32">30</lx:ConstOperand><lx:ConstOperand type="Int32">33</lx:ConstOperand><lx:ConstOperand type="Int32">36</lx:ConstOperand><lx:ConstOperand type="Int32">39</lx:ConstOperand><lx:ConstOperand type="Int32">42</lx:ConstOperand><lx:ConstOperand type="Int32">45</lx:ConstOperand><lx:ConstOperand type="Int32">48</lx:ConstOperand><lx:ConstOperand type="Int32">51</lx:ConstOperand><lx:ConstOperand type="Int32">54</lx:ConstOperand><lx:ConstOperand type="Int32">57</lx:ConstOperand><lx:ConstOperand type="Int32">60</lx:ConstOperand><lx:ConstOperand type="Int32">63</lx:ConstOperand> </lx:LexemList></lx:Criterion>\r\n</lx:Criteria>',
'AgeGroupName': 'жен(18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63)', # noqa: E501
'Required': 'Дополнительный',
'Type': 'Специальность',
'MedicalServiceCode': 'B04.001.002',
'MedicalServiceName': 'Д36 Осмотр фельдшером (акушеркой) или врачом акушером-гинекологом',
'MedicalServiceName': 'Д36 Осмотр фельдшером (акушеркой) или врачом акушером-гинекологом', # noqa: E501
'SpecialityName': 'Акушер-гинеколог',
},
{
@ -1075,7 +1063,7 @@ hospRoutes = {
{
'RouteDate': '10.07.2025',
'ResearchCode': 'B03.016.002.004',
'ResearchName': 'Определение антител IgM и IgG к Coronavirus (SARS-CoV-2)',
'ResearchName': 'Определение антител IgM и IgG к Coronavirus (SARS-CoV-2)', # noqa: E501
},
{
'RouteDate': '10.07.2025',

View File

@ -44,7 +44,9 @@ async def measurement(
@router.get('/measurements')
async def measurements(user: Annotated[str, Depends(login)],):
async def measurements(
user: Annotated[str, Depends(login)],
):
data = [cache.get(key) for key in cache.keys(f'tdn:measurement:{user}:*')]
return data
@ -114,7 +116,7 @@ async def get_vaccs_report(user: Annotated[str, Depends(login)]):
@router.get('/getDiagnosticResults')
async def get_diagnostic_results(user: Annotated[str, Depends(login)]):
return mock.diagnosticResults[0]
return mock.diagnosticResults
@router.get('/getCurrHosp')

View File

@ -21,7 +21,7 @@ class IDTokenSBJModel(BaseModel):
typ: str = Field(alias='urn:esia:sbj:typ')
is_tru: bool = Field(alias='urn:esia:sbj:is_tru')
oid: int = Field(alias='urn:esia:sbj:oid')
name: str = Field(alias='urn:esia:sbj:nam')
name: str = Field(alias='urn:esia:sbj:name')
class IDTokenModel(BaseModel):

View File

@ -7,8 +7,8 @@ from core.config import settings
def get_openapi_schema(router: APIRouter):
# if not settings.DEBUG:
# return None
if not settings.DEBUG:
return None
return ORJSONResponse(
get_openapi(
@ -31,8 +31,8 @@ def get_openapi_schema(router: APIRouter):
def get_swagger_html(router: APIRouter):
# if not settings.DEBUG:
# return None
if not settings.DEBUG:
return None
return get_swagger_ui_html(
openapi_url=f'{router.prefix}/openapi.json',