<!doctype html>
<html  {$html_attrs}>
	<head>
				<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		<link REL="stylesheet" href="styles/default.css?{$wizardBuildKey}" type="text/css">
	{BEGIN rtlCSS}
	<link REL="stylesheet" href="styles/defaultRTL.css?{$wizardBuildKey}" type="text/css">
	{END rtlCSS}
	{BEGIN styleCSSFiles}
	<link REL="stylesheet" href="{$stylepath}" type="text/css">
	{END styleCSSFiles}
	</head>

	<body class="{$stylename} function-search" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		{$locking}
		<div class="r-small-page" 
			data-body-align="center"
			data-body-width="standard"
		>
							{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="small" {$form_top} data-pageid="{$pageid}"
		data-v-width="6"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<h2 data-itemtype="search_header" data-itemid="search_header" {$item_search_header} data-pageid="{$pageid}" >{$pagetitlelabel tb_consultas search}</h2>
	</div>					</div>
	</div>		
{END top_block}
									{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="small" {$form_above-grid} data-pageid="{$pageid}"
		data-v-width="6"
	data-v-margin="1"
	
>		
	</div>		
{END above-grid_block}
									{BEGIN grid_block}




 
	 
												<table 
	data-body-align="center"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="small" {$form_grid} data-pageid="{$pageid}" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="6"
	>
	<tbody>
										<tr>
										

{BEGIN cellblock_grid_c3}
<td
	{$cell_grid_c3}
	class=" r-ori-vert"
	
				data-fullwidth
		
			data-cellId="grid_c3" data-pageid="{$pageid}"
		data-v-cell="6"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN consultaiD_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_consultaiD}  r-horizontal-field form-horizontal" 
	
		data-fieldname="consultaiD" 
	
	data-signal-error-for="consultaiD{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field" {$item_integrated_search_field} data-pageid="{$pageid}" data-field="consultaiD" >


	<label class="r-search-label control-label" for="{$labelfor_consultaiD}">
		{$label tb_consultas consultaiD }	</label>
	<div class="r-search-option">
		{$searchtype_consultaiD}
	</div>
	<div class="r-search-field">
		{$consultaiD_editcontrol}	</div>
	<div class="r-search-field">
		{$consultaiD_editcontrol1}
	</div>
	
</div>

{END consultaiD_fieldblock}
											
{BEGIN especialidade_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_especialidade}  r-horizontal-field form-horizontal" 
	
		data-fieldname="especialidade" 
	
	data-signal-error-for="especialidade{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field1" {$item_integrated_search_field1} data-pageid="{$pageid}" data-field="especialidade" >


	<label class="r-search-label control-label" for="{$labelfor_especialidade}">
		{$label tb_consultas especialidade }	</label>
	<div class="r-search-option">
		{$searchtype_especialidade}
	</div>
	<div class="r-search-field">
		{$especialidade_editcontrol}	</div>
	<div class="r-search-field">
		{$especialidade_editcontrol1}
	</div>
	
</div>

{END especialidade_fieldblock}
											
{BEGIN local_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_local}  r-horizontal-field form-horizontal" 
	
		data-fieldname="local" 
	
	data-signal-error-for="local{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field2" {$item_integrated_search_field2} data-pageid="{$pageid}" data-field="local" >


	<label class="r-search-label control-label" for="{$labelfor_local}">
		{$label tb_consultas local }	</label>
	<div class="r-search-option">
		{$searchtype_local}
	</div>
	<div class="r-search-field">
		{$local_editcontrol}	</div>
	<div class="r-search-field">
		{$local_editcontrol1}
	</div>
	
</div>

{END local_fieldblock}
											
{BEGIN medico_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_medico}  r-horizontal-field form-horizontal" 
	
		data-fieldname="medico" 
	
	data-signal-error-for="medico{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field3" {$item_integrated_search_field3} data-pageid="{$pageid}" data-field="medico" >


	<label class="r-search-label control-label" for="{$labelfor_medico}">
		{$label tb_consultas medico }	</label>
	<div class="r-search-option">
		{$searchtype_medico}
	</div>
	<div class="r-search-field">
		{$medico_editcontrol}	</div>
	<div class="r-search-field">
		{$medico_editcontrol1}
	</div>
	
</div>

{END medico_fieldblock}
											
{BEGIN tipo_consulta_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_tipo_consulta}  r-horizontal-field form-horizontal" 
	
		data-fieldname="tipo_consulta" 
	
	data-signal-error-for="tipo_consulta{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field4" {$item_integrated_search_field4} data-pageid="{$pageid}" data-field="tipo_consulta" >


	<label class="r-search-label control-label" for="{$labelfor_tipo_consulta}">
		{$label tb_consultas tipo_consulta }	</label>
	<div class="r-search-option">
		{$searchtype_tipo_consulta}
	</div>
	<div class="r-search-field">
		{$tipo_consulta_editcontrol}	</div>
	<div class="r-search-field">
		{$tipo_consulta_editcontrol1}
	</div>
	
</div>

{END tipo_consulta_fieldblock}
											
{BEGIN data_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_data}  r-horizontal-field form-horizontal" 
	
		data-fieldname="data" 
	
	data-signal-error-for="data{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field5" {$item_integrated_search_field5} data-pageid="{$pageid}" data-field="data" >


	<label class="r-search-label control-label" for="{$labelfor_data}">
		{$label tb_consultas data }	</label>
	<div class="r-search-option">
		{$searchtype_data}
	</div>
	<div class="r-search-field">
		{$data_editcontrol}	</div>
	<div class="r-search-field">
		{$data_editcontrol1}
	</div>
	
</div>

{END data_fieldblock}
											
{BEGIN horario_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_horario}  r-horizontal-field form-horizontal" 
	
		data-fieldname="horario" 
	
	data-signal-error-for="horario{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field6" {$item_integrated_search_field6} data-pageid="{$pageid}" data-field="horario" >


	<label class="r-search-label control-label" for="{$labelfor_horario}">
		{$label tb_consultas horario }	</label>
	<div class="r-search-option">
		{$searchtype_horario}
	</div>
	<div class="r-search-field">
		{$horario_editcontrol}	</div>
	<div class="r-search-field">
		{$horario_editcontrol1}
	</div>
	
</div>

{END horario_fieldblock}
											
{BEGIN valor_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_valor}  r-horizontal-field form-horizontal" 
	
		data-fieldname="valor" 
	
	data-signal-error-for="valor{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field7" {$item_integrated_search_field7} data-pageid="{$pageid}" data-field="valor" >


	<label class="r-search-label control-label" for="{$labelfor_valor}">
		{$label tb_consultas valor }	</label>
	<div class="r-search-option">
		{$searchtype_valor}
	</div>
	<div class="r-search-field">
		{$valor_editcontrol}	</div>
	<div class="r-search-field">
		{$valor_editcontrol1}
	</div>
	
</div>

{END valor_fieldblock}
											
{BEGIN status_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_status}  r-horizontal-field form-horizontal" 
	
		data-fieldname="status" 
	
	data-signal-error-for="status{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field8" {$item_integrated_search_field8} data-pageid="{$pageid}" data-field="status" >


	<label class="r-search-label control-label" for="{$labelfor_status}">
		{$label tb_consultas status }	</label>
	<div class="r-search-option">
		{$searchtype_status}
	</div>
	<div class="r-search-field">
		{$status_editcontrol}	</div>
	<div class="r-search-field">
		{$status_editcontrol1}
	</div>
	
</div>

{END status_fieldblock}
											
{BEGIN Observacao_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_Observacao}  r-horizontal-field form-horizontal" 
	
		data-fieldname="Observacao" 
	
	data-signal-error-for="Observacao{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field9" {$item_integrated_search_field9} data-pageid="{$pageid}" data-field="Observacao" >


	<label class="r-search-label control-label" for="{$labelfor_Observacao}">
		{$label tb_consultas Observacao }	</label>
	<div class="r-search-option">
		{$searchtype_Observacao}
	</div>
	<div class="r-search-field">
		{$Observacao_editcontrol}	</div>
	<div class="r-search-field">
		{$Observacao_editcontrol1}
	</div>
	
</div>

{END Observacao_fieldblock}
											
{BEGIN pacID_fieldblock}

<div class="r-integrated-field form-group clearfix {$fielddispclass_pacID}  r-horizontal-field form-horizontal" 
	
		data-fieldname="pacID" 
	
	data-signal-error-for="pacID{$id}" 
	data-itemtype="integrated_search_field" data-itemid="integrated_search_field10" {$item_integrated_search_field10} data-pageid="{$pageid}" data-field="pacID" >


	<label class="r-search-label control-label" for="{$labelfor_pacID}">
		{$label tb_consultas pacID }	</label>
	<div class="r-search-option">
		{$searchtype_pacID}
	</div>
	<div class="r-search-field">
		{$pacID_editcontrol}	</div>
	<div class="r-search-field">
		{$pacID_editcontrol1}
	</div>
	
</div>

{END pacID_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
								</tr>
			</tbody></table>
{END grid_block}
									{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="small" {$form_below-grid} data-pageid="{$pageid}"
		data-v-width="6"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-12
	">
	 
		<span data-itemtype="search_search" data-itemid="search_search" {$item_search_search} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$searchbutton_attrs} >
							Search			</a>
</span>
	 
		<span data-itemtype="search_reset" data-itemid="search_reset" {$item_search_reset} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$resetbutton_attrs} >
							Reset			</a>
</span>
	 
		{BEGIN back_button}
<span data-itemtype="search_back_list" data-itemid="search_back_list" {$item_search_back_list} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$backbutton_attrs} >
							Back to list			</a>
</span>
{END back_button}
	 
		{BEGIN cancel_button}
<span data-itemtype="search_cancel" data-itemid="search_cancel" {$item_search_cancel} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="cancelButton{$id}" >
							Cancel			</a>
</span>
{END cancel_button}
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
