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

# SQL-014: clsMedicalCondition

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

## Classification

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

## Parameters

| Parameter | Direction | Type | Max length | Description |
| --- | --- | --- | --- | --- |
| `:UpdateUser` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |
| `:MedicalConditionID` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |
| `:MedicalConditionDescr` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |
| `:MedicallyStationaryDate` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |
| `:MajorContributingCauseFLCD` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |
| `:ConditionTypeCode` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |
| `:RequestDate` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |
| `:ClaimID` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |
| `:DiagnosisCode` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |
| `:FormallyRequestedCode` | Input | Unknown | — | Passed from clsMedicalCondition via BeforeInsert. |

## Tables

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

## Sample SQL

```sql
Insert into CL_MEDICAL_CONDITION (
    UPDATE_USER,
    UPDATE_NUM,
    UPDATE_DATE,
    MEDICAL_CONDITION_ID,
    MEDICAL_CONDITION_DESCR,
    MEDICALLY_STATIONARY_DATE,
    MAJOR_CONTRIBUTING_CAUSE_FL_CD,
    CONDITION_TYPE_CODE,
    REQUEST_DATE,
    CLAIM_ID,
    DIAGNOSIS_CODE,
    FORMALLY_REQUESTED_CODE
) VALUES (
    :UpdateUser,
    0,
    SYSDATE,
    :MedicalConditionID,
    :MedicalConditionDescr,
    TRUNC(:MedicallyStationaryDate),
    :MajorContributingCauseFLCD,
    :ConditionTypeCode,
    :RequestDate,
    :ClaimID,
    :DiagnosisCode,
    :FormallyRequestedCode
)
```

## Operations and processes

- [clsMedicalCondition BeforeInsert](../operations/medical-condition-management.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/clsMedicalCondition.vb`
