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

# SQL-096: clsMedicalCondition

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

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-096 |
| **Operation type** | Update |
| **Execution method** | Inline SQL |
| **Database** | Oracle |
| **Schema** | [unqualified]** |
| **Command type** | Text |
| **Business object** | `clsMedicalCondition` |
| **Criteria property** | `UpdateSQL` |
| **Lifecycle method** | `BeforeUpdate` |

## Parameters

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

## Tables

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

## Sample SQL

```sql
Update CL_MEDICAL_CONDITION
SET
    UPDATE_USER = :UpdateUser,
    UPDATE_NUM = UPDATE_NUM + 1,
    UPDATE_DATE = SYSDATE,
    MEDICAL_CONDITION_DESCR = :MedicalConditionDescr,
    MEDICALLY_STATIONARY_DATE = TRUNC(:MedicallyStationaryDate),
    MAJOR_CONTRIBUTING_CAUSE_FL_CD = :MajorContributingCauseFLCD,
    CONDITION_TYPE_CODE = :ConditionTypeCode,
    REQUEST_DATE = :RequestDate,
    DIAGNOSIS_CODE = :DiagnosisCode,
    FORMALLY_REQUESTED_CODE = :FormallyRequestedCode
WHERE
    CLAIM_ID = :ClaimID AND
    MEDICAL_CONDITION_ID = :MedicalConditionID AND
    UPDATE_NUM = :UpdateNum
```

## Operations and processes

- [clsMedicalCondition BeforeUpdate](../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`
