CC D/R/DA Errors

Basic Ubuntu 16 install. OpenEMR installed via deb and upgrade to patch 5.
Installed and enabled each zend module. Installed and enabled carecoordination last.
Import doesn’ t work at all. Don’ t even get the option to browse for file to upload except on CCDA but that is all I get.
Here is what I find in the apache2 log.
[Mon Dec 04 13:32:41.607050 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Warning: Missing argument 1 for Carecoordination\Controller\CarecoordinationController::__construct(), called in /var/www/openemr/vendor/zendframework/zendframework/library/Zend/ServiceManager/AbstractPluginManager.php on line 207 and defined in /var/www/openemr/interface/modules/zend_modules/module/Carecoordination/src/Carecoordination/Controller/CarecoordinationController.php on line 40, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.899067 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Notice: Undefined variable: pid in /var/www/openemr/interface/modules/zend_modules/module/Carecoordination/src/Carecoordination/Model/EncountermanagerTable.php on line 102, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.899125 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Notice: Undefined variable: pid in /var/www/openemr/interface/modules/zend_modules/module/Carecoordination/src/Carecoordination/Model/EncountermanagerTable.php on line 103, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.910218 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Notice: Undefined offset: 1 in /var/www/openemr/interface/modules/zend_modules/module/Application/src/Application/Model/ApplicationTable.php on line 397, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.910355 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Notice: Undefined offset: 1 in /var/www/openemr/interface/modules/zend_modules/module/Application/src/Application/Model/ApplicationTable.php on line 397, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.930013 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Notice: Undefined variable: formId in /var/www/openemr/interface/modules/zend_modules/module/Application/src/Application/Model/SendtoTable.php on line 68, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.967072 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/openemr/interface/modules/zend_modules/module/Application/view/application/sendto/send.phtml on line 132, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.967847 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/openemr/interface/modules/zend_modules/module/Application/view/application/sendto/send.phtml on line 136, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.968985 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Warning: in_array() expects parameter 2 to be array, null given in /var/www/openemr/interface/modules/zend_modules/module/Application/view/application/sendto/send.phtml on line 140, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.983356 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Notice: Undefined offset: 1 in /var/www/openemr/interface/modules/zend_modules/module/Application/src/Application/Model/ApplicationTable.php on line 397, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.989032 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Notice: Undefined offset: 1 in /var/www/openemr/interface/modules/zend_modules/module/Carecoordination/view/carecoordination/encountermanager/index.phtml on line 335, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:41.989094 2017] [:error] [pid 1321] [client 192.168.56.1:40056] PHP Warning: Invalid argument supplied for foreach() in /var/www/openemr/interface/modules/zend_modules/module/Carecoordination/view/carecoordination/encountermanager/index.phtml on line 335, referer: http://192.168.56.101/openemr/interface/main/tabs/main.php
[Mon Dec 04 13:32:51.085144 2017] [:error] [pid 1170] [client 192.168.56.1:40060] PHP Warning: Missing argument 1 for Carecoordination\Controller\CcdController::__construct(), called in /var/www/openemr/vendor/zendframework/zendframework/library/Zend/ServiceManager/AbstractPluginManager.php on line 207 and defined in /var/www/openemr/interface/modules/zend_modules/module/Carecoordination/src/Carecoordination/Controller/CcdController.php on line 38, referer: http://192.168.56.101/openemr/interface/modules/zend_modules/public/encountermanager
[Mon Dec 04 13:32:51.086085 2017] [:error] [pid 1170] [client 192.168.56.1:40060] PHP Fatal error: Uncaught Error: Using $this when not in object context in /var/www/openemr/interface/modules/zend_modules/module/Carecoordination/src/Carecoordination/Controller/CarecoordinationController.php:799\nStack trace:\n#0 /var/www/openemr/interface/modules/zend_modules/module/Carecoordination/src/Carecoordination/Controller/CcdController.php(50): Carecoordination\Controller\CarecoordinationController::getCarecoordinationTable()\n#1 /var/www/openemr/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(82): Carecoordination\Controller\CcdController->uploadAction()\n#2 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))\n#3 /var/www/openemr/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent))\n#4 /var/www/openemr/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners(‘dispatch’, in /var/www/openemr/interface/modules/zend_modules/module/Carecoordination/src/Carecoordination/Controller/CarecoordinationController.php on line 799, referer: http://192.168.56.101/openemr/interface/modules/zend_modules/public/encountermanager

Hi @APerez ,

In 5.0.0, the CCR/CCD import in the Care Coordination does not seem to work in php 7.0 or greater. Note CCDA works, but requires a subscription to the ZH Mirth server. Note there is CCR import outside the Care Coordination module at Patient->Import->Upload.

btw, there is ongoing work to get CCR/CCD in Care Coordination working here:

-brady