%- include("partials/page-header", {
user,
title: t.openServices.title,
subtitle: "",
showUserName: true
}) %>
<% let currentPatient = null; %>
<% if (!rows.length) { %>
โ
<%= t.openServices.noopenservices %>
<% } %>
<% rows.forEach(r => { %>
<% if (!currentPatient || currentPatient !== r.patient_id) { %>
<% currentPatient = r.patient_id; %>
๐ค <%= r.firstname %> <%= r.lastname %>
<% } %>
<%= r.name %>
<% }) %>