Skip to content

Commit

Permalink
Merge pull request #178 from fhir-fi/146-kela-luku-21-national-code-s…
Browse files Browse the repository at this point in the history
…erver

Remove description of code server
  • Loading branch information
mrinnetmaki authored Jan 5, 2024
2 parents 2c74c19 + 762ccc3 commit c0eaa64
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions input/pagecontent/terminology.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,6 @@ only in Finnish language. The standardised data structures required by the elect
systems in social welfare and health care as well as the central code sets of the statistical and
register data collection are all published on the code server.

The code sets are available on the Code server free of charge.

The responsibility for the contents of the code sets on the code server belongs to THL as laid down
by law,
[Act on the Electronic Processing of Client Data in Social and Health Care, 9 Feb, 159/2007 (in Finnish)](http://www.finlex.fi/fi/laki/ajantasa/2007/20070159).
The technical maintenance of the code server is the responsibility of the Social Insurance
Institution of Finland (Kela).

The Code Service forms a part of Kanta, the national patient data system. The Code Service
maintains nationally integrated data structures and code sets for electronic patient case
histories. The Code server also develops registration practices for the client data in social
welfare.

#### Snomed CT

Finland
Expand Down

6 comments on commit c0eaa64

@mrinnetmaki
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Publishing this fails, for some reason.

The log from the action:

Run docker-compose run runner bash -c "cd /workdir && chmod +x ./_genonce.sh  && ./_genonce.sh"
  docker-compose run runner bash -c "cd /workdir && chmod +x ./_genonce.sh  && ./_genonce.sh"
  shell: /usr/bin/bash -e {0}
Creating finnish-base-profiles_runner_run ... 
Creating finnish-base-profiles_runner_run ... done
Checking internet connection...
Online

Picked up JAVA_TOOL_OPTIONS:  -Dfile.encoding=UTF-8
FHIR IG Publisher Version 1.5.8 (Git# a663[2](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:2)bc40257). Built 202[3](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:3)-12-15T18:3[4](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:5):49.481Z (20 days old)   
Detected Java version: 17.0.9 from /usr/lib/jvm/java-17-openjdk-amd64 on Linux/amd64 (64bit). 3996MB available
dir = /workdir, path = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                 
Parameters: -ig .                                                                                   
Start Clock @ Friday, January [5](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:6), 2024 at 8:43:42 AM Coordinated Universal Time (2024-01-05T08:43:42Z)
                                                                                                    
Build FHIR IG from /workdir/.                                                                        (00:00.017 / 00:00.017, 20Mb)
API keys loaded from /root/.fhir/fhir-settings.json                                                  (00:00.003 / 00:00.020, 20Mb)
Package Cache: /root/.fhir/packages                                                                  (00:00.002 / 00:00.022, 20Mb)
Run Sushi on /workdir                                                                                (00:00.005 / 00:00.028, 21Mb)
Sushi: info  Running SUSHI v3.3.3 (implements FHIR Shorthand specification v3.0.0-ballot)            (00:00.389 / 00:00.417, 21Mb)
Sushi: info  Arguments:                                                                              (00:00.001 / 00:00.419, 21Mb)
Sushi: info    --out /workdir                                                                        (00:00.000 / 00:00.420, 21Mb)
Sushi: info    /workdir                                                                              (00:00.000 / 00:00.421, 21Mb)
Sushi: info  Using configuration file: /workdir/sushi-config.yaml                                    (00:00.750 / 00:01.171, 21Mb)
Sushi: info  Importing FSH text...                                                                   (00:00.124 / 00:01.295, 21Mb)
Sushi: info  Preprocessed 52 documents with 1 aliases.                                               (00:00.137 / 00:01.433, 21Mb)
Sushi: info  Imported 43 definitions and 34 instances.                                               (00:00.021 / 00:01.454, 21Mb)
Sushi: info  Checking /root/.fhir/packages for hl7.fhir.uv.tools#current...                          (00:00.001 / 00:01.45[6](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:7), 21Mb)
Sushi: info  Did not find hl[7](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:8).fhir.uv.tools#current in /root/.fhir/packages.                         (00:00.001 / 00:01.45[8](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:9), 21Mb)
Sushi: info  Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.341 / 00:01.800, 21Mb)
Sushi: info  Downloaded hl7.fhir.uv.tools#current                                                    (00:00.021 / 00:01.821, 21Mb)
Sushi: info  Loaded package hl7.fhir.uv.tools#current                                                (00:00.068 / 00:01.8[9](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:10)0, 21Mb)
Sushi: info  Checking /root/.fhir/packages for hl7.terminology.r4#5.3.0...                           (00:00.434 / 00:02.324, 21Mb)
Sushi: info  Did not find hl7.terminology.r4#5.3.0 in /root/.fhir/packages.                          (00:00.013 / 00:02.338, 21Mb)
Sushi: info  Downloading hl7.terminology.r4#5.3.0... https://packages.fhir.org/hl7.terminology.r4/5.3.0 (00:00.000 / 00:02.339, 21Mb)
Sushi: info  Downloaded hl7.terminology.r4#5.3.0                                                     (00:01.263 / 00:03.603, 21Mb)
Sushi: info  Loaded package hl7.terminology.r4#5.3.0                                                 (00:01.279 / 00:04.882, 21Mb)
Sushi: info  Checking /root/.fhir/packages for hl7.fhir.uv.ipa#1.0.0...                              (00:00.001 / 00:04.883, 21Mb)
Sushi: info  Did not find hl7.fhir.uv.ipa#1.0.0 in /root/.fhir/packages.                             (00:00.262 / 00:05.145, 21Mb)
Sushi: info  Downloading hl7.fhir.uv.ipa#1.0.0... https://packages.fhir.org/hl7.fhir.uv.ipa/1.0.0    (00:00.000 / 00:05.146, 21Mb)
Sushi: info  Downloaded hl7.fhir.uv.ipa#1.0.0                                                        (00:00.[10](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:11)3 / 00:05.250, 21Mb)
Sushi: info  Loaded package hl7.fhir.uv.ipa#1.0.0                                                    (00:00.290 / 00:05.540, 21Mb)
Sushi: info  Checking /root/.fhir/packages for hl7.fhir.r4.core#4.0.1...                             (00:00.000 / 00:05.541, 21Mb)
Sushi: info  Did not find hl7.fhir.r4.core#4.0.1 in /root/.fhir/packages.                            (00:00.274 / 00:05.815, 21Mb)
Sushi: info  Downloading hl7.fhir.r4.core#4.0.1... https://packages.fhir.org/hl7.fhir.r4.core/4.0.1  (00:00.001 / 00:05.816, 21Mb)
Sushi: info  Downloaded hl7.fhir.r4.core#4.0.1                                                       (00:00.701 / 00:06.518, 21Mb)
Sushi: info  Loaded package hl7.fhir.r4.core#4.0.1                                                   (00:01.734 / 00:08.252, 21Mb)
Sushi: info  Converting FSH to FHIR resources...                                                     (00:00.070 / 00:08.322, 21Mb)
Sushi: info  Converted 40 FHIR StructureDefinitions.                                                 (01:00.088 / 01:08.410, 22Mb)
Sushi: info  Converted 1 FHIR CodeSystems.                                                           (00:00.161 / 01:08.572, 22Mb)
Sushi: info  Converted 2 FHIR ValueSets.                                                             (00:00.162 / 01:08.735, 22Mb)
Sushi: info  Converted 34 FHIR instances.                                                            (02:25.376 / 03:34.[11](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:12)1, 23Mb)
Sushi: info  Exporting FHIR resources as JSON...                                                     (00:00.001 / 03:34.1[12](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:13), 23Mb)
Sushi: info  Exported 77 FHIR resources as JSON.                                                     (00:00.155 / 03:34.268, 23Mb)
Sushi: info  Assembling Implementation Guide sources...                                              (00:00.001 / 03:34.269, 23Mb)
Sushi: info  Generated ImplementationGuide-hl7.fhir.fi.base.json                                     (00:00.020 / 03:34.289, 23Mb)
Sushi: info  Assembled Implementation Guide sources; ready for IG Publisher.                         (00:00.000 / 03:34.290, 23Mb)
Sushi: ========================= SUSHI RESULTS ===========================                           (00:00.001 / 03:34.291, 23Mb)
Sushi: |  -------------------------------------------------------------  |                           (00:00.000 / 03:34.292, 23Mb)
Sushi: | |    Profiles   |  Extensions  |   Logicals   |   Resources   | |                           (00:00.000 / 03:34.293, 23Mb)
Sushi: | |-------------------------------------------------------------| |                           (00:00.000 / 03:34.294, 23Mb)
Sushi: | |      29       |      11      |      0       |       0       | |                           (00:00.000 / 03:34.294, 23Mb)
Sushi: |  -------------------------------------------------------------  |                           (00:00.000 / 03:34.295, 23Mb)
Sushi: |  -------------------------------------------------------------  |                           (00:00.000 / 03:34.296, 23Mb)
Sushi: | |      ValueSets     |    CodeSystems    |     Instances      | |                           (00:00.000 / 03:34.297, 23Mb)
Sushi: | |-------------------------------------------------------------| |                           (00:00.000 / 03:34.297, 23Mb)
Sushi: | |         2          |         1         |         34         | |                           (00:00.000 / 03:34.298, 23Mb)
Sushi: |  -------------------------------------------------------------  |                           (00:00.000 / 03:34.299, 23Mb)
Sushi: |                                                                 |                           (00:00.000 / 03:34.299, 23Mb)
Sushi: ===================================================================                           (00:00.000 / 03:34.300, 23Mb)
Sushi: | Everything is ship-shape!              0 Errors      0 Warnings |                           (00:00.000 / 03:34.301, 23Mb)
Sushi: ===================================================================                           (00:00.000 / 03:34.301, 23Mb)
Sushi: |    You are using SUSHI version 3.3.3, but the latest stable     |                           (00:00.000 / 03:34.302, 23Mb)
Sushi: |  release is version 3.6.0. To install the latest release, run:  |                           (00:00.000 / 03:34.303, 23Mb)
Sushi: |                    npm install -g fsh-sushi                     |                           (00:00.000 / 03:34.303, 23Mb)
Sushi: ===================================================================                           (00:00.000 / 03:34.304, 23Mb)
Unable to load IG as an r5 IG - try R4 (property code is a class com.google.gson.JsonPrimitive looking for an object) (00:00.460 / 03:34.764, 46Mb)
Load Template from https://github.com/fhir-fi/ig-template-fhir-fi                                    (00:00.398 / 03:35.163, 21Mb)
 Load Template from fhir.base.template#current                                                       (00:00.467 / 03:35.631, 34Mb)
Installing fhir.base.template#current to the package cache
  Fetching:

Installing fhir.base.template#current done.

onLoad.findSpreadsheets:

onLoad.updateIg:
     [xslt] Processing /workdir/template/onLoad-ig-working.xml to /workdir/template/onLoad-ig-updated.xml
     [xslt] Loading stylesheet /workdir/template/scripts/onLoad.xslt

onLoad.extend:

onLoad:
Root directory: /workdir                                                                             (00:03.292 / 03:38.924, 87Mb)
Core Package hl7.fhir.r4.core#4.0.1
Terminology Cache is at /workdir/input-cache/txcache. 0 files in cache                               (00:12.665 / 03:51.589, 393Mb)
Connect to Terminology Server at http://tx.fhir.org                                                  (00:00.001 / 03:51.591, 393Mb)
Installing hl7.fhir.pubpack#0.1.7 to the package cache
  Fetching:

Installing hl7.fhir.pubpack#0.1.7 done.
Load Package hl7.fhir.pubpack#0.1.7
Installing hl7.fhir.xver-extensions#0.1.0 to the package cache
  Fetching:

Installing hl7.fhir.xver-extensions#0.1.0 done.
Load Package hl7.fhir.xver-extensions#0.1.0
Load Package hl7.terminology.r4#5.3.0
Installing hl7.fhir.uv.extensions.r4#1.0.0 to the package cache
  Fetching:

Installing hl7.fhir.uv.extensions.r4#1.0.0 done.
Load Package hl7.fhir.uv.extensions.r4#1.0.0
Installing hl7.terminology.r4#5.0.0 to the package cache
  Fetching:

Installing hl7.terminology.r4#5.0.0 done.
Load Package hl7.terminology.r4#5.0.0
Installing hl7.fhir.uv.smart-app-launch#2.0.0 to the package cache
  Fetching:

Installing hl7.fhir.uv.smart-app-launch#2.0.0 done.
Load Package hl7.fhir.uv.smart-app-launch#2.0.0
Load Package hl7.fhir.uv.ipa#1.0.0
Version mismatch. This IG is version 4.0.1, while the IG 'hl7.fhir.uv.tools' is from version 5.0.0 (will try to run anyway) (00:17.473 / 04:09.064, 815Mb)
Load Package hl7.fhir.uv.tools#0.2.0-snapshot
Load R5 Specials
Installing hl7.fhir.r5.core#5.0.0 to the package cache
  Fetching:

Installing hl7.fhir.r5.core#5.0.0 done.
Initialization complete                                                                              (00:03.827 / 04:12.891, 479Mb)
Fetch https://hl7.fi/fhir/finnish-base-profiles/package-list.json for version check                  (00:00.002 / 04:12.894, 479Mb)
Fetch http://hl7.org/fhir/uv/ipa/package-list.json for version check                                 (00:00.591 / 04:[13](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:14).485, 481Mb)
Load Content                                                                                         (00:00.220 / 04:13.706, 481Mb)
loadPrePages from FetchedFile[/workdir/input/includes] as /workdir/input/includes
loadPrePages from FetchedFile[/workdir/fsh-generated/includes] as /workdir/fsh-generated/includes
loadPrePages from FetchedFile[/workdir/input/pagecontent] as /workdir/input/pagecontent
Processing Conformance Resources                                                                     (00:12.165 / 04:25.872, 840Mb)
Load Dependency Info                                                                                 (00:00.004 / 04:25.876, 841Mb)
Load Info                                                                                            (00:00.002 / 04:25.878, 841Mb)
Load Resources                                                                                       (00:00.001 / 04:25.879, 842Mb)
Load Paths                                                                                           (00:02.358 / 04:28.238, 647Mb)
Generating Snapshots                                                                                 (00:00.001 / 04:28.239, 647Mb)
Check R4 / R4B                                                                                       (00:03.357 / 04:31.596, 1Gb)
Assign Comparison Ids                                                                                (00:00.235 / 04:31.832, 545Mb)
Propagating status                                                                                   (00:00.001 / 04:31.833, 545Mb)
Generating Narratives                                                                                (00:00.000 / 04:31.833, 545Mb)
Validating Conformance Resources                                                                     (00:09.934 / 04:41.768, 1Gb)
Check profiles & code systems                                                                        (00:07.446 / 04:49.2[14](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:15), 1Gb)
Check realm rules                                                                                    (00:00.005 / 04:49.219, 1Gb)
Previous Version Comparison                                                                          (00:00.000 / 04:49.220, 1Gb)
Installing hl7.fhir.fi.base#1.0.0 to the package cache
  Fetching:

Installing hl7.fhir.fi.base#1.0.0 done.
Validating Resources                                                                                 (00:11.872 / 05:01.093, 1Gb)
Processing Provenance Records                                                                        (00:06.913 / 05:08.007, 1Gb)
Generating Outputs in /workdir/output                                                                (00:00.000 / 05:08.007, 1Gb)
Warning @ Unable to read the git branch: detected dubious ownership in repository at '/workdir'To add an exception for this directory, call:	git config --global --add safe.directory /workdir
Warning @ Unable to read the git branch: detected dubious ownership in repository at '/workdir'To add an exception for this directory, call:	git config --global --add safe.directory /workdir
Generate Native Outputs                                                                              (00:00.[15](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:16)4 / 05:08.[16](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:17)2, 1Gb)
Run Template                                                                                         (00:21.912 / 05:30.075, 1Gb)

onGenerate.checkVersions:
     [xslt] Processing /workdir/template/onGenerate-ig-working.xml to /workdir/template/versions.txt
     [xslt] Loading stylesheet /workdir/template/scripts/onGenerate.getVersions.xslt
    [mkdir] Created dir: /workdir/input-cache/schemas

onGenerate.r5-schemas:
    [mkdir] Created dir: /workdir/input-cache/schemas/R5
      [get] Getting: http://build.fhir.org/fhir-single.xsd
      [get] To: /workdir/input-cache/schemas/R5/fhir-single.xsd
      [get] Getting: http://build.fhir.org/fhir-xhtml.xsd
      [get] To: /workdir/input-cache/schemas/R5/fhir-xhtml.xsd
      [get] Getting: http://build.fhir.org/xml.xsd
      [get] To: /workdir/input-cache/schemas/R5/xml.xsd
      [get] Getting: http://build.fhir.org/xmldsig-core-schema.xsd
      [get] To: /workdir/input-cache/schemas/R5/xmldsig-core-schema.xsd

onGenerate.r4-schemas:
    [mkdir] Created dir: /workdir/input-cache/schemas/R4
      [get] Getting: http://hl7.org/fhir/R4/fhir-single.xsd
      [get] To: /workdir/input-cache/schemas/R4/fhir-single.xsd
      [get] Getting: http://hl7.org/fhir/R4/fhir-xhtml.xsd
      [get] To: /workdir/input-cache/schemas/R4/fhir-xhtml.xsd
      [get] Getting: http://hl7.org/fhir/R4/xml.xsd
      [get] To: /workdir/input-cache/schemas/R4/xml.xsd
      [get] Getting: http://hl7.org/fhir/R4/xmldsig-core-schema.xsd
      [get] To: /workdir/input-cache/schemas/R4/xmldsig-core-schema.xsd

onGenerate.r3-schemas:

onGenerate.r2b-schemas:

onGenerate.r2-schemas:

onGenerate.schemas:

onGenerate.data:
     [xslt] Processing /workdir/template/onGenerate-ig-working.xml to /workdir/temp/pages/_data/artifacts.json
     [xslt] Loading stylesheet /workdir/template/scripts/onGenerate.data.xslt

onGenerate.setup:

onGenerate.infoFile:
     [xslt] Processing /workdir/template/onGenerate-ig-working.xml to /workdir/temp/pages/_data/info.json
     [xslt] Loading stylesheet /workdir/template/scripts/onGenerate.genJson.xslt

onGenerate.processIncludes:
     [copy] Copying 20 files to /workdir/temp/pages/_includes

onGenerate.processIg:
     [xslt] Processing /workdir/template/onGenerate-ig-working.xml to /workdir/template/onGenerate-ig-working.1.xml
     [xslt] Loading stylesheet /workdir/template/scripts/onGenerate.group.xslt
     [xslt] Processing /workdir/template/onGenerate-ig-working.1.xml to /workdir/template/onGenerate-ig-working.2.xml
     [xslt] Loading stylesheet /workdir/template/scripts/onGenerate.groupSort.xslt
     [xslt] Processing /workdir/template/onGenerate-ig-working.2.xml to /workdir/template/onGenerate-ig-updated.xml
     [xslt] Loading stylesheet /workdir/template/scripts/onGenerate.final.xslt

onGenerate.igQa:
     [xslt] Processing /workdir/template/onGenerate-ig-updated.xml to /workdir/template/ongenerate-validation-igqa.json
     [xslt] Loading stylesheet /workdir/template/scripts/onGenerate.qa.xslt

onGenerate.artifactList:
     [xslt] Processing /workdir/template/onGenerate-ig-updated.xml to /workdir/temp/pages/_includes/artifacts.xml
     [xslt] Loading stylesheet /workdir/template/scripts/createArtifactSummary.xslt

check-plantumlfiles:

onGenerate.plantUml.ig:

onGenerate.plantUml.template:

onGenerate.plantUml:

onGenerate.copyDataFiles:

onGenerate.extend:

onGenerate:
Template Done                                                                                        (00:01.129 / 05:31.204, 1Gb)
Generate HTML Outputs                                                                                (00:00.000 / 05:31.205, 1Gb)
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
Exception in thread "main" java.lang.Error: Error generating build: the file /workdir/temp/pages/_includes/StructureDefinition-imposes-kanta-document-metadata-profile-c0.xhtml is being generated more than once (may differ by case)
	at org.hl7.fhir.igtools.publisher.Publisher.checkMakeFile(Publisher.java:44[18](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:19))
	at org.hl7.fhir.igtools.publisher.Publisher.fragment(Publisher.java:1[19](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:20)47)
	at org.hl7.fhir.igtools.publisher.Publisher.generateOutputsStructureDefinition(Publisher.java:11651)
	at org.hl7.fhir.igtools.publisher.Publisher.generateResourceHtml(Publisher.java:10535)
	at org.hl7.fhir.igtools.publisher.Publisher.generateHtmlOutputs(Publisher.java:10306)
	at org.hl7.fhir.igtools.publisher.Publisher.generate(Publisher.java:7480)
	at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:1145)
	at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:974)
	at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:1[24](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:25)[83](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:84))
