When is someone considered detained under Section 2?

Hi, When H3 is completed and signed by the receiving hospital. Until then patient is liable to detention.