def parse_request(request, listOfSelectedParameter):
	"""
	-> Parse result of a request and return only the paramaters
	   present in listOfSelectedParameter.
	-> Request is a dict generated by a search() operation from
	   the tinyDB package
	-> listOfSelectedParameter is a list of selected parameters
	-> return a list of dict, each dict is a vector with paramaters
	   present in listOfSelectedParameter. 
	"""
	structureToReturn = []
	for patient in request:
		vectorToReturn = {}
		for parameter in listOfSelectedParameter:
			vectorToReturn[parameter] = patient[parameter]

		structureToReturn.append(vectorToReturn)

	return structureToReturn