Session log — “Check on HPCSA” button fixed (dead register link)

← All session logs

Session log — "Check on HPCSA" button fixed (dead register link)

13 June 2026, morning · Medilearn · Hasmukh with Claude · auto-published from the local journal entry. A polished narrative version can be requested in any future Claude session.

Summary

Continuation of the 12 June session. The original report was that a button on the ML Doctors admin page "takes me to the URL and nothing happens". The early part of this session assumed the Approve button was the culprit and confirmed that Approve works correctly end to end. Hasmukh then clarified with a screenshot that the broken button is actually the Check on HPCSA button, not Approve.

That reframed everything. The Check on HPCSA button is the only button that opens a web address, which fits the original complaint exactly. The button was pointing at an HPCSA register address that is now dead, so the new tab opened to a page that never loaded. That is the "nothing happens".

Decisions

  • Point the Check on HPCSA button at the working HPCSA register address and keep the copy-the-MP-number behaviour.
  • Bump the plugin version so everyone's browser fetches the corrected button code instead of the old cached copy.
  • Update the operator alert email and the two operator documents that carried the old dead link.

Changes made

Found the real cause

The Check on HPCSA button opened https://isystems.hpcsa.co.za/iregister/. That address no longer responds at all (it hangs and times out with no reply). So clicking the button opened a blank tab that sat there loading forever. The working HPCSA register is now at https://hpcsaonline.custhelp.com/app/i_reg_form, which loads in under two seconds.

The register's search cannot be pre-filled from a web link, so the button keeps doing the sensible thing: it copies the doctor's MP number to the clipboard and opens the register, ready for the number to be pasted into the Registration Number box.

Fixed and published (ML Doctors 0.5.1 to 0.5.2)

  • The Check on HPCSA button now opens the working register address.
  • The operator "new doctor application" alert email now carries the working register address instead of the dead one.
  • Plugin version bumped from 0.5.1 to 0.5.2 so the corrected button code reaches every browser rather than a stale cached copy. Confirmed live: the admin page now serves the button script as version 0.5.2 and it opens the working register.
  • Updated the two operator documents (Doctor Approvals Checklist and the 12 June Doctor Verification Plan) to reference the working register address.

Also confirmed this session

  • The Approve button works correctly. A full end to end test (load the settings page, take its security token, fire the approve action) returned success and updated the records. Approve was never broken.
  • Earlier in the session a small cosmetic issue was fixed: the plugin's script and stylesheet links were carrying a doubled version tag (?v=0.5.1?v=0.5.1). The hardcoded version was removed so the platform now produces a single clean version tag.
  • Doctor Hasmukh Mobilearn (projects@mobilearn.africa, MP38212, id 12) remains approved from the previous session.

Follow-ups

  • One operational note for whoever does approvals: after a button fix like this, an admin page that was already open still runs the old button until it is refreshed once. If a button ever seems unchanged after a fix, refresh the page first.
  • DMARC p=none: move to quarantine once mail volume is proven (carried, low priority).
  • settings() valet still runs the doctor tables on every admin page load. Fine at current scale; optimise if doctor numbers grow.
  • If the HPCSA ever moves the register again, the address lives in one place in the button code and in the operator alert email.