Guest User

HL7 Validator config

a guest
Sep 19th, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. @Configuration
  2. public class FhirValidatorConfig {
  3.  
  4. @Bean
  5. public ValidationEngine validationEngine() throws IOException, URISyntaxException {
  6. ValidationEngine validationEngine = new ValidationEngine.ValidationEngineBuilder()
  7. .withCanRunWithoutTerminologyServer(true)
  8. .fromSource("hl7.fhir.r4.core#4.0.1");
  9. validationEngine.loadPackage("src/main/resources/packages/nictiz.fhir.nl.r4.medicationprocess9-2.0.0-rc.2-snapshots.tgz", null);
  10. validationEngine.setVersion("4.0.1");
  11. return validationEngine;
  12. }
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment