Skip to content

InterSystems IRIS for Health, "org.linuxforhealth.fhir.registry.util.Index.load(Index.java:95) index version was not set" error #4252

@da-baranov

Description

@da-baranov

Describe the bug
I'm trying to validate a FHIR resource and get the following error message: "Gateway Exception: java.lang.IllegalStateException org.linuxforhealth.fhir.registry.util.Index.load(Index.java:95) index version was not set"

Environment
InterSystems IRIS for Health 2024.2, Docker, the validator is managed by Java language server (Oracle JDK 11 jdk-11.0.24_linux-x64_bin)

To Reproduce
Steps to reproduce the behavior:

  1. The resource itself:
{
  "resourceType": "Patient",
  "id": "mii-exa-person-patient-full",
  "meta": {
    "profile": [
      "https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient|2024.0.0"
    ]
  },
  "name": [
    {
      "use": "official",
      "family": "Van-der-Dussen",
      "_family": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
            "valueString": "Van-der-Dussen"
          }
        ]
      },
      "given": [
        "Maja",
        "Julia"
      ],
      "prefix": [
        "Prof. Dr. med."
      ],
      "_prefix": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier",
              "valueCode": "AC"
            }
          ]
        }
      ]
    },
    {
      "use": "maiden",
      "family": "Haffer"
    }
  ],
  "identifier": [
    {
      "use": "usual",
      "type": {
        "coding": [
          {
            "code": "MR",
            "system": "http://terminology.hl7.org/CodeSystem/v2-0203"
          }
        ]
      },
      "system": "https://www.charite.de/fhir/sid/patienten",
      "value": "42285243",
      "assigner": {
        "display": "Charité – Universitätsmedizin Berlin",
        "identifier": {
          "system": "https://www.medizininformatik-initiative.de/fhir/core/CodeSystem/core-location-identifier",
          "value": "Charité"
        }
      }
    },
    {
      "use": "official",
      "type": {
        "coding": [
          {
            "code": "GKV",
            "system": "http://fhir.de/CodeSystem/identifier-type-de-basis"
          }
        ]
      },
      "system": "http://fhir.de/sid/gkv/kvid-10",
      "value": "Z234567890",
      "assigner": {
        "identifier": {
          "use": "official",
          "value": "109519005",
          "system": "http://fhir.de/sid/arge-ik/iknr"
        }
      }
    },
    {
      "use": "secondary",
      "type": {
        "coding": [
          {
            "code": "PKV",
            "system": "http://fhir.de/CodeSystem/identifier-type-de-basis"
          }
        ]
      },
      "value": "123456",
      "assigner": {
        "display": "Signal Iduna"
      }
    }
  ],
  "gender": "other",
  "_gender": {
    "extension": [
      {
        "url": "http://fhir.de/StructureDefinition/gender-amtlich-de",
        "valueCoding": {
          "code": "D",
          "system": "http://fhir.de/CodeSystem/gender-amtlich-de",
          "display": "divers"
        }
      }
    ]
  },
  "birthDate": "1998-09-19",
  "deceasedBoolean": false,
  "address": [
    {
      "type": "both",
      "line": [
        "Anna-Louisa-Karsch Str. 2"
      ],
      "city": "Berlin",
      "_city": {
        "extension": [
          {
            "url": "http://fhir.de/StructureDefinition/destatis/ags",
            "valueCoding": {
              "code": "11000000",
              "system": "http://fhir.de/sid/destatis/ags"
            }
          }
        ]
      },
      "state": "DE-BE",
      "postalCode": "10178",
      "country": "DE"
    }
  ],
  "managingOrganization": {
    "reference": "Organization/Charite-Universitaetsmedizin-Berlin"
  }
}

  1. The URL: POST [base]/csp/healthshare/fhirex/fhir/r4/Patient/$validate?profile=https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient|2024.0.0

Expected behavior
The resource should successfully pass validation

Additional context
Packages used:

  • hl7.fhir.r4.core 4.0.1
  • de.basisprofil.r4 1.4.0
  • de.basisprofil.r4 1.5.0
  • de.medizininformatikinitiative.kerndatensatz.meta 1.0.3
  • hl7.fhir.uv.extensions.r4 1.0.0
  • hl7.fhir.us.core 3.1.0
  • hl7.fhir.r4.expansions 4.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions