<!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_lista_medicamentos 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 medicamentoID_fieldblock}

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


	<label class="r-search-label control-label" for="{$labelfor_medicamentoID}">
		{$label tb_lista_medicamentos medicamentoID }	</label>
	<div class="r-search-option">
		{$searchtype_medicamentoID}
	</div>
	<div class="r-search-field">
		{$medicamentoID_editcontrol}	</div>
	<div class="r-search-field">
		{$medicamentoID_editcontrol1}
	</div>
	
</div>

{END medicamentoID_fieldblock}
											
{BEGIN nome_fantasia_fieldblock}

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


	<label class="r-search-label control-label" for="{$labelfor_nome_fantasia}">
		{$label tb_lista_medicamentos nome_fantasia }	</label>
	<div class="r-search-option">
		{$searchtype_nome_fantasia}
	</div>
	<div class="r-search-field">
		{$nome_fantasia_editcontrol}	</div>
	<div class="r-search-field">
		{$nome_fantasia_editcontrol1}
	</div>
	
</div>

{END nome_fantasia_fieldblock}
											
{BEGIN nome_generico_fieldblock}

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


	<label class="r-search-label control-label" for="{$labelfor_nome_generico}">
		{$label tb_lista_medicamentos nome_generico }	</label>
	<div class="r-search-option">
		{$searchtype_nome_generico}
	</div>
	<div class="r-search-field">
		{$nome_generico_editcontrol}	</div>
	<div class="r-search-field">
		{$nome_generico_editcontrol1}
	</div>
	
</div>

{END nome_generico_fieldblock}
											
{BEGIN indicacao_fieldblock}

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


	<label class="r-search-label control-label" for="{$labelfor_indicacao}">
		{$label tb_lista_medicamentos indicacao }	</label>
	<div class="r-search-option">
		{$searchtype_indicacao}
	</div>
	<div class="r-search-field">
		{$indicacao_editcontrol}	</div>
	<div class="r-search-field">
		{$indicacao_editcontrol1}
	</div>
	
</div>

{END indicacao_fieldblock}
											
{BEGIN posologia_fieldblock}

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


	<label class="r-search-label control-label" for="{$labelfor_posologia}">
		{$label tb_lista_medicamentos posologia }	</label>
	<div class="r-search-option">
		{$searchtype_posologia}
	</div>
	<div class="r-search-field">
		{$posologia_editcontrol}	</div>
	<div class="r-search-field">
		{$posologia_editcontrol1}
	</div>
	
</div>

{END posologia_fieldblock}
											
{BEGIN reacoes_adversas_fieldblock}

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


	<label class="r-search-label control-label" for="{$labelfor_reacoes_adversas}">
		{$label tb_lista_medicamentos reacoes_adversas }	</label>
	<div class="r-search-option">
		{$searchtype_reacoes_adversas}
	</div>
	<div class="r-search-field">
		{$reacoes_adversas_editcontrol}	</div>
	<div class="r-search-field">
		{$reacoes_adversas_editcontrol1}
	</div>
	
</div>

{END reacoes_adversas_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>
