Skip to content

Commit

Permalink
Fix display validation to consider lenient-display-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Grahame Grieve committed Jan 26, 2025
1 parent aba1f6f commit 23fc59e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion library/ftx/fhir_valuesets.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,10 @@ function TValueSetChecker.check(issuePath : String; code: TFhirCodeableConceptW;
begin
m := FI18n.translate('NO_VALID_DISPLAY_FOUND_NONE_FOR_LANG_ERR', FParams.HTTPLanguages, [c.display, c.systemUri, c.code, FParams.langSummary, ds]);
mid := 'NO_VALID_DISPLAY_FOUND_NONE_FOR_LANG_ERR';
severity := isError;
if FParams.displayWarning then
severity := isWarning
else
severity := isError;
end;
end;
end
Expand Down

0 comments on commit 23fc59e

Please sign in to comment.