
Package org.hl7.fhir.r5.comparison
Class ComparisonSession
java.lang.Object
org.hl7.fhir.r5.comparison.ComparisonSession
-
Constructor Summary
ConstructorsConstructorDescriptionComparisonSession(org.hl7.fhir.utilities.i18n.RenderingI18nContext i18n, IWorkerContext contextLeft, IWorkerContext contextRight, String title, ProfileKnowledgeProvider pkpLeft, ProfileKnowledgeProvider pkpRight) -
Method Summary
Modifier and TypeMethodDescriptionvoidannotate(Base base, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> comp) compare(CanonicalResource left, CanonicalResource right) org.hl7.fhir.utilities.i18n.RenderingI18nContextgetI18n()getTitle()voidvoidbooleanbooleanisDebug()voidvoidmarkChanged(Base focus, Base original) voidmarkDeleted(Base parent, String name, Base other) voidsetAnnotate(boolean annotate) voidsetDebug(boolean debug)
-
Constructor Details
-
ComparisonSession
public ComparisonSession(org.hl7.fhir.utilities.i18n.RenderingI18nContext i18n, IWorkerContext contextLeft, IWorkerContext contextRight, String title, ProfileKnowledgeProvider pkpLeft, ProfileKnowledgeProvider pkpRight)
-
-
Method Details
-
getContextLeft
-
getContextRight
-
getTitle
-
compare
public ResourceComparer.ResourceComparison compare(String left, Resource leftSource, String right, Resource rightSource) 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
-
identify
-
isDebug
-
setDebug
-
getCompares
-
getPkpLeft
-
getPkpRight
-
isAnnotate
-
getI18n
-
setAnnotate
-
markAdded
-
markChanged
-
markDeleted
-
annotate
public void annotate(Base base, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> comp)
-