Correct the grammatical flaws in this text
The tagging system is also a measure to deter the problems of having Alzheimer patients lost wandering at other places or patients collapsing outside of hospital area.
The tagging system is also a measure to deter the problems of having Alzheimer patients lost wandering in other places or patients collapsing outside of the hospital areas.