Stream: shorthand
Topic: Open Square Error
Juan Manuel Caputo (May 24 2021 at 10:16):
Hello, im having some troubles to compile my IG.
When I use the command sushi everything goes normal, but since friday, when I try to compile using _genonce.bat a, I get several messages of the kind :
Jekyll: [33m Liquid Warning: Liquid syntax error (line 21): [:open_square, "["] is not a valid expression in "{{[fmt]}}" in CodeSystem-condition-phase-xhis-system.{{[fmt]}}.html←[0m (02:26.0912)
And all the error are related with CodeSystem resources, the codesystem condition-phase-xhis-system is:
CodeSystem: ConditionPhasexHISsystem
Id: condition-phase-xhis-system
Title: "xHIS Condition phase Code System"
Description: "Stage of the Diagnosis"
* #1 "Entry"
* #2 "Transitory"
* #3 "Exit"
Had anyone experence the same problem?, what can I do?.
Thank you in advance
Chris Moesel (May 24 2021 at 13:03):
I just tried this in a simple test project and everything seemed to run OK. You might want to try running _updatePublisher.bat
to make sure you have the latest publisher version. When I run genonce
, it tells me:
FHIR IG Publisher Version 1.1.72 (Git# 381475ffeb1b). Built 2021-05-14T21:21:20.332Z (9 days old)
If you have the latest publisher and it's still doing that, then it might be related to what template you're using (indicated in ig.ini
). For my test I was just using: template = fhir.base.template#current
.
If you continue to have problems, I would suggest posting in #IG creation -- as this seems to be an issue w/ the publisher and/or templating system, not FSH or SUSHI. You'll likely get better help over there.
Juan Manuel Caputo (May 24 2021 at 15:12):
@Chris Moesel , I Tried before with the _updatePublisher.bat but I don't why I get an error witch says that Access Denied.
So after reading your reply I searched in the _updatePublisher.bat where to download the upgrade of the publisher.jar, and finally Worked.
Thank you very much!!!!
Chris Moesel (May 24 2021 at 15:41):
Great. You might want to check if you have the latest IG publisher scripts. I think the gold source location for the latest scripts is here: https://github.com/HL7/ig-publisher-scripts
Hopefully if you update your scripts with the latest versions then they will begin working again!
Jose Costa Teixeira (May 24 2021 at 22:46):
Access Denied can be the Anti Virus Software kicking in.
Jose Costa Teixeira (May 24 2021 at 22:47):
because you have a script trying to download an executable and some AV software is a bit sensitive about that
Juan Manuel Caputo (May 25 2021 at 10:39):
Ahhhh that's very possible, I hadn't think about that. Thanks you!
Last updated: Apr 12 2022 at 19:14 UTC