1
Error: Process completed with exit code 1.

@mrinnetmaki
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also the previous commit, by @mikajylha, seems to fail, with a bit different error:

Run docker-compose run runner bash -c "cd /workdir && chmod +x ./_genonce.sh  && ./_genonce.sh"
  docker-compose run runner bash -c "cd /workdir && chmod +x ./_genonce.sh  && ./_genonce.sh"
  shell: /usr/bin/bash -e {0}
Creating finnish-base-profiles_runner_run ... 
Creating finnish-base-profiles_runner_run ... done
Checking internet connection...
Online

Picked up JAVA_TOOL_OPTIONS:  -Dfile.encoding=UTF-8
FHIR IG Publisher Version 1.5.8 (Git# a663[2](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:2)bc40257). Built 202[3](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:3)-12-15T18:3[4](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:5):49.481Z ([5](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:6) days old)    
Detected Java version: 17.0.9 from /usr/lib/jvm/java-17-openjdk-amd[6](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:7)4 on Linux/amd64 (64bit). 3996MB available
dir = /workdir, path = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                 
Parameters: -ig .                                                                                   
Start Clock @ Thursday, December 21, 2023 at 2:09:42 PM Coordinated Universal Time (2023-12-21T14:09:42Z)
                                                                                                    
Build FHIR IG from /workdir/.                                                                        (00:00.018 / 00:00.019, 20Mb)
API keys loaded from /root/.fhir/fhir-settings.json                                                  (00:00.004 / 00:00.023, 20Mb)
Package Cache: /root/.fhir/packages                                                                  (00:00.003 / 00:00.026, 20Mb)
Run Sushi on /workdir                                                                                (00:00.005 / 00:00.031, 21Mb)
Sushi: info  Running SUSHI v3.3.3 (implements FHIR Shorthand specification v3.0.0-ballot)            (00:00.398 / 00:00.430, 21Mb)
Sushi: info  Arguments:                                                                              (00:00.001 / 00:00.431, 21Mb)
Sushi: info    --out /workdir                                                                        (00:00.001 / 00:00.432, 21Mb)
Sushi: info    /workdir                                                                              (00:00.000 / 00:00.433, 21Mb)
Sushi: info  Using configuration file: /workdir/sushi-config.yaml                                    (00:00.523 / 00:00.956, 21Mb)
Sushi: info  Importing FSH text...                                                                   (00:00.129 / 00:01.086, 21Mb)
Sushi: info  Preprocessed 52 documents with 1 aliases.                                               (00:00.139 / 00:01.226, 21Mb)
Sushi: info  Imported 43 definitions and 34 instances.                                               (00:00.023 / 00:01.249, 21Mb)
Sushi: info  Checking /root/.fhir/packages for hl[7](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:8).fhir.uv.tools#current...                          (00:00.001 / 00:01.251, 21Mb)
Sushi: info  Did not find hl7.fhir.uv.tools#current in /root/.fhir/packages.                         (00:00.001 / 00:01.252, 21Mb)
Sushi: info  Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.7[8](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:9)7 / 00:02.040, 21Mb)
Sushi: info  Downloaded hl7.fhir.uv.tools#current                                                    (00:00.075 / 00:02.116, 21Mb)
Sushi: info  Loaded package hl7.fhir.uv.tools#current                                                (00:00.06[9](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:10) / 00:02.185, 21Mb)
Sushi: info  Checking /root/.fhir/packages for hl7.terminology.r4#5.3.0...                           (00:00.713 / 00:02.899, 21Mb)
Sushi: info  Did not find hl7.terminology.r4#5.3.0 in /root/.fhir/packages.                          (00:00.009 / 00:02.909, 21Mb)
Sushi: info  Downloading hl7.terminology.r4#5.3.0... https://packages.fhir.org/hl7.terminology.r4/5.3.0 (00:00.000 / 00:02.909, 21Mb)
Sushi: info  Downloaded hl7.terminology.r4#5.3.0                                                     (00:01.762 / 00:04.672, 21Mb)
Sushi: info  Loaded package hl7.terminology.r4#5.3.0                                                 (00:01.249 / 00:05.922, 21Mb)
Sushi: info  Checking /root/.fhir/packages for hl7.fhir.uv.ipa#1.0.0...                              (00:00.001 / 00:05.923, 21Mb)
Sushi: info  Did not find hl7.fhir.uv.ipa#1.0.0 in /root/.fhir/packages.                             (00:00.286 / 00:06.209, 21Mb)
Sushi: info  Downloading hl7.fhir.uv.ipa#1.0.0... https://packages.fhir.org/hl7.fhir.uv.ipa/1.0.0    (00:00.001 / 00:06.2[10](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:11), 21Mb)
Sushi: info  Downloaded hl7.fhir.uv.ipa#1.0.0                                                        (00:00.187 / 00:06.397, 21Mb)
Sushi: info  Loaded package hl7.fhir.uv.ipa#1.0.0                                                    (00:00.291 / 00:06.689, 21Mb)
Sushi: info  Checking /root/.fhir/packages for hl7.fhir.r4.core#4.0.1...                             (00:00.000 / 00:06.689, 21Mb)
Sushi: info  Did not find hl7.fhir.r4.core#4.0.1 in /root/.fhir/packages.                            (00:00.278 / 00:06.968, 21Mb)
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:06.969, 21Mb)
Sushi: info  Downloaded hl7.fhir.r4.core#4.0.1                                                       (00:00.963 / 00:07.933, 21Mb)
Sushi: info  Loaded package hl7.fhir.r4.core#4.0.1                                                   (00:01.748 / 00:09.681, 21Mb)
Sushi: info  Converting FSH to FHIR resources...                                                     (00:00.066 / 00:09.747, 21Mb)
Sushi: info  Converted 40 FHIR StructureDefinitions.                                                 (01:01.252 / 01:10.999, 22Mb)
Sushi: info  Converted 1 FHIR CodeSystems.                                                           (00:00.163 / 01:[11](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:12).163, 22Mb)
Sushi: info  Converted 2 FHIR ValueSets.                                                             (00:00.172 / 01:11.335, 22Mb)
Sushi: info  Converted 34 FHIR instances.                                                            (02:33.957 / 03:45.293, 23Mb)
Sushi: info  Exporting FHIR resources as JSON...                                                     (00:00.000 / 03:45.294, 23Mb)
Sushi: info  Exported 77 FHIR resources as JSON.                                                     (00:00.149 / 03:45.444, 23Mb)
Sushi: info  Assembling Implementation Guide sources...                                              (00:00.001 / 03:45.445, 23Mb)
Sushi: info  Generated ImplementationGuide-hl7.fhir.fi.base.json                                     (00:00.024 / 03:45.469, 23Mb)
Sushi: info  Assembled Implementation Guide sources; ready for IG Publisher.                         (00:00.000 / 03:45.470, 23Mb)
Sushi: ========================= SUSHI RESULTS ===========================                           (00:00.001 / 03:45.471, 23Mb)
Sushi: |  -------------------------------------------------------------  |                           (00:00.000 / 03:45.472, 23Mb)
Sushi: | |    Profiles   |  Extensions  |   Logicals   |   Resources   | |                           (00:00.000 / 03:45.473, 23Mb)
Sushi: | |-------------------------------------------------------------| |                           (00:00.000 / 03:45.474, 23Mb)
Sushi: | |      29       |      11      |      0       |       0       | |                           (00:00.000 / 03:45.474, 23Mb)
Sushi: |  -------------------------------------------------------------  |                           (00:00.001 / 03:45.476, 23Mb)
Sushi: |  -------------------------------------------------------------  |                           (00:00.000 / 03:45.477, 23Mb)
Sushi: | |      ValueSets     |    CodeSystems    |     Instances      | |                           (00:00.000 / 03:45.477, 23Mb)
Sushi: | |-------------------------------------------------------------| |                           (00:00.000 / 03:45.478, 23Mb)
Sushi: | |         2          |         1         |         34         | |                           (00:00.000 / 03:45.479, 23Mb)
Sushi: |  -------------------------------------------------------------  |                           (00:00.000 / 03:45.480, 23Mb)
Sushi: |                                                                 |                           (00:00.000 / 03:45.480, 23Mb)
Sushi: ===================================================================                           (00:00.000 / 03:45.481, 23Mb)
Sushi: | It doesn't get any betta than this!    0 Errors      0 Warnings |                           (00:00.000 / 03:45.482, 23Mb)
Sushi: ===================================================================                           (00:00.000 / 03:45.482, 23Mb)
Sushi: |    You are using SUSHI version 3.3.3, but the latest stable     |                           (00:00.000 / 03:45.483, 23Mb)
Sushi: |  release is version 3.6.0. To install the latest release, run:  |                           (00:00.000 / 03:45.483, 23Mb)
Sushi: |                    npm install -g fsh-sushi                     |                           (00:00.000 / 03:45.484, 23Mb)
Sushi: ===================================================================                           (00:00.000 / 03:45.485, 23Mb)
Unable to load IG as an r5 IG - try R4 (property code is a class com.google.gson.JsonPrimitive looking for an object) (00:00.483 / 03:45.969, 46Mb)
Load Template from https://github.com/fhir-fi/ig-template-fhir-fi                                    (00:00.411 / 03:46.380, 65Mb)
 Load Template from fhir.base.template#current                                                       (00:00.779 / 03:47.160, 27Mb)
