compile fixes
This commit is contained in:
parent
2f1f59d5f9
commit
6a85977bb6
|
@ -185,7 +185,6 @@ import org.hl7.fhir.r5.utils.validation.constants.ContainedReferenceValidationPo
|
||||||
import org.hl7.fhir.r5.utils.validation.constants.IdStatus;
|
import org.hl7.fhir.r5.utils.validation.constants.IdStatus;
|
||||||
import org.hl7.fhir.r5.utils.validation.constants.ReferenceValidationPolicy;
|
import org.hl7.fhir.r5.utils.validation.constants.ReferenceValidationPolicy;
|
||||||
import org.hl7.fhir.utilities.CommaSeparatedStringBuilder;
|
import org.hl7.fhir.utilities.CommaSeparatedStringBuilder;
|
||||||
import org.hl7.fhir.utilities.DebugUtilities;
|
|
||||||
import org.hl7.fhir.utilities.FhirPublication;
|
import org.hl7.fhir.utilities.FhirPublication;
|
||||||
import org.hl7.fhir.utilities.HL7WorkGroups;
|
import org.hl7.fhir.utilities.HL7WorkGroups;
|
||||||
import org.hl7.fhir.utilities.HL7WorkGroups.HL7WorkGroup;
|
import org.hl7.fhir.utilities.HL7WorkGroups.HL7WorkGroup;
|
||||||
|
@ -3883,10 +3882,6 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
||||||
}
|
}
|
||||||
boolean rok = (allowExamples && (ref.contains("example.org") || ref.contains("acme.com")))
|
boolean rok = (allowExamples && (ref.contains("example.org") || ref.contains("acme.com")))
|
||||||
|| (we != null || pol == ReferenceValidationPolicy.CHECK_TYPE_IF_EXISTS);
|
|| (we != null || pol == ReferenceValidationPolicy.CHECK_TYPE_IF_EXISTS);
|
||||||
if (!rok) {
|
|
||||||
DebugUtilities.ln(ref);
|
|
||||||
DebugUtilities.breakpoint();
|
|
||||||
}
|
|
||||||
ok = rule(errors, NO_RULE_DATE, IssueType.STRUCTURE, element.line(), element.col(), path, rok, I18nConstants.REFERENCE_REF_CANTRESOLVE, ref) && ok;
|
ok = rule(errors, NO_RULE_DATE, IssueType.STRUCTURE, element.line(), element.col(), path, rok, I18nConstants.REFERENCE_REF_CANTRESOLVE, ref) && ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ import org.hl7.fhir.r5.utils.structuremap.ResolvedGroup;
|
||||||
import org.hl7.fhir.r5.utils.structuremap.StructureMapUtilities;
|
import org.hl7.fhir.r5.utils.structuremap.StructureMapUtilities;
|
||||||
import org.hl7.fhir.r5.utils.validation.IResourceValidator;
|
import org.hl7.fhir.r5.utils.validation.IResourceValidator;
|
||||||
import org.hl7.fhir.utilities.CommaSeparatedStringBuilder;
|
import org.hl7.fhir.utilities.CommaSeparatedStringBuilder;
|
||||||
import org.hl7.fhir.utilities.DebugUtilities;
|
|
||||||
import org.hl7.fhir.utilities.Utilities;
|
import org.hl7.fhir.utilities.Utilities;
|
||||||
import org.hl7.fhir.utilities.VersionUtilities;
|
import org.hl7.fhir.utilities.VersionUtilities;
|
||||||
import org.hl7.fhir.utilities.i18n.I18nConstants;
|
import org.hl7.fhir.utilities.i18n.I18nConstants;
|
||||||
|
|
Loading…
Reference in New Issue