Skip to content

Commit

Permalink
Import CCDA Improvements and Fixes (openemr#7935)
Browse files Browse the repository at this point in the history
* Import CCDA  Improvements and Fixes
Starting entire import templae refactor to use x-pathing.
fix careplan report content display
new classes for component parsing helper
new classes for consultation note parsing and parsing text components for import.

* style

* Add Guardian
Add medication such as it is!

* consolidate labs by date this is temp for test

* refactor buildLabArray
generate doc blocks

* php error fix
fix deleter to delete encounters instead of soft delete on patient delete

* PSR
  • Loading branch information
sjpadgett authored Feb 4, 2025
1 parent 87a4feb commit 539898e
Show file tree
Hide file tree
Showing 11 changed files with 1,063 additions and 234 deletions.
8 changes: 4 additions & 4 deletions interface/forms/care_plan/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ function care_plan_report($pid, $encounter, $cols, $id): void
<tr>
<td class="border p-1"><span class='text'><?php echo text($value['user']); ?></span></td>
<td class="border p-1"><span class='text'><?php echo text(getListItemTitle('Plan_of_Care_Type', $value['care_plan_type'])); ?></span></td>
<td class="border p-1"><span class=text><?php echo text($value['code']); ?></span></td>
<td class="border p-1"><span class=text><?php echo text($value['codetext']); ?></span></td>
<td class="border p-1"><span class=text><?php echo text($value['description']); ?></span></td>
<td class="border p-1"><span class=text><?php echo text($value['date']); ?></span></td>
<td class="border p-1"><span class='text'><?php echo text($value['code']); ?></span></td>
<td class="border p-1"><span class='text'><?php echo text($value['codetext']); ?></span></td>
<td class="border p-1"><span class='text'><?php echo nl2br(text($value['description'])); ?></span></td>
<td class="border p-1"><span class='text'><?php echo text($value['date']); ?></span></td>
</tr>
<?php } ?>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private function initializeSDK(): void
* @param string[] $acl
* @return int
*/
public function authenticate($acl = ['admin', 'doc']): int
public function authenticate($acl = ['admin', 'doc']): bool|int|string
{
if (empty($this->credentials['appKey'])) {
$this->credentials = $this->getCredentials();
Expand Down
Loading

0 comments on commit 539898e

Please sign in to comment.