"Brother Smith and other brethren then prayed around his bedside, and retired to spend much of the night in prayer. My husband said he felt no pain; but he was evidently failing fast. Dr. Kellogg and his helpers did all that was in their power to hold him back from death. He slowly revived, but continued very weak. LS 251.2"
"Is any sick among you? let him call for the elders of the church; and let them pray over him, anointing him with oil in the name of the Lord:"
The EGW passage describes a situation where elders pray for the sick, which directly parallels the instruction in James 5:14. The context of prayer for healing is present in both passages.