Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 94cc75c

Browse files
authoredJan 14, 2025··
Merge pull request #54 from CMSgov/remove-warning-text
Remove warning text and output section
2 parents f076ead + 1957acd commit 94cc75c

File tree

2 files changed

+9
-65
lines changed

2 files changed

+9
-65
lines changed
 

‎src/components/ValidationResults.jsx

-53
Original file line numberDiff line numberDiff line change
@@ -157,59 +157,6 @@ const ValidationResults = ({
157157
</Table>
158158
</>
159159
)}
160-
<h3>Warnings</h3>
161-
<Alert type={warnings.length === 0 ? `success` : `warning`}>
162-
{warnings.length === 0 ? (
163-
<>
164-
<span className="text-bold">No warnings found in file</span>
165-
: <span className="text-underline">{filename}</span>
166-
</>
167-
) : (
168-
<>
169-
<span className="text-bold">
170-
There
171-
{warnings.length === 1
172-
? " is 1 warning"
173-
: ` are ${atMaxWarnings ? "at least " : ""}${
174-
warnings.length
175-
} warnings`}{" "}
176-
found in the file
177-
</span>
178-
: <span className="text-underline">{filename}</span>
179-
<br />
180-
{atMaxWarnings && (
181-
<span>
182-
The first {maxErrors} warnings are shown below.
183-
</span>
184-
)}
185-
<br />
186-
<span>
187-
These warnings represent requirements that are enforced
188-
beginning January 1, 2025.
189-
</span>
190-
</>
191-
)}
192-
</Alert>
193-
{warnings.length > 0 && (
194-
<Table className="width-full" bordered striped>
195-
<thead>
196-
<tr>
197-
<th scope="col">{locationHeader}</th>
198-
<th scope="col">Warning description</th>
199-
</tr>
200-
</thead>
201-
<tbody>
202-
{warnings
203-
.slice(0, maxErrors)
204-
.map(({ path, message }, index) => (
205-
<tr key={index}>
206-
<td>{path}</td>
207-
<td>{message}</td>
208-
</tr>
209-
))}
210-
</tbody>
211-
</Table>
212-
)}
213160
</>
214161
)}
215162
</div>

‎src/pages/online-validator.jsx

+9-12
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,15 @@ const OnlineValidator = () => {
156156
required CMS template layout and data specifications. If your
157157
MRF does not conform to the form and manner requirements, the
158158
Online Validator will generate an output consisting of
159-
&apos;errors&apos; and &apos;warnings&apos;. Online Validator
160-
&apos;errors&apos; represent requirements that are enforced
161-
beginning July 1, 2024, whereas &apos;warnings&apos; represent
162-
requirements that are enforced beginning January 1, 2025. The
163-
Online Validator stops reviewing an MRF if there are more than
164-
250 errors. Additionally for CSV MRFs, the Online Validator
165-
stops reviewing if an error is found in row 1 through 3 (i.e.,
166-
errors in the general data element headers, general data
167-
element values, and standard charges, item/service, and coding
168-
headers). You should therefore address each error displayed
169-
and run your MRF through the Online Validator repeatedly until
170-
no more errors are generated.
159+
&apos;errors&apos;. The Online Validator stops reviewing an
160+
MRF if there are more than 250 errors. Additionally for CSV
161+
MRFs, the Online Validator stops reviewing if an error is
162+
found in row 1 through 3 (i.e., errors in the general data
163+
element headers, general data element values, and standard
164+
charges, item/service, and coding headers). You should
165+
therefore address each error displayed and run your MRF
166+
through the Online Validator repeatedly until no more errors
167+
are generated.
171168
</p>
172169
<p>
173170
<strong>

0 commit comments

Comments
 (0)
Please sign in to comment.