Quality Control

In the Forge Community Edition you can only run free rules.

Introduction

Please visit the Simplifier documentation for an introduction to Quality Control: Validating FHIR Projects.

You can access Quality Control from the Quality Control toolbar located at the right bottom of Forge.

QualityControl

Clicking on the button wil open a drop down menu with the available validation rulesets you can run on your project.

QualityControl_Menu

Running rules in Forge

When you run a ruleset, a window will open displaying the individual rules and the current progress.

QualityControl_Progress

If the Quality Control process takes a very long time you can click Cancel to abort the operation.

Running Forge validation

Forge validation will use the Forge engine to validate your resources. In addition to errors, warnings and messages, Forge validation will also list any corrections that can be made to your resources.

When you run Forge validation, a window will open displaying the individual files and the current progress.

QualityControl_ForgeValidation_Progress

If the Forge validation process takes a very long time you can click Cancel to abort the operation.

When the Forge validation has found resources for which corrections can be made you have the option to automatically correct and update your resources.

QualityControl_ForgeValidation

Click Correct Resources... to automatically correct and update your resources or click Close to inspect the Quality Control messages.

Quality Control messages

The result of the Quality Control is presented in the Quality Control panel.

QualityControl_Messages

If you double click on a message then the associated file is opened in Forge. When available, the context information is used to select the corresponding element in the resource as well.

You can also right click on a message to open a context menu:

QualityControl_Messages_Menu

Navigate to... opens the associated file and selects the corresponding element when available. Copy copies the message to the clipboard. Copy all copies all visible messages to the clipboard.

Adding your own rulesets

You can define your own ruleset by creating a file with the pattern <name>.rules.yaml in your project folder. Forge will recognize the file and add a new menu item to the Quality Control drop down menu.