private static void writeALine(String s , BufferedWriter writer, boolean mask ,
				int patientToLeaveOut) throws Exception
	{

		String[] splits = s.split("\t");
		
		if( Integer.parseInt(splits[1])== 2 && splits[4].equals("second_B") ) 
			if( mask || Integer.parseInt(splits[2]) != patientToLeaveOut)
			{
				if( mask)
				{
					writer.write( " 0  ");
				}
				else 
				{
					if(splits[3].equals("rural"))
						writer.write("-1  ");
					else if ( splits[3].equals("urban"))
						writer.write("1  ");
					else throw new Exception("No");
				}
				
				for( int x=5; x < splits.length; x++)
				{
					writer.write( x + ":" + splits[x] + " " );
				}
				
				writer.write("\n");
			}
			
			writer.flush();
		}