American filmmaker Dan Woolley, who lay trapped beneath Haiti's earthquake rubble for some 66 hours used medical application installed on his iPhone to survive until help arrived.
American news network NBC reported that Wolley used the light from his iPhone to locate his injuries and diagnosed it as a broken foot. He, then, used the instructions from the application to treat the excessive bleeding from cuts on his legs and the back of his head.
"I kind of had some time to do some self-diagnosis down there," Woolley told NBC news. "God was with me."
The 39-year-old filmmaker also used the application for ways to stop from going into shock and used it to take pictures to figure out a way to get out.
"I took pictures all around me, then I would hold up the back of the camera to me and I could see what the picture was of a little," Woolley said.
"I was able to find an elevator in one of the pictures and that is where I decided to hobble to be in a more safe location."
The filmmaker was in Haiti to make a documentary on the Caribbean country's children suffering from poverty when the devastating 7.0-magnitude earthquake struck, trapping him in the ruins of his hotel.