Stream: hapi
Topic: FhirInstanceValidator not available in 3.6.0
Aditya (May 02 2019 at 14:57):
I see that FhirInstanceValidator is not available in following jar
compile group: 'ca.uhn.hapi.fhir', name: 'hapi-fhir-structures-dstu3', version: '3.6.0'
but is available in following :
compile group: 'ca.uhn.hapi.fhir', name: 'hapi-fhir-structures-dstu3', version: '2.5'
Any reason ?
Jason Walonoski (May 02 2019 at 15:09):
Reorganization, is my guess. Validation was moved into separate jar files. For example:
testCompile 'ca.uhn.hapi.fhir:hapi-fhir-validation:3.7.0' testCompile 'ca.uhn.hapi.fhir:hapi-fhir-validation-resources-dstu3:3.7.0' testCompile 'ca.uhn.hapi.fhir:hapi-fhir-validation-resources-dstu2:3.7.0' testCompile 'ca.uhn.hapi.fhir:hapi-fhir-validation-resources-r4:3.7.0'
Jason Walonoski (May 02 2019 at 15:17):
You need the top one (i.e. "validation") and at least one of the last three (e.g. "validation-resources") depending on which version you're using.
Last updated: Apr 12 2022 at 19:14 UTC