# Perform Inbox Item to Case Compare

The _Inbox Item to Case Compare_ page allows you to compare data on _Inbox Items_ to data on [matching][12] previous _Case_ versions. This is useful when merging follow-up information on _Inbox Items_ to <a href="/en/gr/01138/">in-flight _Cases_</a> or <a href="/en/gr/01136/">follow-up _Cases_</a>. You access the _Inbox Item to Case Compare_ page by selecting the **Compare Details** button on the <a href="/en/gr/01141/#page">_Potential Matches_ page</a>. In Vaults with <a href="/en/gr/788754/#user-initiated-scenarios">strict _Case_ locking enabled</a>, navigating to the _Inbox Item to Case Compare_ page locks the _Case_.

## Prerequisites

To use this feature, your Admin must <a href="/en/gr/01347/">enable Inbox Item Follow-Up Case Compare</a>. Depending on your business processes, your Admin may also configure:

* Configure the <a href="/en/gr/01196/">_Inbox Item Follow-up Case Compare_ layout</a> to specify which fields display on the page.
* To display the _Inbox Item has been marked as a follow-up_ section when you run the _Mark as Follow-Up_ action, enable the <a href="/en/gr/740208/#mark-follow-up">_Allow Mark Follow-up_ setting</a> and configure the <a href="/en/gr/01339/#configure-the-inbox-item-layout">_Inbox Item_ layout</a>.
* To create a domestic _Case_ upon follow-up _Case_ promotion in [certain scenarios][3], <a href="/en/gr/01329/#enhancements">enable Domestic Case Processing for Agency Jurisdictions</a>.
* To define [access][5] to certain fields on the _Case_ or child records, configure <a href="/en/gr/47850/">Atomic Security</a>.

## Inbox Item to Case Compare Page Overview {#overview}

The _Inbox Item to Case Compare_ page displays data in the following sections:

* **Summary**: The left section lists the visible _Inbox Item_ and _Case_ sections based on [filter selections][7]. For each section, the summary indicates the number of new, modified, and missing data elements, if any. Select a section in the summary to navigate to the related records.
* **Inbox Item [Inbox Item ID]**: The middle section displays data from _Inbox Items_. Cells with new, modified, or missing information are always highlighted to visually indicate the status of the data.
* **Matching Case [Case ID]**: The right section displays data from the [previous _Case_ version][12] merged with the new data from the _Inbox Item_. This previews the modified information that will form the updated in-flight or follow-up _Case_. Cells display [visual indicators][8] based on your selections.

<a href="https://platform.veevavault.help/assets/images/saf-inbox-case-compare.png" data-lightbox="saf-inbox-case-compare.png" data-title="" data-alt="Inbox Item to Case Compare page">
  <img class="docimage" src="https://platform.veevavault.help/assets/images/saf-inbox-case-compare.png" alt="Inbox Item to Case Compare page" style="width: 70%;"  />
</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>: If you leave the page without <a href="#complete">completing any actions</a>, Vault does not save any changes you made.</p>
    </div>
  </div>
</div>



### Data Display

The _Inbox Item to Case Compare_ page displays data using the following conventions and behaviors:

* Vault displays records from each section on the _Inbox Item_ or matched _Case_, depending on [filter selections][7]. Within each section, if a parent record includes [child records][9], Vault displays each child record as a separate nested table within the table for the parent record.
* Each section on the _Inbox Item to Case Compare_ page displays up to ten records and up to 500 paginated records. 
  * Vault displays the total number of records in the left section and promotes all records using the [default merge behavior][1]. 
  * If a section includes more than ten records, you can use the pagination arrows to navigate through the pages of records. 
