Stream: ig publishing requirements
Topic: jurisdiction flag missing
John Moehrke (Mar 15 2022 at 21:10):
I don't seem to get a Norwegian flag with NO jurisdiction.
John Moehrke (Mar 15 2022 at 21:44):
didn't seem to work for
- http://unstats.un.org/unsd/methods/m49/m49.htm#578
- http://unstats.un.org/unsd/methods/m49/m49.htm#NOR
- urn:iso:std:iso:3166#NO
- urn:iso:std:iso:3166#NOR
- urn:iso:std:iso:3166#578
John Moehrke (Mar 16 2022 at 13:25):
hmm, seems I have something else wrong.
John Moehrke (Mar 16 2022 at 13:26):
build is not using the new template at all.
John Moehrke (Mar 16 2022 at 14:08):
now using #current, so have the new template.. but still no flag.
It seems that there is difference in how
jurisdiction: 'http://unstats.un.org/unsd/methods/m49/m49.htm#578'
which seems to be more understood as Norway.
different from the others I tried.. which the build tool is okay with as they are valueSet compliant; but just give the code in the IG header.
Lloyd McKenzie (Mar 16 2022 at 14:09):
I will chase
Lloyd McKenzie (Mar 17 2022 at 23:09):
Publisher bug. PR submitted. Should be a new release out tonight.
John Moehrke (Mar 18 2022 at 12:38):
I just tried with 113... still only international flag shows up.
Lloyd McKenzie (Mar 18 2022 at 16:56):
Try clearing your tx cache
John Moehrke (Mar 18 2022 at 17:14):
did that.. tried again... still no. Isn't this a template thing, not an IG publisher?
John Moehrke (Mar 18 2022 at 17:47):
fhir.base.template has not been updated since 2021-09-03 http://fhir.org/templates/fhir.base.template/history.html
John Moehrke (Mar 18 2022 at 17:48):
well, that can't be the right place
John Moehrke (Mar 18 2022 at 17:48):
I know that IHE template was published earlier this week.
Lloyd McKenzie (Mar 18 2022 at 18:32):
The issue wasn't a template thing. It was a publisher issue. Your IG looks like this?
<jurisdiction>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="NO"/>
</coding>
</jurisdiction>
John Moehrke (Mar 18 2022 at 19:48):
I specify the jurisdiction using sushi-config.yaml... and have tried a bunch of them. Current CI-Build, freshly done.
http://build.fhir.org/ig/JohnMoehrke/NorwayAudit/branches/master/index.html
John Moehrke (Mar 18 2022 at 19:49):
in the case right now:
sushi-config.yaml
jurisdiction: http://unstats.un.org/unsd/methods/m49/m49.htm#578 "Norway (NOR)"
gives ImplementationGuide
"jurisdiction": [
{
"coding": [
{
"code": "578",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"display": "Norway (NOR)"
}
]
}
],```
John Moehrke (Mar 18 2022 at 20:07):
USA and Canada also don't bring up a graphic flag... like Norway they do show up in text
Lloyd McKenzie (Mar 18 2022 at 20:28):
Don't use unstats. You need to use urn:iso:std:iso:3166. "m49" is only in the jurisdiction value set for non-country concepts like "World" and "North America". The binding is extensible, which means you MUST use the listed iso country codes. (If you want to use m49 codes too, you can.)
John Moehrke (Mar 18 2022 at 21:26):
well, the valueSet is not setup that way... lots of overlapping values in an Extensible bound valueset... hmm
John Moehrke (Mar 18 2022 at 21:28):
same result with 3166. I get the text of the jurisdiction to show up, but no flag graphic.
Lloyd McKenzie (Mar 18 2022 at 22:21):
Git repo?
John Moehrke (Mar 18 2022 at 22:38):
https://github.com/JohnMoehrke/NorwayAudit
Lloyd McKenzie (Mar 19 2022 at 18:28):
Not sure what's happening. I corrected your IG to jurisdiction: 'urn:iso:std:iso:3166#NO'
and it runs fine in Eclipse, but not with the current publisher. Maybe wait for the next release?
John Moehrke (Mar 21 2022 at 11:51):
So we have... it works on the developers computer.
Lloyd McKenzie (Mar 21 2022 at 14:04):
More specifically, it works in the code that I think is released when I use the Dev environment, but not when I use the jar. Which leads me to believe that something wasn't released.
John Moehrke (Mar 23 2022 at 13:15):
latest is still 113, and still does not show any flag but international.... right?
Lloyd McKenzie (Mar 23 2022 at 16:29):
right
John Moehrke (Mar 31 2022 at 13:12):
latest 114 does show jurisdiction (NOR) flag for me now.
Last updated: Apr 12 2022 at 19:14 UTC