FHIR Chat · Linking Simplifier Examples · conformance

Stream: conformance

Topic: Linking Simplifier Examples


view this post on Zulip Simone Heckmann (Nov 08 2017 at 16:10):

What URL do I need to use to link example Resources in Simplifier (like: referencing an example observation to an example patient)? The URL key, the Resource's global/project endpoint?
Do the urls need to be absolute?

view this post on Zulip Michel Rutten (Nov 08 2017 at 16:14):

Hi @Simone Heckmann, Simplifier detects meta.profile tags in resource instances. These tags represent profile conformance claims. For example:

    <meta>
        <profile value="http://example.org/fhir/StructureDefinition/MyPatient" />
    </meta>

The tag value references the canonical url of a profile.
Simplifier will then automatically provide a link to the example on the profile page (tab examples).

view this post on Zulip Simone Heckmann (Nov 08 2017 at 16:16):

Hi Michel, no I meant this:

<ChargeItem xmlns="http://hl7.org/fhir">
    <meta>
        <profile value="http://fhir.de/StructureDefinition/ChargeItem-ebm"/>
    </meta>
    <status value="billable"/>
    <code>
        <coding>
            <system value="http://fhir.de/CodeSystem/kbv/ebm"/>
            <version value="2017-4"/>
            <code value="31600"/>
            <display value="Postoperative Behandlung durch den Hausarzt"/>
        </coding>
    </code>
    <subject>
        <reference value="Patient/Example-patient-de-basis-address-1"/>
    </subject>
    <occurrenceDateTime value="2017-11-07"/>
    <quantity>
        <value value="1"/>
    </quantity>
</ChargeItem>

When I validate the example I get an error like "could not resolve Resource Patient/Example-patient-de-basis-address-1
although I think it's working now after I switched from using the global endpoint url of the Patient resource to using the "url key"...

view this post on Zulip Michel Rutten (Nov 08 2017 at 16:18):

Canonical url's should be absolute...

view this post on Zulip Simone Heckmann (Nov 08 2017 at 16:18):

But since I understood that the global endpoint is the url where the Examle patient is served as a FHIR resource and the url key just the URL where Simplifier displays the Example, I went for the first...

view this post on Zulip Simone Heckmann (Nov 08 2017 at 16:18):

...but the Examples all live on the same server, no?

view this post on Zulip Martijn Harthoorn (Nov 09 2017 at 09:21):

I'l have our team take a look at it Simone.

view this post on Zulip Martijn Harthoorn (Nov 09 2017 at 11:30):

@Simone Heckmann , we 'll deploy a fix for it tomorrow.


Last updated: Apr 12 2022 at 19:14 UTC