Joshua released from hospital