/var/log/mysql/var/deploy/production/releases/20190711100726/medsi/1_tools/3.php:83:
array (size=2)
  'select' => 
    array (size=8)
      0 => string 'ID' (length=2)
      1 => string 'NAME' (length=4)
      2 => string 'LAST_NAME' (length=9)
      3 => string 'SECOND_NAME' (length=11)
      4 => string 'PERSONAL_BIRTHDAY' (length=17)
      5 => string 'PERSONAL_PHONE' (length=14)
      6 => string 'PERSONAL_MOBILE' (length=15)
      7 => string 'UF_PID' (length=6)
  'filter' => 
    array (size=1)
      'ID' => int 76119
$a 
/var/log/mysql/var/deploy/production/releases/20190711100726/medsi/1_tools/3.php:94:
object(stdClass)[1839]
  public 'PID' => string '1000001699401' (length=13)
  public 'NOM' => string 'КАЛИНКИН' (length=16)
  public 'PRENOM' => string 'Дмитрий' (length=14)
  public 'PATRONYME' => string 'Сергеевич' (length=18)
  public 'DATE_BIRTH' => string '19680115' (length=8)
  public 'PHONE_NUMBER' => string '79164486508' (length=11)
  public 'GENDER' => string '1' (length=1)
  public 'EMAIL' => string 'dkalinkin@mail.ru' (length=17)
  public 'VERIFIED' => string '0' (length=1)
  public 'SUBSCRIBE_REMIND' => string '1' (length=1)
  public 'SUBSCRIBE_AD' => string '1' (length=1)
  public 'CHILD_PID' => string '1000003240075' (length=13)
  public 'CRM_GUID' => string 'A65381B7-91DB-4AC5-88A9-C20B67A01A03' (length=36)
$user_crm_guid Калинкин id 76119 
/var/log/mysql/var/deploy/production/releases/20190711100726/medsi/1_tools/3.php:99:string '1000001699401' (length=13)
$request 


    362168db6baf0126c4b9b46a36c4a0e482<PATDIRECS_QUERY><MESSAGE_INFO><MESSAGE_ID>2168db6baf0126c4b9b46a36c4a0e482</MESSAGE_ID></MESSAGE_INFO><QUERY_INFO><CLINIC_CODE>KDC</CLINIC_CODE><PID>1000001699401</PID><ALL_CLINICS>1</ALL_CLINICS></QUERY_INFO></PATDIRECS_QUERY>

SendHL7Request 
/var/log/mysql/var/deploy/production/releases/20190711100726/medsi/1_tools/3.php:141:
object(stdClass)[1834]
  public 'SendHL7RequestResult' => string '' (length=0)
$request 


    2168db6baf0126c4b9b46a36c4a0e482

GetHL7Result 
/var/log/mysql/var/deploy/production/releases/20190711100726/medsi/1_tools/3.php:166:boolean false
$request 


    2168db6baf0126c4b9b46a36c4a0e482

GetHL7Result 
/var/log/mysql/var/deploy/production/releases/20190711100726/medsi/1_tools/3.php:191:
array (size=3)
  'ACK_INFO' => 
    array (size=3)
      'MESSAGE_ID' => string '2168db6baf0126c4b9b46a36c4a0e482' (length=32)
      'CODE' => string 'AA' (length=2)
      'COMMENT' => 
        array (size=0)
          empty
  'QUERY_INFO' => 
    array (size=6)
      'PID' => string '1000001699401' (length=13)
      'PID_PIN' => 
        array (size=0)
          empty
      'CLINIC_CODE' => string 'KDC' (length=3)
      'LANG_CODE' => 
        array (size=0)
          empty
      'USER_TYPE' => 
        array (size=0)
          empty
      'ALL_CLINICS' => string '1' (length=1)
  'PATDIRECS' => 
    array (size=3)
      0 => 
        array (size=18)
          'PATDIREC_ID' => string '27145148' (length=8)
          'PATDIREC_CLINIC_CODE' => 
            array (size=0)
              ...
          'DIR_STATE' => string '1' (length=1)
          'CREATION_DATE' => string '20190712' (length=8)
          'BEGIN_DATE' => string '20190710185400' (length=14)
          'END_DATE' => string '20190824185400' (length=14)
          'DIR_CNT' => string '1' (length=1)
          'ANSW_CNT' => string '0' (length=1)
          'CANCEL_CNT' => string '0' (length=1)
          'PLANNING_CNT' => string '1' (length=1)
          'NOT_PLANNING_CNT' => string '0' (length=1)
          'CITO' => string '0' (length=1)
          'PL_EXAM_ID' => string '240809' (length=6)
          'PL_EXAM_NAME' => string 'Прием (консультация) врача-дерматовенеролога лечебно-диагностический,' (length=130)
          'PATDIREC_NAME' => string 'Прием (консультация) врача-дерматовенеролога лечебно-диагностический,' (length=130)
          'MEDECINS_ID' => string '206439' (length=6)
          'MEDECINS_NAME' => string 'Калинкин Дмитрий Сергеевич' (length=50)
          'PL_SUBJ_CLINIC' => 
            array (size=2)
              ...
      1 => 
        array (size=18)
          'PATDIREC_ID' => string '27145265' (length=8)
          'PATDIREC_CLINIC_CODE' => 
            array (size=0)
              ...
          'DIR_STATE' => string '1' (length=1)
          'CREATION_DATE' => string '20190712' (length=8)
          'BEGIN_DATE' => string '20190710185400' (length=14)
          'END_DATE' => string '20190824185400' (length=14)
          'DIR_CNT' => string '1' (length=1)
          'ANSW_CNT' => string '0' (length=1)
          'CANCEL_CNT' => string '0' (length=1)
          'PLANNING_CNT' => string '1' (length=1)
          'NOT_PLANNING_CNT' => string '0' (length=1)
          'CITO' => string '0' (length=1)
          'PL_EXAM_ID' => string '241753' (length=6)
          'PL_EXAM_NAME' => string 'Суточное мониторирование АД' (length=52)
          'PATDIREC_NAME' => string 'Суточное мониторирование АД' (length=52)
          'MEDECINS_ID' => string '206439' (length=6)
          'MEDECINS_NAME' => string 'Калинкин Дмитрий Сергеевич' (length=50)
          'PL_SUBJ_CLINIC' => 
            array (size=2)
              ...
      2 => 
        array (size=18)
          'PATDIREC_ID' => string '27230676' (length=8)
          'PATDIREC_CLINIC_CODE' => 
            array (size=0)
              ...
          'DIR_STATE' => string '1' (length=1)
          'CREATION_DATE' => string '20190715' (length=8)
          'BEGIN_DATE' => string '20190710185400' (length=14)
          'END_DATE' => string '20190824185400' (length=14)
          'DIR_CNT' => string '1' (length=1)
          'ANSW_CNT' => string '0' (length=1)
          'CANCEL_CNT' => string '0' (length=1)
          'PLANNING_CNT' => string '1' (length=1)
          'NOT_PLANNING_CNT' => string '0' (length=1)
          'CITO' => string '0' (length=1)
          'PL_EXAM_ID' => string '241588' (length=6)
          'PL_EXAM_NAME' => string 'УЗИ почки' (length=17)
          'PATDIREC_NAME' => string 'УЗИ почки' (length=17)
          'MEDECINS_ID' => string '206439' (length=6)
          'MEDECINS_NAME' => string 'Калинкин Дмитрий Сергеевич' (length=50)
          'PL_SUBJ_CLINIC' => 
            array (size=2)
              ...