A network of organizations that will collect and analyze data on medical errors and "near-misses" while protecting physician and patient confidentiality may be in place by the end of this year. Federal agencies are in the midst of finalizing regulations to create Patient Safety Organizations (PSOs), whose data would be protected from discovery by malpractice attorneys.