Skip to content

Libraries

Chris Carlson edited this page Sep 6, 2017 · 3 revisions

In MONAHRQ, Libraries are high level UI groupings. There are four libraries built-in to MONAHRQ: Data Sets, Measures, Reports, Websites. They are defined by MONAHRQ in Monahrq\Views\LeftNavigationControl.xaml and Monahrq\ViewModels\LeftNavigationViewModel.cs, and cannot be modified without changing MONAHRQ itself.

The UI for each library is provided by a module in the Libraries directory of the source code.

Library navigation is provided by Prism’s IRegionManager.

Data Sets

The UI for the Data Sets Library resides in Monahrq.DataSets. The view model for the main Data Sets Library view is MainDataSetViewModel; this hosts a DataSetListViewModel, which allows data sets to be manipulated.

Related views and view models, including those for the standard data import wizard, may be found in the Views and ViewModels namespaces.

The view and view model for selecting datasets for inclusion in a website may be found in the Monahrq.Websites assembly.

Measures

The UI for the Measures Library is in Monahrq.Measures.

ManageMeasuresView displays a list of all installed measures.

ManageTopicsView displays a list of all installed topics and topic categories, and enables manipulation of these collections.

MeasureDetailViewModel allows the Host User to edit details of a single measure; their edits are applied globally.

Reports

The UI for the Reports Library is in the Monahrq.Reports assembly.

The MainReportsViewModel lists all the reports installed in MONAHRQ.

Websites

The UI for the Websites Library is in the Monahrq.Websites assembly. This assembly contains controls related to Websites as well as the Reports and Measures that they include.

The WebsiteMeasuresViewModel displays a list of all measures available for inclusion in the current website and allows the Host User to check measures to be included in the generated website.

The WebsiteEditMeasureView allows the Host User to edit details of a single measure; their edits are constrained to the current website.

The WebsiteReportsViewModel lists all reports available for the selected website. Reports are made available in this view by selecting the datasets that they require.

Some of the pages displayed by WebsitePagesListViewModel are derived from report definitions. See the LoadAvailableWebsitePagesFromReports() method source for more information.

Clone this wiki locally