<commit_before><%@ include file="/jsp/header.jsp" %>
<%@ include file="/jsp/sidebar.jsp" %>

<%@ page import="java.util.List" %>
<%@ page import="gov.nih.nci.camod.domain.AnimalModel" %>	

<bean:define id="mdl" name="animalmodel"/>

<TABLE cellpadding="10" cellspacing="0" border="0" class="contentBegins" width="100%" height="100%">
<tr><td>

	<TABLE summary="" cellpadding="0" cellspacing="0" border="0" class="contentPage" width="100%" height="100%">
	<tr><td valign="top">
		<TABLE cellpadding="0" cellspacing="0" border="0" class="contentBegins" width="100%">
		<tr><td>
			<TABLE summary="" cellpadding="3" cellspacing="0" border="0" align="center" width="100%">	

			<tr>
				<td class="formTitle" height="20" colspan="6">
					Carcinogenic Agents - Model:
					<c:out value="${mdl.modelDescriptor}" escapeXml="false"/>
				</td>				
			</tr>
			
			</TABLE>
			
			<br>
			
			<c:set var="agentType" value="Chemical / Drug"/>
			<c:set var="cdList" value="${carcinogenicInterventionColl[agentType]}"/>
			<c:if test="${not empty cdList}">
			<TABLE summary="" cellpadding="3" cellspacing="0" border="0" align="center" width="100%">
			<tr>
				<td class="formTitleBlue" height="20" colspan="6">Chemical / Drug</td>				
			</tr>
			
			<tr>
				<td class="greySubTitleLeft" width="17%">Chemical / Drug</td>
				<td class="greySubTitleLeft" width="17%">Dose</td>
				<td class="greySubTitleLeft" width="17%">Treatment Regimen</td>
				<td class="greySubTitleLeft" width="17%">Administrative Route</td>
				<td class="greySubTitleLeft" width="17%">Age at Treatment</td>
				<td class="greySubTitle" width="17%">Gender</td>				
			</tr>
			
			<c:forEach var="cd" items="${cdList}" varStatus="stat">
				<c:choose>
					<c:when test = "${stat.count % 2 == 0}">
						<c:set var="tdClass" value="resultsBoxWhite"/>
					</c:when>
					<c:otherwise>
						<c:set var="tdClass" value="resultsBoxGrey"/>
					</c:otherwise>
				</c:choose>
			<tr>
				<td class="<c:out value="${tdClass}"/>" width="17%">
					<c:choose>
						<c:when test="${empty cd.agent.name}">
							<c:out value="${cd.agent.nameUnctrlVocab}"/>
						</c:when>
						<c:otherwise>
							<c:out value="${cd.agent.name}"/>
						</c:otherwise>
					</c:choose>
				</td>
				<td class="<c:out value="${tdClass}"/>" width="17%">
					<c:out value="${cd.treatment.dosage}"/></td>
				<td class="<c:out value="${tdClass}"/>" width="17%">
					<c:out value="${cd.treatment.regimen}"/>
				</td>
				<td class="<c:out value="${tdClass}"/>" width="17%">
					<c:choose>
						<c:when test="${empty cd.treatment.administrativeRoute}">
							<c:out value="${cd.treatment.adminRouteUnctrlVocab}"/>
						</c:when>
						<c:otherwise>
							<c:out value="${cd.treatment.administrativeRoute}"/><commit_msg>Defect #144, added links to NSC and CAS number under chemical name if they're available.<commit_after><%@ include file="/jsp/header.jsp" %>
<%@ include file="/jsp/sidebar.jsp" %>

<%@ page import="java.util.List" %>
<%@ page import="gov.nih.nci.camod.domain.AnimalModel" %>	

<bean:define id="mdl" name="animalmodel"/>

