Stream: IG creation
Topic: Trifolia on FHIR & Github
Patrick Werner (Feb 19 2019 at 16:45):
is there a feature planned to connect github with trifolia-on-fhir? Currently we have our IG on github, if we would use Trifolio, could we also have the outcome of the tool pushed to github? Would be nice for triggering CI pipelines.
@Rick Geimer
Rick Geimer (Feb 20 2019 at 17:04):
@Patrick Werner It's already there. Look under the Import menu. Note, right now only supports importing resources, not other stuff like ad-hock markdown pages that are not defined in the ImplementationGuide resource as Binary contained resources.
Are you working on a Da Vinci IG by the way?
Patrick Werner (Feb 20 2019 at 17:16):
Thanks @Rick Geimer no i'm working on the CG IG and on internal IGs of our Institute, recently started to try trifolia.
Our use-case would be the other way round than the import - a export of all StructureDefinitions, VS, CS, etc to a GIT repo. We normally keep our profiles in GIT repos due to merging, versioning and mainly CI stuff like uploading StructureDefinitions to a Server to keep profiles up to date.
Patrick Werner (Feb 20 2019 at 17:17):
The current export renders the IG, if there was a: export all resources in a zip function we could take this zip and put it in our GIT
Rick Geimer (Feb 20 2019 at 17:23):
Yes you can do that. On the export page select your IG, then
- Export format: HTML (IG Publisher)
- Run the IG Publisher: No
- Output Format: either JSON or XML depending on what you work with.
You will then get a zip with everything
Rick Geimer (Feb 20 2019 at 17:24):
@Patrick Werner Under Export Format there is also a GitHub option, but same as with import only supports committing/pushing FHIR resources to github, and then only if you had previously imported them from a github repo (it remembers the location).
Patrick Werner (Feb 20 2019 at 17:32):
wow. Now i'm impressed, thanks for the explanation. Any Chance to get this also working with a self hosted gitlab?
Rick Geimer (Feb 20 2019 at 17:54):
Well, the IG publisher zip method I described above should work now, but if you mean export directly from the tool to gitlab, not sure as I believe @Sean McIlvenna used the GitHub API for the integration. Sean, any insight there?
Sean McIlvenna (Feb 20 2019 at 18:16):
Yes, we are using the GitHub API for the GitHub integration in Trifolia-on-FHIR
Sean McIlvenna (Feb 20 2019 at 18:17):
Don't think we could adapt it to work with a solf-hosted Git repository, though.
Last updated: Apr 12 2022 at 19:14 UTC