Skip to content

Conversation

@adunsulag
Copy link

Attempting to test ci changes.

Implemented a phpunit test for verifying certification data didn't
change.  I went with Alice who is the most comprehensive test patient
for certification.  I could do Happy Child and Jeremy but I think this
is sufficient without us going and implementing the entire ETT test
suite for onc certification. If someone doesn't have the private files
test suite and attempts to run the certification suite it just skips the
test.

I also implemented a much faster test that verifies the node serveccda.js
without requiring that we work on the certification test data set.  It
uses the OpenEMR xml generated CCDA file that is sent to the serveccda
which formats it to the ccda specification format.  This verifies that
the node server gets started and that it properly generates the correct
xml file.

Fixes openemr#9877
The serveccda.js was seg faulting due to invalid node version 20 when
version 22 is now required for package dependencies.  I updated the
version.  I left it at 8.3 which is what inferno has been running on.
We could bump it up to 8.4 if we wanted to in the future.
@codecov
Copy link

codecov bot commented Dec 23, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
1627 1 1626 55
View the top 1 failed test(s) by shortest run time
OpenEMR.Tests.Services.Modules.CareCoordination.Model.CcdaServiceDocumentRequestorTest::testSocket_get
Stack Traces | 0.0442s run time
OpenEMR\Tests\Services\Modules\CareCoordination\Model\CcdaServiceDocumentRequestorTest::testSocket_get
Carecoordination\Model\CcdaServiceConnectionException: Please Enable C-CDA Alternate Service in Global Settings

.../Carecoordination/Model/CcdaServiceDocumentRequestor.php:85
.../Carecoordination/Model/CcdaServiceDocumentRequestorTest.php:28

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants