**Source URL:** https://safety.veevavault.help/en/lr/01169/index.md

# Generate Assessments

When entering data on a _Case_, the <a href="/en/lr/873962/">_Medical Assessments_ section</a> displays the assessed relationship between _Case Adverse Events_ and _Case Products_ with an [eligible _Drug Role_][2]. For each _Case Adverse Event_ and eligible _Case Product_ pair, there can be only one _Case Assessment_. For each _Case Assessment_, Vault generates two [_Case Assessment Results_][5].

Except for [Product Quality Complaints (PQCs)][7], Vault generates _Case Assessments_ for the following pairs:

* All serious _Case Adverse Events_ paired with _Case Products_ with an [eligible drug role][2]
* Primary non-serious _Case Adverse Events_ paired with primary _Case Products_ with an [eligible drug role][2]

Depending on your Admin's configuration, Vault can generate _Case Assessments_ in the following ways:

* **Auto-generated:** Vault generates _Case Assessments_ based on new or changed information.
* **Generate Assessments Action:** You run the _Generate Assessments_ action to generate all new and missing _Case Assessments_ at once.
* **Manual Case Assessment Creation:** You [manually create][6] individual _Case Assessments_. 

For information on _Localized Case Assessment_ generation when processing _Cases_ that may be reportable to the PMDA, see <a href="/en/lr/696910/#assessments-section">Complete Intake and Process Cases for the PMDA</a>.

### Prerequisites

To use this feature, your Admin must enable <a href="/en/lr/01305/">Generate Assessments Record Action</a>.

To base adverse event expectedness evaluations on _Agency_ configuration for clinical trial study _Cases_, your Admin can also enable <a href="/en/lr/737256/">Agency-Based Auto-Expectedness for Clinical Trial Study Cases</a>.

For Vault to create _Case Assessments_ for combination _Case Products_ with constituent _Devices_, your Admin can enable <a href="/en/lr/1004865/">Device Case Assessments & ICSR Transmissions</a>.

## Case Products and Assessments {#drug-role}

Your Admin can configure assessment generation:

* Based on [_Drug Role_][8]
* To exclude [_External Products_][9]
* To include [constituent _Devices_][10]

### Drug Roles Considered {#drug-roles-considered}

When generating assessments, Vault always considers _Case Products_ with a _Drug Role_ of _Suspect_ or _Interacting_. Your Admin can also configure your Vault to consider _Case Products_ with a <a href="/en/lr/01294/">_Drug Role_ of _Drug Not Administered_</a> during assessment generation.

### External Products Excluded {#exclude-external}

To reduce the overgeneration of assessments, your Admin can configure your Vault to exclude _External Products_ when generating assessments. Depending on your <a href="/en/lr/740208/#auto-gen-assessments">Admin's configuration</a>, Vault does not generate assessments for _External Products_ on postmarket and clinical trial study _Cases_, or only on postmarket _Cases_.  Upon configuration, the change applies only to subsequent assessment generation. Vault does not delete previously existing assessments in the following scenarios:

* For _External Products_ on existing _Cases_, including if the _External Product_ is changed to a _Company Product_.
* When generating new assessments for previously existing _External Products_ on follow-up _Cases_.

However, Vault will not generate assessments for new _External Products_, products with no previously generated assessments, on follow-ups.

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: For <a href="/en/lr/01134/">E2B-imported Cases</a>, Vault imports assessments for <em>External Products</em> from the source file.</p>
    </div>
  </div>
</div>



### Constituent Devices Considered {#const-devices-considered}

Your Admin can configure your Vault to generate assessments for each <a href="/en/lr/1004865/">_Device_ constituent</a> of a combination _Case Product_ and _Case Adverse Event_ pair.

## Case Assessment Generation and Evaluation {#when-generated}

When Vault generates _Case Assessments_ automatically or you run the _Generate Assessments_ action, Vault generates _Case Assessments_, _Case Assessment Results_, and _Case Assessment Expectedness_ records for _Case Adverse Event_ and _Case Product_ pairs, if they don't already exist. Vault generates _Case Assessments_ for:

* All serious _Case Adverse Events_ paired with _Case Products_ that have an [eligible _Drug Role_ or _Product Type_][2], including constituent _Devices_ if configured by your Admin
* Primary non-serious _Case Adverse Events_ paired with primary _Case Products_ that have an [eligible _Drug Role_ or _Product Type_][2], including constituent _Devices_, if <a href="/en/lr/01305/#r232-update">configured</a> by your Admin

