<!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-view" {$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="8"
	data-v-margin="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<h2 data-itemtype="view_header" data-itemid="view_header" {$item_view_header} data-pageid="{$pageid}" >{$pagetitlelabel tb_consultas view}</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="8"
	data-v-margin="0"
	
>		
	</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="4"
		
		data-v-width="8"
	>
	<tbody>
										<tr>
										

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


<div class="r-integrated-field form-group clearfix {$fielddispclass_especialidade}  r-vertical-field" data-fieldname="especialidade" data-signal-error-for="especialidade{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field" {$item_integrated_edit_field} data-pageid="{$pageid}" data-field="especialidade" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_especialidade}">
		
		{BEGIN especialidade_label}{$label tb_consultas especialidade }{END especialidade_label}
	</label>
	<div class="" >
		{$especialidade_value}	</div>

		</div>
		
</div>


{END especialidade_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
			 
																

{BEGIN cellblock_grid_c5}
<td
	{$cell_grid_c5}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c5" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN medico_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_medico}  r-vertical-field" data-fieldname="medico" data-signal-error-for="medico{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field2" {$item_integrated_edit_field2} data-pageid="{$pageid}" data-field="medico" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_medico}">
		
		{BEGIN medico_label}{$label tb_consultas medico }{END medico_label}
	</label>
	<div class="" >
		{$medico_value}	</div>

		</div>
		
</div>


{END medico_fieldblock}
	
								</td>
			{END cellblock_grid_c5}
			 
																

{BEGIN cellblock_grid_c4}
<td
	{$cell_grid_c4}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c4" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN status_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_status}  r-vertical-field" data-fieldname="status" data-signal-error-for="status{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field7" {$item_integrated_edit_field7} data-pageid="{$pageid}" data-field="status" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_status}">
		
		{BEGIN status_label}{$label tb_consultas status }{END status_label}
	</label>
	<div class="" >
		{$status_value}	</div>

		</div>
		
</div>


{END status_fieldblock}
	
								</td>
			{END cellblock_grid_c4}
			 
		
							

{BEGIN cellblock_grid_c}
<td
	{$cell_grid_c}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_grid_c}
								</tr>
	 
	 
														<tr>
										

{BEGIN cellblock_grid_c14}
<td
	{$cell_grid_c14}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c14" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN tipo_consulta_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_tipo_consulta}  r-vertical-field" data-fieldname="tipo_consulta" data-signal-error-for="tipo_consulta{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field3" {$item_integrated_edit_field3} data-pageid="{$pageid}" data-field="tipo_consulta" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_tipo_consulta}">
		
		{BEGIN tipo_consulta_label}{$label tb_consultas tipo_consulta }{END tipo_consulta_label}
	</label>
	<div class="" >
		{$tipo_consulta_value}	</div>

		</div>
		
</div>


{END tipo_consulta_fieldblock}
	
								</td>
			{END cellblock_grid_c14}
			 
																

{BEGIN cellblock_grid_c15}
<td
	{$cell_grid_c15}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c15" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN data_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_data}  r-vertical-field" data-fieldname="data" data-signal-error-for="data{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field4" {$item_integrated_edit_field4} data-pageid="{$pageid}" data-field="data" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_data}">
		
		{BEGIN data_label}{$label tb_consultas data }{END data_label}
	</label>
	<div class="" >
		{$data_value}	</div>

		</div>
		
</div>


{END data_fieldblock}
	
								</td>
			{END cellblock_grid_c15}
			 
																

{BEGIN cellblock_grid_c16}
<td
	{$cell_grid_c16}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c16" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN horario_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_horario}  r-vertical-field" data-fieldname="horario" data-signal-error-for="horario{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field5" {$item_integrated_edit_field5} data-pageid="{$pageid}" data-field="horario" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_horario}">
		
		{BEGIN horario_label}{$label tb_consultas horario }{END horario_label}
	</label>
	<div class="" >
		{$horario_value}	</div>

		</div>
		
</div>


{END horario_fieldblock}
	
								</td>
			{END cellblock_grid_c16}
			 
																

