INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/medcomdk/dk-medcom-document --branch 2025-08-20-ECG repo DEBUG:root:Time to deadline 35879.998167 seconds Cloning into 'repo'... DEBUG:root:running: wget -q https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar -O publisher.jar DEBUG:root:Time to deadline 35879.580988 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35878.612214 seconds npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. added 140 packages in 5s 15 packages are looking for funding run `npm fund` for details npm notice npm notice New major version of npm available! 9.8.1 -> 11.5.2 npm notice Changelog: npm notice Run `npm install -g npm@11.5.2` to update! npm notice DEBUG:root:running: java -Xms19000m -Xmx19000m -jar ../publisher.jar -ig ig.json -api-key-file /etc/ig.builder.keyfile.ini -fhir-settings /etc/fhir-settings.json -auto-ig-build -tx http://tx.fhir.org -target https://build.fhir.org/ig/medcomdk/dk-medcom-document/ -out /scratch/repo DEBUG:root:Time to deadline 35872.913078 seconds FHIR IG Publisher Version 2.0.13 (Git# bdf473444570). Built 2025-08-07T03:35:38.89Z (14 days old) Detected Java version: 21-ea from /usr/local/openjdk-21 on Linux/amd64 (64bit). 19008MB available dir = /scratch/repo, path = /usr/local/openjdk-21/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Parameters: -ig ig.json -api-key-file /etc/ig.builder.keyfile.ini -fhir-settings /etc/fhir-settings.json -auto-ig-build -tx http://tx.fhir.org -target https://build.fhir.org/ig/medcomdk/dk-medcom-document/ -out /scratch/repo Character encoding = UTF-8 / UTF-8 Start Clock @ Thursday, August 21, 2025, 5:45:33 AM Coordinated Universal Time (2025-08-21T05:45:33Z) Build FHIR IG from /scratch/repo (00:00.026 / 00:00.027, 97Mb) API keys loaded from /etc/fhir-settings.json (00:00.002 / 00:00.029, 97Mb) Package Cache: /var/lib/.fhir/packages (00:00.002 / 00:00.032, 97Mb) Found dependency on medcom.fhir.dk.xdsmetadata#1.0.1 in Sushi config. Pre-installing (00:00.004 / 00:00.037, 97Mb) Installing medcom.fhir.dk.xdsmetadata#1.0.1 to the package cache  Fetching:  Installing medcom.fhir.dk.xdsmetadata#1.0.1  done. Found dependency on medcom.fhir.dk.core#2.4.0 in Sushi config. Pre-installing (00:01.175 / 00:01.212, 47Mb) Installing medcom.fhir.dk.core#2.4.0 to the package cache  Fetching:  Installing medcom.fhir.dk.core#2.4.0  done. Found dependency on hl7.fhir.dk.core#3.2.0 in Sushi config. Pre-installing (00:00.427 / 00:01.640, 55Mb) Installing hl7.fhir.dk.core#3.2.0 to the package cache  Fetching:  Installing hl7.fhir.dk.core#3.2.0  done. Found dependency on ihe.iti.mhd#4.2.2 in Sushi config. Pre-installing (00:00.750 / 00:02.391, 63Mb) Installing ihe.iti.mhd#4.2.2 to the package cache  Fetching:  Installing ihe.iti.mhd#4.2.2  done. Found dependency on hl7.fhir.extensions.r5#4.0.1 in Sushi config. Pre-installing (00:00.870 / 00:03.261, 79Mb) Installing hl7.fhir.extensions.r5#4.0.1 to the package cache  Fetching: Error fetching https://packages2.fhir.org/packages/hl7.fhir.extensions.r5: Not Found Error fetching https://packages.fhir.org/hl7.fhir.extensions.r5: Not Found Unable to install hl7.fhir.extensions.r5#4.0.1: Unable to resolve package id hl7.fhir.extensions.r5#4.0.1 (00:01.136 / 00:04.398, 127Mb) Trying to go on (00:00.000 / 00:04.398, 127Mb) Run Sushi on /scratch/repo (00:00.002 / 00:04.400, 127Mb) Sushi: info Running SUSHI v3.16.3 (implements FHIR Shorthand specification v3.0.0) (00:00.678 / 00:05.079, 135Mb) Sushi: info Arguments: (00:00.000 / 00:05.079, 135Mb) Sushi: info --require-latest (00:00.000 / 00:05.080, 135Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:05.080, 135Mb) Sushi: info /scratch/repo (00:00.000 / 00:05.080, 135Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.852 / 00:05.933, 135Mb) Sushi: info Importing FSH text... (00:00.145 / 00:06.078, 135Mb) Sushi: info Preprocessed 12 documents with 48 aliases. (00:00.197 / 00:06.275, 135Mb) Sushi: info Imported 10 definitions and 3 instances. (00:00.016 / 00:06.292, 135Mb) Sushi: info Loaded virtual package sushi-r5forR4#1.0.0 with 7 resources (00:00.158 / 00:06.451, 135Mb) Sushi: info Resolved hl7.fhir.uv.tools.r4#latest to concrete version 0.8.0 (00:00.634 / 00:07.085, 135Mb) Sushi: info Attempting to download hl7.fhir.uv.tools.r4#0.8.0 from https://packages.fhir.org/hl7.fhir.uv.tools.r4/0.8.0 (00:00.001 / 00:07.086, 135Mb) Sushi: info Downloaded hl7.fhir.uv.tools.r4#0.8.0 (00:00.828 / 00:07.915, 135Mb) Sushi: info Cached hl7.fhir.uv.tools.r4#0.8.0 to /home/fhiruser/.fhir/packages/hl7.fhir.uv.tools.r4#0.8.0 (00:00.003 / 00:07.918, 135Mb) Sushi: info Loaded hl7.fhir.uv.tools.r4#0.8.0 with 110 resources (00:00.076 / 00:07.995, 135Mb) Sushi: info Resolved hl7.terminology.r4#latest to concrete version 6.5.0 (00:00.467 / 00:08.462, 135Mb) Sushi: info Attempting to download hl7.terminology.r4#6.5.0 from https://packages.fhir.org/hl7.terminology.r4/6.5.0 (00:00.000 / 00:08.463, 135Mb) Sushi: info Downloaded hl7.terminology.r4#6.5.0 (00:02.538 / 00:11.002, 143Mb) Sushi: info Cached hl7.terminology.r4#6.5.0 to /home/fhiruser/.fhir/packages/hl7.terminology.r4#6.5.0 (00:00.001 / 00:11.003, 143Mb) Sushi: info Loaded hl7.terminology.r4#6.5.0 with 4392 resources (00:01.440 / 00:12.444, 143Mb) Sushi: info Resolved hl7.fhir.uv.extensions.r4#latest to concrete version 5.2.0 (00:00.458 / 00:12.903, 143Mb) Sushi: info Attempting to download hl7.fhir.uv.extensions.r4#5.2.0 from https://packages.fhir.org/hl7.fhir.uv.extensions.r4/5.2.0 (00:00.000 / 00:12.903, 143Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.2.0 (00:01.493 / 00:14.396, 143Mb) Sushi: info Cached hl7.fhir.uv.extensions.r4#5.2.0 to /home/fhiruser/.fhir/packages/hl7.fhir.uv.extensions.r4#5.2.0 (00:00.001 / 00:14.398, 143Mb) Sushi: info Loaded hl7.fhir.uv.extensions.r4#5.2.0 with 759 resources (00:00.249 / 00:14.647, 143Mb) Sushi: info Loaded medcom.fhir.dk.xdsmetadata#1.0.1 with 17 resources (00:00.006 / 00:14.654, 143Mb) Sushi: info Loaded medcom.fhir.dk.core#2.4.0 with 18 resources (00:00.015 / 00:14.669, 143Mb) Sushi: info Loaded hl7.fhir.dk.core#3.2.0 with 53 resources (00:00.026 / 00:14.696, 143Mb) Sushi: info Loaded ihe.iti.mhd#4.2.2 with 65 resources (00:00.054 / 00:14.750, 143Mb) Sushi: info Loading supplemental version of FHIR to support extensions from hl7.fhir.extensions.r5 (00:00.000 / 00:14.750, 143Mb) Sushi: info Attempting to download hl7.fhir.r5.core#5.0.0 from https://packages.fhir.org/hl7.fhir.r5.core/5.0.0 (00:00.014 / 00:14.765, 143Mb) Sushi: info Downloaded hl7.fhir.r5.core#5.0.0 (00:03.600 / 00:18.365, 143Mb) Sushi: info Cached hl7.fhir.r5.core#5.0.0 to /home/fhiruser/.fhir/packages/hl7.fhir.r5.core#5.0.0 (00:00.001 / 00:18.366, 143Mb) Sushi: info Loaded hl7.fhir.r5.core#5.0.0 with 2968 resources (00:01.151 / 00:19.518, 143Mb) Sushi: info Attempting to download hl7.fhir.r4.core#4.0.1 from https://packages.fhir.org/hl7.fhir.r4.core/4.0.1 (00:00.000 / 00:19.519, 143Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:02.953 / 00:22.473, 143Mb) Sushi: info Cached hl7.fhir.r4.core#4.0.1 to /home/fhiruser/.fhir/packages/hl7.fhir.r4.core#4.0.1 (00:00.002 / 00:22.475, 143Mb) Sushi: info Loaded hl7.fhir.r4.core#4.0.1 with 4581 resources (00:01.269 / 00:23.744, 143Mb) Sushi: info Loaded virtual package sushi-local#LOCAL with 0 resources (00:00.005 / 00:23.750, 143Mb) Sushi: info Converting FSH to FHIR resources... (00:00.019 / 00:23.770, 143Mb) Sushi: error Resolved value "SorPracticeSettingCode" is not a valid URI. (00:00.087 / 00:23.858, 143Mb) Sushi: File: /scratch/repo/input/fsh/MedComBasicDocumentReference.fsh (00:00.000 / 00:23.858, 143Mb) Sushi: Line: 8 (00:00.000 / 00:23.858, 143Mb) Sushi: error No definition for the type "DkCorePractitionerRole" could be found. (00:00.022 / 00:23.880, 143Mb) Sushi: File: /scratch/repo/input/fsh/MedComBasicDocumentReference.fsh (00:00.000 / 00:23.881, 143Mb) Sushi: Line: 9 (00:00.000 / 00:23.881, 143Mb) Sushi: warn At least one slice of DocumentReference.identifier has a max greater than the overall element max. The max of the following slice(s) has been reduced to match the max of DocumentReference.identifier: entryUUID (00:00.355 / 00:24.236, 143Mb) Sushi: error Cannot constrain cardinality to 0..1, as it does not fit within the original 1..1 cardinality. (00:00.221 / 00:24.458, 143Mb) Sushi: File: /scratch/repo/input/fsh/MedComDocumentReference.fsh (00:00.000 / 00:24.458, 143Mb) Sushi: Line: 67 (00:00.000 / 00:24.458, 143Mb) Sushi: info Converted 10 FHIR StructureDefinitions. (00:00.928 / 00:25.387, 143Mb) Sushi: info Converted 3 FHIR instances. (00:00.189 / 00:25.576, 143Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:25.577, 143Mb) Sushi: info Exported 13 FHIR resources as JSON. (00:00.075 / 00:25.653, 143Mb) Sushi: info Assembling Implementation Guide sources... (00:00.002 / 00:25.655, 143Mb) Sushi: info Generated ImplementationGuide-medcom.fhir.dk.document.json (00:00.059 / 00:25.714, 143Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:25.714, 143Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:25.716, 143Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.716, 143Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:25.717, 143Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:25.717, 143Mb) Sushi: | | 8 | 2 | 0 | 0 | | (00:00.000 / 00:25.717, 143Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.717, 143Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.717, 143Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:25.717, 143Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:25.718, 143Mb) Sushi: | | 0 | 0 | 3 | | (00:00.000 / 00:25.718, 143Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.718, 143Mb) Sushi: | | (00:00.000 / 00:25.718, 143Mb) Sushi: =================================================================== (00:00.000 / 00:25.718, 143Mb) Sushi: | You should do some sole searching. 3 Errors 1 Warning | (00:00.000 / 00:25.719, 143Mb) Sushi: =================================================================== (00:00.000 / 00:25.719, 143Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.017 / 00:25.736, 143Mb) Note: Check that Sushi is installed correctly ("npm install -g fsh-sushi". On windows, get npm from https://www.npmjs.com/get-npm) (00:00.000 / 00:25.736, 143Mb) Exception: Process exited with an error: 3 (Exit value: 3) (00:00.000 / 00:25.737, 143Mb) Publishing Content Failed: Process exited with an error: 3 (Exit value: 3) (00:00.000 / 00:25.737, 143Mb) (00:00.000 / 00:25.737, 143Mb) Use -? to get command line help (00:00.000 / 00:25.737, 143Mb) (00:00.000 / 00:25.737, 143Mb) Stack Dump (for debugging): (00:00.000 / 00:25.737, 143Mb) org.apache.commons.exec.ExecuteException: Process exited with an error: 3 (Exit value: 3) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153) at org.hl7.fhir.igtools.publisher.FSHRunner.runFsh(FSHRunner.java:89) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:2752) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:1020) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:15790)