<commit_before>package gov.nih.nci.ispy.service.clinical;

import java.util.ArrayList;
import java.util.List;

import gov.nih.nci.caintegrator.application.util.StringUtils;

/**
 * This class will hold the clinical data returned by the
 * ClinicalDataQueryService.   
 * 
 * It represents the clinical data corresponding to a given
 * patient a specific timepoint.
 * 
 * @author harrismic
 *
 */

public class ClinicalData {

	private String patientId;
	private String labtrackId;
	private TimepointType timepoint;
	private DiseaseStageType diseaseStage;
	private ERstatusType erStatus;
	private double erValue = Double.MIN_VALUE;     //the summary ER score
	private double prValue = Double.MIN_VALUE;     //the summary PR score
	private double her2Value = Double.MIN_VALUE;   //the summary HER2 score
	private PRstatusType prStatus;
	private HER2statusType HER2status;
	private ClinicalResponseType clinicalResponse;
	private double longestDiameter = Double.MIN_VALUE;
	private String tumorMorphology;
	private String primaryTumorNuclearGrade;
	private String primaryTumorHistologyType;
	private double grossTumorSizeInCM = Double.MIN_VALUE; //Need to check units
	private double microscopeTumorSizeInCM = Double.MIN_VALUE;
	private List<String> chemicalAgents = new ArrayList<String>();
	private double MRIpctChange = Double.MIN_VALUE;  //change in tumor size (measured by MRI) wrt the baseline measurement<commit_msg>Now implements serializable<commit_after>package gov.nih.nci.ispy.service.clinical;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import gov.nih.nci.caintegrator.application.util.StringUtils;

/**
 * This class will hold the clinical data returned by the
 * ClinicalDataQueryService.   
 * 
 * It represents the clinical data corresponding to a given
 * patient a specific timepoint.
 * 
 * @author harrismic
 *
 */

public class ClinicalData implements Serializable{

	
	private static final long serialVersionUID = 1L;
	private String patientId;
	private String labtrackId;
	private TimepointType timepoint;
	private DiseaseStageType diseaseStage;
	private ERstatusType erStatus;
	private double erValue = Double.MIN_VALUE;     //the summary ER score
	private double prValue = Double.MIN_VALUE;     //the summary PR score
	private double her2Value = Double.MIN_VALUE;   //the summary HER2 score
	private PRstatusType prStatus;
	private HER2statusType HER2status;
	private ClinicalResponseType clinicalResponse;
	private double longestDiameter = Double.MIN_VALUE;
	private String tumorMorphology;
	private String primaryTumorNuclearGrade;
	private String primaryTumorHistologyType;
	private double grossTumorSizeInCM = Double.MIN_VALUE; //Need to check units
	private double microscopeTumorSizeInCM = Double.MIN_VALUE;
	private List<String> chemicalAgents = new ArrayList<String>();
	private double MRIpctChange = Double.MIN_VALUE;  //change in tumor size (measured by MRI) wrt the baseline measurement
{'fraction_non_alphanumeric': 0.06317567567567567, 'fraction_numerical': 0.0030405405405405407, 'mean_word_length': 5.117768595041323, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '133303', 'n_tokens_mistral': 864, 'n_tokens_neox': 807, 'n_words': 271}