mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-09 06:14:45 +00:00
fix for NPE
This commit is contained in:
parent
1f3d2838d9
commit
d26ce8e10d
@ -7488,7 +7488,7 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
||||
|
||||
// first case: the type value set is wrong for primitive special types
|
||||
for (OperationOutcomeIssueComponent iss : vr.getIssues()) {
|
||||
if (iss.getDetails().getText().startsWith("Unable to resolve system - value set expansion has no matches for code 'http://hl7.org/fhirpath/System")) {
|
||||
if (iss.hasDetails() && iss.getDetails().getText().startsWith("Unable to resolve system - value set expansion has no matches for code 'http://hl7.org/fhirpath/System")) {
|
||||
return new ValidationResult("http://hl7.org/fhirpath/System", null, null, null);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user