<TABLE cellpadding="10" cellspacing="0" border="0" class="contentBegins" width="100%" height="100%">
<tr><td>

	<TABLE summary="" cellpadding="0" cellspacing="0" border="0" class="contentPage" width="100%" height="100%">
	<tr><td valign="top">
		<TABLE cellpadding="0" cellspacing="0" border="0" class="contentBegins" width="100%">
		<tr><td>
			<TABLE summary="" cellpadding="3" cellspacing="0" border="0" align="center" width="100%">	

			<tr>
				<td class="formTitle" height="20" colspan="6">
					Carcinogenic Agents - Model:
					<c:out value="${mdl.modelDescriptor}" escapeXml="false"/>
				</td>				
			</tr>
			
			</TABLE>
			
			<br>
			
			<c:set var="agentType" value="Chemical / Drug"/>
			<c:set var="cdList" value="${carcinogenicInterventionColl[agentType]}"/>
			<c:if test="${not empty cdList}">
			<TABLE summary="" cellpadding="3" cellspacing="0" border="0" align="center" width="100%">
			<tr>
				<td class="formTitleBlue" height="20" colspan="6">Chemical / Drug</td>				
			</tr>
			
			<tr>
				<td class="greySubTitleLeft" width="17%">Chemical / Drug</td>
				<td class="greySubTitleLeft" width="17%">Dose</td>
				<td class="greySubTitleLeft" width="17%">Treatment Regimen</td>
				<td class="greySubTitleLeft" width="17%">Administrative Route</td>
				<td class="greySubTitleLeft" width="17%">Age at Treatment</td>
				<td class="greySubTitle" width="17%">Gender</td>				
			</tr>
			
			<c:forEach var="cd" items="${cdList}" varStatus="stat">
				<c:choose>
					<c:when test = "${stat.count % 2 == 0}">
						<c:set var="tdClass" value="resultsBoxWhite"/>
					</c:when>
					<c:otherwise>
						<c:set var="tdClass" value="resultsBoxGrey"/>
					</c:otherwise>
				</c:choose>
			<tr>
				<td class="<c:out value="${tdClass}"/>" width="17%">
					<c:choose>
						<c:when test="${empty cd.agent.name}">
							<c:out value="${cd.agent.nameUnctrlVocab}"/>
						</c:when>
						<c:otherwise>
							<c:out value="${cd.agent.name}"/>
						</c:otherwise>
					</c:choose>
					<c:if test="${not empty cd.agent.nscNumber}">
						<br>NSC: 
						<a target="_blank" href="http://dtp.nci.nih.gov/dtpstandard/servlet/ChemData?queryHOLD=&searchtype=NSC&chemnameboolean=and&outputformat=html&Submit=Submit&searchlist=<c:out value="${cd.agent.nscNumber}"/>">
						    <c:out value="${cd.agent.nscNumber}"/>
						</a>
					</c:if>
					<c:if test="${not empty cd.agent.casNumber}">
						<br>CAS: 
						<a target="_blank" href="http://dtp.nci.nih.gov/dtpstandard/servlet/ChemData?queryHOLD=&searchtype=CAS&chemnameboolean=and&outputformat=html&Submit=Submit&searchlist=<c:out value="${cd.agent.casNumber}"/>">
						    <c:out value="${cd.agent.casNumber}"/>
						</a>    
					</c:if>
				</td>
				<td class="<c:out value="${tdClass}"/>" width="17%">
					<c:out value="${cd.treatment.dosage}"/>&nbsp;
				</td>
				<td class="<c:out value="${tdClass}"/>" width="17%">
					<c:out value="${cd.treatment.regimen}"/>&nbsp;
				</td>
				<td class="<c:out value="${tdClass}"/>" width="17%">
					<c:choose>
						<c:when test="${empty cd.treatment.administrativeRoute}">
							<c:out value="${cd.treatment.adminRouteUnctrlVocab}"/>
						</c:when>
						<c:otherwise>
							<c:out value="${cd.treatment.administrativeRoute}"/>
{'fraction_non_alphanumeric': 0.22271293375394322, 'fraction_numerical': 0.020977917981072555, 'mean_word_length': 3.973333333333333, 'pattern_counts': {'":': 0, '<': 179, '<?xml version=': 0, '>': 179, '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': '5207573', 'n_tokens_mistral': 2947, 'n_tokens_neox': 2253, 'n_words': 388}