FHIR Chat · Community Post · javascript

Stream: javascript

Topic: Community Post


view this post on Zulip Grahame Grieve (Sep 26 2016 at 02:58):

Is there any valid issues here:

view this post on Zulip Grahame Grieve (Sep 26 2016 at 02:58):

http://community.fhir.org/t/fhir-js-app-integration-problems/235

view this post on Zulip Grahame Grieve (Sep 26 2016 at 02:58):

?

view this post on Zulip Michael Lawley (Sep 26 2016 at 22:31):

It's certainly not impossible, and mostly it's not too bad to use native FHIR JSON as the model for Angular-based UIs - we do that with Snapper for the CodeSystem, ConceptMap, and ValueSet editors.
It is, however, a relatively verbose format (anything self-describing through use of maps rather than arrays will be) and that poses practical constraints on, for example, use of local storage.

The main area where it's painful to work with the native JSON is things that are map-like (e.g., Parameters) where you just want to pull out some values by the parameter name, but instead you have to iterate through to find a matching 'name' (or transform to a more native-like representation).

[my 2c]

view this post on Zulip Grahame Grieve (Sep 26 2016 at 23:30):

thanks. We've been talking about change the json format for parameters to something more dense, but you need to the types in order to parse it.... so you'd need the operation definition. and all the parameters would have to be in it


Last updated: Apr 12 2022 at 19:14 UTC