Comments (4)
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.
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.
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.
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)
- Prepopulating forms HOT 5
- Do we have any feature for patient resource? We need to update patient resource using LHC. HOT 1
- 0 value for number types in response is ignored HOT 3
- How to pre-populate values setting lhcFormData trough LhcDataService
- Integer & date datatype field issue HOT 2
- CSS is overwriting other CSS in my application HOT 2
- Static images used by lforms cannot be found. HOT 7
- Error on library import: Uncaught TypeError: Cannot read properties of null (reading 'appendChild') HOT 2
- In repeat questions, SNOMED Answer valuesets are not rendered in the second repetition HOT 2
- How to extract the full panel structure? HOT 3
- UI issue in dropdown options list when resizing the window HOT 2
- Error using run build HOT 32
- Validation popover addresses wrong answer in repeatable item HOT 2
- No response is created if an answer contains an invalid data type
- Preview in multiple columns HOT 3
- A new widget HOT 3
- Use R5 of Fhir HOT 15
- CalculatedExpressions not working? HOT 1
- Prepopulate form with source data HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lforms.