Vault generates a single assessment for [Product Quality Complaints (PQCs)][7].

In Vaults with <a href="/en/lr/788754/#user-initiated-scenarios">strict _Case_ locking enabled</a>, the _Generate Assessments_ action locks the _Case_ while the action is running.

When generating _Case Assessments_, Vault also considers whether the _Case_ is initial, in-flight, or a follow-up and whether the _Case_ is for a clinical trial study or a postmarket product. To evaluate adverse event expectedness on clinical trial study _Cases_, Vault considers the active date range of the _Adverse Event_ on the applicable _Datasheet_. Vault does not consider the active date range for applicable _Datasheets_ associated with the _Company Product_.

For global _Cases_ with associated domestic _Cases_, generated and updated _Case Assessments_, _Case Assessment Results_, and _Case Assessment Expectedness_ records are synced across _Case_ versions.

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: You cannot edit <em>Cases</em> during <em>Case Assessment</em> generation.</p>
    </div>
  </div>
</div>



### Case Assessment Generation After Inbox Item Promotion

For all initial _Cases_, Vault generates new assessments when an _Inbox Item_ is promoted to a _Case_. When promoting an _Inbox Item_ to a follow-up _Case_ or merging to an in-flight _Case_:

* Vault generates _Case Assessments_ for new or changed _Case Products_ or _Case Adverse Events_. For example, when a _Case Product_ with an [eligible drug role][2] is added, Vault generates _Case Assessments_ for the new _Case Adverse Event_ and _Case Product_ pairs.
* Vault reevaluates _Case Assessments_ for all modified _Case Adverse Events_ or _Case Products_.
* For existing _Case Adverse Events_ without changes, Vault reevaluates _Case Assessments_ for _Cases_ with postmarket products only. Vault does not reevaluate _Case Assessments_ for existing _Case Adverse Events_ on clinical trial study _Cases_.
* For promoted _Inbox Items_ generated from <a href="/en/lr/01135/#e2b-import">imported E2B XML files</a> with assessments that are not <a href="/en/lr/01134/">mapped</a> to adverse events, Vault generates unknown (UNK) _Case Assessments_ for the _Case_.

In Vaults with the _Generate Assessments for both Serious and Non-Serious Adverse Events_ application setting enabled, when Vault cannot generate _Case Assessments_ during _Case_ promotion, Vault promotes the _Inbox Item_ and creates the _Case_ with no _Case Assessments_. To generate all _Case Assessments_, _Case Assessment Results_, and _Case Assessment Expectedness_ records for _Case Adverse Event_ and _Case Product_ pairs, from the **All Actions** menu, select **Generate Assessments**.

### Case Assessment Reevaluation

When existing _Case Assessments_ are reevaluated, Vault updates associated _Case Assessment Result_, and _Case Assessment Expectedness_ records and recalculates <a href="/en/lr/737265/"> roll-ups</a>. Updates happen in the following instances:

* For _Case Adverse Events_:
    * The _MedDRA LLT_ changes
    * The _Seriousness_ changes
    * The _Rank_ of a non-serious _Case Adverse Event_ changes to <code>1</code>
    * The onset date of the _Case Adverse Event_ is added, updated, or removed
* For _Case Products_:
    * The _Product_ changes
    * The _Drug Role_ changes to an [eligible drug role][2]
    * The _Rank_ changes to <code>1</code>
    * The _Indication_ is added or changed
* For _Patients_:
  * The age is added, updated, or removed
  * The sex is added, updated, or removed

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: The following list outlines instances when <em>Case Assessments</em> or related records are not updated:</p>

<ul>
  <li>Existing <em>Case Assessments</em> are not deleted when the associated <em>Drug Role</em> changes from an <a href="#drug-role">eligible drug role</a> to another <em>Drug Role</em>.</li>
  <li>Manually created or overridden <em>Case Assessment Expectedness</em> records are not updated when the seriousness changes from non-serious to serious.</li>
  <li><em>Case Assessment Expectedness</em> records are not updated when the <em>Rank</em> of a non-serious <em>Case Adverse Event</em> changes to <code>1</code>.</li>
</ul>
    </div>
  </div>
</div>



### Product Quality Complaint (PQC) Assessments {#pqc-assessments}

