Package ch.ahdis.matchbox.engine
Class CdaMappingEngine.CdaMappingEngineBuilder
java.lang.Object
org.hl7.fhir.validation.ValidationEngine.ValidationEngineBuilder
ch.ahdis.matchbox.engine.CdaMappingEngine.CdaMappingEngineBuilder
- Enclosing class:
- CdaMappingEngine
public static class CdaMappingEngine.CdaMappingEngineBuilder
extends org.hl7.fhir.validation.ValidationEngine.ValidationEngineBuilder
Builder class to instantiate a CdaMappingEngine
- Author:
- oliveregger, ahdis ag
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a CDA mapping engine based on the forked CDA Model (see https://github.com/ahdis/cda-core-2.0/tree/lab)Methods inherited from class org.hl7.fhir.validation.ValidationEngine.ValidationEngineBuilder
fromNothing, fromSource, withCanRunWithoutTerminologyServer, withLoggingService, withNoTerminologyServer, withTerminologyCachePath, withTHO, withTimeTracker, withTxServer, withUserAgent, withVersion
-
Constructor Details
-
CdaMappingEngineBuilder
public CdaMappingEngineBuilder()Creates an empty builder instance
-
-
Method Details
-
getEngine
public CdaMappingEngine getEngine() throws org.hl7.fhir.exceptions.FHIRException, IOException, URISyntaxExceptionCreate a CDA mapping engine based on the forked CDA Model (see https://github.com/ahdis/cda-core-2.0/tree/lab)- Returns:
- MappingEngine which allows to convert between CDA and FHIR R4
- Throws:
org.hl7.fhir.exceptions.FHIRException- FHIR ExceptionIOException- IO ExceptionURISyntaxException
-