Stream: IG creation
Topic: Adding Logical Models
Richard Kavanagh (Sep 19 2019 at 18:00):
I am trying to get my head around the IG Publisher. I started by taking a copy of US core and managed to generate the content for that.
I have now addedd a new Logical Model (StructureDefinition) and added it to the ig.json & ig.xml files. Created the *.md files.
The generation now reports an error along the lines of:
Jekyll has failed. Complete output from running Jekyll: [31m Liquid Exception: Could not locate the included file 'StructureDefinition--maps.xhtml'
What have I missed?
Jose Costa Teixeira (Sep 19 2019 at 18:07):
does your logical model have an id?
Jose Costa Teixeira (Sep 19 2019 at 18:07):
does the id match the filename? (not sure this is still needed)
Jose Costa Teixeira (Sep 19 2019 at 18:09):
and "structuredefinition--maps" seems strange - two times the '-'?
Richard Kavanagh (Sep 19 2019 at 18:25):
Yes, it has an id of "CommunityMedication" - looking in the temp directory I can see the following have been generated.
Jose Costa Teixeira (Sep 19 2019 at 18:39):
here is a file with the conditions to work:
filename: structuredefinition-be-communication.xml
<?xml version="1.0" encoding="utf-8"?> <StructureDefinition xmlns="http://hl7.org/fhir"> <id value="be-communication" /> <name value="BECommunicationLogicalModel" /> <status value="draft" /> <kind value="logical" /> ...
Jose Costa Teixeira (Sep 19 2019 at 18:39):
note that the filename is structuredefinition-be-communication, and the id is be-communication.
Jose Costa Teixeira (Sep 19 2019 at 18:39):
This is not always needed, I think, but it is a safe naming.
John Moehrke (Sep 19 2019 at 20:44):
@David Pyke has put logical models into eLTSS IG
Last updated: Apr 12 2022 at 19:14 UTC