Vault supports classifying _Case Adverse Events_ as <a href="/en/lr/01287/#type">_Product Quality Complaints_</a> and identifying the related <a href="/en/lr/01287/#pqc-product">_PQC Product_</a> on the event. When generating assessments for _Product Quality Complaints_, Vault generates one assessment for the _Case Adverse Event_ and _PQC Product_ pair. The assessment includes one _Case Assessment_, two _Case Assessment Result_ records and the relevant _Case Assessment Expectedness_ records. If a _Case Adverse Event_ includes _Product Quality Complaint_ in the _Type_ field, but the _PQC Product_ field is blank, Vault does not generate an assessment for that adverse event. Unlike for non-PQC adverse events, Vault does not generate additional assessments that pair that _Case Adverse Event_ with each _Case Product_.

#### PQC Assessment Regeneration

When you update information on a _Case Adverse Event_, Vault regenerates assessments as follows:

* If you update the _Type_ so it is no longer _Product Quality Complaint_, Vault deletes the assessment for the _PQC Product_ and [generates assessments][1] for that _Case Adverse Event_ paired with each _Case Product_.
* If you update the _Type_ to _Product Quality Complaint_, Vault deletes any assessments for that _Case Adverse Event_ paired with _Case Products_ and generates an assessment for the _PQC Product_. Vault populates _Yes_ in the <a href="/en/lr/01287/#potential-pqc">_Potential PQC_</a> field on the _Case Assessment_.
* If you clear the _PQC Product_, Vault deletes the assessment for the _PQC Product_.
* If you update the _PQC Product_, Vault deletes the assessment for the original _PQC Product_ and generates a new assessment for the updated _PQC Product_.
* If the MedDRA code for the _Case Adverse Event_ changes upon follow-up, Vault updates the _Event (LLT)_ on the PQC _Case Assessment_ and reevaluates the _Expected_ value.

## Clinical Trial Study Case Considerations

Your Admin may configure the following features for working with expectedness on clinical trial study _Cases_:

* [Expectedness evaluations on clinical trial study _Cases_ by _Agency_][3]
* [Expectedness generation for blinded _Study Products_ on blinded study _Cases_][4]

### Clinical Trial Study Case Expectedness by Agency {#ct-expectedness}

If your Admin enables <a href="/en/lr/737256/">Agency-Based Auto-Expectedness for Clinical Trial Study Cases</a>, Vault does not automatically recalculate expectedness on in-progress study _Cases_. For clinical trial study _Cases_ with a _Study_ registered with an _Agency_ set to calculate expectedness based on _New Info Date_, you must run the _Generate Assessments_ action to update evaluations. For more information, see <a href="/en/lr/822874/#date-based">Expectedness Evaluations for Clinical Trial Study Cases</a>.

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: On <em>Cases</em> where <em>Expectedness</em> records exist based on both <em>Adverse Event Onset</em> dates and <em>Case New Info Dates</em>, if you delete one partner in the pair, when you run the <em>Generate Assessments</em> action Vault regenerates the deleted records.</p>
    </div>
  </div>
</div>



### Clinical Trial Blinded Study Product Expectedness {#blinded-sp-expectedness}

If your Admin enables <a href="/en/lr/774366/">Datasheet Expectedness for Blinded Study Products</a>, Vault generates expectedness for blinded _Study Products_ on blinded _Cases_. This feature is supported only for double-blinded clinical trial _Studies_ without _Study Arms_. For more information, see <a href="/en/lr/822874/#study-product-placeholder-expectedness">Expectedness Evaluations for Clinical Trial Study Cases</a>.

In addition to these [_Adverse Event_ and _Case Product_ triggers][1], when an existing _Blinded Name_ is edited, Vault updates related _Case Assessment_, _Case Assessment Result_, and _Expectedness_ records.

## Case Assessment Result Source Types {#car-source}

When Vault generates a _Case Assessment_, it also generates two child _Case Assessment Results_ as placeholders: one for the company and one for the primary reporter.

Vault assigns the _Source Type_ for _Case Assessment Results_ using the logic described in the following sections. The _Source Type_ field refers to the <a href="/en/lr/01195/#case-assessment-source">Case Assessment Source</a> Controlled Vocabulary.

### Clinical Trial Cases

For clinical trial _Cases_ and for study _Cases_ where the _Study Type_ is blank, Vault generates _Case Assessment Results_ with the following _Source Types_:

<table>
    <thead>
        <tr>
            <th>Case Assessment Result Placeholder</th>
            <th>Source Type</th>
            <th>E2B Code<sup>1</sup></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Company</td>
            <td>Sponsor</td>
            <td><code>2</code></td>
        </tr>
        <tr>
            <td>Reporter</td>
            <td>Investigator</td>
            <td><code>1</code></td>
        </tr>
    </tbody>
    <tfoot>
        <tr>
            <td colspan="3">
                <ol>
                    <li>E2B Code refers to the value in the <code>e2b_code__v</code> field on the <em>Controlled Vocabulary</em> corresponding to the <em>Source Type</em> field.</li>
                </ol>
            </td>
        </tr>
    </tfoot>
