# Care Coordination - Nothing to display

**URL:** <https://community.open-emr.org/t/care-coordination-nothing-to-display/11647>\
**Category:** Support\
**Created:** [February 27, 2019, 11:46pm UTC](https://community.open-emr.org/t/care-coordination-nothing-to-display/11647 "2019-02-27T23:46:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_M](https://community.open-emr.org/user_avatar/community.open-emr.org/aaron_m/32/12393_2.png) [@Aaron\_M](https://community.open-emr.org/u/Aaron_M)\
**Post date:** [February 27, 2019, 11:46pm UTC](https://community.open-emr.org/t/care-coordination-nothing-to-display/11647/1 "2019-02-27T23:46:41Z")

</div>

**Situation**  
I would like to generate a CCDA file for existing patients in my OpenEMR 4.2.0 system (1000+ patients with 1500+ encounters.) The module didn’t exist in that version so I upgraded to 4.2.2 and configured the Carecoordination module per instructions in the wiki: [Carecoordination Module Configuration - OpenEMR Project Wiki](https://www.open-emr.org/wiki/index.php/Z%26H%27s_CCDA_Module)

However, when I bring up the Carecoordination module the patient list is empty with the message “Nothing to display”. Even if I bring up the search and fill in the date ranges nothing comes up. Is there something else that I need to do?

 ![image](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/7/78a7782030c27bcba0b9f8d6abb3cbcaf24cfcfc.png)  
I also tried upgrading to OpenEMR 5.0.1.6 with the same results and it has a new selection “Send to HIE” that returns this error: the requested URL /openemr/interface/modules/zend\_modules/encountermanager was not found on this server.

**Server Version**  
OpenEMR 4.2.2 and 5.0.1.6  
MySQL 5.5.60-MariaDB  
PHP 5.6.40  
Apache 2.4.38  
Windows Server 2008 R2

**Browser** :  
Firefox 65.0.1 and IE 11.0.9600

**Logs**  
Nothing logged in apache

Thanks!

---

<div class="post-metadata">

**Author:** ![Aaron\_M](https://community.open-emr.org/user_avatar/community.open-emr.org/aaron_m/32/12393_2.png) [@Aaron\_M](https://community.open-emr.org/u/Aaron_M)\
**Post date:** [March 4, 2019, 6:06pm UTC](https://community.open-emr.org/t/care-coordination-nothing-to-display/11647/2 "2019-03-04T18:06:45Z")

</div>

I wanted to follow up on this that the problem was caused by the search only looking for patients with encounters created within the last week. Once I changed the code to default a different date it worked.  
The code is found within the file: \interface\modules\zend\_modules\module\Carecoordination\src\Carecoordination\Controller\EncountermanagerController.php

Under the indexAction function on line 52 (OpenEMR 4.2.2), $fromDate is set to 7 days from now:

> $fromDate = $request-\>getPost(‘form\_date\_from’, null) ? $this-\>CommonPlugin()-\>date\_format($request-\>getPost(‘form\_date\_from’, null), ‘yyyy-mm-dd’, $GLOBALS[‘date\_display\_format’]) : **date(‘Y-m-d’,strtotime(date(‘Ymd’)) - (86400\*7));**

I changed it to an arbitrary date:

> $fromDate = $request-\>getPost(‘form\_date\_from’, null) ? $this-\>CommonPlugin()-\>date\_format($request-\>getPost(‘form\_date\_from’, null), ‘yyyy-mm-dd’, $GLOBALS[‘date\_display\_format’]) : **date(‘Y-m-d’,strtotime(“2015-01-01”));**