* If the content of a field exceeds 150 characters, Vault truncates the text. You can select **Show more** to see the full text in a dialog. In the dialog, you can select the **Accept Changes** checkbox to apply the _Inbox Item_ text to the updated _Case_ version and the **Close** button to return to the _Inbox Item to Case Compare_ page.
* Select caret icons in any section header to expand (<i class="fas fa-caret-right"></i>) or minimize (<i class="fas fa-caret-down"></i>) that section.
* Hover over an information (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-icon-info-blue.png" alt="Information Icon" style="" />) icon to display relevant details in a tooltip.
  * For records generated by the <a href="/en/gr/679350/">Safety-EDC Connection</a>, this may include details about product type mismatches for records with identical _Link_ values.

<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>: Depending on your Admin’s configuration, the page may not display certain fields. However, Vault will map the undisplayed source information to the <em>Case</em>. After merging or promotion, you can review any hidden source information in the <a href="#log">log file</a>.</p>
    </div>
  </div>
</div>



### Filters {#filters}

When you open the _Inbox Item to Case Compare_ page, the selected filter buttons at the top indicate which information displays. When you change filter selections, Vault displays a message confirming when all sections are loaded. Clear all filter selections to display all available field data. Select and unselect the following filter buttons to update the information displayed on the page:

* **New**: Displays data on the _Inbox Item_ that is not on the previous _Case_ version, including any new _Case_ child records.
* **Modified**: Displays data that has changed between the previous _Case_ version and the _Inbox Item_, including any modified _Case_ child records.
* **Missing**: Displays data from the previous _Case_ version that is not present on the _Inbox Item_, including any _Case_ child and grandchild records.
* **Other**: Displays data that is unchanged between the _Inbox Item_ and previous _Case_ version and empty rows for fields that are blank on either record.

#### Non-Filterable Fields {#non-filter}

The _Inbox Item to Case Compare_ page always displays certain fields to serve as key identifiers of each record so you can confirm accurate matches. Vault displays the following non-filterable <a href="/en/gr/01287/">_Case_\-related fields</a> regardless of your filters:

* _Details_
    * _Receipt Date_
    * _New Info Date_
    * _Report Type_
* _Contacts_
    * _Qualification_
    * _First Name_
    * _Last Name_
* _Patient_
    * _Patient Name Prefix_
    * _Patient First Name_
    * _Patient Last Name_
    * _Gender_
    * _Date of Birth_
    * _Date of Death_
* _Products_
    * _Primary_
    * _Drug Role_
    * _Product (Coded)_
    * _Name_
    * _Product (Reported)_
    * _Registration Number_
    * _Study Arm Product_
    * _Blinded Name (Placeholder)_
* _Dosages_
    * _Dose (number)_
    * _Dose (unit)_
    * _Frequency (number)_
    * _Frequency (unit)_
    * _First Administration_
    * _Last Administration_
* _Indications_
    * _Name (MedDRA)_
* _Substances_
    * _Substance Name_
* _Adverse Event_
    * _Event (Reported)_
    * _Event (LLT)_
    * _Event Country_
    * _Onset (normalized)_
    * _Cessation (normalized)_
    * _Seriousness_
* _Diagnoses_
    * _Name (Reported)_
    * _Name (MedDRA)_
* _Medical Assessments_
    * _Case Assessments_
        * _Product_
        * _Product Name_
        * _Event (LLT)_
        * _Event (LLT) - MedDRA_
    * _Case Assessment Results_
        * _Source Type_
        * _Source (text)_
        * _Source_
* _Causes of Death_
    * _Cause of Death (LLT)_
    * _Cause of Death (Reported)_
* _Medical History & Concurrent Conditions_
    * _Condition / Procedure_
    * _Condition / Procedure (LLT)_
* _Drug History_
    * _Drug Name (Reported)_
    * _Drug (Coded)_
* _Test Results_
    * _Test Name (Reported)_
    * _Test Name (LLT)_
* _Study_
    * _Study Name_
    * _Study Number (Reported)_
* _Study Registrations_
    * _Registration Number_
* _Linked Cases_
    * _Related Case Identifier_
* _Reference Numbers_
    * _Case Identifier_

### Visual Indicators {#indicators}

Vault uses colors to help visualize different types of data displayed on the page. _Inbox Item_ data rows are color-coded to indicate whether the related data is new, modified, or missing. _Matching Case_ data rows are color-coded when the data is being applied to the in-flight or follow-up _Case_. [Filter buttons][7] share the color of related row data. Color-coding includes:

* **Blue**: Indicates data rows with new and modified information. The _New_ and _Modified_ filter buttons are blue when selected. Vault also displays a blue dot (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-icon-dot-blue.png" alt="Blue Dot Icon" style="" />) icon beside _New_ information in _Matching Case_ data rows.
* **Orange**: When you select the [_Missing_][7] filter, indicates data rows with missing information on the _Inbox Item_.

#### Tags {#tags}

The _Inbox Item to Case Compare_ page displays the following tags to indicate different types of data:

* **New** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-new-tag.png" alt="New Tag" style=" width: 2.25rem;" />): Indicates new information from the _Inbox Item_ that doesn't exist on the previous _Case_ version.
* **Unmatched** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-tag-unmatched.png" alt="Unmatched Tag" style=" width: 5rem;" />): Indicates multiple field values conflict with existing record data. The tag includes the number of unmatched records available for selection. You can [manually match][13] these records or create a new record on the _Case_.
* **Delete** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-delete-tag.png" alt="Delete Tag" style=" width: 3rem;" />): Appears when you delete field information for the follow-up Case.
* [**Reason Omitted**][4] (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-ro-tag.png" alt="RO Tag" style=" width: 2.25rem;" />): Indicates the field value is _Reason Omitted_.
* [**Hidden**][5] (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-bullets.png" alt="Bullets Tag" style=" width: 3rem;" />): Indicates you do not have permission to view the hidden data.
* [**Calculated**][6] (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-auto-calc-tag2.png" alt="Calculated Tag" style=" width: 1.5rem;" />): Indicates Vault calculated a field using information entered in other fields.
* [**Combination**][6] (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-combo-tag.png" alt="Combo Tag" style=" width: 3.5rem;" />): Indicates _Combination Product_ details in a section header or row.
* **Constituent** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-tag-constituent.png" alt="Constituent Tag" style=" width: 5.5rem;" />): Indicates a _Combination Product_ constituent.
* **Unknown Formulation** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-tag-unknown.png" alt="Unknown Formulation Tag" style=" width: 9rem;" />): If your Vault uses <a href="/en/gr/01215/#unknown-formulation-products">unknown formulation products</a>, indicates a _Product_ with an unknown formulation.
* [**Study**][6] (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-study-tag.png" alt="Study Tag" style=" width: 3rem;" />): Indicates Vault calculated study-related information.
* **LLT** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-meddra-tag.png" alt="MedDRA LLT Tag" style=" width: 2rem;" />): Indicates the level of the MedDRA hierarchy for <a href="/en/gr/01164/">MedDRA-coded terms</a>.

### Isolate Blinded Clinical Trial Information

For Vaults configured to isolate blinded clinical trial information, see <a href="/en/gr/691317/#case-compare">Isolate Blinded Clinical Trial Information</a> for details about how the _Inbox Item to Case Compare_ page displays blinded and unblinded records.

### Matched Cases {#matching}

Vault references the following field values to identify matches to existing _Cases_. If Vault finds multiple potential matches based on the following match fields, it references tie-breaker fields on certain records to identify the best possible match:

<table>
    <thead>
        <tr>
               <th>Related Case Object</th>
               <th>Match Fields</th>
               <th>Tie-Breaker Fields</th>
        </tr>
    </thead>
    <tbody>
        <tr>
           <td><em>Case Adverse Event</em></td>
          <td>
           <ul>
               <li><em>Event (Reported)</em></li>
               <li><em>Event (LLT)</em></li>
           </ul>
          </td>
          <td>
           <ul>
               <li><em>Onset (normalized)</em></li>
               <li><em>Cessation (normalized)</em></li>
               <li><em>Seriousness</em></li>
           </ul>
          </td>
        </tr>
        <tr> 
          <td><em>Case Product</em><sup><a href="#footnote-1"> 1</a>,<a href="#footnote-3"> 3</a></sup>
           <p>(matches must be of the same object type and <em>Blinding Type</em>)</p>
          </td>
          <td>
           <ul>
               <li><em>Registration Number</em></li>
               <li><em>Name</em></li>
               <li><em>Product (Reported)</em></li>
               <li><em>MPID</em></li>
               <li><em>Serial Number</em></li>
               <li><em>Lot Number</em></li>
               <li><em>Blinded Name (Placeholder)</em></li>
           </ul>
          </td>
          <td>
           <ul>
               <li><em>Drug Role</em></li>
           </ul>
          </td>
        </tr>
        <tr>
          <td><em>Case Product Dosage</em>
          </td>
          <td>
           <ul>
               <li><em>Dose (number)</em></li>
               <li><em>Frequency (number)</em></li>
               <li><em>Batch/Lot Number</em></li>
           </ul>
          </td>
          <td>
           <ul>
               <li><em>Dose (unit)</em></li>
               <li><em>Frequency (unit)</em></li>
               <li><em>First Administration</em></li>
               <li><em>Last Administration</em></li>
               <li><em>Dose Form</em></li>
               <li><em>Patient RoA</em></li>
           </ul>
          </td>
        </tr>
        <tr>
          <td><em>Case Product Substance</em>
          </td>
          <td>
           <ul>
               <li><em>Substance Name</em></li>
               <li><em>TermID</em></li>
           </ul>
          </td>
          <td>
           <ul>
               <li><em>Strength (Number)</em></li>
               <li><em>Strength (Unit)</em></li>
           </ul>
          </td>
        </tr>
        <tr> 
          <td><em>Case Product Indication</em>
          </td>
          <td>
           <ul>
               <li><em>Name (MedDRA)</em></li>
               <li><em>Name (Reported)</em></li>
           </ul>
          </td>
          <td>
          </td>
        </tr>
        <tr>
          <td><em>Case Contact</em><sup><a href="#footnote-2"> 2</a></sup>
               <p>(matches must be of the same object type)</p>
          </td>
          <td>
           <ul>
               <li><em>Last Name</em></li>
               <li><em>First Name</em></li>
               <li><em>Email Address</em></li>
               <li><em>Telephone</em></li>
               <li><em>Qualification</em></li>
           </ul>
          </td>
          <td>
        <ul>
        <li><em>Organization</em></li>
        </ul>
          </td>
        </tr>
        <tr>
          <td><em>Case Assessment Result</em>
          </td>
          <td>
           <ul>
               <li><em>Source</em></li>
               <li><em>Source (text)</em></li>
               <li><em>Source Type</em></li>
           </ul>
          </td>
          <td>
          </td>
        </tr>
        <tr>
          <td><em>Case Relationship</em>
          </td>
          <td>
           <ul>
               <li><em>Related Case Identifier</em></li>
           </ul>
           </td>
           <td>
           </td>
        </tr>
        <tr>
              <td><em>Case Study Registration</em>
              </td>
              <td>
           <ul>
               <li><em>Registration Number</em></li>
               <li><em>Country</em></li>
           </ul>
          </td>
          <td>
          </td>
        </tr>
        <tr>
          <td><em>Case Test Result</em>
          </td>
          <td>
           <ul>
               <li><em>Test Name (LLT)</em></li>
               <li><em>Test Name (Reported)</em></li>
           </ul>
          </td>
          <td>
        <ul>
        <li><em>Date</em></li>
        </ul>
          </td>
        </tr>
        <tr>
          <td><em>Case Identifier</em>
          </td>
          <td>
        <ul>
        <li><em>Case Identifier</em></li>
        </ul>
          </td>
          <td>
          </td>
        </tr>
        <tr>
          <td><em>Case Cause of Death</em>
          </td>
          <td>
        <ul>
        <li><em>Cause of Death (LLT)</em></li>
        <li><em>Cause of Death (Reported)</em></li>
        </ul>
          </td>
          <td>
          </td>
        </tr>
        <tr>
          <td><em>Case Diagnosis</em>
          </td>
          <td>
        <ul>
        <li><em>Name (MedDRA)</em></li>
        </ul>
          </td>
          <td>
          </td>
        </tr>
        <tr>
          <td><em>Case Drug History</em>
          </td>
          <td>
           <ul>
               <li><em>Drug (Coded)</em></li>
               <li><em>Drug (Reported)</em></li>
               <li><em>MPID</em></li>
           </ul>
          </td>
          <td>
           <ul>
               <li><em>Start Date</em></li>
               <li><em>End Date</em></li>
           </ul>
          </td>
        </tr>
        <tr>
          <td><em>Case Medical History</em>
          </td>
          <td>
           <ul>
               <li><em>Condition / Procedure (LLT)</em></li>
               <li><em>Condition / Procedure (Reported)</em></li>
           </ul>
          </td>
          <td>
           <ul>
               <li><em>Start Date</em></li>
               <li><em>End Date Normalized</em></li>
           </ul>
          </td>
        </tr>
    </tbody>
    <tfoot>
        <tr><td colspan="3"><a id="footnote-1"></a>1. When matching a blinded <em>Case Product</em>, Vault attempts to match based on the <em>Study Product Placeholder</em>. If the <em>Study Product Placeholder</em> is blank, Vault attempts to match based on the <em>Product (Reported)</em> value.</td></tr>
        <tr><td colspan="3"><a id="footnote-2"></a>2. When the <em>Inbox Item</em> and matched <em>Case</em> both have a single <em>Case Contact</em>, Vault considers it a match unless multiple populated <em>Case Contact</em> match field values conflict.</td></tr>
        <tr><td colspan="3"><a id="footnote-3"></a>3. When matching an <a href="/en/gr/01215/#unknown-formulation-products">unknown formulation</a> <em>Case Product</em>, Vault considers all <em>Products</em> within the <em>Product Family</em> as potential matches.</td></tr>
    </tfoot>
</table>

## Review and Accept Changes {#accept}

_Accept Change_ checkboxes display for each row with data changes. Select the applicable checkboxes to choose the information from the _Inbox Item_ to add or modify the new _Case_ version. To accept all of the new data within a [child record][9], select the **Accept Change** checkbox in the header of the table and if applicable, clear checkboxes for rows you want to exclude from the new _Case_ version. To accept missing data within a parent or child record, you must select the **Accept Change** checkbox on each row. When you select the _Accept Change_ checkbox on a row with missing data on the _Inbox Item_, Vault strikes out the text in the _Matched Case_ column to indicate the information will be removed on the new _Case_ version.


<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 select the <em>Accept Changes</em> checkbox for the <em>Narrative Preview</em> field for <a href="/en/gr/01167/#templates">narratives generated from templates</a>.</p>
    </div>
  </div>
</div>



If the matching _Case_ is locked by another user and this user makes updates to the _Case_ while you are on the _Inbox Item to Case Compare_ page, this page does not reflect the latest _Case_ data until you refresh it. When you create a follow-up _Case_, Vault displays a warning message to indicate the user who locked the _Case_ may still be making changes to it.

<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>: There is a known limitation when an <em>Inbox Item</em> contains <em>Case Identifiers</em> with leading or trailing spaces, for example, <code class="language-plaintext highlighter-rouge">NN-ABCD-123 </code>. Although the values appear identical to the original <em>Case</em>, Vault processes the data as an update, rather than an exact match. This limitation will be addressed in a future release.</p>
    </div>
  </div>
</div>



### Reason Omitted Fields {#reason-omitted}

Fields that were set to _Reason Omitted_ are indicated with a _Reason Omitted_ [tag][11]. Vault does not promote these fields over fields with data. The following example shows the default behaviors associated with _Reason Omitted_ field values on an _Inbox Item_ and _Case_:

<table>
    <thead>
        <tr>
            <th>Inbox Item</th>
            <th>Matching Case</th>
            <th>Output</th>
        </tr>
    </thead>
        <tbody>
        <tr>
          <td>Asked But Unknown</td>
          <td>Not Asked</td>
          <td>Asked But Unknown</td>
        </tr>
        <tr>
            <td>Asked But Unknown</td>
          <td>Verteo Biopharma</td>
          <td>Verteo Biopharma</td>
        </tr>
        <tr>
            <td>Verteo Biopharma</td>
          <td>Not Asked</td>
          <td>Verteo Biopharma</td>
        </tr>
        <tr>
            <td>Asked But Unknown</td>
          <td>Blank</td>
          <td>Asked But Unknown</td>
        </tr>
        <tr>
            <td>Blank</td>
          <td>Not Asked</td>
          <td>Not Asked</td>
        </tr>
    </tbody>
</table>

### Missing Information

When field data is missing on the _Inbox Item_ but is present on the previous _Case_ version, Vault clears the checkbox to promote the field with data from the previous _Case_ version.

### Hidden Values {#permissions}

You may not have access to certain fields on the _Case_ or child records due to your Admin's configuration (for example, on unblinded _Cases_). For fields you do not have permission to view, Vault hides this information and displays _Hidden_ [tags][11] instead of the field values. You cannot select checkboxes for hidden fields you do not have permission to view. Vault uses the default behavior depending on the type of change. If applicable, another user with greater permissions can promote to follow-up so you can modify these fields.

### Automatic Calculations {#auto-calculations}

Vault calculates certain fields on the _Inbox Item to Case Compare_ page related to _Combination Products_ and _Studies_. These fields are indicated with _Calculated_, _Combo_, and _Study_ [tags][11]. Before merging the _Inbox Item_ to a follow-up _Case_, you can clear the applicable checkbox to prevent the following Vault calculations from promoting to _Case_:

* An inbound _Transmission_
* A _Case Unique Number_
* _Case Assessments_ and _Case Assessment Results_
* _Auto-expectedness_ and _Case Assessment Expectedness_
* _Watchlist_ tags
* _Case_ tags

Your Admin can <a href="/en/gr/01347/#add-auto-calc-options-field">disable the auto-calculations</a> that occur for certain fields during _Case_ promotion of an _Inbox Item_. When disabled, the page does not display any calculated values and the field value is blank upon promotion. See the <a href="/en/gr/01154/">Auto-Calculations Field Reference</a> for the affected fields, excluding the following:
* _Expectedness_
* _Listedness_
* _Relatedness_
* _Assessment Tag_
* _Watchlist Tags_

### Promote Child Records {#promote}

Vault attempts to map matching child records on the previous _Case_ version and the _Inbox Item_ by comparing certain key fields on each record. If you select **Ignore** or **Delete** on a parent record, Vault also ignores or deletes all related child records. To accept the changes from a child record, you must first select **Undo Ignore** or **Undo Delete** on the parent record. If an _Inbox Item_ child record was not matched to the previous _Case_ correctly, you can do one of the following:

* Select a different record from the drop-down list on the previous _Case_ version to [manually match][13] to the record on the _Inbox Item_.
* Select **Create** to add the _Inbox Item_ information as a new child record on the follow-up _Case_.
* Select **Ignore** to ignore the information on this _Inbox Item_ record and prevent it from being promoted to a follow-up _Case_.
* If configured by your Admin for the associated data source, select **Ignore All** to ignore all new information on the record. This preserves any clean-up Case Processors have already performed on initial _Cases_ to ensure the data is accurate for submissions and reporting. You can then selectively choose which new changes to accept by selecting the applicable **Undo Ignore** buttons.
  * When you select _Ignore All_, Vault never ignores certain fields, including the following:
    * <em>Case</em>-level fields without selectable checkboxes
    * _ID_ and global ID fields
    * _Link_
    * _MedDRA Version_
    * _New Info Date_ 
    * _Receipt Date_
    * _Session Store ID_

If the initial _Case_ version contains a child record that is not present on the _Inbox Item_ you are promoting, Vault promotes that child record to the follow-up _Case_ with no changes.

<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 <em>Inbox Item to Case Compare</em> page does not display custom child records. Instead, Vault copies these records to the new <em>Case</em> version.</p>
    </div>
  </div>
</div>



### Manually Match {#manual}

When Vault finds similar records but no exact match, you can manually match it by selecting the applicable record from the drop-down for the unmatched section. The drop-down includes an alphabetized list of selectable records that are not already matched to the _Inbox Item_ to review for manual match, followed by a list of other records for your reference that are already matched to the _Inbox Item_. Some records in the drop-down selector include details in parentheses to indicate why it's not an exact match (for example, a type mismatch). If you do not manually match an unmatched record, Vault creates a new record on the _Case_.

<a href="https://platform.veevavault.help/assets/images/saf-manually-match.png" data-lightbox="saf-manually-match.png" data-title="" data-alt="Manually Match Drop-Down">
  <img class="docimage" src="https://platform.veevavault.help/assets/images/saf-manually-match.png" alt="Manually Match Drop-Down" style="width: 50%;"  />
</a>

## Complete the Inbox Item to Case Compare Page {#complete}

When you finish reviewing the _Inbox Item to Case Compare_ page and accepting changes, run one of the following actions:

* **Mark as Duplicate** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-mark-as-duplicate-icon.png" alt="Mark As Duplicate Icon" style="" />): Select this action if the _Inbox Item_ is an exact match to the _Inbox Item_ or _Case_. Vault updates the _Inbox Item_ as _Duplicate_ and does not create a _Case_. If the matching record is a _Case_, Vault links the duplicate record to the _Initial Case_ field of the matching _Case_. If the matching record is an _Inbox Item_, Vault links the original _Inbox Item_ to the _Linked Inbox Item_ field on the duplicate _Inbox Item_.
* **New Case - Copy Patient Information** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-copy-patient-info-icon.png" alt="Copy Patient Info icon" style="" />): Select this action if the current _Inbox Item_ includes a patient with an existing _Case_. In the _New Case - Copy Patient Information_ dialog, you can specify other data to copy in addition to creating a _Case_ that includes the <a href="/en/gr/01140/">patient details</a>. Vault does not link the new _Case_ to the original _Case_. However, the <a href="/en/gr/517/">audit trail</a> includes details about the copied data. To run this action, ensure the following:
    * _Adverse Events_ and _Products_ must not have identical names.
    * The _Inbox Item_ must not be in _Marked as Follow-up_ state (you can navigate back to the _Inbox Item_ and run the _Unmark Follow-Up_ action).
    * For _Inbox Items_ generated by the <a href="/en/gr/679350/">Safety-EDC Connection</a>, no existing _Cases_ have an identical _Link_ value.
* **Mark as Follow-Up** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-mark-as-followup-icon.png" alt="Mark as Follow-Up Icon" style="" />): Select this action to link the _Inbox Item_ to an in-flight _Case_ and indicate it should be <a href="/en/gr/01138/">merged with the _Case_</a>. Vault updates the state to _Marked as Follow-up_ and the _Inbox Item has been marked as a follow-up_ section appears on the _Inbox Item_ with a link to the associated _Case_, which lets the Case Processor know about new information to merge to the in-flight _Case_. To run this action, ensure the following:
    * The _Case_ must have completed processing and cannot be in an Admin-defined <a href="/en/gr/740208/#mark-follow-up">prohibited state</a>, or in _Void_, _Nullified_, _Voiding_, or _Nullifying_ state (or any state in the _Deleted_ state type).
  *  _Adverse Events_ and _Products_ must not have identical names.
    * No sections on the page can exceed 10,000 matching records.
* **Merge to Current** (<img class="inline" src="https://platform.veevavault.help/assets/images/saf-merge-to-current-icon.png" alt="Merge to Current Icon" style="" />): Select this action to <a href="/en/gr/01138/">merge</a> the _Inbox Item_ to an in-flight _Case_. To run this action, ensure the following:
    * The _Case_ must not be in _Void_, _Nullified_, _Voiding_, or _Nullifying_ state (or any state in the _Deleted_ state type).  
    * For non-PMDA domestic _Inbox Items_, the _Case_ must not be a <a href="/en/gr/696910/">PMDA</a> domestic _Case_.
    * No sections on the page can exceed 10,000 matching records.
* **Create Follow-Up**: Select this action to merge the data from the _Inbox Item_ with the data from the matching _Case_ (the previous _Case_ version) into a follow-up _Case_. 
  * To run this action for non-PMDA domestic _Inbox Items_, the _Case_ must not be a <a href="/en/gr/696910/">PMDA</a> domestic _Case_.
* **Create New Case**: Select this action to promote the _Inbox Item_ to an initial _Case_ version. Vault creates the _Case_ and an _Inbound Transmission_. If you no longer want to promote this _Inbox Item_, select **Back to Potential Matches** to choose another _Inbox Item_ to compare. To run this action, ensure the following:
    * _Adverse Events_ and _Products_ must not have identical names.
    * The _Inbox Item_ must not be in _Marked as Follow-up_ state (you can navigate back to the _Inbox Item_ and run the _Unmark Follow-Up_ action).
    * For _Inbox Items_ generated by the <a href="/en/gr/679350/">Safety-EDC Connection</a>, no existing _Cases_ have an identical _Link_ value.

### Log File {#log}

After your selected action completes, Vault generates a CSV log file detailing the potential matches results, which you can access from the _Attachments_ section of the associated <a href="/en/gr/907890/">_Inbound Transmission_</a>.  

## Promote and Merge Inbox Item Data {#promote-merge}

The following sections describe how Vault promotes and merges _Inbox Item_ data to _Cases_.

### Updating Parent Information {#update-parent-info}

After completing the _Inbox Item to Case Compare_ page, Vault applies new and changed information from the _Inbox Item_ and retains unchanged information from the previous or existing _Parent Information_ record. If applicable, Vault also generates or updates <a href="/en/gr/01290/#local-parent-info">_Localized Case Parent Information_</a>.

When promoting an _Inbox Item_ to a follow-up _Case_ or merging the latest data into an in-flight _Case_, Vault updates related _Parent Information_ when needed. For follow-up _Cases_, Vault generates a new version of the _Parent Information_. For in-flight _Cases_, Vault merges changes into the existing _Parent Information_.

<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>: Parent information does not appear on the <em>Inbox Item to Case Compare</em> page.</p>
    </div>
  </div>
</div>



### Localization {#localization}

If the previous _Case_ version has any _Localized Cases_, Vault uses the following logic upon follow-up _Case_ promotion:
* If the previous _Case_ version is a global _Case_, the new follow-up _Case_ retains the global _Localization_ value (blank).
* If the previous _Case_ version is a domestic _Case_, the new follow-up _Case_ inherits the previous _Case_ version's _Localization_.

If configured by your Admin, when a previous _Case_ version is a global _Case_ but the _Localization_ field value on the _Inbox Item_ is a local value, Vault creates a domestic _Case_ upon follow-up _Case_ promotion.

### Localized Data {#local-data}

When promoting a _Local_ type _Inbox Item_ to a domestic follow-up _Case_, Vault copies all global and localized data along with all related child records to the new or follow-up _Case_. When promoting a _Global_ type _Inbox Item_ (the _Localization_ field value is blank or _Global_) to a domestic follow-up _Case_, Vault copies all global data with all related child records to the new or follow-up _Case_. This includes _Localized Case_ fields not displayed on the page, even if you select **Ignore** for the global record. When you run an action to [complete the _Inbox Item to Case Compare_ page][14], Vault copies and merges localized data depending on the type of _Inbox Item_:

* **Create New Case**
  * **Local**: Vault copies all localized data to the generated initial _Case_ version.
  * **Global**: Vault copies all global data  to the generated initial _Case_ version.
* **Create Follow-Up**
    * **Local**: Vault merges all localized data from the _Inbox Item_ and previous _Case_ version and copies it to a new domestic follow-up _Case_. Any new localized fields on the _Inbox Item_ that did not exist in the previous _Case_ version are copied to the new follow-up _Case_. Similarly, any localized fields in the previous _Case_ version that do not exist in the _Inbox Item_ are also copied to the new follow-up _Case_.
    * **Global**: Vault merges all global data from the _Inbox Item_ and localized data from the previous _Case_ version and copies it to a new domestic follow-up _Case_. Vault sets the follow-up _Case_'s _Localization_ value using the previous _Case_'s localization (_Local_).
* **Merge to Current**
  * **Local**: Vault copies all localized data from the _Inbox Item_ to the in-flight domestic _Case_ based on your merge decisions on the _Inbox Item to Case Compare_ page. If you add, edit, ignore, or delete a global record, Vault makes the same updates to the corresponding localized records on the in-flight domestic _Case_. However, if a specific global field within a record is ignored or deleted, and the corresponding localized field is populated on the _Inbox Item_, then the localized data is copied to the in-flight domestic _Case_.
  * **Global**: Vault copies all global data from the _Inbox Item_ to the in-flight domestic _Case_ based on your merge decisions. The _Localization_ value of the domestic _Case_ does not change.

<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>: When a follow-up <em>Case</em> is created from or an <em>Inbox Item</em> is merged into a domestic <em>Case</em> for Japan, any changes made to the <em>Case Products</em> or <em>Adverse Events</em> are copied to the follow-up <em>Case</em>. The impact that these changes have on the <em>Case Product Registrations</em>, <em>Localized Case Assessments</em>, and <em>Localized Reporting Details</em>, such as regeneration or deletion, also takes place during follow-up creation.</p>
    </div>
  </div>
</div>



## Limitations {#limits}

The _Inbox Item to Case Compare_ page has the following limitations:

* You cannot promote to follow-up _Case_ or merge to an in-flight _Case_ if an object on either the _Inbox Item_ or matching _Case_ exceeds 10,000 records.
* Each section displays up to 500 paginated records. Although the page does not display more than 500 records in any section, Vault displays the number of records in the left section and promotes those records using the [default merge behavior][1].

[1]: #promote-merge
[2]: #update-parent-info
[3]: #localization
[4]: #reason-omitted
[5]: #permissions
[6]: #auto-calculations
[7]: #filters
[8]: #indicators
[9]: #promote
[10]: #accept
[11]: #tags
[12]: #matching
[13]: #manual
[14]: #complete