The three-hour lockdown of Hawke's Bay Hospital was sparked by a "note of concern", police have revealed.
Emergency services descended on the hospital on Saturday afternoon, after the note was "left on the floor" inside.
The incident came just over 24 hours after 50 people were killed, and many more injured in a terror attack by a gunman at two mosques in Christchurch.
During the lockdown, armed police could be seen at the main entrance of the hospital, with only certain cars being let in and out.
Hospital staff could be seen inside the hospital, and patients took to social media to speak of their experience at the time.
The lockdown ended ay 6.15pm, following "extensive inquiries" at the hospital and in the surrounding areas that determined there was no threat to hospital staff or the public.
"The hospital was locked down until police were satisfied there was no real threat."
Hawke's Bay District Health Board spokesman Dr Colin Hutchison said the hospital activated its internal emergency response procedures which worked "well" resulting in a swift response from police.
"The number one priority at all times was to keep staff, patients and visitors safe."
A triage unit for people who needed emergency care was set up in "record time" in another part of the hospital as police responded to the threat, he said.
"The DHB would like to thank St John for rapidly responding to the situation enabling the public to continue to receive care offsite from the main Emergency Department at other acute and medical centres."
Hutchison also offered his thanks to police for their "timely response and leadership during this event".
"As with any emergency response event, support has been offered to staff and debriefs are taking place."
Police would not elaborate further on the nature of the threat or whether it was associated with the Christchurch mosque shootings.
To date, the investigation has not identified the author of the note and further inquiries were on going, the spokesman said.