<commit_before><%@ include file="/WEB-INF/jsp/includes/include.jsp" %>

<c:set var="component">${param.component}</c:set>

<content tag="listFilters">
<tags:contentColumn columnClass="colLeft2Col5050">
			<tags:listFilterField property="customDateStart" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="customDateEnd" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="patient.firstName" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="patient.lastName" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="dcStatus" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="dcBy" component="${component}" entityType="instrument"/>
		</tags:contentColumn>
		<tags:contentColumn columnClass="colRight2Col5050">
			<tags:listFilterField property="instrType" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="deStatus" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="deBy" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="deDateStart" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="deDateEnd" component="${component}" entityType="instrument"/>
		</tags:contentColumn>
</content>

<content tag="customActions">
<%-- currently only ProjectInstruments supports exporting to a .csv file --%>
<tags:eventButton buttonText="Export" action="download" component="${component}" pageName="${component}"/>
<c:if test="${not empty currentPatient}">
	<tags:actionURLButton buttonText="Add"  actionId="lava.crms.assessment.instrument.instrument" eventId="instrument__add" component="${component}"/>
</c:if>
</content>

<content tag="listColumns">
<tags:listRow>
	<tags:componentListColumnHeader component="${component}"  label="Action" width="11%"/>
	<tags:componentListColumnHeader component="${component}"  label="Patient" width="19%" sort="patient.fullNameRevNoSuffix"/><commit_msg>Export button now uses the "export" event, leaving the "download" event for downloading files<commit_after><%@ include file="/WEB-INF/jsp/includes/include.jsp" %>

<c:set var="component">${param.component}</c:set>

<content tag="listFilters">
<tags:contentColumn columnClass="colLeft2Col5050">
			<tags:listFilterField property="customDateStart" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="customDateEnd" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="patient.firstName" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="patient.lastName" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="dcStatus" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="dcBy" component="${component}" entityType="instrument"/>
		</tags:contentColumn>
		<tags:contentColumn columnClass="colRight2Col5050">
			<tags:listFilterField property="instrType" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="deStatus" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="deBy" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="deDateStart" component="${component}" entityType="instrument"/>
			<tags:listFilterField property="deDateEnd" component="${component}" entityType="instrument"/>
		</tags:contentColumn>
</content>

<content tag="customActions">
<%-- currently only ProjectInstruments supports exporting to a .csv file --%>
<tags:eventButton buttonText="Export" action="export" component="${component}" pageName="${component}"/>
<c:if test="${not empty currentPatient}">
	<tags:actionURLButton buttonText="Add"  actionId="lava.crms.assessment.instrument.instrument" eventId="instrument__add" component="${component}"/>
</c:if>
</content>

<content tag="listColumns">
<tags:listRow>
	<tags:componentListColumnHeader component="${component}"  label="Action" width="11%"/>
	<tags:componentListColumnHeader component="${component}"  label="Patient" width="19%" sort="patient.fullNameRevNoSuffix"/>
{'fraction_non_alphanumeric': 0.16940789473684212, 'fraction_numerical': 0.006578947368421052, 'mean_word_length': 9.915384615384616, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '19187', 'n_tokens_mistral': 1220, 'n_tokens_neox': 1144, 'n_words': 206}