Find a Doctor
An error occurred while processing the template.
The following has evaluated to null or missing: ==> doctorsToSpecialities.items [in template "50514338544647#20120#117483" at line 68, column 128] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- 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: #list doctorsToSpecialities.items as ... [in template "50514338544647#20120#117483" at line 68, column 121] ----
1<style>
2 .bookAppointmentFilterSearch .dubaiHealthDoctorsInner .cardBoxImg {
3 height: 240px;
4 background-color: #aeb7be;
5 }
6
7 .bookAppointmentFilterSearch .dubaiHealthDoctorsInner .cardBoxImg img {
8 width: 100%;
9 object-fit: contain;
10 }
11 .bookAppointmentFilterSearch .bookAppointmentFilterSearchRow{
12 padding-bottom: 48px;
13 }
14 .cardBoxGroupTwo .cardBoxContent .cardBoxTxt h2{
15 display: -webkit-box;
16 -webkit-line-clamp: 2;
17 line-clamp: 2;
18 }
19 .cardBoxGroupTwo .cardBoxContent {
20 min-height: unset;
21 }
22</style>
23<#if entries?has_content>
24 <div class="bookAppointmentFilterSearch">
25 <div class="container-fluid containerFluid dubai-health-search-results">
26 <div class="bookAppointmentFilterSearchRow">
27 <#list entries as entry>
28 <#assign doctor=(restClient.get("/c/doctors/${entry.getClassPK()}")) />
29 <#assign doctorsToSpecialities=(restClient.get("/c/doctors/${entry.getClassPK()}/doctorsToSpecialities?fields=specialtyName%2Cid")) />
30
31 <div class="bookAppointmentCol">
32 <div class="dubaiHealthDoctors">
33 <div class="dubaiHealthDoctorsInner">
34 <div class="cardBoxGroupTwo cardBoxGroupTwoX fixWidth">
35 <div class="findDoctorCard">
36 <#if doctor.isTelemedicine?number gt 0 >
37 <div class="telehealthCall">
38 <div class="wrapperTooltip">
39 <a href="javascript:void(0);" class="telehealthCallBtn">
40 <img src="/o/dubai-health-theme-css/images/icon/telehealth.png"
41 alt="image" loading="lazy" class="img-fluid">
42 </a>
43 <div class="tooltip">
44 ${languageUtil.get(locale,"doctor-available-for-telemedicine")}
45 </div>
46 </div>
47 </div>
48 </#if>
49
50 <div class="cardBoxImg">
51 <a href="/l/${entry.getClassPK()}">
52 <#if doctor.profilePicture?exists>
53 <img src="${doctor.profilePicture.link.href}" alt="image" class="img-fluid">
54 <#else>
55 <img src="/documents/d/dubai-health/doctor-placeholder" alt="image" class="img-fluid">
56 </#if>
57 </a>
58 <div class="cardBoxImgOverlay">
59 <a href="/l/${entry.getClassPK()}"
60 class="btn cardBoxOverlayBtn">${languageUtil.get(locale,"view-details")}</a>
61 </div>
62 </div>
63
64 <div class="cardBoxContent">
65 <div class="cardBoxTxt">
66 <span>
67 <#if doctorsToSpecialities?has_content>
68 <#list doctorsToSpecialities.items as doctorsToSpeciality>
69 <#if doctorsToSpeciality.specialtyName?exists>
70 ${doctorsToSpeciality.specialtyName}
71 </#if>
72 </#list>
73 </#if>
74 </span>
75 <h2>
76 <a href="/l/${entry.getClassPK()}">
77 ${doctor.name}
78 </a>
79 </h2>
80 <#if doctor.jobTitle?exists && doctor.jobTitle.name?exists>
81 <p>${doctor.jobTitle.name}</p>
82 </#if>
83 </div>
84 </div>
85
86 </div>
87 <div class="cardBoxScheduleAppointment">
88 <#if doctor.doctorAvailability?number gt 0>
89 <a href="/e/appointment-details/105605/${entry.classPK}" class="cardBoxScheduleAppointmentLink">
90 <img src="/o/dubai-health-theme-css/images/icon/calender1.png"
91 alt="calender1" class="img-fluid">
92 <p class="mb-0">${languageUtil.get(locale,"book-an-appointment")}
93 </p>
94 </a>
95 <#else>
96 <#if !doctor.noOutpatientClinic>
97 <a href="/e/appointment-details/105605/${entry.classPK}" class="cardBoxScheduleAppointmentLink">
98 <img src="/o/dubai-health-theme-css/images/icon/in-person-appointment.png" alt="in-person-appointment" class="img-fluid">
99 <p class="mb-0">
100 ${languageUtil.get(locale,"request-appointment")}
101 </p>
102 </a>
103 </#if>
104 </#if>
105
106 <a href="/l/${entry.getClassPK()}" class="viewDetailLink">
107 ${languageUtil.get(locale,"view-details")}
108 </a>
109 </div>
110
111 </div>
112 </div>
113 </div>
114 </div>
115
116 </#list>
117 </div>
118 <@liferay_aui.form useNamespace=false>
119 <@liferay_ui["search-paginator"] id="startPage&" markupView="lexicon"
120 namespace=namespace
121 searchContainer=searchContainer type="more" />
122 </@liferay_aui.form>
123 </div>
124 </div>
125 <#else>
126 <div class="bookAppointmentFilterSearch">
127 <div class="container-fluid containerFluid dubai-health-search-results">
128 <div class="insuranceList searchResultShow">
129 <div class="insuranceListInner">
130 <div class="insuranceResultFound">
131 <img src="/o/dubai-health-theme-css/images/icon/ins-search-icon.png" alt="search-icon"
132 class="img-fluid">
133 <h4>${languageUtil.get(locale, "no-results-found")}</h4>
134 <p>${languageUtil.get(locale, "doctor-no-result-found-description")}
135 <button class="btn-reset-search-results">
136 <strong> ${languageUtil.get(locale, "doctor-no-result-found-sub-description")}.</strong>
137 </button>
138 </p>
139 </div>
140 </div>
141 </div>
142 </div>
143 </div>
144
145 </#if>