Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Conversation

@KeeyanGhoreshi
Copy link

Adds the files needed for doing the prepopulation, including the CQL file and a couple changes to the library and questionnaire files. Note that there are two new valuesets that are required for use, so you will either have to provide a VSAC API key in your environment or manually reload the data at http://localhost:8090/data using your VSAC API key.

@KeeyanGhoreshi
Copy link
Author

Small note that several of the codes which are defined directly in the CQL could also be converted into valuesets, which can be done if needed/wanted.

Also note that the prepopulation will "fail" to fill out the hepatic medical history section of the questionnaire, only including an [Object object] as the answer. This is actually a failing of lforms (or DTR, I'm not exactly sure). I had originally thought it was the result of the CQL formatting the answer incorrectly, but the same issue appears if you manually select an item from the list and then check and uncheck the box.

This problem is outside of the scope of this task, and if it functioned properly, I'm almost certain it would be prepopulated correctly given that the method used in the CQL file is identical to how every other prepopulation file in DRLS fills out a choice question.

@lmd59 lmd59 requested a review from smalho01 January 24, 2022 15:08
@smalho01 smalho01 merged commit 1059ac3 into master Jan 25, 2022
@smalho01 smalho01 deleted the turalioPrepopulation branch November 2, 2022 18:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants