FHIR Chat · DefaultValidationSupport · hapi

Stream: hapi

Topic: DefaultValidationSupport


view this post on Zulip Aditya (May 06 2019 at 18:01):

Does FhirInstanceValidator always require DefaultValidationSupport to be passed ?

view this post on Zulip Patrick Werner (May 06 2019 at 18:55):

You can pass a class which implements IValidationSupport

view this post on Zulip Aditya (May 06 2019 at 20:04):

You can pass a class which implements IValidationSupport

Thats true, but only object of such a class implementing IValidationSupport does not suffice (atleast thats happening for me) as the system is unable to find StructureDefinitions for /id, /Meta, /Code, /Narrative etc etc which requires object of DefaultValidationSupport I guess, just wanted to confirm

view this post on Zulip Patrick Werner (May 06 2019 at 20:15):

@Aditya either your extend DefaultValidationSupport, and call super first on the methods, or you build a validation chain like this example: http://hapifhir.io/doc_validation.html#_toc_supplying_your_own_structuredefinitions (last 2 lines)


Last updated: Apr 12 2022 at 19:14 UTC