Skip to content

Commit

Permalink
Merge pull request #20 from openhealthalgorithms/fixes-bp-and-errors
Browse files Browse the repository at this point in the history
Fixes #19 bp issue and updated error format
  • Loading branch information
samhq authored Sep 24, 2021
2 parents 8f9b6bc + 332d1fb commit 3dd182d
Show file tree
Hide file tree
Showing 5 changed files with 273 additions and 80 deletions.
2 changes: 1 addition & 1 deletion actions/algorithm.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func AlgorithmHandler(c echo.Context) error {
output.Assessments = hs
output.Goals = hg
output.Referrals = hr
output.Errors = make([]string, 0)
output.Errors = make([]models.OutputError, 0)
output.Errors = append(output.Errors, hrs...)
output.Meta.Debug = false
output.Meta.CarePlan = false
Expand Down
Loading

0 comments on commit 3dd182d

Please sign in to comment.