Install ICD10 Codes

Situation
The installation fails to import the ICD10 files, Zip File 3 2025 ICD-10-PCS Codes File.zip and icd10OrderFiles2025_0.zip.
It appears the files are being accepted but the process indicator has been spinning for over 30 minutes. No records appear to have been entered in the MySQL database in the ICD10 tables.

OpenEMR Version
I’m using OpenEMR version 7.0.2 with latest patch

Browser:
I’m using: Firefox, Chrome, and Edge

Operating System
I’m using: Redhat Enterprise Linux 9.3 with MySQL version 8.0.35

Search
Did you search the forum for similar questions? Yes

Logs
Did you check the logs?
Was there anything pertinent in them?
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All

1 Like

try to increase the max upload size allowed in php.ini

1 Like

Thanks for the suggestion. I was able to turn on the debugging and the retry reloading is now pointing to a PHP problem with a missing “ZipArchive class.” Now to trace down this issue. Thanks again for the nudge in the right direction.

I don’t know Redhat command line but here are commands to install on Ubuntu

sudo apt update
sudo apt install php-zip
sudo systemctl restart apache2

On RedHat, either “yum install php-zip” or “yum install php-pecl-zip”.
As mentioned by Jerry P, you’ll need to reload the Apache2 server afterwards for the new package to be available.
“sudo systemctl restart httpd”

ETA, if you can open a terminal to your host while running the ICD-10 update via the UI, watch the contents of the /tmp directory, you should see a folder of the unzipped ICD-10 data files appear in there if the OpenEMR ICD-10 routine is working correctly while it’s extracting/parsing the the data files and writing the new entries into the tables.

1 Like