-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CARDS-1336: Serialize survey responses to EPIC-friendly json format #1198
base: dev
Are you sure you want to change the base?
Conversation
This gives us a good start. A general note:
Things to do:
|
180f002
to
552dcf1
Compare
|
...ces/backend/src/main/java/io/uhndata/cards/proms/internal/serialize/ToEpicFormProcessor.java
Outdated
Show resolved
Hide resolved
...ces/backend/src/main/java/io/uhndata/cards/proms/internal/serialize/ToEpicFormProcessor.java
Outdated
Show resolved
Hide resolved
...ces/backend/src/main/java/io/uhndata/cards/proms/internal/serialize/ToEpicFormProcessor.java
Outdated
Show resolved
Hide resolved
...ces/backend/src/main/java/io/uhndata/cards/proms/internal/serialize/ToEpicFormProcessor.java
Outdated
Show resolved
Hide resolved
|
552dcf1
to
3910b24
Compare
600a1cb
to
ebe564c
Compare
f3d4428
to
41e8c07
Compare
9c7e4ce
to
120d717
Compare
120d717
to
ef9f91e
Compare
ef9f91e
to
de13107
Compare
@sashaandjic Fixed the "status": "in-progress" part. |
Looking at the specs once again, it looks like the alternative status is |
The placeholders left:
|
21f88d5
to
6545cd4
Compare
Added build integration. Rebased on the latest |
Integration with CARDS-1884 to actually output the Epic identifiers in the serialization
Fixed typos and rename property
Updated code to take into consideration the most recent changes of 1884
Moved processor to the separate module epic-integration; Better answer processing;
Added visit status json processing
renamed label to type
Fixed the sql query to set the status
Integrating new cards-epic-integration module in the build
Set the completed status if there are no in-progress visit forms
6545cd4
to
3c2a0ba
Compare
POC for the CARDS-1336
To test with
./start_cards.sh -P prems -f mvn:io.uhndata.cards/cards-epic-integration/0.9-SNAPSHOT/slingosgifeature
ExternalLink
to the questionnaire and some questions (label has to beepic
)Visit
form for it.toEpic.deep.json
.For example:
http://localhost:8080/Forms/84c7c113-4d7e-4b88-b890-4b20240abacf.toEpic.deep.json
In the generated JSON you should see: