<?xml version="1.0" encoding="windows-1251"?>
<PRINT_REPORT>
	<REPORT>
		<CODE>DAN.0120</CODE>
		<NAME>Íàïðàâëåíèå íà öèòîëîãè÷åñêîå èññëåäîâàíèå ìàòåðèàëà (298 ÝÌÄ)</NAME>
		<MAKET>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;no&quot;?&gt;
&lt;TfrxReport Version=&quot;2024.2.6&quot; DotMatrixReport=&quot;False&quot; IniFile=&quot;\Software\Fast Reports&quot; PreviewOptions.Buttons=&quot;167935&quot; PreviewOptions.Modal=&quot;False&quot; PreviewOptions.Zoom=&quot;1&quot; PrintOptions.Printer=&quot;По умолчанию&quot; PrintOptions.PrintOnSheet=&quot;0&quot; ReportOptions.CreateDate=&quot;46266,3793887153&quot; ReportOptions.Description.Text=&quot;&quot; ReportOptions.LastChange=&quot;46279,5641902315&quot; ScriptLanguage=&quot;PascalScript&quot; ScriptText.Text=&quot;begin&amp;#13;&amp;#10;&amp;#13;&amp;#10;end.&quot;&gt;
  &lt;Datasets&gt;
    &lt;item DataSet=&quot;frxDBDataset13_1&quot; DataSetName=&quot;q&quot;/&gt;
    &lt;item DataSet=&quot;frxDBDataset13_2&quot; DataSetName=&quot;ЭЦП&quot;/&gt;
  &lt;/Datasets&gt;
  &lt;Variables&gt;
    &lt;item Name=&quot;ftDateTime&quot; Value=&quot;11&quot;/&gt;
    &lt;item Name=&quot;ftString&quot; Value=&quot;1&quot;/&gt;
    &lt;item Name=&quot;ftInteger&quot; Value=&quot;3&quot;/&gt;
    &lt;item Name=&quot;ftFloat&quot; Value=&quot;6&quot;/&gt;
    &lt;item Name=&quot;Current_User_Name&quot; Value=&quot;&apos;Администратор&apos;&quot;/&gt;
    &lt;item Name=&quot;CurrentUserKey_UIN&quot; Value=&quot;&apos;A049ДhZNg?СУВv&amp;#62;V&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Branch_Name&quot; Value=&quot;&apos;ООО «Развитие ДНК»&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Branch_Key_UIN&quot; Value=&quot;&apos;A007ПZЪСўыfu00дC&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Branch_FADR&quot; Value=&quot;&apos;Ставропольский край, Ставрополь г, Дзержинского ул, д. 160, кор. А&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Branch_TELEFON&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Branch_Director_Name&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Branch_Director_Key_UIN&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Branch_Director_Dolgnost_Name&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Branch_Director_Dolgnost_Key_UIN&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;IS_MSS_BRANCH_ADR&quot; Value=&quot;False&quot;/&gt;
    &lt;item Name=&quot;LPU_NAME_FULL&quot; Value=&quot;&apos;Общество с ограниченной ответственностью «Развитие ДНК»&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_NAME&quot; Value=&quot;&apos;ООО «Развитие ДНК»&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_NAME_FOR_BOL&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_ADDRESS_FOR_BOL&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_RSCHET&quot; Value=&quot;&apos;40702810100000114127&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_BANK_NAME&quot; Value=&quot;&apos;Филиал банка ГПБ (АО) &amp;#34;Северо-Кавказский&amp;#34;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_BANK_BIK&quot; Value=&quot;&apos;044525823&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_BANK_KSCHET&quot; Value=&quot;&apos;30101810200000000823&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_INN&quot; Value=&quot;&apos;2635093178&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_OGRN&quot; Value=&quot;&apos;1062635129974&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_OKPO&quot; Value=&quot;&apos;96193794&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_OKUD&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_OKDP&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_OKONH&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_OKOGU&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_KPP&quot; Value=&quot;&apos;263401001&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_OKATO&quot; Value=&quot;&apos;07401000000&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_OKTMO&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_TELEFON&quot; Value=&quot;&apos;8(8652)333-005&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_FAKS&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_EMAIL&quot; Value=&quot;&apos;call.dnk@yandex.ru&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_ADRES_YOUR&quot; Value=&quot;&apos;355003, Ставропольский край, Ставрополь г, Дзержинского ул, д. 160, кор. А&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_ADRES_POCH&quot; Value=&quot;&apos;355003, Ставропольский край, Ставрополь г, Дзержинского ул, д. 160, кор. А&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_GL_VRACH_NAME&quot; Value=&quot;&apos;Стефанидис Роман Валентинович&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_GL_VRACH_DOLGNOST&quot; Value=&quot;&apos;Главный врач&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_GL_BUH_NAME&quot; Value=&quot;&apos;Любимова Светлана Владимировна&apos;&quot;/&gt;
    &lt;item Name=&quot;ZAM_PO_EKONOM_MEDPERSONAL_TITLE&quot; Value=&quot;&apos;Хоцанян Ксения Андреевна&apos;&quot;/&gt;
    &lt;item Name=&quot;ZAM_PO_EKONOM_DOLGNOST_TITLE&quot; Value=&quot;&apos;Экономист&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_TYPE&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_REG_NUM_FSS&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_GL_BUH_DOLGNOST&quot; Value=&quot;&apos;Главный бухгалтер&apos;&quot;/&gt;
    &lt;item Name=&quot;LS_UFK&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;LPU_CODE_TFOMS&quot; Value=&quot;&apos;260129&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Department&quot; Value=&quot;&apos;Администрация&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Medpersonal_Name&quot; Value=&quot;&apos;Администратор (Медицина ИТ)&apos;&quot;/&gt;
    &lt;item Name=&quot;Current_User_Dolgnost_Name&quot; Value=&quot;&apos;Заведующий хирургическим отделением&apos;&quot;/&gt;
    &lt;item Name=&quot;IsWine&quot; Value=&quot;False&quot;/&gt;
    &lt;item Name=&quot;sig1_TITLE&quot; Value=&quot;&apos;Передриев Данила&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_DATEON&quot; Value=&quot;&apos;01.09.2026 14:00:31&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_DATEOFF&quot; Value=&quot;&apos;28.10.2026 15:32:11&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_SerialNum&quot; Value=&quot;&apos;7c003a61cdbd1e26e1b388e5040015003a61cd&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_CERT_SUBJ_CN&quot; Value=&quot;&apos;Передриев Данила&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_CERT_SUBJ_SN&quot; Value=&quot;&apos;Передриев&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_CERT_SUBJ_O&quot; Value=&quot;&apos;&amp;#34;ОАО &amp;#34;&amp;#34;Медицина ИТ&amp;#34;&amp;#34;&amp;#34;&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_CERT_SUBJ_L&quot; Value=&quot;&apos;Ставрополь&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_CERT_SUBJ_S&quot; Value=&quot;&apos;26&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_CERT_SUBJ_C&quot; Value=&quot;&apos;RU&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_CERT_SUBJ_E&quot; Value=&quot;&apos;danila-p@medicine-it.ru&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_CERT_SUBJ_T&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;sig1_CERT_SUBJ_G&quot; Value=&quot;&apos;Данила&apos;&quot;/&gt;
    &lt;item Name=&quot;REPORT_CODE_NAME&quot; Value=&quot;&apos;DAN.0120 Направление на цитологическое исследование материала (298 ЭМД)&apos;&quot;/&gt;
    &lt;item Name=&quot;REPORT_VERSION&quot; Value=&quot;&apos;0&apos;&quot;/&gt;
    &lt;item Name=&quot;LIC_NOM&quot; Value=&quot;&apos;Л041-01197-26/00347595&apos;&quot;/&gt;
    &lt;item Name=&quot;LIC_DATEBEG&quot; Value=&quot;&apos;16.03.2020&apos;&quot;/&gt;
    &lt;item Name=&quot;LIC_DATEEND&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;WHO_LICENZ&quot; Value=&quot;&apos;МЗ СК&apos;&quot;/&gt;
    &lt;item Name=&quot;TEL_LICENZ&quot; Value=&quot;&apos;&apos;&quot;/&gt;
    &lt;item Name=&quot;WHERE_LICENZ&quot; Value=&quot;&apos;&apos;&quot;/&gt;
  &lt;/Variables&gt;
  &lt;TfrxDataPage Name=&quot;Data&quot; HGuides.Text=&quot;&quot; VGuides.Text=&quot;&quot; Height=&quot;1000&quot; Left=&quot;0&quot; Top=&quot;0&quot; Width=&quot;1000&quot;/&gt;
  &lt;TfrxReportPage Name=&quot;Page1&quot; HGuides.Text=&quot;&quot; VGuides.Text=&quot;&quot; PaperWidth=&quot;210&quot; PaperHeight=&quot;297&quot; PaperSize=&quot;9&quot; LeftMargin=&quot;10&quot; RightMargin=&quot;10&quot; TopMargin=&quot;10&quot; BottomMargin=&quot;10&quot; ColumnWidth=&quot;0&quot; ColumnPositions.Text=&quot;&quot; Frame.Typ=&quot;0&quot; MirrorMode=&quot;0&quot;&gt;
    &lt;TfrxGroupHeader Name=&quot;GroupHeader1&quot; FillType=&quot;ftBrush&quot; FillGap.Top=&quot;0&quot; FillGap.Left=&quot;0&quot; FillGap.Bottom=&quot;0&quot; FillGap.Right=&quot;0&quot; Frame.Typ=&quot;0&quot; Height=&quot;381,7325178&quot; Left=&quot;0&quot; Top=&quot;18,89765&quot; Width=&quot;718,1107&quot; Condition=&quot;q.&amp;#34;ID&amp;#34;&quot; Stretched=&quot;True&quot;&gt;
      &lt;TfrxMemoView Name=&quot;Memo4&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;75,59060004&quot; Width=&quot;718,11070073&quot; Height=&quot;41,5748178&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-19&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;1&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; HAlign=&quot;haCenter&quot; ParentFont=&quot;False&quot; Text=&quot;Направление на цитологическое исследование материала, полученного при профилактическом гинекологическом осмотре, скрининге&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo1&quot; AllowVectorExport=&quot;True&quot; Left=&quot;8,2E-7&quot; Top=&quot;0&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-13&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;8&quot; ParentFont=&quot;False&quot; Text=&quot;[q.&amp;#34;LPU_TITLE&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo2&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;18,89765004&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-13&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;Адресс: [q.&amp;#34;LPU_ADDR&amp;#34;], Контакты [q.&amp;#34;LPU_TELEPHONE&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo3&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;37,79530004&quot; Width=&quot;566,92950073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-13&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;Лицензия: [LIC_NOM], [WHO_LICENZ], Даты регистрации: [LIC_DATEBEG]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo5&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;124,72449&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;ФИО&amp;#60;/b&amp;#62;  [q.&amp;#34;FIO&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo6&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;143,62214&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Дата рождения&amp;#60;/b&amp;#62;  [q.&amp;#34;PAT_BIRTH&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo7&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;162,51979&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;№ страхового полиса&amp;#60;/b&amp;#62;  [q.&amp;#34;NUMBER_POLES&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo8&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;181,41744&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Адрес пациентки&amp;#60;/b&amp;#62; [q.&amp;#34;PAT_ADDR&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo9&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;200,31509&quot; Width=&quot;718,11070073&quot; Height=&quot;41,5748178&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Диагноз (при направлении на цитологическое исследование)&amp;#60;/b&amp;#62; [q.&amp;#34;MKB_DISC&amp;#34;]&quot;&gt;
        &lt;Formats&gt;
          &lt;item/&gt;
          &lt;item/&gt;
        &lt;/Formats&gt;
      &lt;/TfrxMemoView&gt;
      &lt;TfrxMemoView Name=&quot;Memo10&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;222,99227&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; HAlign=&quot;haRight&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Код по МКБ-10&amp;#60;/b&amp;#62; [q.&amp;#34;MKB_CODEST&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo11&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;241,88992&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Дата последней менструации&amp;#60;/b&amp;#62; &quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo12&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;260,78757&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Соскоб получен&amp;#60;/b&amp;#62;  [q.&amp;#34;SOSKOB&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo13&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;279,68522&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Метод окрашивания&amp;#60;/b&amp;#62;  [q.&amp;#34;COLOR&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo14&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;298,58287&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Назначенные цитологические исследования&amp;#60;/b&amp;#62; [q.&amp;#34;ANALYSIS&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo15&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;317,48052&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Дата взятия биологического материала&amp;#60;/b&amp;#62; [q.&amp;#34;TAKEBIOMAT&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo16&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;336,37817&quot; Width=&quot;718,11070073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;&amp;#60;b&amp;#62;Сведения о медицинской организации (структурное подразделение), куда направлен пациент или взятый метариал&amp;#60;/b&amp;#62; [q.&amp;#34;LPU_TITLE&amp;#34;], [q.&amp;#34;DEPART&amp;#34;]&quot;/&gt;
    &lt;/TfrxGroupHeader&gt;
    &lt;TfrxGroupFooter Name=&quot;GroupFooter1&quot; FillType=&quot;ftBrush&quot; FillGap.Top=&quot;0&quot; FillGap.Left=&quot;0&quot; FillGap.Bottom=&quot;0&quot; FillGap.Right=&quot;0&quot; Frame.Typ=&quot;0&quot; Height=&quot;26,45670404&quot; Left=&quot;0&quot; Top=&quot;445,98454&quot; Width=&quot;718,1107&quot; Stretched=&quot;True&quot;&gt;
      &lt;TfrxSubreport Name=&quot;Subreport1&quot; AllowVectorExport=&quot;True&quot; Left=&quot;381,73253&quot; Top=&quot;7,55906&quot; Width=&quot;336,37817073&quot; Height=&quot;18,89764404&quot; Page=&quot;Page2&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo17&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;0&quot; Width=&quot;362,83488073&quot; Height=&quot;18,8976378&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; AllowHTMLTags=&quot;True&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-16&quot; Font.Name=&quot;Times New Roman&quot; Font.Style=&quot;0&quot; Frame.Color=&quot;8421504&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;[q.&amp;#34;MP_DOLG&amp;#34;] [q.&amp;#34;MEDPERS&amp;#34;]&quot;&gt;
        &lt;Formats&gt;
          &lt;item/&gt;
          &lt;item/&gt;
        &lt;/Formats&gt;
      &lt;/TfrxMemoView&gt;
    &lt;/TfrxGroupFooter&gt;
    &lt;TfrxMasterData Name=&quot;MasterData1&quot; FillType=&quot;ftBrush&quot; FillGap.Top=&quot;0&quot; FillGap.Left=&quot;0&quot; FillGap.Bottom=&quot;0&quot; FillGap.Right=&quot;0&quot; Frame.Typ=&quot;0&quot; Height=&quot;0&quot; Left=&quot;0&quot; Top=&quot;423,30736&quot; Width=&quot;718,1107&quot; ColumnWidth=&quot;0&quot; ColumnGap=&quot;0&quot; DataSet=&quot;frxDBDataset13_1&quot; DataSetName=&quot;q&quot; RowCount=&quot;0&quot; Stretched=&quot;True&quot;/&gt;
  &lt;/TfrxReportPage&gt;
  &lt;TfrxReportPage Name=&quot;Page2&quot; HGuides.Text=&quot;&quot; VGuides.Text=&quot;&quot; PaperWidth=&quot;210&quot; PaperHeight=&quot;297&quot; PaperSize=&quot;9&quot; LeftMargin=&quot;10&quot; RightMargin=&quot;10&quot; TopMargin=&quot;10&quot; BottomMargin=&quot;10&quot; ColumnWidth=&quot;0&quot; ColumnPositions.Text=&quot;&quot; Frame.Typ=&quot;0&quot; MirrorMode=&quot;0&quot;&gt;
    &lt;TfrxGroupHeader Name=&quot;GroupHeader2&quot; FillType=&quot;ftBrush&quot; FillGap.Top=&quot;0&quot; FillGap.Left=&quot;0&quot; FillGap.Bottom=&quot;0&quot; FillGap.Right=&quot;0&quot; Frame.Typ=&quot;0&quot; Height=&quot;0&quot; Left=&quot;0&quot; Top=&quot;18,89765&quot; Width=&quot;718,1107&quot; Condition=&quot;q.&amp;#34;ID&amp;#34;&quot;/&gt;
    &lt;TfrxMasterData Name=&quot;MasterData2&quot; FillType=&quot;ftBrush&quot; FillGap.Top=&quot;0&quot; FillGap.Left=&quot;0&quot; FillGap.Bottom=&quot;0&quot; FillGap.Right=&quot;0&quot; Frame.Typ=&quot;0&quot; Height=&quot;120,94496&quot; Left=&quot;0&quot; Top=&quot;41,57483&quot; Width=&quot;718,1107&quot; ColumnWidth=&quot;0&quot; ColumnGap=&quot;0&quot; DataSet=&quot;frxDBDataset13_2&quot; DataSetName=&quot;ЭЦП&quot; Filter=&quot;&amp;#60;q.&amp;#34;ID&amp;#34;&amp;#62; = &amp;#60;ЭЦП.&amp;#34;ID&amp;#34;&amp;#62;&quot; RowCount=&quot;1&quot;&gt;
      &lt;TfrxMemoView Name=&quot;Memo23&quot; AllowVectorExport=&quot;True&quot; Left=&quot;6,35807&quot; Top=&quot;60,13791&quot; Width=&quot;68,03154&quot; Height=&quot;18,89765&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-11&quot; Font.Name=&quot;verdana&quot; Font.Style=&quot;3&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;Владелец:&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo25&quot; AllowVectorExport=&quot;True&quot; Left=&quot;6,35807&quot; Top=&quot;79,03556&quot; Width=&quot;336,37817&quot; Height=&quot;18,89765&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-11&quot; Font.Name=&quot;verdana&quot; Font.Style=&quot;3&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;Действует с [ЭЦП.&amp;#34;Date_from&amp;#34;] по [ЭЦП.&amp;#34;Date_To&amp;#34;]&quot;&gt;
        &lt;Formats&gt;
          &lt;item FormatStr=&quot;dd.mm.yyyy&quot; Kind=&quot;fkDateTime&quot;/&gt;
          &lt;item FormatStr=&quot;dd.mm.yyyy&quot; Kind=&quot;fkDateTime&quot;/&gt;
        &lt;/Formats&gt;
      &lt;/TfrxMemoView&gt;
      &lt;TfrxMemoView Name=&quot;Memo24&quot; AllowVectorExport=&quot;True&quot; Left=&quot;74,38961&quot; Top=&quot;60,13791&quot; Width=&quot;268,34663&quot; Height=&quot;18,89765&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-11&quot; Font.Name=&quot;verdana&quot; Font.Style=&quot;3&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;[ЭЦП.&amp;#34;CN&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo21&quot; AllowVectorExport=&quot;True&quot; Left=&quot;6,35807&quot; Top=&quot;22,34261&quot; Width=&quot;83,14966&quot; Height=&quot;18,89765&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-11&quot; Font.Name=&quot;verdana&quot; Font.Style=&quot;3&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;Сертификат:&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo22&quot; AllowVectorExport=&quot;True&quot; Left=&quot;6,35807&quot; Top=&quot;41,24026&quot; Width=&quot;336,37817&quot; Height=&quot;18,89765&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-11&quot; Font.Name=&quot;verdana&quot; Font.Style=&quot;3&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;[ЭЦП.&amp;#34;SN&amp;#34;]&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo20&quot; AllowVectorExport=&quot;True&quot; Left=&quot;-1,20099&quot; Top=&quot;3,44496&quot; Width=&quot;347,71676&quot; Height=&quot;18,89765&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-11&quot; Font.Name=&quot;verdana&quot; Font.Style=&quot;3&quot; Frame.Typ=&quot;0&quot; HAlign=&quot;haCenter&quot; ParentFont=&quot;False&quot; VAlign=&quot;vaCenter&quot; Text=&quot;Документ подписан электронной подписью&quot;/&gt;
      &lt;TfrxMemoView Name=&quot;Memo29&quot; AllowVectorExport=&quot;True&quot; Left=&quot;6,55906&quot; Top=&quot;98,26778&quot; Width=&quot;340,1577&quot; Height=&quot;18,89765&quot; StretchMode=&quot;smActualHeight&quot; ContentScaleOptions.Constraints.MaxIterationValue=&quot;0&quot; ContentScaleOptions.Constraints.MinIterationValue=&quot;0&quot; DisplayFormat.FormatStr=&quot;dd.mm.yyyy&quot; DisplayFormat.Kind=&quot;fkDateTime&quot; Font.Charset=&quot;1&quot; Font.Color=&quot;-16777208&quot; Font.Height=&quot;-11&quot; Font.Name=&quot;verdana&quot; Font.Style=&quot;3&quot; Frame.Typ=&quot;0&quot; ParentFont=&quot;False&quot; Text=&quot;[LPU_NAME]&quot;/&gt;
      &lt;TfrxShapeView Name=&quot;Shape1&quot; AllowVectorExport=&quot;True&quot; Left=&quot;0&quot; Top=&quot;0&quot; Width=&quot;347,71676&quot; Height=&quot;120,94496&quot; Visibility=&quot;5&quot; Frame.Typ=&quot;0&quot; Shape=&quot;skRoundRectangle&quot;/&gt;
    &lt;/TfrxMasterData&gt;
    &lt;TfrxGroupFooter Name=&quot;GroupFooter2&quot; FillType=&quot;ftBrush&quot; FillGap.Top=&quot;0&quot; FillGap.Left=&quot;0&quot; FillGap.Bottom=&quot;0&quot; FillGap.Right=&quot;0&quot; Frame.Typ=&quot;0&quot; Height=&quot;0&quot; Left=&quot;0&quot; Top=&quot;185,19697&quot; Width=&quot;718,1107&quot;/&gt;
  &lt;/TfrxReportPage&gt;
&lt;/TfrxReport&gt;
</MAKET>
		<OBJECTDATABASE>DOC_NAPR_ANALYSIS</OBJECTDATABASE>
		<OBJECTNAME>Äîêóìåíò &quot;Íàïðàâëåíèå íà èññëåäîâàíèå&quot;</OBJECTNAME>
		<TYPEPR>0</TYPEPR>
		<FORMNAME/>
		<IS_DOUBLEPASS>false</IS_DOUBLEPASS>
		<CHECK_SQLTEXT>
</CHECK_SQLTEXT>
		<check_truesql>
</check_truesql>
		<REPORT_HELP>
</REPORT_HELP>
		<IS_ONPRINTER>false</IS_ONPRINTER>
		<IS_ONWORK>false</IS_ONWORK>
		<KOL>1</KOL>
		<NUM>1</NUM>
		<IS_CHECK_GROUP>false</IS_CHECK_GROUP>
		<is_truevisible>false</is_truevisible>
		<IS_CONDITION>false</IS_CONDITION>
		<IS_REPORT_NOT_ACTIVE>false</IS_REPORT_NOT_ACTIVE>
		<IS_SUPPORT_MATRIX>false</IS_SUPPORT_MATRIX>
		<IS_DONT_SAVE_TO_PDF>false</IS_DONT_SAVE_TO_PDF>
		<HOST_NAME>DESKTOP-SK9UE13</HOST_NAME>
		<CRC_HASH/>
		<REPORT_VERSION>0</REPORT_VERSION>
		<AUTO_EXEC_SQL_DEL/>
		<AUTO_EXEC_SQL_ADD/>
		<IS_SAVE_RESULT>false</IS_SAVE_RESULT>
		<Type_PDF>-1</Type_PDF>
		<is_save_Type_PDF>false</is_save_Type_PDF>
		<MIN_VER_PROGRAM/>
		<QUERIES>
			<QUERY NAME="q" SQLTEXT="--DAN.0120 &quot;q&quot;
with DOC as

(
select a.id from doc_napr_analysis a
where
A.ID = :ID
--(&amp;ATableIDsViaOR)
),

ADDR as

(select       

dna.id,
addr.pred ADR
                                                         
from doc_napr_analysis dna
inner join reg_address addr on addr.owner = dna.patient
inner join ref_addresstype rat on rat.id = addr.ADDRESSTYPE
where dna.id = :ID
      and rat.code = 1),      
POL as
(select

dna.id,
smo.title SMO,                                                                                                                                                             
pol.number_poles

from doc_napr_analysis dna

inner join doc_reception rec on dna.history_card = rec.id
inner join reg_actual_polises ap on dna.patient = ap.owner
inner join ref_medicalpoles pol on coalesce(rec.poles, ap.polis) = pol.id
inner join ref_smo smo on smo.id = pol.smo
where dna.id = :ID)


select distinct

a.id,
rp.title FIO,
rp.birthday PAT_BIRTH,
POL.SMO ST_COMP,
POL.NUMBER_POLES,
ADDR.ADR PAT_ADDR,
mkb.description MKB_DISC,
mkb.codest MKB_CODEST,
--Äàòà ïîñëåäíåé ìåíñòðóàöèè,
rtb.title SOSKOB, --Ñîñêîá ïîëó÷åí, ÷òî ñþäà òÿíóòü ïðàâèëüíåå - íåïîíÿòíî, ïîêà òÿíó áèîìàòåðèàë ñ íàïðàâëåíèÿ

ra.title ANALYSIS,
a.takebiomat,
(select a.TITLEFULL from params a) LPU_TITLE,
(select ra.pred from params a
inner join reg_address ra on ra.owner = a.id
inner join ref_addresstype rat on rat.id = ra.addresstype and rat.code = 4) LPU_ADDR,
(select a.telefon from params a) LPU_TELEPHONE,                                                              
rd.title DEPART,
rmp.title MEDPERS,
dol.title MP_DOLG,
list(distinct color.title, &apos;, &apos;) COLOR --Ìåòîä îêðàøèâàíèÿ, òÿíó âñ¸ èç òàáëè÷íîé ÷àñòè ÷åðåç çàïÿòóþ, òîëüêî óíèêàëüíûå çíà÷åíèÿ.

from doc_napr_analysis a

inner join DOC on DOC.ID = A.ID
inner join ref_patients rp on rp.id = a.patient
inner join ref_mkb mkb on mkb.id = a.ds_mkb
inner join ref_analysis ra on ra.id = a.analysis
inner join ref_lab_type rlt on rlt.id = a.lab_type
inner join ref_medpersonal rmp on rmp.id = a.medpersonal
inner join ref_dolgnosti  dol on dol.id = rmp.dolgnost
left join ref_types_biomaterial rtb on rtb.id = a.biomaterial
left join ref_departments rd on rd.id = rlt.department
left join doctab_bio_protocol_napr pr_napr on pr_napr.napr_analysis = a.id
left join doc_bio_protocol bio_prot on bio_prot.id = pr_napr.owner
left join doctab_bio_protocol pr on pr.owner = pr_napr.owner
left join ref_custom_table_value color on color.id = pr.color_meth

left join ADDR on ADDR.ID = a.id
left join POL on POL.id = a.id

group by
a.id,
FIO,
PAT_BIRTH,
ST_COMP,
POL.NUMBER_POLES,
 PAT_ADDR,
MKB_DISC,
MKB_CODEST,
SOSKOB, --Ñîñêîá ïîëó÷åí, ÷òî ñþäà òÿíóòü ïðàâèëüíåå - íåïîíÿòíî, ïîêà òÿíó áèîìàòåðèàë ñ íàïðàâëåíèÿ
ANALYSIS,
a.takebiomat,
LPU_TITLE,
LPU_TELEPHONE,
DEPART,
MEDPERS,
MP_DOLG

order by a.id, FIO" NUMZAP="1" IS_BASEFILE="false"/>
			<QUERY NAME="ÝÖÏ" SQLTEXT="--DAN.0120 &apos;ÝÖÏ&apos; 
select *
from (select B.SN, B.CN, cast(B.DATE_FROM as date) date_from, cast(B.DATE_TO as date) date_to, A.DOC_ID ID, A.KIND, A.CODEST
      from DOC_EL_DIG_SIGN A
      left join DOCTAB_EL_DIG_SIGN B on A.ID = B.OWNER
      where B.SN is not null) A
where 
(A.ID = :ID)
--(&amp;ATableIDsViaOR)    
and  (a.kind = &apos;100005&apos;)
                                                                                                                   " NUMZAP="2" IS_BASEFILE="true"/>
		</QUERIES>
	</REPORT>
</PRINT_REPORT>