{BEGIN cellblock_grid_c17}
<td
	{$cell_grid_c17}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c17" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN valor_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_valor}  r-vertical-field" data-fieldname="valor" data-signal-error-for="valor{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field6" {$item_integrated_edit_field6} data-pageid="{$pageid}" data-field="valor" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_valor}">
		
		{BEGIN valor_label}{$label tb_consultas valor }{END valor_label}
	</label>
	<div class="" >
		{$valor_value}	</div>

		</div>
		
</div>


{END valor_fieldblock}
	
								</td>
			{END cellblock_grid_c17}
								</tr>
	 
	 
														<tr>
										

{BEGIN cellblock_grid_c10}
<td
	{$cell_grid_c10}
	class=" r-ori-vert"
	
			data-single
				data-fullwidth
		
	ocolspan="4"		data-cellId="grid_c10" data-pageid="{$pageid}"
		data-v-cell="8"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN local_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_local}  r-vertical-field" data-fieldname="local" data-signal-error-for="local{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field1" {$item_integrated_edit_field1} data-pageid="{$pageid}" data-field="local" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_local}">
		
		{BEGIN local_label}{$label tb_consultas local }{END local_label}
	</label>
	<div class="" >
		{$local_value}	</div>

		</div>
		
</div>


{END local_fieldblock}
	
								</td>
			{END cellblock_grid_c10}
								</tr>
	 
	 
														<tr>
										

{BEGIN cellblock_grid_c6}
<td
	{$cell_grid_c6}
	class=" r-ori-vert"
	
				data-fullwidth
		
	ocolspan="4"		data-cellId="grid_c6" data-pageid="{$pageid}"
		data-v-cell="8"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN Observacao_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Observacao}  r-vertical-field" data-fieldname="Observacao" data-signal-error-for="Observacao{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field8" {$item_integrated_edit_field8} data-pageid="{$pageid}" data-field="Observacao" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_Observacao}">
		
		{BEGIN Observacao_label}{$label tb_consultas Observacao }{END Observacao_label}
	</label>
	<div class="" >
		{$Observacao_value}	</div>

		</div>
		
</div>


{END Observacao_fieldblock}
											
{BEGIN pacID_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_pacID}  r-vertical-field" data-fieldname="pacID" data-signal-error-for="pacID{$id}" data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field9" {$item_integrated_edit_field9} data-pageid="{$pageid}" data-field="pacID" >

		<div class="col-md-12">
	
	<label class="" for="{$labelfor_pacID}">
		
		{BEGIN pacID_label}{$label tb_consultas pacID }{END pacID_label}
	</label>
	<div class="" >
		{$pacID_value}	</div>

		</div>
		
</div>


{END pacID_fieldblock}
	
								</td>
			{END cellblock_grid_c6}
								</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="8"
	data-v-margin="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-6
	">
	 
		{BEGIN back_button}
<span data-itemtype="view_back_list" data-itemid="view_back_list" {$item_view_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 close_button}
<span data-itemtype="view_close" data-itemid="view_close" {$item_view_close} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" href="#" {$closebutton_attrs} >
							Close window			</a>
</span>
{END close_button}
	</div>			 
				<div 
	data-cellId="below-grid_c2" data-pageid="{$pageid}"	{$cell_below-grid_c2}
	class="r-align-right r-ori-vert			col-md-6
	">
	 
		<span data-itemtype="hamburger" data-itemid="hamburger" {$item_hamburger} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown dropup">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-menu-hamburger"></span>
									<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
							{BEGIN edit_page_button}
	<li data-itemtype="view_edit" data-itemid="view_edit" {$item_view_edit} data-pageid="{$pageid}" data-small >
				<a  href="#" {$edit_page_button_attrs}  title="" >
				
		Edit		
		</a>
	</li>
{END edit_page_button}
								<li data-itemtype="view_pdf" data-itemid="view_pdf" {$item_view_pdf} data-pageid="{$pageid}" data-small >
				<a class="pdflink" data-pdfpage="view" 
data-scope="0" 
data-split="0" 
data-records="10" 
data-orientation="portrait" 
data-scale="100" 
data-filename="Consultas.pdf" 
data-pagetype="view" 
{$pdflink_attrs}  title="" >
				
		PDF View		
		</a>
	</li>
					</ul>
	</span>
</span>
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