Installing fhir.base.template#current to the package cache
  Fetching:

Installing fhir.base.template#current done.

onLoad.findSpreadsheets:

onLoad.updateIg:
     [xslt] Processing /workdir/template/onLoad-ig-working.xml to /workdir/template/onLoad-ig-updated.xml
     [xslt] Loading stylesheet /workdir/template/scripts/onLoad.xslt

onLoad.extend:

onLoad:
Root directory: /workdir                                                                             (00:04.199 / 03:51.359, [12](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:13)4Mb)
Core Package hl7.fhir.r4.core#4.0.1
Terminology Cache is at /workdir/input-cache/txcache. 0 files in cache                               (00:10.347 / 04:01.707, 183Mb)
Connect to Terminology Server at http://tx.fhir.org                                                  (00:00.001 / 04:01.708, 183Mb)
Publishing Content Failed: Unable to connect to terminology server at http://tx.fhir.org/r4. Error = Error fetching the server's capability statement: Error reading Http Response from http://tx.fhir.org/r4: Error parsing JSON source: Unexpected char '<' in json stream at Line 1 (path=[null]) (00:22.790 / 04:24.499, 194Mb)
                                                                                                     (00:00.001 / 04:24.500, 194Mb)
Use -? to get command line help                                                                      (00:00.000 / 04:24.501, 194Mb)
                                                                                                     (00:00.000 / 04:24.501, 194Mb)
