anchor.diff:  		<c:forEach var="attrType" items="${ attributeTypes }">
   			<openmrs_tag:attributesForType attributeType="${ attrType }" customizable="${ visit }" formFieldNamePrefix="attribute.${ attrType.id }"/>
   		</c:forEach>
  -		<tr>
  -			<th valign="top"><spring:message code="Visit.encounters" /></th>
  -			<td valign="top">
  -				<table id="encountersTable" cellpadding="3" cellspacing="3">
  -					<tr>
  -						<th><spring:message code="Encounter.datetime"/></th>
  -						<th><spring:message code="Encounter.type"/></th>
  -						<th><spring:message code="Encounter.location"/></th>
  -						<th><spring:message code="Encounter.provider"/></th>
  -						<th></th>
  -					</tr>
  -					<c:forEach items="${visitEncounters}" var="enc" varStatus="encStatus">
  -					<tr id="encounter-${enc.encounterId}" style='background-color: whitesmoke'>
  -						<td><openmrs:formatDate date="${enc.encounterDatetime}" type="small" /></td>
  -						<td><openmrs:format encounterType="${enc.encounterType}" /></td>
  -						<td><openmrs:format location="${enc.location}" /></td>
  -						<td><openmrs:format person="${enc.provider}" /></td>
  -						<td class="removeButtonColumn">
  -							<input type="button" value='<spring:message code="general.remove"/>' class="smallButton" onclick="removeEncounter(this)" />
  -							<input type="hidden" name="encounterIds" value="${enc.encounterId}" />
  -						</td>
  -					</tr>
  -					</c:forEach>
  -					<tr id="newEncounterRow" style="display:none;">
  -						<td colspan="4">
  -							<%-- make sure the text field is wide enough to show the placeholder message --%>
  -							<input type="text" id="visitEncounters[x]-display" size="62" />
  -							<input type="hidden" id="visitEncounters[x]" name="encounterIds" />
  -						</td>
  -						<td class="removeButtonColumn">
  -							<input type="button" value='<spring:message code="general.remove"/>' class="smallButton" onclick="removeEncounter(this)" />
  -						</td>
  -					</tr>
  -				</table>
  -				<input type="button" value='<spring:message code="Visit.addEncounter"/>' class="smallButton" onclick='addEncounter()' />
  -				<br /><br />
  -			</td>
  -		</tr>
   		<c:if test="${visit.visitId != null}">
   		<c:if test="${visit.creator != null}">
   		<tr>
  
positive.code: 	}
  </style>
  
  <div style="overflow: auto;">
  <spring:hasBindErrors name="visit">
  	<spring:message code="fix.error"/>
  	<div class="error">
  
negative.code: 				<tr height="20"></tr>
  				<tr>
  					<td colspan="2" style="text-align: center">
  						<input type="submit" value="<spring:message code="general.void"/>" />
  						&nbsp;
  						<input id="close-delete-dialog" type="button" value="<spring:message code="general.cancel"/>" /> 
  					</td>
  				</tr>
  			</table>
  		</form>
  	</div>
  </c:if>
  
  <c:if test="${ canPurge }">
  	<div id="purge-dialog" title="<spring:message code="Visit.confirm.purge"/>">
  		<form:form action="purgeVisit.htm" method="post" modelAttribute="visit">
  			<c:if test="${param.visitId != null}">
  				<input type="hidden" name="visitId" value="${param.visitId}"/>
  			</c:if>
  			<c:if test="${param.patientId != null}">
  				<input type="hidden" name="patientId" value="${param.patientId}"/>
  			</c:if>
  			<br/>
  			<spring:message code="Visit.confirm.purgeMessage"/>
  			<br/>
  			<table cellpadding="3" cellspacing="30" align="center">
  				<tr>
  					<td>
  						<input type="submit" value='<spring:message code="general.yes"/>' /> &nbsp; <input type="button" value="<spring:message code="general.no"/>"
  						onclick="javascript:$j('#purge-dialog').dialog('close')" />
  					</td>
  				</tr>
  			</table>
  		</form:form>
  	</div>
  </c:if>
  
  <%@ include file="/WEB-INF/template/footer.jsp" %>
  