Stream: implementers
Topic: FHIR IG publishing
Borna Jafarpour (Jul 18 2016 at 20:17):
Hello All,
In eHealth Ontario we are publishing an eConsult FHIR specification and we would like to do it using the tools you have developed. I was hoping you could help us figure out the tools out there. Here is my question:
Assuming that we have prepared the StructureDefinition, IG resource and Conformance statement, what is the easiest way to
1. an HTML version of the spec (like FHIR’s website)
2. XML and JSON schema
I know of these two websites:
http://wiki.hl7.org/index.php?title=FHIR_Build_Process
http://wiki.hl7.org/index.php?title=IG_Publisher_Documentation (is there a pre-existing project for this that I can change the control file and make point it to my IG resource?)
I appreciate your help.
Borna
Grahame Grieve (Jul 18 2016 at 21:06):
the second link is the one you want.
Grahame Grieve (Jul 18 2016 at 21:07):
there's example projects in the fhir svn - under \build\guides (look for anything with '2') in the folder name and under \build\tests\ig
Borna Jafarpour (Jul 18 2016 at 21:12):
Thanks Grahame. Appreciate the help.
Borna Jafarpour (Jul 19 2016 at 15:51):
I have downloaded the ig-test project from "/trunk/build/tests/ig"
and igpublishing tool from "http://hl7-fhir.github.io/org.hl7.fhir.igpublisher.jar"
both have the same version (1.4). However, I get the error below.
1. how would I resolve this?
2. Where can I get the igpublishing tool for current version of FHIR (1.0.2)? There no link in http://hl7.org/fhir/downloads.html
I also get the same error message for \build\guides (look for anything with '2')
thanks
==========ERROR========================ERROR=======================ERROR==================
Load Configuration (00.0000sec)
Publish C:\newIG\ig\resources\test-ig.xml (00.0009sec)
Check folders (00.0009sec)
Load Validation Pack (internal) (00.0012sec)
Definitions 1.4.0-8633 (05.0075sec)
Connect to Terminology Server at http://fhir3.healthintersections.com.au/open (05.0075sec)
Load Implementation Guide (05.0477sec)
Error : Unknown Content title @ START_TAG seen ...<source value="index.html"/>\n <title value="Home Page"/>... @63:31
org.hl7.fhir.dstu3.formats.XmlParserBase.unknownContent(XmlParserBase.java:270)
org.hl7.fhir.dstu3.formats.XmlParser.parseImplementationGuideImplementationGuidePageComponent(XmlParser.java:9795)
org.hl7.fhir.dstu3.formats.XmlParser.parseImplementationGuideContent(XmlParser.java:9647)
org.hl7.fhir.dstu3.formats.XmlParser.parseImplementationGuide(XmlParser.java:9604)
org.hl7.fhir.dstu3.formats.XmlParser.parseResource(XmlParser.java:17288)
org.hl7.fhir.dstu3.formats.XmlParserBase.parse(XmlParserBase.java:105)
org.hl7.fhir.dstu3.formats.XmlParserBase.parse(XmlParserBase.java:89)
org.hl7.fhir.dstu3.formats.ParserBase.parse(ParserBase.java:58)
org.hl7.fhir.igtools.publisher.Publisher.parse(Publisher.java:839)
org.hl7.fhir.igtools.publisher.Publisher.load(Publisher.java:527)
org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:182)
org.hl7.fhir.igtools.ui.IGPublisherFrame$BackgroundPublisherTask.doInBackground(IGPublisherFrame.java:235)
org.hl7.fhir.igtools.ui.IGPublisherFrame$BackgroundPublisherTask.doInBackground(IGPublisherFrame.java:225)
javax.swing.SwingWorker$1.call(Unknown Source)
java.util.concurrent.FutureTask.run(Unknown Source)
javax.swing.SwingWorker.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Grahame Grieve (Jul 19 2016 at 19:18):
Definitions 1.4.0-8633 (05.0075sec) - where did you get this? very old?
Grahame Grieve (Jul 19 2016 at 19:19):
the current build is 9110 not 8933.
Grahame Grieve (Jul 19 2016 at 19:19):
if you 9000+, you won't get this error
Grahame Grieve (Jul 19 2016 at 19:19):
there is no IG publisher for 1.0.2
Borna Jafarpour (Jul 19 2016 at 20:52):
(deleted)
Borna Jafarpour (Jul 19 2016 at 20:54):
(deleted)
Borna Jafarpour (Jul 20 2016 at 15:06):
I still have difficulty creating the spec.
I download the latest version of the IG publishing tool (1.5.0-9124). The tool itself seems to work fine (no errors. see below). However, the jar create a large number of nullPointerExceptions.
The output folder is empty. There is no index.html file anywhere that looks like the FHIR webpage.
See below the tool output and the debug summary.
Borna Jafarpour (Jul 20 2016 at 15:07):
==============================================DEBUG SUMMARY==========================================================================================
= Log =
Load Configuration (00.0000sec)
Publish C:\Users\borna.jafarpour\Documents\Documents\eConsult\FHIR Build Tool\newIG\ig3\resources\test-ig.xml (00.0003sec)
Check folders (00.0003sec)
Load Validation Pack (internal) (00.0009sec)
Definitions 1.5.0-9124 (02.0904sec)
Connect to Terminology Server at http://fhir3.healthintersections.com.au/open (02.0904sec)
Terminology Cache is at C:\Users\borna.jafarpour\fhircache (03.0103sec)
Initialization complete (03.0470sec)
Load Implementation Guide (03.0470sec)
load C:\Users\borna.jafarpour\Documents\Documents\eConsult\FHIR Build Tool\newIG\ig3\resources\test-ig-spreadsheet.xml (03.0474sec)
Processing Conformance Resources (03.0861sec)
process type: NamingSystem (03.0861sec)
process res: test-ig (03.0861sec)
process res: test-patient (03.0861sec)
process res: test-ig-militaryService (03.0861sec)
process res: test-patient-birthplace (03.0861sec)
process res: test-organization (03.0861sec)
process res: test-ig-spsvs (03.0861sec)
process res: test-ig-spsvs (03.0861sec)
process res: test-ig-bnd1 (03.0861sec)
process res: test-ig-bnd2 (03.0861sec)
process res: test-ig-cs (03.0861sec)
process res: test-ig-vs (03.0861sec)
process res: test-ig-vsint (03.0861sec)
process res: test-ig-vsext (03.0861sec)
process res: test-ig-sd (03.0861sec)
process type: CodeSystem (03.0861sec)
process res: test-ig (03.0861sec)
process res: test-patient (03.0861sec)
process res: test-ig-militaryService (03.0861sec)
process res: test-patient-birthplace (03.0861sec)
process res: test-organization (03.0861sec)
process res: test-ig-spsvs (03.0861sec)
process res: test-ig-spsvs (03.0861sec)
process res: test-ig-bnd1 (03.0862sec)
process res: test-ig-bnd2 (03.0862sec)
process res: test-ig-cs (03.0862sec)
Terminology server: Check for supported code systems for urn:ietf:bcp:47
process res: test-ig-vs (04.0050sec)
process res: test-ig-vsint (04.0050sec)
process res: test-ig-vsext (04.0050sec)
process res: test-ig-sd (04.0050sec)
process type: ValueSet (04.0050sec)
process res: test-ig (04.0050sec)
process res: test-patient (04.0050sec)
process res: test-ig-militaryService (04.0050sec)
process res: test-patient-birthplace (04.0050sec)
process res: test-organization (04.0050sec)
process res: test-ig-spsvs (04.0051sec)
process res: test-ig-spsvs (04.0052sec)
process res: test-ig-bnd1 (04.0053sec)
process res: test-ig-bnd2 (04.0055sec)
process res: test-ig-cs (04.0056sec)
process res: test-ig-vs (04.0056sec)
process res: test-ig-vsint (04.0057sec)
process res: test-ig-vsext (04.0059sec)
process res: test-ig-sd (04.0060sec)
process type: DataElement (04.0060sec)
process res: test-ig (04.0060sec)
process res: test-patient (04.0060sec)
process res: test-ig-militaryService (04.0064sec)
process res: test-patient-birthplace (04.0065sec)
process res: test-organization (04.0065sec)
process res: test-ig-spsvs (04.0065sec)
process res: test-ig-spsvs (04.0065sec)
process res: test-ig-bnd1 (04.0065sec)
process res: test-ig-bnd2 (04.0065sec)
process res: test-ig-cs (04.0065sec)
process res: test-ig-vs (04.0065sec)
process res: test-ig-vsint (04.0065sec)
process res: test-ig-vsext (04.0065sec)
process res: test-ig-sd (04.0065sec)
process type: StructureDefinition (04.0065sec)
process res: test-ig (04.0069sec)
process res: test-patient (04.0069sec)
process res: test-ig-militaryService (04.0109sec)
process res: test-patient-birthplace (04.0112sec)
process res: test-organization (04.0112sec)
process res: test-ig-spsvs (04.0119sec)
process res: test-ig-spsvs (04.0119sec)
process res: test-ig-bnd1 (04.0119sec)
process res: test-ig-bnd2 (04.0119sec)
process res: test-ig-cs (04.0119sec)
process res: test-ig-vs (04.0119sec)
process res: test-ig-vsint (04.0119sec)
process res: test-ig-vsext (04.0119sec)
process res: test-ig-sd (04.0119sec)
process type: ConceptMap (04.0123sec)
process res: test-ig (04.0123sec)
process res: test-patient (04.0123sec)
process res: test-ig-militaryService (04.0123sec)
process res: test-patient-birthplace (04.0123sec)
process res: test-organization (04.0123sec)
process res: test-ig-spsvs (04.0123sec)
process res: test-ig-spsvs (04.0123sec)
process res: test-ig-bnd1 (04.0123sec)
process res: test-ig-bnd2 (04.0123sec)
process res: test-ig-cs (04.0123sec)
process res: test-ig-vs (04.0123sec)
process res: test-ig-vsint (04.0123sec)
process res: test-ig-vsext (04.0123sec)
process res: test-ig-sd (04.0123sec)
process type: StructureMap (04.0123sec)
process
Borna Jafarpour (Jul 20 2016 at 15:07):
=========================TOOL OUTPUT===================
Load Configuration (00.0000sec)
Publish C:\Users\borna.jafarpour\Documents\Documents\eConsult\FHIR Build Tool\newIG\ig3\resources\test-ig.xml (00.0013sec)
Check folders (00.0013sec)
Load Validation Pack (internal) (00.0016sec)
Definitions 1.5.0-9124 (09.0969sec)
Connect to Terminology Server at http://fhir3.healthintersections.com.au/open (09.0969sec)
Terminology Cache is at C:\Users\borna.jafarpour\fhircache (10.0175sec)
Initialization complete (10.0580sec)
Load Implementation Guide (10.0581sec)
Processing Conformance Resources (10.0752sec)
Terminology server: Check for supported code systems for urn:ietf:bcp:47
Generating Narratives (11.0122sec)
Validating Resources (11.0139sec)
Generating Outputs in C:\Users\borna.jafarpour\Documents\Documents\eConsult\FHIR Build Tool\newIG\ig3\output (11.0151sec)
Jekyll: Source: C:/Users/borna.jafarpour/Documents/Documents/eConsult/FHIR Build Tool/newIG/ig3/temp (17.0092sec)
Jekyll: Generating... (17.0093sec)
Jekyll: done in 3.234 seconds. (20.0327sec)
... finished. 09.0603. Validation output in C:\Users\borna.jafarpour\Documents\Documents\eConsult\FHIR Build Tool\newIG\ig3\qa\validation.html (20.0385sec)
Done (20.0385sec)
Grahame Grieve (Jul 20 2016 at 22:06):
vcan you try again without spaces in the path?
Borna Jafarpour (Jul 21 2016 at 15:06):
Thanks. That was the issue. It kind of works now. However,a lot of link do not work and images are not there. Also no json schema (or other schemas) is produced.
Is there an option for DSTU2? we have defined our structure definitions in that format. If there is a tool, would that generate schema for validation?
Grahame Grieve (Jul 21 2016 at 19:24):
well, IG pubnlishing is very much a work in progress. What links are broken?
Borna Jafarpour (Jul 22 2016 at 15:04):
I understand. I will email you the HTML part of the output folder as I can't share them here. cheers
Theo Stolker (Oct 05 2017 at 10:34):
Hi @Borna Jafarpour , we are interested in this eConsult specification. Has it been published anywhere? What is the status?
Thanks,
Theo.
Borna Jafarpour (Oct 05 2017 at 18:12):
Hello,
Thanks for your interest. I am no longer with eHealth Ontario. I suggest you contact my former manager Yaron Derman (yaron.derman@ehealthontario.on.ca) regarding this standard. Good luck.
Cheers,
Borna
Last updated: Apr 12 2022 at 19:14 UTC