FHIR Chat · Generating Extensions WebPages · IG creation

Stream: IG creation

Topic: Generating Extensions WebPages


view this post on Zulip abhishek gupta (Feb 14 2018 at 06:47):

Hi All,
when I create the Extensions web page in the Implementation Guide, I am able to get the List of all the Extensions Web pages.
But when I am trying to create the web pages for particular profiles.
(e.x. MedicationStatement) suppose for this I have two extensions 'lastgiven' and 'prescriber'.
so whenever I click on my profile like 'medicationstatement' then in the 'Extensions' pages I want to show only that two Extensions but I am able to get the list of all the Extensions.
if anybody knows about where I am getting wrong then ping me.

view this post on Zulip Lloyd McKenzie (Feb 14 2018 at 14:41):

There's no automated way to get a page that only shows the extensions used in a particular resource except when publishing the core spec. That's not supported for IGs. You can submit a change request using the "propose a change" link in the spec, but I can't say how soon it'll happen. In the meantime, you'll need to define your pages manually. If I was doing it, I'd probably use some pre-processing XSLT to generate the page content. However, there are other scripting approaches that could work too. Or you could actually handcraft each page.

view this post on Zulip Eric Haas (Feb 14 2018 at 15:55):

there is a list of all extensions generated by the tooling list-simple-extensions.xhtml which you can include in your page. if you want just a few select extension then do it manually ( which is probably faster) or maybe some fancy liquid syntax to sort through all the includes or do what Lloyd suggests.

view this post on Zulip abhishek gupta (Feb 15 2018 at 12:20):

@Lloyd McKenzie
Ok Thanks.

view this post on Zulip abhishek gupta (Feb 16 2018 at 06:46):

@Lloyd McKenzie
Is it possible to generate the Operations pages for separate-separate profiles in the implementation Guide

view this post on Zulip Lloyd McKenzie (Feb 16 2018 at 06:51):

Profiles don't have operations. IGs can certainly define operations, but there's nothing profile-specific about them. Operations are invoked on resources or at the base, not on profiles.


Last updated: Apr 12 2022 at 19:14 UTC