numde / compass-numapp-web Goto Github PK
View Code? Open in Web Editor NEWNUM COMPASS web app
License: MIT License
NUM COMPASS web app
License: MIT License
Describe the bug
When confronted with a date field, the user has to enter a value, even though it is specified as not required (required is not set in the questionnaire).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I can skip through date questions and leave them unanswered
Smartphone (please complete the following information):
Windows 10, Firefox
Describe the bug
The app does not run when executing npm run dev
, instead it crashes with the following output:
[ ERROR ] Node Polyfills Required
For the import "crypto" to be bundled from ./node_modules/node-forge/lib/pbkdf2.js, ensure the
"rollup-plugin-node-polyfills" plugin is installed and added to the stencil config plugins (client). Please
see the bundling docs for more information. Further information: https://stenciljs.com/docs/module-bundling
[ ERROR ] Node Polyfills Required
For the import "crypto" to be bundled from ./node_modules/node-forge/lib/prng.js, ensure the
"rollup-plugin-node-polyfills" plugin is installed and added to the stencil config plugins (client). Please
see the bundling docs for more information. Further information: https://stenciljs.com/docs/module-bundling
[ ERROR ] Node Polyfills Required
For the import "crypto" to be bundled from ./node_modules/node-forge/lib/rsa.js, ensure the
"rollup-plugin-node-polyfills" plugin is installed and added to the stencil config plugins (client). Please
see the bundling docs for more information. Further information: https://stenciljs.com/docs/module-bundling
[ ERROR ] Node Polyfills Required
"rollup-plugin-node-polyfills" plugin is installed and added to the stencil config plugins (client). Please
see the bundling docs for more information. Further information: https://stenciljs.com/docs/module-bundling
[ WARN ] Bundling Warning UNRESOLVED_IMPORT
'crypto' is imported by ./node_modules/node-forge/lib/pbkdf2.js, but could not be resolved – treating it as
an external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT
'crypto' is imported by ./node_modules/node-forge/lib/prng.js, but could not be resolved – treating it as an
external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT
'crypto' is imported by ./node_modules/node-forge/lib/rsa.js, but could not be resolved – treating it as an
external dependency
[ WARN ] Bundling Warning UNRESOLVED_IMPORT
'crypto' is imported by crypto?commonjs-external, but could not be resolved – treating it as an external
dependency
[35:27.1] build failed, watching for changes... in 6.72 s
To Reproduce
Steps to reproduce the behavior:
npm ci
npm run dev
Expected behavior
The app should run
Screenshots
-
Additional context
Currently, the IBM native app uses the following object structure for the encrypted data:
{
type: "questionnaire_response",
data: {
subjectId: "7bfc3b07-a97d-4e11-8ac6-b970c1745476",
body: "{\"resourceType\": \"QuestionnaireResponse\"}"
}
}
while the Data4Life web app uses:
{
type: "questionnaire_response",
data: {
subjectId: "7bfc3b07-a97d-4e11-8ac6-b970c1745476",
body: {"resourceType": "QuestionnaireResponse"}
}
}
`
As you can see, data.body is a string in case of the IBM app, while the Data4Life app directly inserts the FHIR as JSON object.
I want to point out that it would be good to define a common behaviour here. Any opinions on this?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@types/jest
, jest
, jest-cli
)package.json
@d4l/web-components-library 2.29.0
@rollup/plugin-node-resolve 13.3.0
@stencil/core 2.17.0
@stencil/eslint-plugin 0.4.0
@stencil/router 1.0.1
@stencil/sass 1.5.2
@stencil/store 2.0.0
dotenv 16.0.1
i18next 21.8.14
i18next-browser-languagedetector 6.1.4
jsqr 1.4.0
node-forge 1.3.1
@types/fhir 0.0.35
@types/jest 29.2.3
@types/node 18.0.3
eslint 7.32.0
jest 29.3.1
jest-cli 29.3.1
prettier 2.7.1
rollup-plugin-visualizer 5.6.0
npm >7.0.0
node >14.0.0
Even though I selected something, I cannot continue. I guess, this is because the answerOptions only element is Coding.display
. But e.g. the LHC-Formbuilder emits list of options just like that if no terminology is used to code answerOptions, so I guess this is the official way by the FHIR standard.
To Reproduce
Try the following file (i had to change this extension to .txt to be able to upload it with this commit):
S0000_Well-being and COVID-19.txt
Expected behavior
After I have choosen an element, I could hit the "Fortfahren" button.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.