Stream: implementers
Topic: validator "mismatch"
Alexander Henket (Oct 09 2019 at 19:54):
Based on discussion here: https://chat.fhir.org/#narrow/stream/179166-implementers/topic/Nictiz.20profiles.2Fextensions.20missing.20snapshot
@Grahame Grieve I'm running the following command:
java -jar ~/Development/FHIR/STU3-Java/org.hl7.fhir.validator.jar -ig . -version 3.0 -recurse "../Examples/BloodGlucose-example.xml"
- Profile folder on Github
- Example on GitHub
- What does 6 times mismatch in the output mean?
- How come ValueSet 2.16.840.1.113883.2.4.3.11.60.53.11.1--20190813000000 (3 codes from LOINC) is not a subset of binding of 2.16.840.1.113883.2.4.3.11.60.40.2.13.1.5--20171231000000 (everything LOINC)
- Why is it necessary to close slicing based on type? This prohibits something like "if you use type List, then use profile X, for other types we have no specification"
- What is the problem with Bundle-MedicationOverview? I cannot find a problem using Forge or the .Net validator
Output:
FHIR Validation tool Version 4.0.23-SNAPSHOT - Built 2019-10-02T15:02:10.634+10:00 - Git 17e7333bcab7 Detected Java version: 1.8.0_121 from /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre on x86_64 (64bit). 3641MB available Arguments: -ig . -version 3.0 -recurse ../Examples/BloodGlucose-example.xml Directories: Current = /Users/ahenket/Development/GitHub/Nictiz/Nictiz-STU3-Zib2017/Profiles - ZIB 2017, Package Cache = /Users/ahenket/.fhir/packages .. connect to tx server @ http://tx.fhir.org .. definitions from hl7.fhir.core#3.0.1 (v3.0.1) + .. load IG from . .. validate [../Examples/BloodGlucose-example.xml] mismatch mismatch mismatch mismatch mismatch Unable to generate snapshot for http://nictiz.nl/fhir/StructureDefinition/vitalsign-bloodglucose because Profile Vital Signs BloodGlucose (http://nictiz.nl/fhir/StructureDefinition/vitalsign-bloodglucose). Error generating snapshot: Binding http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.53.11.1--20190813000000 is not a subset of binding http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.13.1.5--20171231000000 mismatch ... Error in snapshot generation: Differential for http://nictiz.nl/fhir/StructureDefinition/Bundle-MedicationOverview has an element id: Bundle.entry:List.resource.subject that is not marked with a snapshot match - check validity of differential (including order) Error in snapshot generation: Differential for http://nictiz.nl/fhir/StructureDefinition/Bundle-MedicationOverview has an element id: Bundle.entry:List.resource.entry:AdministrationAgreement that is not marked with a snapshot match - check validity of differential (including order) Error in snapshot generation: Differential for http://nictiz.nl/fhir/StructureDefinition/Bundle-MedicationOverview has an element id: Bundle.entry:List.resource.entry:AdministrationAgreement.item that is not marked with a snapshot match - check validity of differential (including order) Unable to generate snapshot for http://nictiz.nl/fhir/StructureDefinition/Bundle-MedicationOverview because Profile Medication Overview response structure (http://nictiz.nl/fhir/StructureDefinition/Bundle-MedicationOverview). Error generating snapshot: Error sorting Differential: StructureDefinition http://nictiz.nl/fhir/StructureDefinition/Bundle-MedicationOverview: Differential contains path Bundle.entry.resource.subject which is not found in the base ... Unable to generate snapshot for http://nictiz.nl/fhir/StructureDefinition/zib-ProcedureRequest because Error at path null: Type slicing with slicing.rules != closed
Grahame Grieve (Oct 09 2019 at 19:55):
all this is on my task list but I'm on the road and not getting any time to keep up over the last few days
Alexander Henket (Oct 09 2019 at 19:59):
A that is good to know. I think we're getting pretty close to closure on @Anand Mohan Tumuluris questions. I believe the things stated are what's left. Firely (through @Ardon Toonstra) is looking over my shoulder and are working on the parts in the .Net validator that need some work. A bright tomorrow is coming :sunny:️
Alexander Henket (Oct 09 2019 at 20:00):
@Anand Mohan Tumuluri Feel free to test drive what's in Github Develop branch, and offer feedback on things not listed here. Thanks.
Grahame Grieve (Oct 09 2019 at 20:10):
The mismatch thing is a debugging thing in my element sorter to remind me to check for a condition and I'm still figuring out whether it's alerting me unneccessarily or if there's a problem
Alexander Henket (Oct 09 2019 at 20:13):
Would be nice to have some context on the resource it is working on at that point?
Last updated: Apr 12 2022 at 19:14 UTC