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…
Reference in New Issue