             scope.spinner.stop()
 
 
-    # Displays a discrete bar chart.
-    directives.directive 'qiModelingDiscreteChart', ['Modeling', (Modeling) ->
-      restrict: 'E'
-      scope:
-        data: '='   # the subject sessions
-        chart: '='  # the chart type, e.g. 'ktrans'
-      link: (scope, element, attrs) ->
-        scope.$watch 'data', (data) ->
-          if data
-            scope.config = Modeling.configureChart(data, attrs.chart)
-      templateUrl: '/partials/modeling-discrete-chart.html'
-    ]
-
-
-    # Displays a multi bar chart.
-    directives.directive 'qiModelingMultiChart', ['Modeling', (Modeling) ->
-      restrict: 'E'
-      scope:
-        data: '='   # the subject sessions
-        chart: '='  # the chart type, e.g. 'ktrans'
-      link: (scope, element, attrs) ->
-        scope.$watch 'data', (data) ->
-          if data
-            scope.config = Modeling.configureChart(data, attrs.chart)
-      templateUrl: '/partials/modeling-multi-chart.html'
-    ]
-
-
     # Displays the MR session visit dateline chart.
     directives.directive 'qiVisitDateline', ['VisitDateline', '$compile',
       (VisitDateline, $compile) ->

    ]


    # Displays the modeling tables.
    directives.directive 'qiModelingTables', ['Modeling', (Modeling) ->
      restrict: 'E'
      scope:
        sessions: '='   # the subject sessions
      link: (scope, element, attrs) ->
        scope.$watch 'sessions', (sessions) ->
          if sessions
            scope.config = Modeling.configureTable(sessions)
      templateUrl: '/partials/modeling-tables.html'
    ]


    directives.directive 'qiDemographics', ->

    directives.directive 'qiEncounter', ->
      restrict: 'E'
      templateUrl: '/partials/encounter.html'


    directives.directive 'qiHormoneReceptor', ->
