GithubHelp home page GithubHelp logo

A new widget about lforms HOT 3 OPEN

DaniArj1980 avatar DaniArj1980 commented on August 11, 2024
A new widget

from lforms.

Comments (3)

plynchnlm avatar plynchnlm commented on August 11, 2024

I think you mean that the codes would appear in the (FHIR) QuestionnaireResponse. The answer for each question would appear under its own "item" in the QuestionnaireRepsonse (item.answer.valueCoding), and not listed together in the same array as you are showing. Is that okay?

from lforms.

DaniArj1980 avatar DaniArj1980 commented on August 11, 2024

No, my idea is that by adding the new widget.

image

The following appears when you select a drop-down menu when you select JSON preview.

image

The system, code and display had already been previously loaded in the information of the drop-down menu

from lforms.

plynchnlm avatar plynchnlm commented on August 11, 2024

I understand. So, in the short term you would need to modify the form builder to include your widget and set the codes on the Questionnaire it generates. Longer term, we have been thinking about adding a lookup feature to the system/code/display fields for item answerOption, and we could do the same for the Questionnaire code. That would not be quite the same thing, though, because you would just be picking one code, and it wouldn't be grouped by the type. Probably we could add support for hierarchical CodeSystems, so that if you defined type/subtype codes as a CodeSystem with hierarchy, we could display that hierarchy (at least for two levels) in single list, or perhaps with two list fields as you have in your picture. However, it seems like a special-case feature to include both the code and the sub-code in the Questionnaire, so you might be better off with your own customization.

from lforms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.