mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-07 21:38:15 +00:00
Improve summary message for map conversion outcome
This commit is contained in:
parent
490e588cf3
commit
f27d5b3adf
@ -113,7 +113,7 @@ public class R4R5MapTester implements IValidatorResourceFetcher {
|
||||
|
||||
public String summary() {
|
||||
if (errors.size() == 0) {
|
||||
return "All OK";
|
||||
return "All OK (~"+(elements == 0 ? "n/a" : ((lostElements * 100) / elements))+"% lost in "+total+" examples)";
|
||||
} else {
|
||||
return String.join(", ", errors);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user