# W-TNMS Rule Implementation

**HISTORY:**
###### 2020: ...
###### 15/4/2026: ECARS-2380 - update W-TNMS apply only when Beh=3 

## Overview
This document describes the implementation of the W-TNMS validation rule.

## Rule Description
**Rule Definition ID**: 238
**Rule Code**: W-TNMS
**Rule Type**: WARNING  
**Description**: Topography + TNM edition + T,N,M + Stage (not in accordance with the target TNM edition) 
**Protocol**: Incidence

### Rule Logic
    TODO: ADDD LOGIC  

### Notes

## Implementation Files
### 1. Java Implementation
**File**: `src/main/java/eu/europa/ec/jrc/qcs/engine/rule/crossfield/encr2020/TNMStageRule.java`

### 2. Rule Registration / ID Reference
**File**: `src/main/java/eu/europa/ec/jrc/qcs/engine/preset/DefaultRuleID.java`

