NCSR Hub Not Working in Bp Premier (Bp FHIR Service)

Bp Premier logo

Short answer: the NCSR Hub in Bp Premier depends on the Bp FHIR Service on your Bp Premier database server. When NCSR forms show an “Unknown Error”, open without patient data or will not submit, the FHIR Service is usually missing, stopped or on a faulty version. Reinstall the current Bp FHIR Service on the server, then check the NCSR Hub is up to date and able to read the Best Practice registry key.

A medical practice in northern New South Wales contacted us because doctors could no longer submit cervical screening forms through the National Cancer Screening Register (NCSR) Hub in Bp Premier. The form opened with a warning that the Bp FHIR Service was not working and that it would be shown without patient data. The doctors had been working around it for a few weeks before the practice manager heard about it. We have fixed NCSR Hub problems for several Bp Premier practices, and the cause has nearly always been the Bp FHIR Service or the NCSR Hub version on the server. Here is what we found and how to fix it.

Fixed by Emma Mitchell, Brendan Ramstadius and Rohan Colley at GCIT. Written up by Elliot Munro, CISO.

Symptoms

When a doctor opens or submits an NCSR form from a patient’s record, a Bp FHIR Service window appears:

BpFhir Service is not working - BpFhirService GetAuthToken failed on http://[server]:9000/ No connection could be made because the target machine actively refused it. The form will be shown without patient data.

Other signs of the same problem:

  • An “Unknown Error” appears when you try to access or create a new form in the NCSR Hub.
  • The NCSR Hub opens but forms are blank, or submitting a form fails.
  • The NCSR Hub window closes as soon as it opens, sometimes together with other integrations such as Topbar.
  • In Bp Premier, Setup > Configuration > FHIR shows the red note “The Bp Premier FHIR service has not been installed on the Bp Premier server”.

Bp FHIR Service error: BpFhir Service is not working, BpFhirService GetAuthToken failed, no connection could be made because the target machine actively refused it

Affected Software

  • Application: Bp Premier (we have seen this on Spectra and Oxford releases) with the Bp NCSR Hub
  • Component: Bp FHIR Service, which runs on the Bp Premier database server and listens on port 9000 by default
  • Platform: Windows Server and Windows workstations, including Remote Desktop servers

Cause

The NCSR Hub gets patient details from Bp Premier through the Bp FHIR Service. “Actively refused” means nothing on the server answered on the FHIR port, so the Hub had no way to fetch patient data. In the cases we fixed, there were three different reasons:

  • The FHIR Service had been removed by a failed automatic update. The Best Practice FHIR Updater ran overnight, stopped the old service and reported success, but the new program files were never installed. Windows still listed the service as installed, so there was nothing obviously wrong until someone tried to submit a form.
  • A faulty FHIR Service version. Best Practice Software confirmed that Bp FHIR Service version 1.0.24075.3 causes an “Unknown Error” when accessing NCSR forms. The fix is to uninstall it and install the latest version.
  • The NCSR Hub itself could not start. Some NCSR Hub versions need to write to the Best Practice registry key on the server, and standard users only have read access by default, so the Hub crashed on launch. Separately, an older NCSR Hub kept back after one problem stopped working when a later Bp Premier upgrade changed the way database logins are handed out.

Resolution

These steps are for the practice’s IT administrator. Work on the Bp Premier database server first, because that is where the FHIR Service runs. Make sure you have a current backup before changing anything.

Step 1: Check whether the Bp FHIR Service is installed and running

  1. On the Bp Premier server, open Services (services.msc) and look for Bp Fhir Service. It should be set to Automatic and Running.
  2. Open Control Panel > Programs and Features, click Bp Fhir Service and note the product version shown at the bottom of the window.
  3. In Bp Premier, go to Setup > Configuration > FHIR. If you see the note that the FHIR service has not been installed, the service is missing even if Programs and Features still lists it.

Bp Premier Configuration FHIR page with the note: The Bp Premier FHIR service has not been installed on the Bp Premier server

Step 2: Reinstall the current Bp FHIR Service

  1. If the version is 1.0.24075.3, or the service is missing or will not start, uninstall Bp Fhir Service from Programs and Features.
  2. Download the latest Bp FHIR Service from the Best Practice Software downloads page, or use Install FHIR API on the FHIR page in Bp Premier configuration, and install it on the database server as an administrator.
  3. If an uninstall fails because the original installer files are gone, download the matching installer again and run a repair (for example msiexec /fvamus "Bp Fhir Service.msi") so Windows reinstalls every file.
  4. Confirm Bp Fhir Service is now Running in Services.

Step 3: Check the FHIR port

  1. The default FHIR port is 9000, shown on the FHIR page in Bp Premier configuration.
  2. Use the Best Practice ports utility (BP.PortsUtility.exe) or your firewall rules to confirm workstations can reach the server on that port.
  3. Restart the Bp Fhir Service after any change.

Step 4: If the NCSR Hub closes as soon as it opens

  1. Check the Windows Application event log on the server or Remote Desktop host for Bp.Ncsr.Wpf.exe crashes. A SecurityException about the registry, or SQL login failures (event 18456) each time NCSR starts, point to the NCSR Hub rather than the FHIR Service.
  2. For the registry error, Best Practice’s NCSR troubleshooting guide says to grant full control on the Best Practice registry keys and run Bp Premier as an administrator. On the servers we fixed, that meant giving the local Users group full control of HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Best Practice Software. Record the existing permissions first so you can roll back.
  3. Update the Bp NCSR Hub to the current version on the server and every workstation that uses it. Avoid pinning an old version or turning off its updater for long. After a Bp Premier upgrade, an old NCSR Hub may not be able to read the new database credentials and will stop working again.

Step 5: Test

  1. Ask a doctor to open a patient, open the NCSR Hub and create a test form. The patient details should fill in automatically.
  2. Submit the form and confirm there is no Bp FHIR Service warning.

Important Notes

  • Problems can hide behind each other. In one practice the FHIR Service had been broken for weeks, but nobody saw the FHIR warning because the NCSR Hub was crashing before anyone reached the submit step. Once the Hub was fixed, the FHIR problem appeared. Test the whole workflow after each fix.
  • Keep the updaters on, but check them. The Best Practice FHIR and NCSR updaters keep these components in step with Bp Premier. After a Bp Premier upgrade or an overnight update, check the FHIR Service is still running.
  • Other NCSR errors have other causes. “NCSR Startup error - sequence contains no elements” points to a missing HPIO or NASH certificate for the location, and a “400 (Bad Request)” response usually means a NASH certificate problem. See Best Practice’s NCSR troubleshooting guide below.
  • Remote Desktop servers. If staff run Bp Premier on a Remote Desktop server, install the NCSR Hub update there as well as on the database server.

If you need help keeping Bp Premier and its integrations running smoothly, get in touch with our team.

Was this article helpful?
Ready to secure and simplify your IT? Talk to a GCIT expert today.