Видимо данные хранятся в Migx. Проблема в том, что вы все приводите в одну переменную
$items (еще и во вложенных циклах одни и те же переменные):
{set $items = json_decode($_modx->resource.itemDoctors, true)}
{set $items = json_decode($item.education, true)}
{set $items = json_decode($item.myDoctors, true)}
Соответственно просто задайте их разным переменным и все:
{set $items1 = json_decode($_modx->resource.itemDoctors, true)}
{foreach $items1 as $item}
{set $items2 = json_decode($item.education, true)}
{foreach $items2 as $item2}
...
{/foreach}
{set $items3 = json_decode($item.myDoctors, true)}
{foreach $items3 as $item3}
...
{/foreach}
{/foreach}