android-fhir icon indicating copy to clipboard operation
android-fhir copied to clipboard

Error handling for questionnaire rendering

Open Tarun-Bhardwaj opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. We should triage all the exceptions we through during questionnaire rendering and figure out if we do want to throw exceptions or handle errors in a more lenient way - so that we don't get client applicaitons crashing all the time.

This is more of a triage and design task, there will be some code change at the end, but I think those things will be easy to do.

One artifact to produce as part of this issue is a design that says, for example: for malformed questionnaires, we will know an illegal state exception, but for questions missing a link id, we will log a warning etc etc...

This will invovle talking with implementers.

Describe the solution you'd like NA

Describe alternatives you've considered NA

Additional context NA

Would you like to work on the issue? @santosh-pingle

Tarun-Bhardwaj avatar Jun 24 '22 08:06 Tarun-Bhardwaj

@jingtang10 would you be able to add more context on this issue please?

Tarun-Bhardwaj avatar Jul 05 '22 09:07 Tarun-Bhardwaj

@Tarun-Bhardwaj @jingtang10 Can you please provide more details.

santosh-pingle avatar Jul 12 '22 05:07 santosh-pingle

@joiskash @maimoonak fyi

jingtang10 avatar Jul 22 '22 10:07 jingtang10

I think to properly document all possible exceptions and edge cases will require a huge amount of effort and ongoing maintanance. In reality, I don't really believe the benefits here justify the cost. Closing for now. Obviously can reopen if there's a stronger need.

jingtang10 avatar Feb 21 '24 13:02 jingtang10