INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/medcomdk/dk-medcom-notes --branch main repo DEBUG:root:Time to deadline 35879.997942 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.630494 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35878.30434 seconds npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 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 139 packages in 9s 14 packages are looking for funding run `npm fund` for details npm notice npm notice New major version of npm available! 9.8.1 -> 11.7.0 npm notice Changelog: npm notice Run `npm install -g npm@11.7.0` 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-notes/ -out /scratch/repo DEBUG:root:Time to deadline 35868.595021 seconds FHIR IG Publisher Version 2.0.29 (Git# 826a7eb003d6). Built 2025-12-17T01:19:30.102Z (6 hours 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-notes/ -out /scratch/repo Character encoding = UTF-8 / UTF-8 Start Clock @ Wednesday, December 17, 2025, 8:08:10 AM Coordinated Universal Time (2025-12-17T08:08:10Z) Build FHIR IG from /scratch/repo (00:00.027 / 00:00.027, 97Mb) API keys loaded from /etc/fhir-settings.json (00:00.002 / 00:00.030, 97Mb) Package Cache: /var/lib/.fhir/packages (00:00.003 / 00:00.033, 97Mb) Found dependency on ihe.iti.mhd#4.2.3 in Sushi config. Pre-installing (00:00.007 / 00:00.041, 97Mb) Installing ihe.iti.mhd#4.2.3 to the package cache  Fetching:  Installing ihe.iti.mhd#4.2.3  done. Found dependency on hl7.fhir.dk.core#3.4.0 in Sushi config. Pre-installing (00:02.480 / 00:02.521, 72Mb) Installing hl7.fhir.dk.core#3.4.0 to the package cache  Fetching:  Installing hl7.fhir.dk.core#3.4.0  done. Found dependency on medcom.fhir.dk.core#dev in Sushi config. Pre-installing (00:01.345 / 00:03.866, 88Mb) Unable to check package currency: medcom.fhir.dk.core: medcom.fhir.dk.core Installing medcom.fhir.dk.core#current to the package cache  Fetching:  Installing medcom.fhir.dk.core#current  done. Found dependency on medcom.fhir.dk.terminology#2.0.2 in Sushi config. Pre-installing (00:00.924 / 00:04.791, 136Mb) Installing medcom.fhir.dk.terminology#2.0.2 to the package cache  Fetching:  Installing medcom.fhir.dk.terminology#2.0.2  done. Found dependency on medcom.fhir.dk.xdsmetadata#dev in Sushi config. Pre-installing (00:00.467 / 00:05.258, 144Mb) Unable to check package currency: medcom.fhir.dk.xdsmetadata: medcom.fhir.dk.xdsmetadata Installing medcom.fhir.dk.xdsmetadata#current to the package cache  Fetching:  Installing medcom.fhir.dk.xdsmetadata#current  done. Found dependency on medcom.fhir.dk.document#dev in Sushi config. Pre-installing (00:00.147 / 00:05.406, 144Mb) Unable to check package currency: medcom.fhir.dk.document: medcom.fhir.dk.document Installing medcom.fhir.dk.document#current to the package cache  Fetching: Unable to install medcom.fhir.dk.document#dev: Unable to fetch: Not Found (00:00.006 / 00:05.413, 144Mb) Trying to go on (00:00.000 / 00:05.413, 144Mb) Found dependency on hl7.fhir.uv.extensions.r4#5.2.0 in Sushi config. Pre-installing (00:00.000 / 00:05.413, 144Mb) Installing hl7.fhir.uv.extensions.r4#5.2.0 to the package cache  Fetching:  Installing hl7.fhir.uv.extensions.r4#5.2.0  done. Found dependency on hl7.fhir.extensions.r5#4.0.1 in Sushi config. Pre-installing (00:04.468 / 00:09.882, 240Mb) 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:00.612 / 00:10.494, 245Mb) Trying to go on (00:00.000 / 00:10.495, 245Mb) Run Sushi on /scratch/repo (00:00.001 / 00:10.496, 245Mb) Sushi: info Running SUSHI v3.16.5 (implements FHIR Shorthand specification v3.0.0) (00:00.748 / 00:11.245, 248Mb) Sushi: info Arguments: (00:00.000 / 00:11.245, 248Mb) Sushi: info --require-latest (00:00.000 / 00:11.245, 248Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:11.246, 248Mb) Sushi: info /scratch/repo (00:00.000 / 00:11.246, 248Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.675 / 00:11.921, 248Mb) Sushi: info Importing FSH text... (00:00.156 / 00:12.078, 248Mb) Sushi: info Preprocessed 16 documents with 9 aliases. (00:00.211 / 00:12.289, 248Mb) Sushi: info Imported 3 definitions and 13 instances. (00:00.014 / 00:12.304, 248Mb) Sushi: info Loaded virtual package sushi-r5forR4#1.0.0 with 7 resources (00:00.164 / 00:12.468, 248Mb) Sushi: info Resolved hl7.fhir.uv.tools.r4#latest to concrete version 0.9.0 (00:00.625 / 00:13.094, 248Mb) Sushi: info Attempting to download hl7.fhir.uv.tools.r4#0.9.0 from https://packages.fhir.org/hl7.fhir.uv.tools.r4/0.9.0 (00:00.001 / 00:13.095, 248Mb) Sushi: info Downloaded hl7.fhir.uv.tools.r4#0.9.0 (00:00.837 / 00:13.933, 248Mb) Sushi: info Cached hl7.fhir.uv.tools.r4#0.9.0 to /home/fhiruser/.fhir/packages/hl7.fhir.uv.tools.r4#0.9.0 (00:00.003 / 00:13.936, 248Mb) Sushi: info Loaded hl7.fhir.uv.tools.r4#0.9.0 with 117 resources (00:00.084 / 00:14.020, 248Mb) Sushi: info Resolved hl7.terminology.r4#latest to concrete version 7.0.1 (00:00.472 / 00:14.493, 248Mb) Sushi: info Attempting to download hl7.terminology.r4#7.0.1 from https://packages.fhir.org/hl7.terminology.r4/7.0.1 (00:00.000 / 00:14.493, 248Mb) Sushi: info Downloaded hl7.terminology.r4#7.0.1 (00:02.852 / 00:17.346, 248Mb) Sushi: info Cached hl7.terminology.r4#7.0.1 to /home/fhiruser/.fhir/packages/hl7.terminology.r4#7.0.1 (00:00.001 / 00:17.347, 248Mb) Sushi: info Loaded hl7.terminology.r4#7.0.1 with 4096 resources (00:01.744 / 00:19.092, 248Mb) Sushi: info Loaded ihe.iti.mhd#4.2.3 with 64 resources (00:00.072 / 00:19.165, 248Mb) Sushi: info Loaded hl7.fhir.dk.core#3.4.0 with 67 resources (00:00.050 / 00:19.215, 248Mb) Sushi: info Falling back to medcom.fhir.dk.core#current since medcom.fhir.dk.core#dev is not locally cached. To avoid this, add medcom.fhir.dk.core#dev to your local FHIR cache by building it locally with the HL7 FHIR IG Publisher. (00:00.000 / 00:19.216, 248Mb) Sushi: info Loaded medcom.fhir.dk.core#current with 18 resources (00:00.142 / 00:19.359, 248Mb) Sushi: info Loaded medcom.fhir.dk.terminology#2.0.2 with 46 resources (00:00.016 / 00:19.375, 248Mb) Sushi: info Falling back to medcom.fhir.dk.xdsmetadata#current since medcom.fhir.dk.xdsmetadata#dev is not locally cached. To avoid this, add medcom.fhir.dk.xdsmetadata#dev to your local FHIR cache by building it locally with the HL7 FHIR IG Publisher. (00:00.000 / 00:19.375, 248Mb) Sushi: info Loaded medcom.fhir.dk.xdsmetadata#current with 17 resources (00:00.061 / 00:19.437, 248Mb) Sushi: info Falling back to medcom.fhir.dk.document#current since medcom.fhir.dk.document#dev is not locally cached. To avoid this, add medcom.fhir.dk.document#dev to your local FHIR cache by building it locally with the HL7 FHIR IG Publisher. (00:00.000 / 00:19.438, 248Mb) Sushi: error Failed to load medcom.fhir.dk.document#current: Failed to download most recent medcom.fhir.dk.document#current from current builds (00:00.041 / 00:19.479, 248Mb) Sushi: info Loaded hl7.fhir.uv.extensions.r4#5.2.0 with 759 resources (00:00.341 / 00:19.821, 248Mb) Sushi: info Loading supplemental version of FHIR to support extensions from hl7.fhir.extensions.r5 (00:00.000 / 00:19.821, 248Mb) 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:19.836, 248Mb) Sushi: info Downloaded hl7.fhir.r5.core#5.0.0 (00:04.081 / 00:23.917, 248Mb) 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:23.918, 248Mb) Sushi: info Loaded hl7.fhir.r5.core#5.0.0 with 2968 resources (00:01.371 / 00:25.290, 248Mb) 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:25.290, 248Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:03.400 / 00:28.691, 248Mb) 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:28.694, 248Mb) Sushi: info Loaded hl7.fhir.r4.core#4.0.1 with 4581 resources (00:01.500 / 00:30.195, 248Mb) Sushi: info Loaded virtual package sushi-local#LOCAL with 0 resources (00:00.006 / 00:30.202, 248Mb) Sushi: info Converting FSH to FHIR resources... (00:00.023 / 00:30.225, 248Mb) Sushi: error Parent MedComDocumentBundle not found for MedComNotesBundle (00:00.014 / 00:30.239, 248Mb) Sushi: File: /scratch/repo/input/fsh/MedComNotesBundle.fsh (00:00.000 / 00:30.240, 248Mb) Sushi: Line: 1 - 14 (00:00.000 / 00:30.240, 248Mb) Sushi: error Parent MedComDocumentComposition not found for MedComNotesComposition (00:00.000 / 00:30.240, 248Mb) Sushi: File: /scratch/repo/input/fsh/MedComNotesComposition.fsh (00:00.000 / 00:30.240, 248Mb) Sushi: Line: 1 - 22 (00:00.000 / 00:30.240, 248Mb) Sushi: error Parent MedComDocumentObservation not found for MedComNotesObservation (00:00.004 / 00:30.245, 248Mb) Sushi: File: /scratch/repo/input/fsh/MedComNotesObservation.fsh (00:00.000 / 00:30.245, 248Mb) Sushi: Line: 1 - 31 (00:00.000 / 00:30.245, 248Mb) Sushi: info Converted 3 FHIR StructureDefinitions. (00:00.000 / 00:30.246, 248Mb) Sushi: error InstanceOf MedComNotesBundle not found for 9521a7f0-bad4-4a46-8c51-cd8378b24106 (00:00.068 / 00:30.314, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-1-minimal.fsh (00:00.000 / 00:30.314, 248Mb) Sushi: Line: 1 - 17 (00:00.000 / 00:30.315, 248Mb) Sushi: error InstanceOf MedComNotesComposition not found for 43fe2ddc-fd31-443b-bef0-e29c030d6572 (00:00.000 / 00:30.315, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-1-minimal.fsh (00:00.000 / 00:30.315, 248Mb) Sushi: Line: 19 - 42 (00:00.000 / 00:30.315, 248Mb) Sushi: error InstanceOf MedComDocumentPatient not found for b3b07166-24d7-462b-acb3-1a29269c4740 (00:00.001 / 00:30.317, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-1-minimal.fsh (00:00.000 / 00:30.317, 248Mb) Sushi: Line: 45 - 56 (00:00.000 / 00:30.317, 248Mb) Sushi: error InstanceOf MedComDocumentOrganization not found for b3860fb8-4b1d-4be5-8290-e6a026d10555 (00:00.001 / 00:30.318, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-1-minimal.fsh (00:00.000 / 00:30.318, 248Mb) Sushi: Line: 59 - 68 (00:00.000 / 00:30.318, 248Mb) Sushi: error InstanceOf MedComNotesObservation not found for d2c9d517-3abd-450e-a3c2-18f18da6fd88 (00:00.000 / 00:30.319, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-1-minimal.fsh (00:00.000 / 00:30.319, 248Mb) Sushi: Line: 71 - 90 (00:00.000 / 00:30.319, 248Mb) Sushi: error InstanceOf MedComNotesBundle not found for ba7d908a-0134-4f28-b5f5-0fcaf088e60b (00:00.000 / 00:30.319, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-2-maximum.fsh (00:00.000 / 00:30.320, 248Mb) Sushi: Line: 1 - 21 (00:00.000 / 00:30.320, 248Mb) Sushi: error InstanceOf MedComNotesComposition not found for cff723a9-fae7-4fc6-8db2-6e49cbbc928a (00:00.000 / 00:30.321, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-2-maximum.fsh (00:00.000 / 00:30.321, 248Mb) Sushi: Line: 23 - 47 (00:00.000 / 00:30.321, 248Mb) Sushi: error InstanceOf MedComDocumentPatient not found for d65cd8db-4520-4264-87be-a5fd01fb9762 (00:00.001 / 00:30.322, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-2-maximum.fsh (00:00.000 / 00:30.323, 248Mb) Sushi: Line: 50 - 61 (00:00.000 / 00:30.323, 248Mb) Sushi: error InstanceOf MedComDocumentPractitionerRole not found for bb6fa4e1-f8b1-4bf4-b77e-bb03b2cc9820 (00:00.001 / 00:30.324, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-2-maximum.fsh (00:00.000 / 00:30.324, 248Mb) Sushi: Line: 64 - 74 (00:00.000 / 00:30.324, 248Mb) Sushi: error InstanceOf MedComDocumentPractitioner not found for 48ed6310-3095-44da-9e34-d1cd6bd830c9 (00:00.001 / 00:30.326, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-2-maximum.fsh (00:00.000 / 00:30.326, 248Mb) Sushi: Line: 76 - 86 (00:00.000 / 00:30.326, 248Mb) Sushi: error InstanceOf MedComDocumentOrganization not found for f8d0eb07-5336-4005-9081-b065f9a82663 (00:00.001 / 00:30.328, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-2-maximum.fsh (00:00.000 / 00:30.328, 248Mb) Sushi: Line: 88 - 99 (00:00.000 / 00:30.328, 248Mb) Sushi: error InstanceOf MedComNotesObservation not found for if810168-ee7c-4f34-8012-9aff6c1d86e7 (00:00.000 / 00:30.329, 248Mb) Sushi: File: /scratch/repo/input/fsh/Instance-2-maximum.fsh (00:00.000 / 00:30.329, 248Mb) Sushi: Line: 102 - 121 (00:00.000 / 00:30.329, 248Mb) Sushi: info Converted 13 FHIR instances. (00:00.000 / 00:30.329, 248Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:30.330, 248Mb) Sushi: info Exported 1 FHIR resources as JSON. (00:00.002 / 00:30.332, 248Mb) Sushi: info Assembling Implementation Guide sources... (00:00.001 / 00:30.334, 248Mb) Sushi: info Generated ImplementationGuide-medcom.fhir.dk.notes.json (00:00.068 / 00:30.402, 248Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:30.403, 248Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:30.404, 248Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:30.405, 248Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:30.405, 248Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:30.405, 248Mb) Sushi: | | 0 | 0 | 0 | 0 | | (00:00.000 / 00:30.405, 248Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:30.405, 248Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:30.405, 248Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:30.405, 248Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:30.405, 248Mb) Sushi: | | 0 | 0 | 1 | | (00:00.000 / 00:30.405, 248Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:30.406, 248Mb) Sushi: | | (00:00.000 / 00:30.406, 248Mb) Sushi: =================================================================== (00:00.000 / 00:30.406, 248Mb) Sushi: | Looks like you're floundering 16 Errors 0 Warnings | (00:00.000 / 00:30.406, 248Mb) Sushi: =================================================================== (00:00.000 / 00:30.406, 248Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.018 / 00:30.424, 248Mb) 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:30.425, 248Mb) Exception: Process exited with an error: 16 (Exit value: 16) (00:00.000 / 00:30.425, 248Mb) Publishing Content Failed: Process exited with an error: 16 (Exit value: 16) (00:00.000 / 00:30.425, 248Mb) (00:00.000 / 00:30.425, 248Mb) Use -? to get command line help (00:00.000 / 00:30.425, 248Mb) (00:00.000 / 00:30.425, 248Mb) Stack Dump (for debugging): (00:00.000 / 00:30.425, 248Mb) org.apache.commons.exec.ExecuteException: Process exited with an error: 16 (Exit value: 16) 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.PublisherIGLoader.initialize(PublisherIGLoader.java:143) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:222) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:1594)