An inquest has begun into the death of two men who repeatedly sought help at emergency departments in Adelaide during the Covid pandemic.