Skip to content

move to fhir2.base.template#current#24

Open
ralych wants to merge 2 commits into
masterfrom
23-rlu_fix_base_template_dep
Open

move to fhir2.base.template#current#24
ralych wants to merge 2 commits into
masterfrom
23-rlu_fix_base_template_dep

Conversation

@ralych
Copy link
Copy Markdown
Collaborator

@ralych ralych commented Apr 1, 2026

Thanks for providing the PR!

Please note that this is a trusted template. Template trusted is the same as us trusting you to inject code into content at
build.fhir.org, and to run code during the ci-build process. For this PR and review ensure that no rogue code makes it's way into the template.

See https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Trusted.20Template.20Process for additional information.

@ralych ralych requested review from oliveregger and qligier April 1, 2026 09:21
@ralych ralych marked this pull request as draft April 2, 2026 06:31
@ralych ralych removed request for oliveregger and qligier April 2, 2026 06:32
@ralych
Copy link
Copy Markdown
Collaborator Author

ralych commented Apr 2, 2026

there is an incompatibility between fhir2.base.template#current and this template. it works fine with fhir2.base.template#0.1.0 except of a lot of errors according to the file assets/images/che.svg which seems missing.
adding it to this template works as a workaround.

error with "#current":
Run Template (00:15.516 / 02:27.303, 1Gb) Publishing Content Failed: com.google.gson.stream.MalformedJsonException: Unterminated object at line 133 column 131 path $.issue[65].details.text See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json (00:08.628 / 02:35.932, 2Gb) (00:00.000 / 02:35.932, 2Gb) Use -? to get command line help (00:00.000 / 02:35.932, 2Gb) (00:00.000 / 02:35.933, 2Gb) Stack Dump (for debugging): (00:00.000 / 02:35.933, 2Gb) com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 133 column 131 path $.issue[65].details.text See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json at com.google.gson.internal.Streams.parse(Streams.java:58) at com.google.gson.JsonParser.parseReader(JsonParser.java:144) at com.google.gson.JsonParser.parseReader(JsonParser.java:110) at com.google.gson.JsonParser.parseString(JsonParser.java:92) at org.hl7.fhir.r5.formats.JsonParserBase.loadJson(JsonParserBase.java:283) at org.hl7.fhir.r5.formats.JsonParserBase.parse(JsonParserBase.java:137) at org.hl7.fhir.igtools.templates.Template.runScriptTarget(Template.java:408) at org.hl7.fhir.igtools.templates.Template.beforeGenerateEvent(Template.java:584) at org.hl7.fhir.igtools.publisher.PublisherGenerator.templateBeforeGenerate(PublisherGenerator.java:3318) at org.hl7.fhir.igtools.publisher.PublisherGenerator.generate(PublisherGenerator.java:291) at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:429) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:233) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:1600) Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 133 column 131 path $.issue[65].details.text See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1817) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:616) at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:538) at com.google.gson.internal.bind.JsonElementTypeAdapter.read(JsonElementTypeAdapter.java:95) at com.google.gson.internal.bind.JsonElementTypeAdapter.read(JsonElementTypeAdapter.java:35) at com.google.gson.internal.Streams.parse(Streams.java:46) ... 12 more

@ralych ralych marked this pull request as ready for review April 20, 2026 07:07
@ralych
Copy link
Copy Markdown
Collaborator Author

ralych commented Apr 20, 2026

there is an incompatibility between fhir2.base.template#current and this template. it works fine with fhir2.base.template#0.1.0 except of a lot of errors according to the file assets/images/che.svg which seems missing. adding it to this template works as a workaround.

error with "#current": Run Template (00:15.516 / 02:27.303, 1Gb) Publishing Content Failed: com.google.gson.stream.MalformedJsonException: Unterminated object at line 133 column 131 path $.issue[65].details.text See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json (00:08.628 / 02:35.932, 2Gb) (00:00.000 / 02:35.932, 2Gb) Use -? to get command line help (00:00.000 / 02:35.932, 2Gb) (00:00.000 / 02:35.933, 2Gb) Stack Dump (for debugging): (00:00.000 / 02:35.933, 2Gb) com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 133 column 131 path $.issue[65].details.text See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json at com.google.gson.internal.Streams.parse(Streams.java:58) at com.google.gson.JsonParser.parseReader(JsonParser.java:144) at com.google.gson.JsonParser.parseReader(JsonParser.java:110) at com.google.gson.JsonParser.parseString(JsonParser.java:92) at org.hl7.fhir.r5.formats.JsonParserBase.loadJson(JsonParserBase.java:283) at org.hl7.fhir.r5.formats.JsonParserBase.parse(JsonParserBase.java:137) at org.hl7.fhir.igtools.templates.Template.runScriptTarget(Template.java:408) at org.hl7.fhir.igtools.templates.Template.beforeGenerateEvent(Template.java:584) at org.hl7.fhir.igtools.publisher.PublisherGenerator.templateBeforeGenerate(PublisherGenerator.java:3318) at org.hl7.fhir.igtools.publisher.PublisherGenerator.generate(PublisherGenerator.java:291) at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:429) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:233) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:1600) Caused by: com.google.gson.stream.MalformedJsonException: Unterminated object at line 133 column 131 path $.issue[65].details.text See https://github.com/google/gson/blob/main/Troubleshooting.md#malformed-json at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1817) at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:616) at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:538) at com.google.gson.internal.bind.JsonElementTypeAdapter.read(JsonElementTypeAdapter.java:95) at com.google.gson.internal.bind.JsonElementTypeAdapter.read(JsonElementTypeAdapter.java:35) at com.google.gson.internal.Streams.parse(Streams.java:46) ... 12 more

seems to be resolved...

@ralych ralych requested a review from oliveregger April 20, 2026 07:08
@ralych ralych changed the title move to fhir2.base.template#0.1.0. move to fhir2.base.template#current Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant