
Package org.hl7.fhir.r5.comparison
Class StructureDefinitionComparer
java.lang.Object
org.hl7.fhir.r5.comparison.ResourceComparer
org.hl7.fhir.r5.comparison.CanonicalResourceComparer
org.hl7.fhir.r5.comparison.StructureDefinitionComparer
- All Implemented Interfaces:
ProfileKnowledgeProvider
public class StructureDefinitionComparer
extends CanonicalResourceComparer
implements ProfileKnowledgeProvider
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.hl7.fhir.r5.comparison.CanonicalResourceComparer
CanonicalResourceComparer.CanonicalResourceComparison<T extends CanonicalResource>, CanonicalResourceComparer.ChangeAnalysisStateNested 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
ConstructorsConstructorDescriptionStructureDefinitionComparer(ComparisonSession session, ProfileUtilities utilsLeft, ProfileUtilities utilsRight) -
Method Summary
Modifier and TypeMethodDescriptioncompare(StructureDefinition left, StructureDefinition right) protected StringfhirType()getLinkFor(String corePath, String typeSimple) getLinkForProfile(StructureDefinition profile, String url) getLinkForUrl(String corePath, String s) booleanhasLinkFor(String typeSimple) booleanisDatatype(String typeSimple) booleanisPrimitiveType(String typeSimple) booleanisResource(String typeSimple) booleanorg.hl7.fhir.utilities.xhtml.XhtmlNoderenderIntersection(StructureDefinitionComparer.ProfileComparison comp, String id, String prefix, String corePath) org.hl7.fhir.utilities.xhtml.XhtmlNoderenderStructure(StructureDefinitionComparer.ProfileComparison comp, String id, String prefix, String corePath) org.hl7.fhir.utilities.xhtml.XhtmlNoderenderUnion(StructureDefinitionComparer.ProfileComparison comp, String id, String prefix, String corePath) resolveBinding(StructureDefinition def, String url, String path) resolveBinding(StructureDefinition def, ElementDefinition.ElementDefinitionBindingComponent binding, String path) Methods inherited from class org.hl7.fhir.r5.comparison.CanonicalResourceComparer
compareCanonicalList, compareCodeableConceptList, compareCodeList, compareDataTypesWithTracking, compareDataTypesWithTracking, compareMetadata, comparePrimitives, comparePrimitivesWithTracking, comparePrimitivesWithTracking, gen, gen, renderMetadataMethods inherited from class org.hl7.fhir.r5.comparison.ResourceComparer
cellForMessages, missingCell, missingCell, renderErrors, vm, vm, vmI
-
Constructor Details
-
StructureDefinitionComparer
public StructureDefinitionComparer(ComparisonSession session, ProfileUtilities utilsLeft, ProfileUtilities utilsRight)
-
-
Method Details
-
fhirType
- Specified by:
fhirTypein classCanonicalResourceComparer
-
compare
public StructureDefinitionComparer.ProfileComparison compare(StructureDefinition left, StructureDefinition right) throws org.hl7.fhir.exceptions.DefinitionException, org.hl7.fhir.exceptions.FHIRFormatError, IOException - Throws:
org.hl7.fhir.exceptions.DefinitionExceptionorg.hl7.fhir.exceptions.FHIRFormatErrorIOException
-
renderStructure
public org.hl7.fhir.utilities.xhtml.XhtmlNode renderStructure(StructureDefinitionComparer.ProfileComparison comp, String id, String prefix, String corePath) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRExceptionIOException
-
renderUnion
public org.hl7.fhir.utilities.xhtml.XhtmlNode renderUnion(StructureDefinitionComparer.ProfileComparison comp, String id, String prefix, String corePath) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRExceptionIOException
-
renderIntersection
public org.hl7.fhir.utilities.xhtml.XhtmlNode renderIntersection(StructureDefinitionComparer.ProfileComparison comp, String id, String prefix, String corePath) throws org.hl7.fhir.exceptions.FHIRException, IOException - Throws:
org.hl7.fhir.exceptions.FHIRExceptionIOException
-
isDatatype
- Specified by:
isDatatypein interfaceProfileKnowledgeProvider
-
isPrimitiveType
- Specified by:
isPrimitiveTypein interfaceProfileKnowledgeProvider
-
isResource
- Specified by:
isResourcein interfaceProfileKnowledgeProvider
-
hasLinkFor
- Specified by:
hasLinkForin interfaceProfileKnowledgeProvider
-
getLinkFor
- Specified by:
getLinkForin interfaceProfileKnowledgeProvider
-
resolveBinding
public BindingResolution resolveBinding(StructureDefinition def, ElementDefinition.ElementDefinitionBindingComponent binding, String path) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
resolveBindingin interfaceProfileKnowledgeProvider- Throws:
org.hl7.fhir.exceptions.FHIRException
-
resolveBinding
public BindingResolution resolveBinding(StructureDefinition def, String url, String path) throws org.hl7.fhir.exceptions.FHIRException - Specified by:
resolveBindingin interfaceProfileKnowledgeProvider- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getLinkForProfile
- Specified by:
getLinkForProfilein interfaceProfileKnowledgeProvider
-
prependLinks
- Specified by:
prependLinksin interfaceProfileKnowledgeProvider
-
getLinkForUrl
- Specified by:
getLinkForUrlin interfaceProfileKnowledgeProvider
-
getCanonicalForDefaultContext
- Specified by:
getCanonicalForDefaultContextin interfaceProfileKnowledgeProvider
-
getDefinitionsName
- Specified by:
getDefinitionsNamein interfaceProfileKnowledgeProvider
-