GithubHelp home page GithubHelp logo

Comments (4)

plynchnlm avatar plynchnlm commented on August 11, 2024

We are looking into this. LHC-Forms throws an exception when trying to update the display status (maybe going into a loop because the items refer to each other via the enableWhen-- but that is just a guess).

from lforms.

plynchnlm avatar plynchnlm commented on August 11, 2024

Since our FHIR server resets itself, I am pasting the Questionnaire referenced above here so we doing lose this test case:

{
  "resourceType": "Questionnaire",
  "id": "[5770853](https://lforms-smart-fhir.nlm.nih.gov/v/r4/fhir/Questionnaire/5770853)",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2024-02-06T10:00:41.000-05:00",
    "source": "#6P24rcs39k6A1KvN",
    "tag": [
      {
        "code": "lformsVersion: 29.0.0"
      }
    ]
  },
  "url": "https://aphp.fr/ig/fhir/sdc/Questionnaire/test_conditionnal_loop",
  "title": "form illustrating issue in conditional display resolution",
  "status": "draft",
  "item": [
    {
      "linkId": "2968534520641",
      "text": "Traumatisme ou blessure ligamentaire",
      "type": "boolean",
      "enableWhen": [
        {
          "question": "3109258400896",
          "operator": "!=",
          "answerBoolean": true
        }
      ],
      "enableBehavior": "all",
      "repeats": false,
      "initial": [
        {
          "valueBoolean": false
        }
      ]
    },
    {
      "linkId": "366620113335",
      "text": "Troubles congénitaux ou développementaux",
      "type": "boolean",
      "enableWhen": [
        {
          "question": "3109258400896",
          "operator": "!=",
          "answerBoolean": true
        }
      ],
      "enableBehavior": "all",
      "repeats": false,
      "initial": [
        {
          "valueBoolean": false
        }
      ]
    },
    {
      "linkId": "5052291573689",
      "text": "Autres troubles articulaires",
      "type": "boolean",
      "enableWhen": [
        {
          "question": "3109258400896",
          "operator": "!=",
          "answerBoolean": true
        }
      ],
      "enableBehavior": "all",
      "repeats": false,
      "initial": [
        {
          "valueBoolean": false
        }
      ]
    },
    {
      "linkId": "3109258400896",
      "text": "Aucun antécédent",
      "type": "boolean",
      "enableWhen": [
        {
          "question": "2968534520641",
          "operator": "!=",
          "answerBoolean": true
        },
        {
          "question": "366620113335",
          "operator": "!=",
          "answerBoolean": true
        },
        {
          "question": "5052291573689",
          "operator": "!=",
          "answerBoolean": true
        }
      ],
      "enableBehavior": "all",
      "repeats": false,
      "initial": [
        {
          "valueBoolean": false
        }
      ]
    }
  ]
}```

from lforms.

lhcye avatar lhcye commented on August 11, 2024

It is a bug and it is fixed in version 35.0.1. Please give it a try. Thanks for the reporting it to us.

from lforms.

plynchnlm avatar plynchnlm commented on August 11, 2024

I think we'll need to update the version of lforms used by the NLM Form Builder for you to see the fix.

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.