</table>

### Postmarket Cases

For _Spontaneous_ and _Postmarket Study Cases_, Vault generates _Case Assessment Results_ with the _Source Types_ shown in the table below:

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: For postmarket cases, the primary <em>Reporter</em> type of <em>Case Contact</em> is referenced to determine the <em>Source Type</em>. If the primary <em>Reporter</em> type of <em>Case Contact</em> does not specify a <em>Qualification</em>, Vault-generated <em>Case Assessment Result</em> for the <em>Reporter</em> is not assigned a <em>Source Type</em>.</p>
    </div>
  </div>
</div>



<table>
    <thead>
        <tr>
            <th>Case Assessment Result Placeholder</th>
            <th>Qualified HCP?<sup>1</sup></th>
            <th>Source Type</th>
            <th>E2B Code<sup>2</sup></th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Company</td>
            <td><em>n/a</em></td>
            <td>Market Authorization Holder (MAH)</td>
            <td><code>4</code></td>
        </tr>
        <tr>
            <td>Reporter</td>
            <td>Yes</td>
            <td>Health Care Professional</td>
            <td><code>5</code></td>
        </tr>
        <tr>
            <td>Reporter</td>
            <td>No</td>
            <td>Non-Health Care Professional</td>
            <td><code>6</code></td>
        </tr>
    </tbody>
    <tfoot>
        <tr>
            <td colspan="4">
                <ol>
                    <li>Whether the <em>Qualification</em> selected on the primary <em>Reporter</em> type of <em>Case Contact</em> corresponds to a <a href="/en/lr/01195/#qualification">Qualification Controlled Vocabulary</a> where <em>Qualified HCP</em> is <em>Yes</em>.</li>
                    <li>E2B Code refers to the value in the <code>e2b_code__v</code> field on the <em>Controlled Vocabulary</em> corresponding to the <em>Source Type</em> field.</li>
                </ol>
            </td>
        </tr>
    </tfoot>
</table>

## Refresh Assessments

When assessment generation is initiated, a banner appears either at the top of the _Assessments_ section or at the top of your browser window, depending on how the action was initiated. Click the link in the banner to refresh the information displayed and see the most up-to-date _Case Assessments_ and related records.

## Case Name and Field Updates

When assessment generation is complete, if needed, Vault updates the _Case Name_. Vault recalculates the following system-calculated fields if they have not been overridden:

* _Case Tags_
* _Expected (status)_
* _Expectedness_
* _Listedness (core)_
* _Listedness (status)_
* _Relatedness_
* _Serious_
* _Seriousness_
* _Watchlist Tags_

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: If any validation errors occur while generating <em>Case Assessments</em>, Vault does not update or generate any <em>Case Assessments</em>. Instead, Vault generates a notification that includes a CSV file that describes all errors.</p>
    </div>
  </div>
</div>



## When Case Assessments Cannot Be Generated

_Case Assessments_ cannot be generated when _Cases_ are in the following states:

* _Approved_
* _Closed_
* _Duplicate_
* _Inactive_
* _Invalid_
* _Nullified/Nullifying_
* _Rejected_
* _Superseded_
* _Void/Voiding_

## Adding Assessments Manually {#add-car}

While Vault automatically generates _Case Assessments_ and _Case Assessment Results_, you may need to add them manually, for example, if you accidentally delete a Vault-generated assessment.

1. On the _Case_, expand the _Case Assessments_ or _Case Assessments Result_ section.
2. Select **Create**.
3. For _Case Assessments_:
   1. On the _Create Case Assessment_ page, in the **Case Product** field, select the suspect product.
   2. In the **Case Adverse Event** field, select the relevant adverse event.
4. Complete the applicable <a href="/en/lr/01287/#assessments">_Case Assessment_</a> or <a href="/en/lr/01287/#case-assessment-result">_Case Assessment Result_</a> fields.
5. Select **Save**

[1]: #when-generated
[2]: #drug-role
[3]: #ct-expectedness
[4]: #blinded-sp-expectedness
[5]: #car-source
[6]: #add-car
[7]: #pqc-assessments
[8]: #drug-roles-considered
[9]: #exclude-external
[10]: #const-devices-considered