+
+ pathFile = lstCommentsPath[jj];
+ size_t pos = 0;
+ pos = pathFile.find( stdPATIENT , pos);
+ pathFile.replace(pos, stdPATIENT.length(), lstPatients[i] );
+ printf("CreateReport01::Process %s \n", pathFile.c_str() );
+ ff=fopen(pathFile.c_str(), "r");
+ strcpy(tmpValue,"?EED?");
+ if (ff!=NULL)
+ {
+ fgets(tmpValue,255,ff);
+ pLstOut[id]->push_back( tmpValue );
+ pLstOut[id]->push_back( " " );
+ pLstOut[id]->push_back( " " );
+ pLstOut[id]->push_back( " " );
+ pLstOut[id]->push_back( " " );
+
+ /*
+ fscanf(ff,"%s ",tmpTitle); // User
+ fscanf(ff,"%s ",tmpValue); //
+ pLstOut[id]->push_back( tmpValue );
+ fscanf(ff,"%s ",tmpTitle); // State
+ fscanf(ff,"%s ",tmpValue); //
+ pLstOut[id]->push_back( tmpValue );
+ fscanf(ff,"%s ",tmpTitle); // Date
+ fscanf(ff,"%s ",tmpValue); //
+ pLstOut[id]->push_back( tmpValue );
+ fscanf(ff,"%s ",tmpTitle); // Time
+ fscanf(ff,"%s ",tmpValue); //
+ pLstOut[id]->push_back( tmpValue );
+ pLstOut[id]->push_back( " " );
+
+ */
+
+ fclose(ff);
+ } else {
+ pLstOut[id]->push_back( "Error file name" );
+ pLstOut[id]->push_back( " " );
+ pLstOut[id]->push_back( " " );
+ pLstOut[id]->push_back( " " );
+ pLstOut[id]->push_back( " " );
+ }// if ff