FHIR Chat · ErrorOnAutoCreate · hapi

Stream: hapi

Topic: ErrorOnAutoCreate


view this post on Zulip Grahame Grieve (Aug 04 2019 at 21:22):

the HAPI core library has this, everywhere:

     if (this.language == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create Expression.language");
        else if (Configuration.doAutoCreate())
          this.language = new CodeType(); // bb

view this post on Zulip Grahame Grieve (Aug 04 2019 at 21:22):

this was originally added to help people manage migration, but it was many years ago. Is this something we should consider removing, or have people used these? is there anyway to find out?

view this post on Zulip James Agnew (Aug 05 2019 at 19:45):

I've never encountered anyone who wasn't using the default behaviour, fwiw.

I'd be in favour of removing.

view this post on Zulip Grahame Grieve (Aug 05 2019 at 21:24):

@James Agnew can you check in the other HAPI support forum? (maybe announce it as a forth coming change)


Last updated: Apr 12 2022 at 19:14 UTC