Package org.hl7.fhir.r4b.comparison
Class CanonicalResourceComparer
- java.lang.Object
-
- org.hl7.fhir.r4b.comparison.ResourceComparer
-
- org.hl7.fhir.r4b.comparison.CanonicalResourceComparer
-
- Direct Known Subclasses:
CapabilityStatementComparer,CodeSystemComparer,ProfileComparer,ValueSetComparer
public abstract class CanonicalResourceComparer extends ResourceComparer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCanonicalResourceComparer.CanonicalResourceComparison<T extends CanonicalResource>-
Nested classes/interfaces inherited from class org.hl7.fhir.r4b.comparison.ResourceComparer
ResourceComparer.MessageCounts, ResourceComparer.PlaceHolderComparison, ResourceComparer.ResourceComparison
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.r4b.comparison.ResourceComparer
COLOR_DIFFERENT, COLOR_DIFFERENT_LESS, COLOR_ISSUE, COLOR_NO_CELL_LEFT, COLOR_NO_CELL_RIGHT, COLOR_NO_CHANGE, COLOR_NO_ROW_LEFT, COLOR_NO_ROW_RIGHT, session
-
-
Constructor Summary
Constructors Constructor Description CanonicalResourceComparer(ComparisonSession session)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4b.comparison.ResourceComparer
cellForMessages, missingCell, missingCell, renderErrors, vm, vm, vmI
-
-
-
-
Constructor Detail
-
CanonicalResourceComparer
public CanonicalResourceComparer(ComparisonSession session)
-
-
Method Detail
-
compareMetadata
protected void compareMetadata(CanonicalResource left, CanonicalResource right, Map<String,StructuralMatch<String>> comp, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res)
-
compareCodeableConceptList
protected void compareCodeableConceptList(String name, List<CodeableConcept> left, List<CodeableConcept> right, Map<String,StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, List<CodeableConcept> union, List<CodeableConcept> intersection)
-
gen
protected String gen(CodeableConcept cc)
-
compareCanonicalList
protected void compareCanonicalList(String name, List<CanonicalType> left, List<CanonicalType> right, Map<String,StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, List<CanonicalType> union, List<CanonicalType> intersection)
-
compareCodeList
protected void compareCodeList(String name, List<CodeType> left, List<CodeType> right, Map<String,StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, List<CodeType> union, List<CodeType> intersection)
-
comparePrimitives
protected void comparePrimitives(String name, PrimitiveType l, PrimitiveType r, Map<String,StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res)
-
renderMetadata
public org.hl7.fhir.utilities.xhtml.XhtmlNode renderMetadata(CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> comparison, String id, String prefix) throws org.hl7.fhir.exceptions.FHIRException, IOException
- Throws:
org.hl7.fhir.exceptions.FHIRExceptionIOException
-
-