Stack Dump (for debugging):                                                                          (00:00.000 / 04:24.502, 194Mb)
org.hl7.fhir.exceptions.FHIRException: Unable to connect to terminology server at http://tx.fhir.org/r4. Error = Error fetching the server's capability statement: Error reading Http Response from http://tx.fhir.org/r4: Error parsing JSON source: Unexpected char '<' in json stream at Line 1 (path=[null])
	at org.hl7.fhir.r5.context.SimpleWorkerContext.connectToTSServer(SimpleWorkerContext.java:351)
	at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:3036)
	at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:2400)
	at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:968)
	at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:12483)
Caused by: org.hl7.fhir.exceptions.FHIRException: Error fetching the server's capability statement: Error reading Http Response from http://tx.fhir.org/r4: Error parsing JSON source: Unexpected char '<' in json stream at Line 1 (path=[null])
	at org.hl7.fhir.r4.utils.client.FHIRToolingClient.getCapabilitiesStatementQuick(FHIRToolingClient.java:158)
	at org.hl7.fhir.convertors.txClient.TerminologyClientR4.getCapabilitiesStatementQuick(TerminologyClientR4.java:155)
	at org.hl7.fhir.r5.context.SimpleWorkerContext.connectToTSServer(SimpleWorkerContext.java:342)
	... 4 more
