Stream: questionnaire
Topic: Applying Validations To Questionnaire
Kunjan Patel (Mar 19 2021 at 10:10):
https://www.hl7.org/fhir/valueset-questionnaire-answers-status.html
We are trying to validate a questionnaire in the Android FHIR SDK that is currently being developed. We are under a need for suggestions for - when to validate a questionnaire i.e. at what status of a questionnaire should the answers be validated? Please refer the link above for the same.
Thanks for the suggestions already!
Lloyd McKenzie (Mar 19 2021 at 13:20):
'completed' or 'amended' would be the only times when the QuestionnaireResponse would be expected to be valid
Kunjan Patel (Mar 22 2021 at 07:27):
Thank you Lloyd!
Brian Postlethwaite (Mar 25 2021 at 22:08):
Might be nice to provide "warnings" though during that validation as an FYI or similar...
Brian Postlethwaite (Mar 25 2021 at 22:09):
Alternatively, I guess good to just call Validate ahead of saving the draft...
(as to provide warnings, you'd need to be returning that resource, which might be a surprise unless the caller was using the prefer header to ask for them)
Last updated: Apr 12 2022 at 19:14 UTC