episphere / quest

experimenting with the idea of a questionnaire markup
https://episphere.github.io/quest/
2 stars 11 forks source link

Special Missing 'Other 55' piping #354

Closed Davinkjohnson closed 2 years ago

Davinkjohnson commented 2 years ago

When selecting 55 at MOMCANC2, the text piped at MOMCANC3V is the text that was reported in 55 at RACETH. For example I reported 55 "black" at RACETH, 55 "shin" at MOMCANC2, but saw "black" at MOMCANC3V.

Here is the MOMCANC2 question

D_814510313?] Which type(s) of cancer? Select all that apply. [939782495] Anal -> D_259397450 [135725957] Bladder -> D_528753070 [518416174] Brain -> D_683981980 [847945207] Breast -> D_402548942 [283025574] Cervical -> D_247198016 [942970912] Colon/rectal -> D_891925519 [596122041] Esophageal -> D_317093647 [489400183] Head and neck (Including cancers of the mouth, sinuses, nose, or throat. Not including brain or skin cancers.) -> D_684692228 [863246236] Kidney -> D_671347092 [607793249] Leukemia (blood and bone marrow) -> D_875221479 [532172400] Liver -> D_186170949 [754745617] Lung or bronchial -> D_726451917 [665036297] Non-Hodgkin’s lymphoma -> D_213545903 [200837530] Lymphoma -> D_765903702 [990319383] Melanoma (skin) -> D_773974223 [487917585] Non-melanoma skin (basal or squamous) -> D_433604862 [603181162] Ovarian -> D_521369040 [482225200] Pancreatic -> D_497311092 [764891959] Stomach -> D_625249910 [139822395] Thyroid -> D_838564850 [723614811] Uterine (endometrial) -> D_633764113 [807835037] Another type of cancer: Please describe |__|id=D_942347130| -> D_882263738 [178420302*] I know they had cancer, but don’t know what type -> D_671308090 < #NR -> D_367374606 >

danielruss commented 2 years ago

@Davinkjohnson I cannot reproduce this... For MOMCANC2, I selected 55 and typed "foot cancer" in the text box, and saw foot cancer as piped text. If I cleared the box (and told the modal to continue) I saw another type of cancer as piped text.

Davinkjohnson commented 2 years ago

@boyd-mj We reviewed this today and were not able to see this error. The solution we talked about was ensuring that the "id=" is used appropriately after the text boxes, and ensure the correct ID is being used when piping text later in the module.

boyd-mj commented 2 years ago

@Davinkjohnson you shouldn't see the error as we addressed this by not harmonizing the responses that would be piped in at a later point in the questionnaires. Recall that our discussion on our call yesterday was just to leave this as a placeholder to look at whether Quest could be updated so that piped responses could also be harmonized (possibly be referencing a source question somehow). I hope that makes sense.

danielruss commented 2 years ago
[Q0] Do you like Dogs
(0) No
(1) Yes

[Q1] What is you favorite animal
(1) cat
(2) dog
(3) other |__|id='123'|

[Q2] What is your favorite fruit
(1) orange
(2) apple
(3) other|__|id='123'|

[END] You said you favorite animal was {$Q1.123} and your favorite fruit was {$Q2.123}
danielruss commented 2 years ago

@Davinkjohnson Please check and close...

boyd-mj commented 2 years ago

@Davinkjohnson to your email question, yes, this captures the functionality we were talking about except that we would expect the questions (Q1, Q2) to mostly be select all that apply, not multiple choice.

From: Johnson, Davin (NIH/NCI) [C] davin.johnson@nih.gov Sent: Friday, February 18, 2022 12:40 PM To: Boyd-Morin, Jennifer (IMS) Boyd-MorinJ@imsweb.com Subject: Re: [EXTERNAL] RE: Quest Issues from 2/9 meeting

Hi Jen,

Daniel and I just put together a super simple questionnaire for #354 to try and create an example of the functionality you’re asking about. Could you/your team take a look and make sure we’ve captured it correctly?

danielruss commented 2 years ago

works with checkboxes (multiple choices) and radio buttons (choose one)