FHIR Chat · IG Publish error - attribute defintions · IG creation

Stream: IG creation

Topic: IG Publish error - attribute defintions


view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:18):

Hi, I am debugging an IG we are working on. I get these type of errors on Publish but not sure what they mean:

context [anonymous] 2:13 attribute path isn't defined

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:24):

i see those on all of my IGs. I did ask about this quite awhile back and received the answer that it is info from the publisher when it is parsing some file and nothing to do with our actual guides.

view this post on Zulip David Pyke (Nov 02 2021 at 19:25):

We should have a competition as to who gets the most.

view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:27):

David Pyke said:

We should have a competition as to who gets the most.

I got a pretty good entry: 32

view this post on Zulip David Pyke (Nov 02 2021 at 19:27):

That's great! I rarely get more than 10

view this post on Zulip John Moehrke (Nov 02 2021 at 19:27):

IHE-MHD --> 12

view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:28):

David Pyke said:

That's great! I rarely get more than 10

I smell a chicken dinner for me :)

view this post on Zulip David Pyke (Nov 02 2021 at 19:28):

All right, winner gets a chicken dinner at the next in-person HL7 event

view this post on Zulip John Moehrke (Nov 02 2021 at 19:28):

so... never

view this post on Zulip David Pyke (Nov 02 2021 at 19:28):

we require screenshots of the output as verification of the entry

view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:29):

John Moehrke said:

so... never

I was going to say, what is the present value of that? :)

view this post on Zulip David Pyke (Nov 02 2021 at 19:29):

The May 2022 WGM/Connectathon is in person

view this post on Zulip David Pyke (Nov 02 2021 at 19:30):

The estimated prize value is over $10

view this post on Zulip Elliot Silver (Nov 02 2021 at 19:31):

IIRC, this isn't the publisher, it's part of the template processing. @Lloyd McKenzie

view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:33):

David Pyke said:

we require screenshots of the output as verification of the entry

image.png

view this post on Zulip John Moehrke (Nov 02 2021 at 19:33):

a special project shows 294 lines

view this post on Zulip David Pyke (Nov 02 2021 at 19:34):

Entries must include a screen cap

view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:34):

The strange part is I count 50, but the message says 32 :thinking:

view this post on Zulip Elliot Silver (Nov 02 2021 at 19:35):

John Moehrke said:

a special project shows 294 lines

David Pyke said:

Entries must include a screen cap

That's a BIG screen.

view this post on Zulip David Pyke (Nov 02 2021 at 19:35):

If I turn mine sideways, it would fit

view this post on Zulip John Moehrke (Nov 02 2021 at 19:35):

well, it is also not a clean build. -- Errors: 151, Warnings: 100, Info: 51, Broken Links = 1361 (04:14.0128)

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:37):

you can't win if you don't have a clean build!

view this post on Zulip John Moehrke (Nov 02 2021 at 19:37):

i agree. must be a 0,0,0,0 and have these messages

view this post on Zulip John Moehrke (Nov 02 2021 at 19:38):

so, best I have is 12

view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:38):

How do you know the build was clean? I dont see any other error messages that add up to the 32 the command line spits out?

view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:39):

Sushi gave me an
Ex-clam-ation point!

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:39):

they are all listed in the output/qa.html or output/qa.txt file

view this post on Zulip John Moehrke (Nov 02 2021 at 19:40):

the message after all of those "anonymous" lines is the Errors/Warnings/Info/Broken-Links

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:40):

those attribute path ones are not errors/warnings of your IG so they aren't included. they get spit out when the templates are being processed

view this post on Zulip John Moehrke (Nov 02 2021 at 19:40):

that must be 0,0,0,0

view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:41):

aha, I see them now. Thanks @Jean Duteau

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:41):

i think I only have one IG that is clean right now :(

view this post on Zulip John Moehrke (Nov 02 2021 at 19:41):

must be -- Errors: 0, Warnings: 0, Info: 0, Broken Links = 0 (01:58.0887)

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:42):

running all of my guides now to see how many of the attribute paths I get

view this post on Zulip Richard Braman (FLY.HEALTH) (Nov 02 2021 at 19:43):

Instead of a chicken dinner, it may be more appropriate for the main course to be red herring

view this post on Zulip John Moehrke (Nov 02 2021 at 19:45):

I have 4 IGs that are clean builds... they all are 12

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:45):

sigh, never run your guides that are 0,0,0,0 with a more recent version of the publisher or terminology because then you'll find out they aren't 0,0,0,0 anymore

view this post on Zulip John Moehrke (Nov 02 2021 at 19:45):

yup

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:46):

hmm, my context message is different than Richard's:
context [anonymous] 4:2 attribute signposts isn't defined

view this post on Zulip John Moehrke (Nov 02 2021 at 19:47):

