# Build the Analyzer Check Sheet

:::action[Create the analyzer attributes]

1. In **Configuration → Quality → Attributes**, create a `QA` folder under `CoreForge`, with the attributes `Particle Size` and `Particle Density`.
2. Give `Particle Size` a data source on asset `QA Station` with tag `qds/particleSize`, and `Particle Density` one with tag `qds/density`. Enable both and save.

:::

:::action[Create the main check sheet]

1. In **Configuration → Quality → Check Sheets**, add `Offline Lab Inspection` in the `CoreForge\Operations` folder.
2. On the **Settings** tab:
   - Select **Asset Required** and choose `QA Station`.
   - Select **Sign Off Required**.
   - Set **Issue Check Sheet** to `QA Station Inspection Failure`. Leave **Notifications** empty.
3. On the **Checks** tab, rename the default group `Main` to `Analyzer`, and add these items to it. All are Enabled.

   | Check item | Type | Data type | Required | Settings |
   |---|---|---|---|---|
   | `Get Analyzer Data` | Trigger | Boolean | No | |
   | `Particle Size` | Check | Float | Yes | Attribute `Particle Size`, units `nm`, trigger `Get Analyzer Data` |
   | `Particle Density` | Check | Float | Yes | Attribute `Particle Density`, units `%`, format `0.0`, trigger `Get Analyzer Data` |
   | `Standard Deviation` | Calculated | Float | No | Aggregate: standard deviation of `Particle Size` and `Particle Density` |
   | `Coverage` | Calculated | Float | No | Eval: `'Analyzer\Particle Size'*'Analyzer\Particle Density'` |

4. Add a group named `Calibration` with one item, `Analyzer Calibration Date`: Type `Check`, Data Type `Datetime`, Required and **Persistent**.
5. Save and release.

:::

What each new feature does:

- **Trigger item**: works like a button in the check. Every item whose trigger is `Get Analyzer Data` reads its attribute's data source at the same moment.
- **Calculated items**: store derived values in the check, either an aggregate across items or a formula. In a formula, refer to items by group and name.
- **Groups**: split a long check into tabs.
- **Persistent**: fills in the value entered last time, which suits a calibration date that only changes occasionally.
- **Sign Off Required**: a submitted check waits in Submitted until someone with the **Approve Checks** function approves it.

::embed-section{src="../../../kanoa-quality/checkSheets.md#check-item-settings---calculator" collapsed="true" summary="Reference Materials: Calculated Check Items"}

:::download[Finished check sheets]
- <a href="/files/quality-resources/check-sheet-qa-station-inspection-failure.json" download><code>check-sheet-qa-station-inspection-failure.json</code></a>: the finished helper sheet.
- <a href="/files/quality-resources/check-sheet-offline-lab-inspection.json" download><code>check-sheet-offline-lab-inspection.json</code></a>: the finished `Offline Lab Inspection`, after the tolerance you add in the next lesson.
:::
