Stream: implementers
Topic: StructureDefinition > HTML
Sufyan Patel (Oct 04 2016 at 14:54):
Is there an open source code snippet that renders a StructureDefinition XML file into a HTML file? Preferably a tree structure. I'm about to write one but wondered if I should re-invent the wheel. Thanks
Lloyd McKenzie (Oct 04 2016 at 16:44):
Well, we have the code that we use to generate the various HTML views in the spec. We don't have anything that runs that code independently though you could rig up the IG publisher tool to spit out those bits without too much overhead
Grahame Grieve (Oct 04 2016 at 19:28):
Class ProfileUtilities in the FHIR svn, or as packaged in the validator or the IG publisher
Grahame Grieve (Oct 04 2016 at 19:29):
You'll have to load a bunch of content out of the file igpack.zip to generate the tree with correct links
Last updated: Apr 12 2022 at 19:14 UTC