Stream: IG creation
Topic: should dependent example resolve?
Eric Haas (Oct 13 2019 at 15:55):
If I have an example that reference an example in a dependent IG - should that resolve?
Lloyd McKenzie (Oct 13 2019 at 16:03):
I think so, yes
Grahame Grieve (Oct 14 2019 at 08:24):
yes
Eric Haas (Oct 14 2019 at 23:02):
I've tested this out and it does not seem to work. I have this:
</address> <generalPractitioner> <reference value="Practitioner/practitioner-1"/> </generalPractitioner> </Patient>
where practitioner-1 is in US Core which is dependency of my test ig. I tried both current and version 3.0.1,
however the link to Practitioner/practitioner-1 is bad ( it is pointing the the local docs file:///Users/ehaas/Documents/FHIR/IG-template2/docs/Practitioner-practitioner-1.html )
Am I missing something.
Grahame Grieve (Oct 15 2019 at 08:31):
I'll have a look at it
Grahame Grieve (Oct 15 2019 at 10:27):
is this committed?
Eric Haas (Oct 15 2019 at 16:09):
repo is here: https://github.com/Healthedata1/IG-Template2
I committed the test template example here: https://healthedata1.github.io/IG-Template2/Patient-example.html
Note that it does not use the autopublish.
Grahame Grieve (Oct 15 2019 at 18:31):
so... I don't think this should resolve. You need to refer to it by it's full URL - a relative URL isn't going to resolve.
e.g. a reference to Practitioner/practitioner-1
in http://www.fhir.org/guides/test3
is not a reference to Practitioner/practitioner-1
in http://hl7.org/fhir/us/core
Eric Haas (Oct 15 2019 at 18:35):
ok thanks... that makes sense
Eric Haas (Oct 15 2019 at 18:49):
kinda of like example canonicals
Grahame Grieve (Oct 15 2019 at 18:53):
yes
Last updated: Apr 12 2022 at 19:14 UTC