Caused by: org.hl7.fhir.r4.utils.client.EFhirClientException: Error reading Http Response from http://tx.fhir.org/r4: Error parsing JSON source: Unexpected char '<' in json stream at Line 1 (path=[null])
	at org.hl7.fhir.r4.utils.client.network.FhirRequestBuilder.unmarshalReference(FhirRequestBuilder.java:270)
	at org.hl7.fhir.r4.utils.client.network.FhirRequestBuilder.execute(FhirRequestBuilder.java:244)
	at org.hl7.fhir.r4.utils.client.network.Client.executeFhirRequest(Client.java:147)
	at org.hl7.fhir.r4.utils.client.network.Client.issueGetResourceRequest(Client.java:65)
	at org.hl7.fhir.r4.utils.client.FHIRToolingClient.getCapabilitiesStatementQuick(FHIRToolingClient.java:154)
	... 6 more
Caused by: java.io.IOException: Error parsing JSON source: Unexpected char '<' in json stream at Line 1 (path=[null])
	at org.hl7.fhir.utilities.json.JsonTrackingParser$Lexer.error(JsonTrackingParser.java:208)
	at org.hl7.fhir.utilities.json.JsonTrackingParser$Lexer.next(JsonTrackingParser.java:340)
	at org.hl7.fhir.utilities.json.JsonTrackingParser$Lexer.start(JsonTrackingParser.java:233)
	at org.hl7.fhir.utilities.json.JsonTrackingParser$Lexer.<init>(JsonTrackingParser.java:144)
	at org.hl7.fhir.utilities.json.JsonTrackingParser.parse(JsonTrackingParser.java:428)
	at org.hl7.fhir.utilities.json.JsonTrackingParser.parse(JsonTrackingParser.java:416)
	at org.hl7.fhir.r4.formats.JsonParserBase.loadJson(JsonParserBase.java:220)
	at org.hl7.fhir.r4.formats.JsonParserBase.parse(JsonParserBase.java:[13](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:14)0)
	at org.hl7.fhir.r4.formats.ParserBase.parse(ParserBase.java:58)
	at org.hl7.fhir.r4.utils.client.network.FhirRequestBuilder.unmarshalReference(FhirRequestBuilder.java:[26](https://github.com/fhir-fi/finnish-base-profiles/actions/runs/7419740545/job/20189802418#step:4:27)5)
	... 10 more
1
Error: Process completed with exit code 1.

@mrinnetmaki
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-running the workflow of the previous commit now gives the same error as this commit.

@mrinnetmaki
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm...

Unable to read the git branch: detected dubious ownership in repository at '/workdir'

@mrinnetmaki
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or this?

Installing hl7.fhir.fi.base#1.0.0 done.
java.lang.NullPointerException: Cannot read the array length because "bytes" is null
	at java.base/java.lang.String.<init>(String.java:1475)
	at org.hl7.fhir.igtools.publisher.comparators.PreviousVersionComparator.finishChecks(PreviousVersionComparator.java:264)
	at org.hl7.fhir.igtools.publisher.Publisher.checkConformanceResources(Publisher.java:5866)
	at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:5683)
	at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:1128)
	at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:974)
	at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:12468)
java.lang.NullPointerException: Cannot read the array length because "bytes" is null
	at java.base/java.lang.String.<init>(String.java:1475)
	at org.hl7.fhir.igtools.publisher.comparators.IpaComparator.finishChecks(IpaComparator.java:234)
	at org.hl7.fhir.igtools.publisher.Publisher.checkConformanceResources(Publisher.java:5868)
	at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:5683)
	at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:1128)
	at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:974)
	at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:12468)

(from https://build.fhir.org/ig/fhir-fi/finnish-base-profiles/branches/fix_procedure_codesystemversion/failure/build.log)

@mrinnetmaki
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be fixed in #179. At least that PR check completes happily.

Please sign in to comment.