Finished. Times: loading: 00:00.0676, generate: 01:16.0317, narrative generation: 00:00.0819, realm-rules: 00:00.0000, previous-version: 00:00.0000, jekyll: 00:18.0761, validation: 00:13.0180 (#30), template: 00:04.0027 (#3) (02:20.0564)
context [anonymous] 3:46 attribute id isn't defined
context [anonymous] 3:85 attribute id isn't defined
context [anonymous] 3:167 attribute id isn't defined
context [anonymous] 3:175 attribute vsumm isn't defined
context [anonymous] 4:58 attribute id isn't defined
context [anonymous] 4:64 attribute signposts isn't defined
context [anonymous] 3:46 attribute id isn't defined
context [anonymous] 3:85 attribute id isn't defined
context [anonymous] 3:167 attribute id isn't defined
context [anonymous] 3:175 attribute vsumm isn't defined
context [anonymous] 4:58 attribute id isn't defined
context [anonymous] 4:64 attribute signposts isn't defined
Validation output in C:\Users\johnm\Git\ITI.PIXm\output\qa.html
Errors: 0, Warnings: 0, Info: 0, Broken Links = 1 (02:20.0785)
Done. This IG has been built using the 'normal' process for local use. If building to host on an an external website, use the process documented [yet to be documented]]) (02:20.0794)

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:48):

ah, so it isn't "attribute path" isn't defined but attribute "path" isn't defined. :)
and I had 2 in my only clean IG

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:49):

@John Moehrke you have a broken link!

view this post on Zulip Jean Duteau (Nov 02 2021 at 19:55):

Finished. Times: loading: 00:00.0786, generate: 02:12.0292, narrative generation: 00:07.0493, realm-rules: 00:01.0055, previous-version: 00:14.0364, jekyll: 00:09.0641, validation: 00:11.0702 (#101), template: 00:06.0136 (#3) (02:41.0295)
context [anonymous] 3:46 attribute id isn't defined
context [anonymous] 3:85 attribute id isn't defined
context [anonymous] 3:167 attribute id isn't defined
context [anonymous] 3:175 attribute vsumm isn't defined
context [anonymous] 4:58 attribute id isn't defined
context [anonymous] 4:64 attribute signposts isn't defined
context [anonymous] 2:13 attribute path isn't defined
context [anonymous] 3:46 attribute id isn't defined
context [anonymous] 3:85 attribute id isn't defined
context [anonymous] 3:167 attribute id isn't defined
context [anonymous] 3:175 attribute vsumm isn't defined
context [anonymous] 4:58 attribute id isn't defined
context [anonymous] 4:64 attribute signposts isn't defined
context [anonymous] 2:13 attribute path isn't defined
Validation output in /Users/jeanduteau/Documents/DDIWork/Gevity/PriorAuthorization/davinci-pas/output/qa.html
Errors: 0, Warnings: 0, Info: 0, Broken Links = 0 (02:42.0824)
Done. This IG has been built using the 'normal' process for local use. If building to host on an an external website, use the process documented [yet to be documented]]) (02:42.0826)

view this post on Zulip John Moehrke (Nov 02 2021 at 19:55):

yeah, this one has an error.. in an example we have a narrative text that uses a OID in URN format, and the build is complaining that it found a URL that it can't dereference... well, yeah, it is an example and an OID.

view this post on Zulip John Moehrke (Nov 02 2021 at 19:57):

14 beats 12. im out

view this post on Zulip John Moehrke (Nov 02 2021 at 19:58):

glad this just a chicken dinner, not squid games

view this post on Zulip Jean Duteau (Nov 02 2021 at 20:00):

John Moehrke said:

14 beats 12. im out

I do wonder what is causing it, because then we could create a guide that just has 100 of these :)

view this post on Zulip David Pyke (Nov 02 2021 at 20:00):

No cheating.

view this post on Zulip Grahame Grieve (Nov 02 2021 at 20:02):

@Lloyd McKenzie should win this one - it's some xml transform thing in the templates. The output gets written straight to std out and there's nothing I can do about it

view this post on Zulip John Moehrke (Nov 02 2021 at 20:02):

I would expect @Jose Costa Teixeira can win too

view this post on Zulip Lloyd McKenzie (Nov 03 2021 at 04:01):

It's on my list to dig into at some point, but given that it doesn't seem to be hurting anything, it's not very high up on the list...

view this post on Zulip Lloyd McKenzie (Nov 03 2021 at 05:50):

Turns out that it's not my fault. :smile: There's no XSLT involved here at all - and I'm pretty sure I never wrote this code...
There's a "String Transform" algorithm being called which seems to just do string substitution of some sort and the process is hollering because the hard-coded templates that are being used (in ValidationPresenter) refer to some variables that apparently aren't defined at the time the 'render' process is being executed.

view this post on Zulip Grahame Grieve (Nov 03 2021 at 05:56):

really? that's very much my thing then

view this post on Zulip Lloyd McKenzie (Nov 03 2021 at 13:54):

Not all transforms are XSLT - just the good ones :wink:


Last updated: Apr 12 2022 at 19:14 UTC