FHIR Chat · EMA ePI Consultation · implementers

Stream: implementers

Topic: EMA ePI Consultation


view this post on Zulip Craig Anderson (Jun 05 2021 at 20:51):

Hello,
Developed a sample based on EMA's FHIR ePI specification. Can't seem to get internal links working; i.e., create a hyperlink from narrative text in a paragraph to another narrative text section.

Want the user to click on the text 'see section 6.1' and the link takes them to section 6.1 below. Have no problem getting external links to work but can't seem to get internal links working. Is it merely <a href="#{code value for the section?}"></a>

Here is the source section with the text:
<section>
<title value="2. QUALITATIVE AND QUANTITATIVE COMPOSITION"/>
<code>
<coding>
<system
value="http://spor.ema.europa.eu/v1/example-sections"/>
<code value="00000021212"/>
<display value="Composition"/>
</coding>
</code>
<text>
<status value="additional"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Each film-coated tablet contains 10 mg lercanidipine
hydrochloride (equivalent to 9.4 mg lercanidipine)</p>
<br/>
<p>Excipient with known effect:</p>
<p>Each film-coated tablet
contains 30 mg of lactose monohydrate.</p>
<br/>
<p>For a complete list of excipients, <a href="{how do I write this href so it takes user to section 6.1 below?}">see section 6.1</a></p>
</div>
</text>
</section>

Here is the destination section where I would like the link to take the user:
<section><!-- 6.1 List of excipients -->
<title value="6.1 List of excipients"/>
<code>
<coding>
<system value="http://spor.ema.europa.eu/v1/example-sections"/>
<code value="61"/>
<display value="List of excipients"/>
</coding>
</code>
<text>
<status value="additional"/>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Tablet core:</p>
<p>Lactose monohydrate</p>
<p>Sodium glycolate starch</p>
<p>Povidone K30</p>
<p>Magnesium stearate</p>
<p>Cellulose, microcrystalline</p><br/>
<p>Film coating:</p>
<p>Hypromellose</p>
<p>Titanium dioxide (E171)</p>
<p>Macrogol 6000</p>
<p>Iron oxide (E172)</p>
<p>Talkum</p>
</div>
</text>
</section>

view this post on Zulip Lloyd McKenzie (Jun 05 2021 at 21:09):

@Sean McIlvenna

view this post on Zulip Sean McIlvenna (Jun 05 2021 at 21:59):

Yes @Lloyd McKenzie ? How can I help?

view this post on Zulip Lloyd McKenzie (Jun 05 2021 at 22:40):

This is about rendering CDAs and you're one of the techiest CDA people I know :)

view this post on Zulip Rik Smithies (Jun 06 2021 at 10:46):

@Lloyd McKenzie The EMA consultation is about FHIR rather than CDA.

view this post on Zulip Lloyd McKenzie (Jun 06 2021 at 13:06):

Sorry, I meant FHIR document.

view this post on Zulip Craig Anderson (Jun 07 2021 at 01:00):

Thanks Lloyd. @Sean McIlvenna , @Rik Smithies , see original thread above. Trying to figure out how to create internal hypertext link from narrative text in a Component section to another section. <a href="#{code value for the section?}"></a>

view this post on Zulip Craig Anderson (Jun 08 2021 at 00:43):

Uploaded a copy of the full XML and the HTML rendering to Github:
https://github.com/ande01/epi-test/blob/main/zandip%20(lerkanidipin)%20v0.1.xml

https://github.com/ande01/epi-test/blob/main/zandip%20(lerkanidipin)%20v0.1.html


Last updated: Apr 12 2022 at 19:14 UTC