before filter and show patient after completed