Stream: hapi
Topic: DefaultValidationSupport
Aditya (May 06 2019 at 18:01):
Does FhirInstanceValidator always require DefaultValidationSupport to be passed ?
Patrick Werner (May 06 2019 at 18:55):
You can pass a class which implements IValidationSupport
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
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