org.hl7.fhir.exceptions.DefinitionException: StructureDefinition is not for an profile - can't be compared (right: Resource) at org.hl7.fhir.r5.comparison.ProfileComparer.check(ProfileComparer.java:170) at org.hl7.fhir.r5.comparison.ProfileComparer.compare(ProfileComparer.java:126) at org.hl7.fhir.r5.comparison.ComparisonSession.compare(ComparisonSession.java:96) at org.hl7.fhir.r5.comparison.ProfileComparer.checkAddTypeUnion(ProfileComparer.java:609) at org.hl7.fhir.r5.comparison.ProfileComparer.unionTypes(ProfileComparer.java:546) at org.hl7.fhir.r5.comparison.ProfileComparer.compareElements(ProfileComparer.java:238) at org.hl7.fhir.r5.comparison.ProfileComparer.compareChildren(ProfileComparer.java:339) at org.hl7.fhir.r5.comparison.ProfileComparer.compareElements(ProfileComparer.java:255) at org.hl7.fhir.r5.comparison.ProfileComparer.compare(ProfileComparer.java:157) at org.hl7.fhir.r5.comparison.ComparisonSession.compare(ComparisonSession.java:96) at org.hl7.fhir.igtools.publisher.comparators.PreviousVersionComparator.finishChecks(PreviousVersionComparator.java:256) at org.hl7.fhir.igtools.publisher.Publisher.checkConformanceResources(Publisher.java:5629) at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:5466) at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:1071) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:934) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:11651)