Short answer: if Bp Premier shows “There has been an error” only when you email certain documents from a patient’s file, check whether they are hospital discharge summaries in CDA format. Bp Premier cannot email or subpoena-export CDA documents. Print the document to PDF, import the PDF back into Correspondence In, and email the PDF instead.
A Gold Coast medical practice contacted us because staff suddenly could not email documents to patients from Bp Premier. They had sent one successfully a few minutes earlier, then the next attempt failed with a generic “Unknown Error”, and it seemed to affect more than one computer. We checked the email settings, the mail relay, the practice letterhead and the patient photos, and all of them were fine. The pattern only became clear when the practice manager noticed which documents were failing: Queensland Health hospital discharge summaries. Here is what we found and how to work around it.
Fixed by Rohan Colley at GCIT. Written up by Elliot Munro, CISO.
Symptoms
When you click Email copy to patient on a document in a patient’s file, an Unknown Error window appears:
There has been an error. Please try again, check the Bp Premier Error Logs or visit the Best Practice Premier Knowledge Base
Other signs that point to the same cause:
- Some documents email normally, but the same few always fail, even after restarting Bp Premier or the computer.
- The failing documents are discharge summaries or other documents received electronically from a hospital.
- The Bp Premier error log (
BPSError.loginC:\ProgramData\Best Practice\Log) showsParameter is not validatBP.Email.Wpf.Send.CheckAttachmentErrors. - The Subpoena tool reports Unsupported file type (CDA), or a full patient record export skips those documents.

Affected Software
- Application: Bp Premier (seen on Spectra SP1, version 1.13.1.1096)
- Documents: Clinical documents in CDA format (HL7 Clinical Document Architecture), such as hospital discharge summaries
- Features affected: Email copy to patient, individual document export and the Subpoena tool
Cause
Many hospitals send discharge summaries as CDA documents. CDA is a structured XML format. Bp Premier can display it on screen, but it cannot convert it into an email attachment or a PDF export. When you email one, Bp Premier fails while it prepares the attachment and shows its generic error message.
Best Practice Software confirmed to us that this is a limitation of the product, not a fault on your computers. CDA is not a supported file type for sending from Correspondence In or for the Subpoena tool. The file types Bp Premier can convert to PDF are RTF, DOC, DOCX, HTML, TXT, JPG, JPEG, TIF, TIFF, PNG, GIF and BMP.
Because it depends on the document, it can look random. A first email to a patient works, and a second fails because that one is a discharge summary.
Resolution
Convert the document to PDF, then email the PDF. This is the workaround Best Practice Software recommends.
- Open the discharge summary from the patient’s Correspondence In list. It displays normally on screen.
- Print it and choose Microsoft Print to PDF as the printer. Save the PDF somewhere easy to find, such as the Desktop.
- Import the saved PDF back into the patient’s Correspondence In.
- Use Email copy to patient on the PDF version. It will send normally.
- Delete the temporary PDF from the Desktop once it has been imported.
Important Notes
- Subpoena and records requests. Until a CDA document has been converted to PDF and imported, it is left out of a Subpoena tool export without an obvious warning. Before producing a full patient record for a subpoena or records request, convert any CDA discharge summaries first so nothing is missed.
- It is not your email setup. If other documents send normally, there is no need to change the email server settings in Bp Premier.
- Check the error log if the pattern is different. If every document fails, look at
BPSError.logfor a different error and contact Best Practice Software support with the details. - Patient information. The PDF you create is a copy of clinical information. Save it to a secure location and remove it once imported.
Related Resources
- IT support for practices running Bp Premier
- Fix: “The ability to send Clinical Communication messages must be enabled” in Best Practice
- Fix: “This Site Uses XSLT” Warning in Bp Premier
- Bp Premier: There Is Not Enough Space on the Disk
- Best Practice Software: Send emails from Bp Premier
- Best Practice Software: Subpoena tool and supported file types
If you need help keeping your practice’s clinical software running smoothly, get in touch with our team.