<!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-add" {$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="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="add_header" data-itemid="add_header" {$item_add_header} data-pageid="{$pageid}" >{$pagetitlelabel tb_agenda_exame add}</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="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		{BEGIN message_block}
<div data-itemtype="add_message" data-itemid="add_message" {$item_add_message} data-pageid="{$pageid}" class="alert {$message_class}" role="alert">
<h5>{$message}</h5>
<div>
{BEGIN back_button}
		
	<button class="btn btn-sm btn-default" {$backbutton_attrs}>Back to list</button>
	{END back_button}
{BEGIN view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>View</button>
{END view_page_button}
{BEGIN edit_page_button}
	<button class="btn btn-sm btn-default" {$edit_page_button_attrs}>Edit</button>
{END edit_page_button}
</div>
</div>
{END message_block}	</div>					</div>
	</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="3"
		
		data-v-width="6"
	>
	<tbody>
										<tr>
										

{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">
				
{BEGIN exameID_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_exameID}">
		{BEGIN exameID_label}{$label tb_agenda_exame exameID }{END exameID_label}
	</label>
	<div class="r-edit-field">
		{$exameID_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="exameID">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END exameID_fieldblock}
	
								</td>
			{END cellblock_grid_c}
			 
		
							

{BEGIN cellblock_grid_c12}
<td
	{$cell_grid_c12}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c12" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_grid_c12}
			 
																

{BEGIN cellblock_grid_c7}
<td
	{$cell_grid_c7}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c7" 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_field6" {$item_integrated_edit_field6} data-pageid="{$pageid}" data-field="status" >


	<label class="r-edit-label control-label" for="{$labelfor_status}">
		{BEGIN status_label}{$label tb_agenda_exame status }{END status_label}
	</label>
	<div class="r-edit-field">
		{$status_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="status">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END status_fieldblock}
	
								</td>
			{END cellblock_grid_c7}
								</tr>
	 
	 
														<tr>
										

{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 laboratorio_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_laboratorio}">
		{BEGIN laboratorio_label}{$label tb_agenda_exame laboratorio }{END laboratorio_label}
	</label>
	<div class="r-edit-field">
		{$laboratorio_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="laboratorio">
		<div class="text-muted" >
				</div>
	</div>
</div>


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

{BEGIN cellblock_grid_c13}
<td
	{$cell_grid_c13}
	class=""
	
			
			data-cellId="grid_c13" 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_field3" {$item_integrated_edit_field3} data-pageid="{$pageid}" data-field="horario" >


	<label class="r-edit-label control-label" for="{$labelfor_horario}">
		{BEGIN horario_label}{$label tb_agenda_exame horario }{END horario_label}
	</label>
	<div class="r-edit-field">
		{$horario_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="horario">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END horario_fieldblock}
											
{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_field2" {$item_integrated_edit_field2} data-pageid="{$pageid}" data-field="data" >


	<label class="r-edit-label control-label" for="{$labelfor_data}">
		{BEGIN data_label}{$label tb_agenda_exame data }{END data_label}
	</label>
	<div class="r-edit-field">
		{$data_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="data">
		<div class="text-muted" >
				</div>
	</div>
</div>


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

{BEGIN cellblock_grid_c8}
<td
	{$cell_grid_c8}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c8" 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_field5" {$item_integrated_edit_field5} data-pageid="{$pageid}" data-field="valor" >


	<label class="r-edit-label control-label" for="{$labelfor_valor}">
		{BEGIN valor_label}{$label tb_agenda_exame valor }{END valor_label}
	</label>
	<div class="r-edit-field">
		{$valor_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="valor">
		<div class="text-muted" >
				</div>
	</div>
</div>


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

{BEGIN cellblock_grid_c5}
<td
	{$cell_grid_c5}
	class=" r-ori-vert"
	
			data-single
				data-fullwidth
		
	ocolspan="3"		data-cellId="grid_c5" data-pageid="{$pageid}"
		data-v-cell="6"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN preparacao_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_preparacao}">
		{BEGIN preparacao_label}{$label tb_agenda_exame preparacao }{END preparacao_label}
	</label>
	<div class="r-edit-field">
		{$preparacao_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="preparacao">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END preparacao_fieldblock}
	
								</td>
			{END cellblock_grid_c5}
								</tr>
	 
	 
														<tr>
										

{BEGIN cellblock_grid_c6}
<td
	{$cell_grid_c6}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c6" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN data_resultado_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_data_resultado}">
		{BEGIN data_resultado_label}{$label tb_agenda_exame data_resultado }{END data_resultado_label}
	</label>
	<div class="r-edit-field">
		{$data_resultado_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="data_resultado">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END data_resultado_fieldblock}
	
								</td>
			{END cellblock_grid_c6}
			 
																

{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 Tipo_retirada_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_Tipo_retirada}">
		{BEGIN Tipo_retirada_label}{$label tb_agenda_exame Tipo_retirada }{END Tipo_retirada_label}
	</label>
	<div class="r-edit-field">
		{$Tipo_retirada_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Tipo_retirada">
		<div class="text-muted" >
				</div>
	</div>
</div>


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

{BEGIN cellblock_grid_c10}
<td
	{$cell_grid_c10}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c10" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_grid_c10}
								</tr>
	 
	 
														<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 copia_pdf_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_copia_pdf}">
		{BEGIN copia_pdf_label}{$label tb_agenda_exame copia_pdf }{END copia_pdf_label}
	</label>
	<div class="r-edit-field">
		{$copia_pdf_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="copia_pdf">
		<div class="text-muted" >
				</div>
	</div>
</div>


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

{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">
									</td>
			{END cellblock_grid_c16}
			 
		
							

{BEGIN cellblock_grid_c11}
<td
	{$cell_grid_c11}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c11" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
									</td>
			{END cellblock_grid_c11}
								</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="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-12
	">
	 
		<span data-itemtype="add_save" data-itemid="add_save" {$item_add_save} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
							Save			</a>
</span>
	 
		{BEGIN back_button}
<span data-itemtype="add_back_list" data-itemid="add_back_list" {$item_add_back_list} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="backButton{$id}" >
							Back to list			</a>
</span>
{END back_button}
	 
		{BEGIN cancel_button}
<span data-itemtype="add_cancel" data-itemid="add_cancel" {$item_add_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>
