Package org.hl7.fhir.r5.comparison
Class ComparisonSession
java.lang.Object
org.hl7.fhir.r5.comparison.ComparisonSession
-
Constructor Summary
ConstructorDescriptionComparisonSession
(org.hl7.fhir.utilities.i18n.RenderingI18nContext i18n, IWorkerContext contextLeft, IWorkerContext contextRight, String title, ProfileKnowledgeProvider pkpLeft, ProfileKnowledgeProvider pkpRight) -
Method Summary
Modifier and TypeMethodDescriptionvoid
annotate
(Base base, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> comp) compare
(CanonicalResource left, CanonicalResource right) org.hl7.fhir.utilities.i18n.RenderingI18nContext
getI18n()
getTitle()
void
void
boolean
boolean
isDebug()
void
void
markChanged
(Base focus, Base original) void
markDeleted
(Base parent, String name, Base other) void
setAnnotate
(boolean annotate) void
setDebug
(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.DefinitionException
org.hl7.fhir.exceptions.FHIRFormatError
IOException
-
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.DefinitionException
org.hl7.fhir.exceptions.FHIRFormatError
IOException
-
identify
-
identify
-
isDebug
-
setDebug
-
getCompares
-
getPkpLeft
-
getPkpRight
-
isAnnotate
-
getI18n
-
setAnnotate
-
markAdded
-
markChanged
-
markDeleted
-
annotate
public void annotate(Base base, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> comp)
-