Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> assetCategoryService.fetchCategory(catFilter?number)  [in template "36202#36356#47883" at line 19, column 32]

----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign filteredCat = assetCategorySe...  [in template "36202#36356#47883" at line 19, column 9]
----
1<#-- 
2Widget templates can be used to modify the look of a 
3specific application. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<#assign hasCategories = false /> 
9	<#assign 
10			assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryService") 
11	/> 
12<#assign allChildren = "" /> 
13<#assign currURL = currentURL /> 
14<#assign currURL = currURL?keep_before("?")> 
15<#assign catFilter = 0 /> 
16<#assign catChildFilter = 0 /> 
17<#if currURL?contains("categories")> 
18	<#assign catFilter = currURL?keep_after_last("/")> 
19	<#assign filteredCat = assetCategoryService.fetchCategory(catFilter?number) /> 
20	 
21	<#assign filteredCatParentId = filteredCat.getParentCategoryId() />			 
22	<#if filteredCatParentId != 0> 
23		<#assign catChildFilter = filteredCat.getCategoryId()?string /> 
24		<#assign catFilter = filteredCat.getParentCategoryId()?string /> 
25	</#if> 
26</#if> 
27<section> 
28<div class="row" id="buscador_asistencia"> 
29  <div class="col-12 text-center d-grid justify-content-center "> 
30            <div class="h2 imq__primary-2 text-center">Asistencia nacional  
31							<#if (currentURL?contains("privados"))> 
32								<span class="imq__primary">privados</span> 
33							<#else> 
34								<span class="imq__primary">mutualidades</span> 
35							</#if> 
36						</div> 
37             
38        </div> 
39				 <div class="col-12 text-center d-grid justify-content-center "> 
40            <div class="h2 imq__primary-2 text-center"><img alt="" src="/documents/36354/39353/Logo-100x42.jpg/916fa96e-f918-d055-d286-4de2979e668a" /></div> 
41						 
42						<#if !(currentURL?contains("privados"))> 
43            <div class="imq__description imq__grid-center"><p><b>SERVICIO TELEFÓNICO DE URGENCIAS 24 HORAS: 900 322 237</b></p> 
44            </div> 
45						</#if> 
46						 
47						 
48        </div> 
49    <div class="col-12">        
50		<#if entries?has_content> 
51			 
52				<#list entries as entry> 
53					<#assign categories = entry.getCategories() /> 
54 
55					<#if categories?has_content> 
56						<#assign hasCategories = true /> 
57						<div class="row"> 
58						 
59								<div class="col-12 d-md-flex justify-content-md-between align-items-center flex-wrap"> 
60									 
61											<div class="filter-search d-sm-flex align-items-center flex-wrap"> 
62												<div class="label-filter-search pr-1" for="ccaa">BUSCAR ASISTENCIA EN:</div> 
63												<select class="form-select mr-sm-1 my-1 my-sm-0" id="ccaa" onchange="getChildren(value)"> 
64													<option value="${currentURL}">Comunidad Autónoma</option> 
65													<@displayCategories categories=categories /> 
66												</select> 
67												<select class="form-select" id="ciudad" onchange="setValue(value)"> 
68													<option value="">Provincia</option> 
69													<#if catFilter?number != 0 > 
70														<#assign filteredChildren = assetCategoryService.getChildCategories(catFilter?number) /> 
71 
72															<#list filteredChildren as child> 
73 
74																<#assign categoryURL = renderResponse.createRenderURL() /> 
75																${categoryURL.setParameter("resetCur", "true")} 
76																${categoryURL.setParameter("categoryId", child.getCategoryId()?string)} 
77 
78																<#if catChildFilter?matches(child.getCategoryId())> 
79																	<option selected value="${categoryURL}">${child.getName()}</option> 	 
80																<#else> 
81																	<option value="${categoryURL}">${child.getName()}</option> 
82																</#if> 
83 
84															</#list> 
85												</#if> 
86											</select> 
87											</div> 
88											<button  class="btn btn-search mt-1 mt-md-0 float-end" onclick="getResults()" style="border-radius: 20px;">BUSCAR</button> 
89										 
90							</div> 
91							</div> 
92					</#if> 
93				</#list> 
94 
95				<#if !hasCategories> 
96					${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
97 
98					<div class="alert alert-info w-100"> 
99						<@liferay_ui.message key="there-are-no-categories" /> 
100					</div> 
101				</#if> 
102			 
103		</#if>	 
104</div> 
105</section> 
106<#macro displayCategories 
107	categories 
108
109	<#if categories?has_content>  
110 
111			<#list categories as category> 
112			 
113					<#assign categoryURL = renderResponse.createRenderURL() /> 
114 
115					${categoryURL.setParameter("resetCur", "true")} 
116					${categoryURL.setParameter("categoryId", category.getCategoryId()?string)} 
117 
118					<#assign categoryParentId = category.getParentCategoryId() /> 
119					 
120					<#if categoryParentId < 1> 
121						<#if catFilter?matches(category.getCategoryId())> 
122							<option selected value="${categoryURL}">${category.getName()}</option> 	 
123						<#else> 
124							<option value="${categoryURL}">${category.getName()}</option> 
125						</#if> 
126					<#else> 
127						<#assign allChildren = allChildren + category.getParentCategoryId() + ":" + categoryURL + "--" + category.getName() + ";" /> 
128					</#if> 
129					 
130 
131			</#list> 
132	</#if> 
133</#macro> 
134 
135 
136 
137<script> 
138	function getChildren(catID) { 
139 
140				if(catID != null) { 
141					allCategories = "${allChildren}".split(";"); 
142					//alert(catID + "todos: " + allCategories) 
143					 
144					select = document.getElementById("ciudad"); 
145					 
146					selectCCAA = document.getElementById("ccaa"); 
147					selectCCAA.value = catID; 
148					parentid = catID.substring(catID.lastIndexOf("/")+1); 
149					 
150					if(select.options.length > 0){ 
151						$('#ciudad option').remove(); 
152
153					select.appendChild(new Option("Provincia", "")); 
154					for(x=0; x<allCategories.length; x++){ 
155						if(allCategories[x].includes(parentid)){ 
156							selectCCAA.value = catID; 
157							optionVal = allCategories[x].substring(allCategories[x].indexOf(":")+1).split("--"); 
158							select.appendChild(new Option(optionVal[1], optionVal[0])); 
159
160
161
162 
163
164	 
165	function setValue(catID) { 
166 
167				if(catID != null) { 
168					select = document.getElementById("ciudad"); 
169					select.value = catID; 
170
171
172	 
173	function getResults() { 
174					 
175					if($('#ciudad').val()!=null && $('#ciudad').val()!=""){ 
176						window.location.href = $('#ciudad').val()+'#buscador_asistencia';  
177					} else if($('#ccaa').val()!=null && $('#ccaa').val()!="" ){  
178						window.location.href = $('#ccaa').val()+'#buscador_asistencia'; 
179					} else{  
180						window.location.href = "${currentURL}+'#buscador_asistencia'"; 
181					}  
182					 
183
184	 
185</script> 

adeslas centro médico

C. Carmen, 22-bajos (50005 Zaragoza).

centro médico adeslas

León XIII, s/n. 09006 Burgos

centro médico adeslas

Avda. Barcelona, 19 (12004 Castellón)

centro médico adeslas

Ronda del Corpus, 7-Bajo (37002 Salamanca)

centro médico adeslas coruña

Avda. Rubine, 8-bajo (15004 A Coruña)

centro médico adeslas coruña il

Fábrica de Tabacos, 2 (15006 A Coruña)

centro médico adeslas córdoba

Francisco Rabal, s/n. (14006 Córdoba)

delegación adeslas

Plaza Barcelona- Ed. Brisas I-bajo(04004 Almería)

delegación adeslas

Sevilla, 42-bajo (11402 Jerez de la Frontera)

delegación adeslas

Valdés, 18-Local 1 (11500 – El Puerto de Santa María)

delegación adeslas

C/ Joaquín Costa, 7 (Tozal) (44001 Teruel)

delegación adeslas

Pº Teruel, 38-bajo (50004 Zaragoza).

delegación adeslas

Camino de Ronda, 90 – Bajo (18004 – Granada)

delegación adeslas

Fernando el Católico, 1-bajo (21003 Huelva)

delegación adeslas

Avda. de Madrid, 20-bajo (23003 Jaén)

delegación adeslas

Avda. Las Américas, 2 (29002 Málaga)

delegación adeslas

Padre Victoriano, 4 (05005 Ávila)

delegación adeslas

Gran Vía de San Marcos, 19-1º A (24001 León)

delegación adeslas

Avda. de la Paz, 11-bajo (09004 Burgos)

delegación adeslas

Avda. Manuel Rivera, 12-bajo (34002 Palencia)

Responsive Image

SERVICIO ADICIONAL

ComplementoDental

Como asegurado de IMQ, y sin renunciar a las Prestaciones Complementarias que le oferta su Mutualidad, IMQ pone a su disposición un producto que complementa las coberturas odonto-estomatológicas garantizándole las mejores tarifas con reputados especialistas.

Hasta 12,70 € por un asegurado

¿Necesitas más información?

Resuelve tus dudas sobre nuestros seguros de salud de la forma que prefieras. Elige una oficina comercial, llama por teléfono, escríbenos vía mail o contrata tu seguro de forma online.