Stream: shorthand
Topic: Logical Model - Base?
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
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).
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?
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?
David Pyke (Oct 01 2021 at 15:40):
Tagging @Grahame Grieve is always the best route
Matt Rouhana (Nov 01 2021 at 16:04):
@Grahame Grieve bumping the above, as I'm running into the same issues as others noted.
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?
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.
Grahame Grieve (Nov 05 2021 at 00:38):
how can I reproduce this?
Matt Rouhana (Nov 05 2021 at 01:30):
@Grahame Grieve:
- 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.") - Run IG publisher on the FSH artifact
- See
output/qa.html
for the following error:Canonical URL 'http://hl7.org/fhir/StructureDefinition/Base' does not resolve
Mareike Przysucha (Nov 05 2021 at 09:20):
@Matt Rouhana: Thanks. That's it.
Last updated: Apr 12 2022 at 19:14 UTC