Package org.hl7.fhir.r5.comparison
Class CanonicalResourceComparer
java.lang.Object
org.hl7.fhir.r5.comparison.ResourceComparer
org.hl7.fhir.r5.comparison.CanonicalResourceComparer
- Direct Known Subclasses:
CapabilityStatementComparer
,CodeSystemComparer
,StructureDefinitionComparer
,ValueSetComparer
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
static enum
Nested classes/interfaces inherited from class org.hl7.fhir.r5.comparison.ResourceComparer
ResourceComparer.MessageCounts, ResourceComparer.PlaceHolderComparison, ResourceComparer.ResourceComparison
-
Field Summary
Fields inherited from class org.hl7.fhir.r5.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
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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) protected boolean
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) 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) protected boolean
compareDataTypesWithTracking
(String name, List<? extends DataType> ll, List<? extends DataType> rl, Map<String, StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, Base parent) protected boolean
compareDataTypesWithTracking
(String name, DataType l, DataType r, Map<String, StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, Base parent) protected boolean
compareMetadata
(CanonicalResource left, CanonicalResource right, Map<String, StructuralMatch<String>> comp, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, List<String> changes, Base parent) protected boolean
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) protected boolean
comparePrimitivesWithTracking
(String name, List<? extends PrimitiveType> ll, List<? extends PrimitiveType> rl, Map<String, StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, Base parent) protected boolean
comparePrimitivesWithTracking
(String name, PrimitiveType l, PrimitiveType r, Map<String, StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, Base parent) protected abstract String
fhirType()
protected String
gen
(CodeableConcept cc) protected String
org.hl7.fhir.utilities.xhtml.XhtmlNode
renderMetadata
(CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> comparison, String id, String prefix) Methods inherited from class org.hl7.fhir.r5.comparison.ResourceComparer
cellForMessages, missingCell, missingCell, renderErrors, vm, vm, vmI
-
Constructor Details
-
CanonicalResourceComparer
-
-
Method Details
-
compareMetadata
protected boolean compareMetadata(CanonicalResource left, CanonicalResource right, Map<String, StructuralMatch<String>> comp, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, List<String> changes, Base parent) -
compareCodeableConceptList
protected boolean 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
-
gen
-
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 boolean 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) -
comparePrimitivesWithTracking
protected boolean comparePrimitivesWithTracking(String name, List<? extends PrimitiveType> ll, List<? extends PrimitiveType> rl, Map<String, StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, Base parent) -
comparePrimitivesWithTracking
protected boolean comparePrimitivesWithTracking(String name, PrimitiveType l, PrimitiveType r, Map<String, StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, Base parent) -
compareDataTypesWithTracking
protected boolean compareDataTypesWithTracking(String name, List<? extends DataType> ll, List<? extends DataType> rl, Map<String, StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, Base parent) -
compareDataTypesWithTracking
protected boolean compareDataTypesWithTracking(String name, DataType l, DataType r, Map<String, StructuralMatch<String>> comp, org.hl7.fhir.utilities.validation.ValidationMessage.IssueSeverity level, CanonicalResourceComparer.CanonicalResourceComparison<? extends CanonicalResource> res, Base parent) -
fhirType
-
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.FHIRException
IOException
-