Stream: committers
Topic: Issue with SD id pattern
David Hay (Jul 12 2021 at 06:53):
What does the following error mean when running the IG Publisher? seems to happen to StructureDefinitions where the id is a single word - most are hyphenated and don't have this error. The IG Publisher otherwise works fine. Version is :
FHIR IG Publisher Version 1.1.76 (Git# 0e1fd8aa557c). Built 2021-06-24T20:22:40.143Z (17 days old)
extension url doesn't follow canonical pattern: http://hl7.org.nz/fhir/StructureDefinition/dhb, so omitted from extension summary
Lloyd McKenzie (Jul 12 2021 at 14:12):
I expect we have code that checks for URLs starting with "http://hl7.org" instead of "http://hl7.org/". @Mark Iantorno ?
Mark Iantorno (Jul 12 2021 at 14:14):
That error is thrown when length is not correct
Mark Iantorno (Jul 12 2021 at 14:14):
if (sd.getUrl().length() < canonical.length()+21) {
System.out.println("extension url doesn't follow canonical pattern: "+sd.getUrl()+", so omitted from extension summary");
return;
}
Lloyd McKenzie (Jul 12 2021 at 15:08):
That makes no sense to me. @Grahame Grieve ?
Grahame Grieve (Jul 13 2021 at 20:06):
I'm not sure what the deal is. The extension summary page lists extensions by their 'local name', but if the URL doesn't conform to the url pattern, it has no local name, so it gets omitted from the summary
David Hay (Jul 15 2021 at 04:41):
What is the url pattern? Is it defined in the IG somewhere?
Last updated: Apr 12 2022 at 19:14 UTC