FHIR Chat · Logical Model - Base? · shorthand

Stream: shorthand

Topic: Logical Model - Base?


view this post on Zulip Jose Costa Teixeira (Jul 26 2021 at 21:42):

When I create a Logical Model, I get a QA error:
Canonical URL 'http://hl7.org/fhir/StructureDefinition/Base' does not resolve

view this post on Zulip Chris Moesel (Jul 26 2021 at 21:55):

This may be an IG publisher issue. Grahame indicated that Base could be used in R4 -- and indeed, it builds fine. (If it couldn't find Base at all then the snapshot generation would fail). Of course, even that support required special-case logic in R4, so perhaps more special-case logic is needed.

You can always specify Parent: Element if you want to use Element as a base instead (which adds id and extension but probably doesn't result in an QA errors).

view this post on Zulip Jean Duteau (Oct 01 2021 at 15:33):

Just pointing out that this still fails today. Should we raise something with Grahame and the Publisher team?

view this post on Zulip Chris Moesel (Oct 01 2021 at 15:35):

Ah. I had forgot about this. Yes, I think it's worth raising to Grahame and team. Do you want to or shall I? Or perhaps we just tag @Grahame Grieve?

view this post on Zulip David Pyke (Oct 01 2021 at 15:40):

Tagging @Grahame Grieve is always the best route

view this post on Zulip Matt Rouhana (Nov 01 2021 at 16:04):

@Grahame Grieve bumping the above, as I'm running into the same issues as others noted.

view this post on Zulip Mareike Przysucha (Nov 03 2021 at 08:59):

I don't know if my issue fits to this problem. In the LogicalModel I created, sushi gives me the error message:
SUSHI encountered the following unexpected error: t.toJSON is not a function
If it does not fit to this problem, please tell me, then I will raise a new topic.
But: does anyone know the reason for this message?

view this post on Zulip Mareike Przysucha (Nov 03 2021 at 09:06):

Found my error: Parent was "Base", but "type.code" was Element... Now it works. Sorry for troubling you.

view this post on Zulip Grahame Grieve (Nov 05 2021 at 00:38):

how can I reproduce this?

view this post on Zulip Matt Rouhana (Nov 05 2021 at 01:30):

@Grahame Grieve:

  1. Create a logical model with FSH without specifying a Parent ("If no Parent is specified, the empty Base type is used as the default parent.")
  2. Run IG publisher on the FSH artifact
  3. See output/qa.html for the following error: Canonical URL 'http://hl7.org/fhir/StructureDefinition/Base' does not resolve

view this post on Zulip Mareike Przysucha (Nov 05 2021 at 09:20):

@Matt Rouhana: Thanks. That's it.


Last updated: Apr 12 2022 at 19:14 UTC