---
title: "SQL-012: clsCovid19TestingHistory"
summary: Create statement for clsCovid19TestingHistory.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-07-28
library: SAIF.Business.Claim.Maintenance
reference_type: package
---

# SQL-012: clsCovid19TestingHistory

This statement supports `clsCovid19TestingHistory` by executing a Create operation through inline.

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-012 |
| **Operation type** | Create |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsCovid19TestingHistory` |
| **Criteria property** | `InsertSQL` |
| **Lifecycle method** | `BeforeInsert` |

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:TestedForCovid19Flag` | Input | Unknown | — | Passed from clsCovid19TestingHistory via BeforeInsert. |
| `:Covid19TestResultCode` | Input | Unknown | — | Passed from clsCovid19TestingHistory via BeforeInsert. |
| `:ClaimID` | Input | Unknown | — | Passed from clsCovid19TestingHistory via BeforeInsert. |
| `:CreateUser` | Input | Unknown | — | Passed from clsCovid19TestingHistory via BeforeInsert. |
| `:CreateDate` | Input | Unknown | — | Passed from clsCovid19TestingHistory via BeforeInsert. |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [CL_COVID19_TESTING_HISTORY](../database-tables.md#cl_covid19_testing_history) | Create | Not enumerated directly in the stage findings.** |

## Sample SQL

```sql
Insert into CL_COVID19_TESTING_HISTORY (
    CLAIM_ID,
    CREATE_DATE,
    CREATE_USER,
    TESTED_FOR_COVID19_FLAG,
    COVID19_TEST_RESULT_CODE
) VALUES (
    :ClaimID,
    :CreateDate,
    :CreateUser,
    :TestedForCovid19Flag,
    :Covid19TestResultCode
)
```

## Operations and processes

- [clsCovid19TestingHistory BeforeInsert](../operations/covid-19-testing-history.md)

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified.

## Sources

- `Business/SAIF.Business.Claim.Maintenance/clsCovid19TestingHistory.vb`
