INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/medcomdk/dk-medcom-carecommunication --branch olw-narrative-47 repo DEBUG:root:Time to deadline 35879.998108 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 35877.976889 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35876.807031 seconds 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. npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported 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-carecommunication/ -out /scratch/repo DEBUG:root:Time to deadline 35871.669651 seconds FHIR IG Publisher Version 2.0.13 (Git# bdf473444570). Built 2025-08-07T03:35:38.89Z (12 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-carecommunication/ -out /scratch/repo Character encoding = UTF-8 / UTF-8 Start Clock @ Tuesday, August 19, 2025, 12:49:02 PM Coordinated Universal Time (2025-08-19T12:49:02Z) Build FHIR IG from /scratch/repo (00:00.020 / 00:00.021, 97Mb) API keys loaded from /etc/fhir-settings.json (00:00.002 / 00:00.023, 97Mb) Package Cache: /var/lib/.fhir/packages (00:00.002 / 00:00.025, 97Mb) Found dependency on hl7.fhir.dk.core#3.2.0 in Sushi config. Pre-installing (00:00.002 / 00:00.028, 97Mb) 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 medcom.fhir.dk.core#dev # TODO: Change this to proper version once Core has been released in Sushi config. Pre-installing (00:01.653 / 00:01.682, 64Mb) Installing medcom.fhir.dk.core#dev # TODO: Change this to proper version once Core has been released to the package cache  Fetching: Unable to install medcom.fhir.dk.core#dev # TODO: Change this to proper version once Core has been released: Unable to find package medcom.fhir.dk.core#dev # TODO: Change this to proper version once Core has been released (00:01.935 / 00:03.617, 112Mb) Trying to go on (00:00.000 / 00:03.617, 112Mb) Found dependency on medcom.fhir.dk.messaging#2.2.2 in Sushi config. Pre-installing (00:00.000 / 00:03.618, 112Mb) Installing medcom.fhir.dk.messaging#2.2.2 to the package cache  Fetching:  Installing medcom.fhir.dk.messaging#2.2.2  done. Found dependency on medcom.fhir.dk.terminology#1.7.0 in Sushi config. Pre-installing (00:07.074 / 00:10.692, 120Mb) Installing medcom.fhir.dk.terminology#1.7.0 to the package cache  Fetching:  Installing medcom.fhir.dk.terminology#1.7.0  done. Found dependency on medcom.fhir.dk.messagedefinitions#1.0.0-trial-use in Sushi config. Pre-installing (00:00.591 / 00:11.283, 124Mb) Installing medcom.fhir.dk.messagedefinitions#1.0.0-trial-use to the package cache  Fetching:  Installing medcom.fhir.dk.messagedefinitions#1.0.0-trial-use  done. Found dependency on hl7.fhir.uv.extensions.r4#5.2.0 in Sushi config. Pre-installing (00:00.454 / 00:11.738, 129Mb) Installing hl7.fhir.uv.extensions.r4#5.2.0 to the package cache  Fetching:  Installing hl7.fhir.uv.extensions.r4#5.2.0  done. Run Sushi on /scratch/repo (00:01.213 / 00:12.952, 176Mb) Sushi: info Running SUSHI v3.16.3 (implements FHIR Shorthand specification v3.0.0) (00:00.570 / 00:13.522, 184Mb) Sushi: info Arguments: (00:00.000 / 00:13.523, 184Mb) Sushi: info --require-latest (00:00.000 / 00:13.523, 184Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:13.523, 184Mb) Sushi: info /scratch/repo (00:00.000 / 00:13.523, 184Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.615 / 00:14.139, 184Mb) Sushi: info Importing FSH text... (00:00.110 / 00:14.250, 184Mb) Sushi: info Preprocessed 22 documents with 17 aliases. (00:00.148 / 00:14.398, 184Mb) Sushi: info Imported 5 definitions and 2 instances. (00:00.023 / 00:14.422, 184Mb) Sushi: info Loaded virtual package sushi-r5forR4#1.0.0 with 7 resources (00:00.105 / 00:14.527, 184Mb) Sushi: info Resolved hl7.fhir.uv.tools.r4#latest to concrete version 0.8.0 (00:00.543 / 00:15.071, 184Mb) 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.000 / 00:15.071, 184Mb) Sushi: info Downloaded hl7.fhir.uv.tools.r4#0.8.0 (00:00.753 / 00:15.825, 184Mb) 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.002 / 00:15.827, 184Mb) Sushi: info Loaded hl7.fhir.uv.tools.r4#0.8.0 with 110 resources (00:00.059 / 00:15.886, 184Mb) Sushi: info Resolved hl7.terminology.r4#latest to concrete version 6.5.0 (00:00.460 / 00:16.347, 184Mb) 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:16.347, 184Mb) Sushi: info Downloaded hl7.terminology.r4#6.5.0 (00:02.435 / 00:18.783, 184Mb) Sushi: info Cached hl7.terminology.r4#6.5.0 to /home/fhiruser/.fhir/packages/hl7.terminology.r4#6.5.0 (00:00.001 / 00:18.784, 184Mb) Sushi: info Loaded hl7.terminology.r4#6.5.0 with 4392 resources (00:01.225 / 00:20.009, 184Mb) Sushi: info Loaded hl7.fhir.dk.core#3.2.0 with 53 resources (00:00.021 / 00:20.031, 184Mb) 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:20.031, 184Mb) Sushi: error Failed to load medcom.fhir.dk.core#current: Failed to download most recent medcom.fhir.dk.core#current from current builds (00:00.037 / 00:20.069, 184Mb) Sushi: info Loaded medcom.fhir.dk.messaging#2.2.2 with 10 resources (00:00.008 / 00:20.078, 184Mb) Sushi: info Loaded medcom.fhir.dk.terminology#1.7.0 with 43 resources (00:00.009 / 00:20.087, 184Mb) Sushi: info Loaded medcom.fhir.dk.messagedefinitions#1.0.0-trial-use with 9 resources (00:00.008 / 00:20.096, 184Mb) Sushi: info Loaded hl7.fhir.uv.extensions.r4#5.2.0 with 759 resources (00:00.225 / 00:20.322, 184Mb) 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:20.322, 184Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:02.646 / 00:22.969, 184Mb) Sushi: info Cached hl7.fhir.r4.core#4.0.1 to /home/fhiruser/.fhir/packages/hl7.fhir.r4.core#4.0.1 (00:00.001 / 00:22.970, 184Mb) Sushi: info Loaded hl7.fhir.r4.core#4.0.1 with 4581 resources (00:01.176 / 00:24.147, 184Mb) Sushi: info Loaded virtual package sushi-local#LOCAL with 0 resources (00:00.011 / 00:24.158, 184Mb) Sushi: info Converting FSH to FHIR resources... (00:00.017 / 00:24.176, 184Mb) Sushi: error No definition for the type "MedComCorePatient" could be found. (00:00.094 / 00:24.271, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.271, 184Mb) Sushi: Line: 25 (00:00.000 / 00:24.271, 184Mb) Sushi: error No definition for the type "MedComCoreEncounter" could be found. (00:00.065 / 00:24.337, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.337, 184Mb) Sushi: Line: 32 (00:00.000 / 00:24.337, 184Mb) Sushi: error No definition for the type "MedComCorePractitionerRole" could be found. (00:00.011 / 00:24.349, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.349, 184Mb) Sushi: Line: 37 (00:00.000 / 00:24.350, 184Mb) Sushi: error Cannot create sender extension; unable to locate extension definition for: medcom-core-sender-extension. (00:00.011 / 00:24.361, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.361, 184Mb) Sushi: Line: 40 (00:00.000 / 00:24.362, 184Mb) Sushi: error No element found at path extension[sender] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.362, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.362, 184Mb) Sushi: Line: 40 (00:00.000 / 00:24.362, 184Mb) Sushi: error No element found at path extension[sender] for FlagRule in MedComCareCommunication, skipping rule (00:00.001 / 00:24.364, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.364, 184Mb) Sushi: Line: 40 (00:00.000 / 00:24.365, 184Mb) Sushi: error Cannot create date extension; unable to locate extension definition for: medcom-core-datetime-extension. (00:00.010 / 00:24.375, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.375, 184Mb) Sushi: Line: 43 (00:00.000 / 00:24.376, 184Mb) Sushi: error No element found at path payload.extension[date] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.377, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.377, 184Mb) Sushi: Line: 43 (00:00.000 / 00:24.377, 184Mb) Sushi: error Cannot create author extension; unable to locate extension definition for: medcom-core-practitioner-extension. (00:00.000 / 00:24.377, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.378, 184Mb) Sushi: Line: 44 (00:00.001 / 00:24.379, 184Mb) Sushi: error No element found at path payload.extension[author] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.379, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.380, 184Mb) Sushi: Line: 44 (00:00.000 / 00:24.380, 184Mb) Sushi: error Cannot create authorContact extension; unable to locate extension definition for: medcom-core-contact-extension. (00:00.000 / 00:24.381, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.381, 184Mb) Sushi: Line: 45 (00:00.000 / 00:24.381, 184Mb) Sushi: error No element found at path payload.extension[authorContact] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.382, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.382, 184Mb) Sushi: Line: 45 (00:00.000 / 00:24.382, 184Mb) Sushi: error Cannot create identifier extension; unable to locate extension definition for: medcom-core-identifier-extension. (00:00.000 / 00:24.383, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.383, 184Mb) Sushi: Line: 46 (00:00.000 / 00:24.383, 184Mb) Sushi: error No element found at path payload.extension[identifier] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.384, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.384, 184Mb) Sushi: Line: 46 (00:00.000 / 00:24.385, 184Mb) Sushi: error No element found at path payload[string].extension[date] for CardRule in MedComCareCommunication, skipping rule (00:00.045 / 00:24.430, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.430, 184Mb) Sushi: Line: 56 (00:00.000 / 00:24.430, 184Mb) Sushi: error No element found at path payload[string].extension[date] for FlagRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.431, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.431, 184Mb) Sushi: Line: 56 (00:00.000 / 00:24.431, 184Mb) Sushi: error No element found at path payload[string].extension[identifier] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.432, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.432, 184Mb) Sushi: Line: 57 (00:00.000 / 00:24.432, 184Mb) Sushi: error No element found at path payload[string].extension[identifier] for FlagRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.433, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.433, 184Mb) Sushi: Line: 57 (00:00.000 / 00:24.433, 184Mb) Sushi: error No element found at path payload[string].extension[author] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.434, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.434, 184Mb) Sushi: Line: 58 (00:00.000 / 00:24.434, 184Mb) Sushi: error No element found at path payload[string].extension[author] for FlagRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.435, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.435, 184Mb) Sushi: Line: 58 (00:00.000 / 00:24.435, 184Mb) Sushi: error No element found at path payload[string].extension[authorContact] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.436, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.436, 184Mb) Sushi: Line: 59 (00:00.000 / 00:24.436, 184Mb) Sushi: error No element found at path payload[string].extension[authorContact] for FlagRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.437, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.437, 184Mb) Sushi: Line: 59 (00:00.000 / 00:24.437, 184Mb) Sushi: error No element found at path payload[attachment].extension[date] for CardRule in MedComCareCommunication, skipping rule (00:00.008 / 00:24.445, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.445, 184Mb) Sushi: Line: 64 (00:00.000 / 00:24.445, 184Mb) Sushi: error No element found at path payload[attachment].extension[date] for FlagRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.446, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.446, 184Mb) Sushi: Line: 64 (00:00.000 / 00:24.446, 184Mb) Sushi: error No element found at path payload[attachment].extension[identifier] for CardRule in MedComCareCommunication, skipping rule (00:00.001 / 00:24.448, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.448, 184Mb) Sushi: Line: 65 (00:00.000 / 00:24.448, 184Mb) Sushi: error No element found at path payload[attachment].extension[identifier] for FlagRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.448, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.449, 184Mb) Sushi: Line: 65 (00:00.000 / 00:24.449, 184Mb) Sushi: error No element found at path payload[attachment].extension[author] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.450, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.450, 184Mb) Sushi: Line: 66 (00:00.000 / 00:24.450, 184Mb) Sushi: error No element found at path payload[attachment].extension[author] for FlagRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.451, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.451, 184Mb) Sushi: Line: 66 (00:00.000 / 00:24.451, 184Mb) Sushi: error No element found at path payload[attachment].extension[authorContact] for CardRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.451, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.452, 184Mb) Sushi: Line: 67 (00:00.000 / 00:24.452, 184Mb) Sushi: error No element found at path payload[attachment].extension[authorContact] for FlagRule in MedComCareCommunication, skipping rule (00:00.000 / 00:24.452, 184Mb) Sushi: File: /scratch/repo/input/fsh/MedComCareCommunication.fsh (00:00.000 / 00:24.453, 184Mb) Sushi: Line: 67 (00:00.000 / 00:24.453, 184Mb) Sushi: error Parent MedComCorePatient not found for TestPatient (00:00.391 / 00:24.844, 184Mb) Sushi: File: /scratch/repo/input/fsh/TestPatient.fsh (00:00.000 / 00:24.844, 184Mb) Sushi: Line: 1 - 5 (00:00.000 / 00:24.844, 184Mb) Sushi: info Converted 5 FHIR StructureDefinitions. (00:00.000 / 00:24.844, 184Mb) Sushi: info Converted 2 FHIR instances. (00:00.053 / 00:24.898, 184Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:24.899, 184Mb) Sushi: info Exported 5 FHIR resources as JSON. (00:00.054 / 00:24.953, 184Mb) Sushi: info Assembling Implementation Guide sources... (00:00.001 / 00:24.954, 184Mb) Sushi: info Generated ImplementationGuide-medcom.fhir.dk.carecommunication.json (00:00.043 / 00:24.998, 184Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:24.998, 184Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:25.000, 184Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.000, 184Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:25.000, 184Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:25.000, 184Mb) Sushi: | | 4 | 0 | 0 | 0 | | (00:00.000 / 00:25.000, 184Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.000, 184Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.000, 184Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:25.000, 184Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:25.000, 184Mb) Sushi: | | 0 | 0 | 2 | | (00:00.000 / 00:25.001, 184Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.001, 184Mb) Sushi: | | (00:00.000 / 00:25.001, 184Mb) Sushi: =================================================================== (00:00.000 / 00:25.001, 184Mb) Sushi: | The docs might be bene-fish-al. 32 Errors 0 Warnings | (00:00.000 / 00:25.001, 184Mb) Sushi: =================================================================== (00:00.000 / 00:25.001, 184Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.026 / 00:25.027, 184Mb) 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.027, 184Mb) Exception: Process exited with an error: 32 (Exit value: 32) (00:00.000 / 00:25.028, 184Mb) Publishing Content Failed: Process exited with an error: 32 (Exit value: 32) (00:00.000 / 00:25.028, 184Mb) (00:00.000 / 00:25.028, 184Mb) Use -? to get command line help (00:00.000 / 00:25.028, 184Mb) (00:00.000 / 00:25.028, 184Mb) Stack Dump (for debugging): (00:00.000 / 00:25.028, 184Mb) org.apache.commons.exec.ExecuteException: Process exited with an error: 32 (Exit value: 32) 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)