anchor.diff:  			var newSeries = []; 
   			var seriesData = [];
   			newSeries.name = theData[0].label.value;
  -			newSeries.unit = theData[0].unit.value.split("#")[1];
  +			units = theData[0].unit.value.split("#")[1];
  +			activeGraph.push([newSeries.name,units]);
   			$.each(theData, function(index,dataEntry){
  -				if(theData[index].unit.value.split("#")[1] == newSeries.unit){
  +				if(theData[index].unit.value.split("#")[1] == units){
   					seriesData.push([Date.parse(theData[index].date.value), parseFloat(theData[index].value.value)]);
   				}
   			});// /each
  
positive.code: 			console.log("patient data returned:");
  			data=JSON.parse(data);
  			patientData = data.results.bindings;
  			//activeGraph.push(patientData);
  			console.log(patientData);
  			// graph stuff!
  			graphPatientData(patientData);
  
negative.code: 						shape: 'squarepin'
  					}]// /series
  			});// /new chart
  			var theText, theURI;
  			$( ".draggable" ).draggable({ 
  				opacity: 0.7,  
  				revert: "invalid",
  				helper: "clone",
  				start: function (event, ui) {
  					theText = $(this).text();
  					theURI = $(this).attr('href');
  					$(ui.helper).addClass("ui-draggable-helper");
  				}
  			});// /draggable
  			$( ".droppable" ).droppable({
  				accept: ".draggable",
  				activeClass: "droppable-active",
  				drop: function( event, ui ) {
  					chart.showLoading();
  					var theData = PatientModule.getPatientMeasurements({"characteristic":[theURI]}, getPatientDataCallback);
  				}// /drop
  			});// /droppable
  