Stream: IG creation
Topic: Moving between IG tooling
Elliot Silver (May 11 2021 at 21:06):
Is there a simple way to move an IG between Simplifier and the IG publisher tooling? I've tried downloading a zip project from Simplifier, but that content isn't directly consumable by the IG publisher. Before I spend too much time massaging it, has anyone done this?
Lloyd McKenzie (May 11 2021 at 21:15):
My understanding is that the markdown flavor used by Simplifier is different than that used by the IG Publisher, so simply putting the relevant files in the right folders won't be enough.
Elliot Silver (May 11 2021 at 21:18):
That's consistent with what I'm seeing. Also, ig.ini doesn't exist, local templates have issues (which makes sense), and there's some differences in resource validation.
Elliot Silver (May 11 2021 at 21:18):
Oh well, too bad.
Chris Moesel (May 11 2021 at 21:27):
I think @Saul Kravitz recently converted a package from Simplifier to IG Publisher format (w/ FSH definitions). He might have some tips -- but it's probably dependent on how complex the IG is.
Elliot Silver (May 11 2021 at 21:29):
Using GoFSH? So, FHIR JSON to FHIR JSON via FSH? Sounds intuitive. :unamused:
Chris Moesel (May 11 2021 at 21:31):
Well... I think he wanted to maintain the profiles using FSH from this point on. I think his goal was to have a FSH-based IG.
Elliot Silver (May 11 2021 at 21:32):
Makes sense. I wasn't reacting to how he solved it, or your suggestion, just the hoops to jump through.
Saul Kravitz (May 11 2021 at 21:44):
I converted a trifolia-based IG (VRDR) starting by downloading all of the JSON resources in the IG.
Chris Moesel (May 11 2021 at 21:52):
Oh shoot. It was Trifolia, wasn't it? Oops. Sorry for bringing you into it, Saul!
Chris Moesel (May 11 2021 at 21:52):
Let's all just pretend those last six messages never happened. ;-)
Elliot Silver (May 11 2021 at 21:53):
What six messages?
Jean Duteau (May 11 2021 at 21:53):
These are not the messages you are looking for.
Frank Oemig (May 12 2021 at 11:18):
IGs are interpreted by the different tools. Each has a slightly different set of requirements. Therefore they are not directly compatible. It would be good to get a list of differences so that migration is made easier.
John Moehrke (May 12 2021 at 17:40):
@ANDREA FOURQUET is also trying to convert a trifolia build to IG builder and it is failing on interpreting the structure definitions
John Moehrke (May 12 2021 at 17:40):
Load Content (00:26.0341)
Publishing Content Failed: Unable to find the source file for StructureDefinition/obf-AccessionIdentifier: not specified, so tried StructureDefinition-obf-AccessionIdentifier.xml, obf-AccessionIdentifier.StructureDefinition.xml, StructureDefinition-obf-AccessionIdentifier.json, StructureDefinition/obf-AccessionIdentifier.xml, StructureDefinition/obf-AccessionIdentifier.json, obf-AccessionIdentifier.xml, and obf-AccessionIdentifier.json (and lowercase resource name variants) in dirs [/scratch/ig-build-temp-1ZDUQE/repo/resources, /scratch/ig-build-temp-1ZDUQE/repo/resources] (00:26.0385)
John Moehrke (May 12 2021 at 17:41):
the structure definition is there at "StructureDefinition/obf-AccessionIdentifier.xml"
John Moehrke (May 12 2021 at 17:42):
which the build error does say it is checking on
John Moehrke (May 12 2021 at 17:43):
@Elliot Silver did you solve this?
Elliot Silver (May 12 2021 at 17:45):
I did not solve it, but also didn't dig too deep. Sorry.
John Moehrke (May 12 2021 at 17:45):
well, why not?
Elliot Silver (May 12 2021 at 17:47):
My goal was to compare a couple of IGs, and figured having them in the same representation would make that easier. When it became obvious that it was going to be hard to make things easier, I decided the effort wasn't worth it. I may return to look at it later.
John Moehrke (May 12 2021 at 17:49):
oh, darn
John Moehrke (May 12 2021 at 17:49):
I started a thread on the #trifolia-on-fhir stream
David Pyke (May 12 2021 at 21:10):
DOes it actually have a / in the file name? That's not going to work well
John Moehrke (May 12 2021 at 21:19):
I think they found bugs in the profiles
Elliot Silver (May 12 2021 at 21:46):
I think that was an issue with the IGs I was looking at too. Simplifier allowed structure definitions that IG publisher complained about.
Sarah Gaunt (May 13 2021 at 07:06):
@John Moehrke didn't see this message before I answered the one in the Trifolia stream. Sounds like you found that there were errors in the profiles. Basically - if it doesn't publish in Trifolia (which just uses the IG Publisher) the export won't publish with the IG Publisher. The export from Trifolia should be able to be committed straight to Git with no changes needed.
Last updated: Apr 12 2022 at 19:14 UTC