Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Filter out 'resource_type' from the CQL Calculation Results display o…
Browse files Browse the repository at this point in the history
…n the patient history page.
  • Loading branch information
jkotanchik-SB committed Jan 11, 2021
1 parent aae24a3 commit db26831
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ class Thorax.Views.CqlPatientBuilderLogic extends Thorax.Views.BonnieView

# Default results for all populations to 0.
@results = {}
for pop in @population_names
for pop in @population_names when pop isnt 'resource_type'
@results[pop] = 0
@cqlLogicView = new Thorax.Views.CqlPopulationLogic(model: @model, highlightPatientDataEnabled: true, population: @population)

showRationale: (result) ->
for pop in @population_names
for pop in @population_names when pop isnt 'resource_type'
@results[pop] = result.get(pop)
if !result.isPopulated()
@cqlLogicView.clearRationale()
Expand Down

0 comments on commit db26831

Please sign in to comment.