Package dev.dsf.fhir.validation
Class ValidationSupportRule
java.lang.Object
org.junit.rules.ExternalResource
dev.dsf.fhir.validation.ValidationSupportRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public class ValidationSupportRule
extends org.junit.rules.ExternalResource
-
Constructor Summary
ConstructorsConstructorDescriptionValidationSupportRule(String version, LocalDate date, List<String> structureDefinitions, List<String> codeSystems, List<String> valueSets) ValidationSupportRule(String version, List<String> structureDefinitions, List<String> codeSystems, List<String> valueSets) ValidationSupportRule(List<String> structureDefinitions, List<String> codeSystems, List<String> valueSets) -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.context.FhirContextca.uhn.fhir.context.support.IValidationSupportstatic voidlogValidationMessages(org.slf4j.Logger logger, ca.uhn.fhir.validation.ValidationResult result) org.hl7.fhir.r4.model.ActivityDefinitionreadActivityDefinition(Path file) Methods inherited from class org.junit.rules.ExternalResource
after, apply, before
-
Constructor Details
-
ValidationSupportRule
-
ValidationSupportRule
-
ValidationSupportRule
-
-
Method Details
-
getFhirContext
public ca.uhn.fhir.context.FhirContext getFhirContext() -
getValidationSupport
public ca.uhn.fhir.context.support.IValidationSupport getValidationSupport() -
logValidationMessages
public static void logValidationMessages(org.slf4j.Logger logger, ca.uhn.fhir.validation.ValidationResult result) -
readActivityDefinition
public org.hl7.fhir.r4.model.ActivityDefinition readActivityDefinition(Path file) throws IOException - Throws:
IOException
-