made patient summary view loader more decoupled