Skip to content

Commit

Permalink
error handling missing physisical
Browse files Browse the repository at this point in the history
  • Loading branch information
irvins committed Nov 14, 2024
1 parent 036ef14 commit dc952df
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions HTNtree.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,10 +330,9 @@ public function getTemplateDrugs($tree){
return $template_drugs;
}

public function treeLogic($provider_id){
//TODO FIX THIS FOR NEW WORKFLOW
public function treeLogic($provider_id = null){
$default_trees = $this->getDefaultTrees();
$provider_trees = $this->getDefaultTrees($provider_id);
$provider_trees = empty($provider_id) ? [] : $this->getDefaultTrees($provider_id);
$default_trees = array_merge($default_trees,$provider_trees);

$provider_logic_trees = array();
Expand Down Expand Up @@ -363,12 +362,9 @@ public function treeLogic($provider_id){
}
}


$tree["logicTree"] = $logicTree;
$provider_logic_trees[$tree_id] = $tree;
}
// $this->module->emDebug("This Providers custom Logic trees, including the default ones");

return $provider_logic_trees;
}

Expand Down

0 comments on commit dc952df

Please sign in to comment.