INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/SIMSADIs/FichaPSJ --branch main repo DEBUG:root:Time to deadline 35879.997487 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.580178 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35878.059099 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 128 packages in 6s 11 packages are looking for funding run `npm fund` for details npm notice npm notice New major version of npm available! 9.8.1 -> 10.9.0 npm notice Changelog: npm notice Run `npm install -g npm@10.9.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/SIMSADIs/FichaPSJ/ -out /scratch/repo DEBUG:root:Time to deadline 35871.766032 seconds FHIR IG Publisher Version 1.7.1 (Git# 74ea670a3891). Built 2024-10-25T03:52:19.844Z (13 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/SIMSADIs/FichaPSJ/ -out /scratch/repo Start Clock @ Thursday, November 7, 2024, 3:35:59 PM Coordinated Universal Time (2024-11-07T15:35:59Z) Build FHIR IG from /scratch/repo (00:00.028 / 00:00.028, 89Mb) API keys loaded from /etc/fhir-settings.json (00:00.004 / 00:00.032, 89Mb) Package Cache: /var/lib/.fhir/packages (00:00.003 / 00:00.035, 89Mb) Run Sushi on /scratch/repo (00:00.006 / 00:00.042, 89Mb) Sushi: info Running SUSHI v3.12.0 (implements FHIR Shorthand specification v3.0.0) (00:00.724 / 00:00.766, 113Mb) Sushi: info Arguments: (00:00.000 / 00:00.767, 113Mb) Sushi: info --require-latest (00:00.000 / 00:00.767, 113Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:00.768, 113Mb) Sushi: info /scratch/repo (00:00.000 / 00:00.768, 113Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.754 / 00:01.523, 113Mb) Sushi: info Importing FSH text... (00:00.166 / 00:01.689, 113Mb) Sushi: error mismatched input '' expecting {'MS', 'SU', 'TU', 'N', 'D', 'from', 'contains', 'named', 'and', 'only', 'or', 'obeys', 'true', 'false', 'include', 'exclude', 'codes', 'where', 'valueset', 'system', 'contentReference', STRING, MULTILINE_STRING, NUMBER, UNIT, CODE, DATETIME, TIME, REFERENCE, CANONICAL, SEQUENCE} (00:00.494 / 00:02.184, 113Mb) Sushi: File: /scratch/repo/input/fsh/profesional.fsh (00:00.000 / 00:02.184, 113Mb) Sushi: Line: 33 (00:00.000 / 00:02.185, 113Mb) Sushi: info Preprocessed 10 documents with 16 aliases. (00:00.000 / 00:02.185, 113Mb) Sushi: info Imported 30 definitions and 7 instances. (00:00.034 / 00:02.220, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.tools#current... (00:00.002 / 00:02.222, 113Mb) Sushi: info Did not find hl7.fhir.uv.tools#current in /home/fhiruser/.fhir/packages. (00:00.052 / 00:02.275, 113Mb) Sushi: info Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.143 / 00:02.418, 113Mb) Sushi: info Downloaded hl7.fhir.uv.tools#current (00:00.028 / 00:02.446, 113Mb) Sushi: info Loaded package hl7.fhir.uv.tools#current (00:00.106 / 00:02.553, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.terminology.r4#6.0.2... (00:00.620 / 00:03.174, 113Mb) Sushi: info Did not find hl7.terminology.r4#6.0.2 in /home/fhiruser/.fhir/packages. (00:00.035 / 00:03.209, 113Mb) Sushi: info Downloading hl7.terminology.r4#6.0.2... https://packages.fhir.org/hl7.terminology.r4/6.0.2 (00:00.000 / 00:03.210, 113Mb) Sushi: info Downloaded hl7.terminology.r4#6.0.2 (00:02.148 / 00:05.358, 113Mb) Sushi: info Loaded package hl7.terminology.r4#6.0.2 (00:02.370 / 00:07.729, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.extensions.r4#5.1.0... (00:00.471 / 00:08.200, 113Mb) Sushi: info Did not find hl7.fhir.uv.extensions.r4#5.1.0 in /home/fhiruser/.fhir/packages. (00:00.535 / 00:08.735, 113Mb) Sushi: info Downloading hl7.fhir.uv.extensions.r4#5.1.0... https://packages.fhir.org/hl7.fhir.uv.extensions.r4/5.1.0 (00:00.000 / 00:08.736, 113Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.1.0 (00:02.112 / 00:10.848, 113Mb) Sushi: info Loaded package hl7.fhir.uv.extensions.r4#5.1.0 (00:01.528 / 00:12.377, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.cl.clcore#1.9.1... (00:00.000 / 00:12.377, 113Mb) Sushi: info Did not find hl7.fhir.cl.clcore#1.9.1 in /home/fhiruser/.fhir/packages. (00:00.775 / 00:13.152, 113Mb) Sushi: info Downloading hl7.fhir.cl.clcore#1.9.1... https://packages.fhir.org/hl7.fhir.cl.clcore/1.9.1 (00:00.000 / 00:13.153, 113Mb) Sushi: info Downloaded hl7.fhir.cl.clcore#1.9.1 (00:01.225 / 00:14.378, 113Mb) Sushi: info Loaded package hl7.fhir.cl.clcore#1.9.1 (00:00.943 / 00:15.321, 113Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:15.321, 113Mb) Sushi: info Did not find hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:00.813 / 00:16.135, 113Mb) Sushi: info Downloading hl7.fhir.r4.core#4.0.1... https://packages.fhir.org/hl7.fhir.r4.core/4.0.1 (00:00.000 / 00:16.135, 113Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:02.964 / 00:19.100, 113Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:02.982 / 00:22.082, 113Mb) Sushi: info Converting FSH to FHIR resources... (00:00.064 / 00:22.146, 113Mb) Sushi: error No element found at path status for CardRule in Profesional, skipping rule (00:00.552 / 00:22.699, 113Mb) Sushi: File: /scratch/repo/input/fsh/profesional.fsh (00:00.000 / 00:22.699, 113Mb) Sushi: Line: 15 (00:00.000 / 00:22.699, 113Mb) Sushi: error No element found at path status for CaretValueRule in Profesional, skipping rule (00:00.000 / 00:22.700, 113Mb) Sushi: File: /scratch/repo/input/fsh/profesional.fsh (00:00.000 / 00:22.700, 113Mb) Sushi: Line: 16 (00:00.000 / 00:22.700, 113Mb) Sushi: error No element found at path status for CaretValueRule in Profesional, skipping rule (00:00.000 / 00:22.700, 113Mb) Sushi: File: /scratch/repo/input/fsh/profesional.fsh (00:00.000 / 00:22.701, 113Mb) Sushi: Line: 17 (00:00.000 / 00:22.701, 113Mb) Sushi: info Converted 9 FHIR StructureDefinitions. (00:00.138 / 00:22.840, 113Mb) Sushi: info Converted 10 FHIR CodeSystems. (00:00.808 / 00:23.648, 113Mb) Sushi: info Converted 11 FHIR ValueSets. (00:01.147 / 00:24.796, 113Mb) Sushi: error Cannot assign string value: 2. Value does not match element type: integer (00:00.138 / 00:24.934, 113Mb) Sushi: File: /scratch/repo/input/fsh/PreguntasDeriv.fsh (00:00.000 / 00:24.935, 113Mb) Sushi: Line: 66 (00:00.000 / 00:24.935, 113Mb) Sushi: error Cannot assign string value: 3. Value does not match element type: integer (00:00.002 / 00:24.938, 113Mb) Sushi: File: /scratch/repo/input/fsh/PreguntasDeriv.fsh (00:00.000 / 00:24.938, 113Mb) Sushi: Line: 75 (00:00.000 / 00:24.938, 113Mb) Sushi: error Element Questionnaire.item.item.item.enableWhen.answer[x] has minimum cardinality 1 but occurs 0 time(s). (00:00.389 / 00:25.328, 113Mb) Sushi: File: /scratch/repo/input/fsh/PreguntasDeriv.fsh (00:00.000 / 00:25.328, 113Mb) Sushi: Line: 16 - 447 (00:00.000 / 00:25.329, 113Mb) Sushi: error Element Questionnaire.item.item.item.enableWhen.answer[x] has minimum cardinality 1 but occurs 0 time(s). (00:00.008 / 00:25.338, 113Mb) Sushi: File: /scratch/repo/input/fsh/PreguntasDeriv.fsh (00:00.000 / 00:25.338, 113Mb) Sushi: Line: 16 - 447 (00:00.000 / 00:25.338, 113Mb) Sushi: error Cannot assign string value: PROVIDENCIA. Value does not match element type: Address (00:01.767 / 00:27.105, 113Mb) Sushi: File: /scratch/repo/input/fsh/profesional.fsh (00:00.000 / 00:27.106, 113Mb) Sushi: Line: 29 - 30 (00:00.000 / 00:27.106, 113Mb) Sushi: error The element or path you referenced does not exist: status (00:00.000 / 00:27.106, 113Mb) Sushi: File: /scratch/repo/input/fsh/profesional.fsh (00:00.000 / 00:27.106, 113Mb) Sushi: Line: 31 - 32 (00:00.000 / 00:27.106, 113Mb) Sushi: error Element Practitioner.address has minimum cardinality 1 but occurs 0 time(s). (00:00.027 / 00:27.134, 113Mb) Sushi: File: /scratch/repo/input/fsh/profesional.fsh (00:00.000 / 00:27.134, 113Mb) Sushi: Line: 19 - 32 (00:00.000 / 00:27.135, 113Mb) Sushi: info Converted 7 FHIR instances. (00:00.003 / 00:27.138, 113Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.001 / 00:27.139, 113Mb) Sushi: info Exported 37 FHIR resources as JSON. (00:00.094 / 00:27.233, 113Mb) Sushi: info Assembling Implementation Guide sources... (00:00.002 / 00:27.236, 113Mb) Sushi: info Generated ImplementationGuide-fhir.fichapsj.json (00:00.043 / 00:27.279, 113Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:27.280, 113Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:27.281, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:27.282, 113Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:27.282, 113Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:27.282, 113Mb) Sushi: | | 7 | 2 | 0 | 0 | | (00:00.000 / 00:27.283, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:27.283, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:27.283, 113Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:27.283, 113Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:27.284, 113Mb) Sushi: | | 11 | 10 | 7 | | (00:00.000 / 00:27.284, 113Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:27.284, 113Mb) Sushi: | | (00:00.000 / 00:27.284, 113Mb) Sushi: =================================================================== (00:00.000 / 00:27.285, 113Mb) Sushi: | You're up to urchin in mistakes. 11 Errors 0 Warnings | (00:00.000 / 00:27.285, 113Mb) Sushi: =================================================================== (00:00.000 / 00:27.285, 113Mb) Sushi couldn't be run. Complete output from running Sushi : (00:00.049 / 00:27.335, 113Mb) 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:27.335, 113Mb) Exception: Process exited with an error: 11 (Exit value: 11) (00:00.000 / 00:27.336, 113Mb) Publishing Content Failed: Process exited with an error: 11 (Exit value: 11) (00:00.000 / 00:27.336, 113Mb) (00:00.000 / 00:27.336, 113Mb) Use -? to get command line help (00:00.000 / 00:27.336, 113Mb) (00:00.000 / 00:27.336, 113Mb) Stack Dump (for debugging): (00:00.000 / 00:27.337, 113Mb) org.apache.commons.exec.ExecuteException: Process exited with an error: 11 (Exit value: 11) 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:2627) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:1061) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:13653)