Uploaded image for project: 'FHIR Validator'
  1. FHIR Validator
  2. FHIRVAL-108

FhirValidator does not load base structure definition from fhir.ch

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Urgent
    • Resolution: Fixed
    • Affects Version/s: 4.0.3
    • Fix Version/s: 4.0.4
    • Labels:
      None
    • Environment:
      Tested on a local instance
    • Severity:
      Blocker - Show stopper, feature completely blocked, crashes or data corruption
    • Frequency:
      Occasional - May occured/be used from time to time, in specific situation
    • Sprint:
      2020 - S8
    • Account:
      Maintenance 2020 (MAINTENANCE2020)

      Description

      When loading a Structure Definition, Fhir Validator must load the base structure definition first (in HappiAdapter.generateSnapshot). There is an issue in this method when loading a ch-emed structure definition, for example this one : https://fhir.ch/ig/ch-emed/StructureDefinition-ch-emed-composition-medicationcard.html

      The base definition of this structure definition is "http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-composition-epr". FhirValidator can only load default structure definition (from http://hl7.org/*). There is a special case in this method to load other structure definition but only if the structure definition is from IHE (from http://ihe.net/*). So it's impossible to load "ch-emed-composition-medicationcard".

      There is probably an issue in the IHE case because the structure definitions are loaded in a random order so if the structure definition is loaded before its base definition, it will not work.

        Attachments

          Activity

            People

            Assignee:
            mtoudic Malo Toudic
            Reporter:
            mtoudic Malo Toudic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h

                  Potential Duplicates