Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REAL_EXAMPLE_1_KBV_PR_MIO_DIGA_Bundle.xml validates with Errors #6

Open
grekko-headacy opened this issue Mar 15, 2024 · 1 comment
Open

Comments

@grekko-headacy
Copy link

When I run the validator against the REAL_EXAMPLE_1_KBV_PR_MIO_DIGA_Bundle.xml some Errors are reported:

java -jar validator_cli.jar ./Example/REAL_EXAMPLE_1_KBV_PR_MIO_DIGA_Bundle.xml -ig "hl7.fhir.core#4.0.1" -ig "kbv.mio.diga#1.1.0" -html-output validation.html
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
SLF4J: Ignoring binding found at [jar:file:/Users/gregory.igelmund.extern/scm/mio42-GmbH.Validierungspaket-MIO-DiGA-Toolkit/validator_cli.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See https://www.slf4j.org/codes.html#ignoredBindings for an explanation.
FHIR Validation tool Version 6.3.1 (Git# 072be957d436). Built 2024-03-10T21:41:48.867Z (4 days old)
  Java:   11.0.22 from /opt/homebrew/Cellar/openjdk@11/11.0.22/libexec/openjdk.jdk/Contents/Home on aarch64 (64bit). 2048MB available
  Paths:  Current = /Users/gregory.igelmund.extern/scm/mio42-GmbH.Validierungspaket-MIO-DiGA-Toolkit, Package Cache = /Users/gregory.igelmund.extern/.fhir/packages
  Params: ./Example/REAL_EXAMPLE_1_KBV_PR_MIO_DIGA_Bundle.xml -ig hl7.fhir.core#4.0.1 -ig kbv.mio.diga#1.1.0 -html-output validation.html
  Locale: Germany/DE
  Jurisdiction: Germany
Loading
  Load FHIR v4.0 from hl7.fhir.r4.core#4.0.1 - 4576 resources (00:03.120)
  Load hl7.fhir.uv.extensions.r4#1.0.0 - 1328 resources (00:01.728)
  Load hl7.terminology#5.5.0 - 4224 resources (00:01.165)
  Load hl7.terminology.r5#5.0.0 - 4174 resources (00:00.806)
  Load hl7.fhir.uv.extensions#1.0.0 - 1328 resources (00:00.775)
  Terminology server http://tx.fhir.org - Version Connected to Terminology Server at http://tx.fhir.org (00:00.928)
  Load de.basisprofil.r4#1.3.2 - 177 resources (00:00.050)
  Load kbv.basis#1.3.0 - 146 resources (00:00.060)
  Load kbv.mio.diga#1.1.0 - 74 resources (00:00.167)
  Package Summary: [hl7.fhir.r4.core#4.0.1, hl7.fhir.xver-extensions#0.1.0, hl7.fhir.uv.extensions.r4#1.0.0, hl7.terminology#5.5.0, hl7.terminology.r5#5.0.0, hl7.fhir.uv.extensions#1.0.0, de.basisprofil.r4#1.3.2, kbv.basis#1.3.0, kbv.mio.diga#1.1.0]
  Get set... checkToSeeIfSlicingExists: Goal.target.detailCodeableConcept:detailCodeableConcept is not sliced
checkToSeeIfSlicingExists: Observation.valueCodeableConcept:valueCodeableConcept is not sliced
 go (00:03.272)
Validating
  Validate ./Example/REAL_EXAMPLE_1_KBV_PR_MIO_DIGA_Bundle.xml
Validate Bundle against http://hl7.org/fhir/StructureDefinition/Bundle|4.0.1..........20..........40..........60..........80.........|
Validate Bundle against https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Bundle..|
 00:04.952
Done. Times: Loading: 00:12.157, validation: 00:04.952. Memory = 936Mb

*FAILURE*: 14 errors, 62 warnings, 91 notes
  Error @ Bundle.entry[4].resource/*Procedure/dca59d88-3179-11ec-8d3d-0242ac130003*/.code.coding[0].display (line 327, col23): Wrong Display Name 'Running (observable entity)' for http://snomed.info/sct#10847001. Valid display is one of 6 choices: 'Bronchoscopy', 'Endoscopy of bronchus', 'By - Bronchoscopy', 'Tracheobronchial endoscopy', 'Bronchial endoscopy' or 'Bronchoscopy (procedure)' (for the language(s) '--')
  Error @ Bundle.entry[12].resource/*Observation/c438e5ce-3800-11ec-8d3d-0242ac130003*/.category[0].coding[0].display (line 750, col27): Wrong Display Name 'Assessment score (observable entity):Scale type (attribute)=Quantitative (qualifier value)' for http://snomed.info/sct#782487009:370132008=30766002. Valid display is 'Assessment score where Scale type = Quantitative' (for the language(s) '--')
  Error @ Bundle.entry[0].resource/*Composition/8e17ccc0-9d1a-11eb-a8b3-0242ac130003*/.section[0].entry[0] (line 65, col24): Unable to find a match for profile urn:uuid:dca59d88-3179-11ec-8d3d-0242ac130003 among choices: https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Procedure_Activity|1.1.0
  Error @ Bundle.entry[0].resource/*Composition/8e17ccc0-9d1a-11eb-a8b3-0242ac130003*/.section[2].entry[0] (line 95, col24): Unable to find a match for profile urn:uuid:d00ab21d-5d9f-4055-9c54-7055aad5bee0 among choices: https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_AllergyIntolerance|1.1.0, https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Condition_Problem|1.1.0
  Error @ Bundle.entry[0].resource/*Composition/8e17ccc0-9d1a-11eb-a8b3-0242ac130003*/.section[5].entry[0] (line 145, col24): Unable to find a match for profile urn:uuid:dca59162-3179-11ec-8d3d-0242ac130003 among choices: https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_DIGA_Observation_Diary_Entry|1.1.0
  Error @ Bundle.entry[2].resource/*Provenance/799616d1-34e4-43c7-817e-f877501ea0e7*/.target[0] (line 208, col25): Unable to find a match for profile urn:uuid:d00ab21d-5d9f-4055-9c54-7055aad5bee0 among choices: 

[…] // Logs omitted

Done. Times: Loading: 00:12.157, validation: 00:04.952. Max Memory = 2Gb

You can have a look at the full validation report for details.

I am using the latest FHIR Validation tool (Version 6.3.1) and downloaded the Example file from the current master-branch permalink

The other real examples validate fine for me. Its just the 1st Example that raises errors.

@dkipping-mio42
Copy link
Collaborator

Thanks for raising the issue, we can confirm that we can reproduce the issues.
We'll update the example as soon as possible to fix the occuring errors.
It seems like it is caused by terminology issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants