Package org.hl7.fhir.r5.comparison
Class ComparisonSession
- java.lang.Object
-
- org.hl7.fhir.r5.comparison.ComparisonSession
-
public class ComparisonSession extends Object
-
-
Constructor Summary
Constructors Constructor Description ComparisonSession(IWorkerContext contextLeft, IWorkerContext contextRight, String title, ProfileUtilities.ProfileKnowledgeProvider pkp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceComparer.ResourceComparisoncompare(String left, String right)ResourceComparer.ResourceComparisoncompare(CanonicalResource left, CanonicalResource right)Map<String,ResourceComparer.ResourceComparison>getCompares()IWorkerContextgetContextLeft()IWorkerContextgetContextRight()ProfileUtilities.ProfileKnowledgeProvidergetPkp()StringgetTitle()voididentify(ResourceComparer.ResourceComparison res)voididentify(CanonicalResource res)booleanisDebug()voidsetDebug(boolean debug)
-
-
-
Constructor Detail
-
ComparisonSession
public ComparisonSession(IWorkerContext contextLeft, IWorkerContext contextRight, String title, ProfileUtilities.ProfileKnowledgeProvider pkp)
-
-
Method Detail
-
getContextLeft
public IWorkerContext getContextLeft()
-
getContextRight
public IWorkerContext getContextRight()
-
compare
public ResourceComparer.ResourceComparison compare(String left, String right) throws org.hl7.fhir.exceptions.DefinitionException, org.hl7.fhir.exceptions.FHIRFormatError, IOException
- Throws:
org.hl7.fhir.exceptions.DefinitionExceptionorg.hl7.fhir.exceptions.FHIRFormatErrorIOException
-
compare
public ResourceComparer.ResourceComparison compare(CanonicalResource left, CanonicalResource right) throws org.hl7.fhir.exceptions.DefinitionException, org.hl7.fhir.exceptions.FHIRFormatError, IOException
- Throws:
org.hl7.fhir.exceptions.DefinitionExceptionorg.hl7.fhir.exceptions.FHIRFormatErrorIOException
-
identify
public void identify(CanonicalResource res)
-
identify
public void identify(ResourceComparer.ResourceComparison res)
-
isDebug
public boolean isDebug()
-
setDebug
public void setDebug(boolean debug)
-
getCompares
public Map<String,ResourceComparer.ResourceComparison> getCompares()
-
getPkp
public ProfileUtilities.ProfileKnowledgeProvider getPkp()
-
-