From dd25e07df09d21b948981edcd031ab4a42a1d267 Mon Sep 17 00:00:00 2001 From: Gerrit Vermeulen Date: Mon, 21 Oct 2024 10:02:52 +0200 Subject: [PATCH 1/2] Hardcode DMA Form's result labels --- Onboarding/QA/flows/dma-form.md | 114 +- Onboarding/QA/flows_json/dma-form.json | 14307 +---------------------- 2 files changed, 50 insertions(+), 14371 deletions(-) diff --git a/Onboarding/QA/flows/dma-form.md b/Onboarding/QA/flows/dma-form.md index ae52d0e..33825f6 100644 --- a/Onboarding/QA/flows/dma-form.md +++ b/Onboarding/QA/flows/dma-form.md @@ -80,7 +80,8 @@ card GetAssessment, then: CheckEnd do timeout: 5_000, cache_ttl: 60_000, query: [ - ["tag", "@config.items.assessment_tag"] + # TODO: Remove hard coding when flow tester gets support for dicts + ["tag", "dma_form"] ], headers: [ ["content-type", "application/json"], @@ -112,8 +113,8 @@ card GetAssessment, then: CheckEnd do log("Starting assessment @config.items.assessment_tag") write_result("version", "@version") - v_start = concatenate(slug, "_", version, "_start") - write_result("@v_start", "@config.items.assessment_tag") + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_started", "yes") write_result("locale", "@locale") end @@ -139,8 +140,8 @@ card CheckEnd when question_num == count(questions), then: End do # workaround because the percentage calculation will throw a division by 0 error if max_score is 0 in either an if or a when clause. score_perc = score / max(max_score, 1) * 100 - slug_end = concatenate(slug, "_end") - write_result("@slug_end", "@assessment_data.slug") + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_completed", "yes") end card CheckEnd do @@ -297,7 +298,7 @@ end card QuestionError when questions[question_num].question_type == "integer_question" and @question_response != lower("skip"), - then: GetQuestion do + then: CheckEnd do log( "Invalid input for integer_question: @question_response. Required value between @min and @max." ) @@ -314,7 +315,7 @@ end card QuestionError when questions[question_num].question_type == "year_of_birth_question" and @question_response != lower("skip"), - then: GetQuestion do + then: CheckEnd do log( "Invalid input for year_of_birth_question: @question_response. Required value between @lower_bound_year and @get_year" ) @@ -330,7 +331,7 @@ card QuestionError text("@styled_error") end -card QuestionError when has_all_members(keywords, [@question_response]), then: GetQuestion do +card QuestionError when has_all_members(keywords, [@question_response]), then: CheckEnd do explainer = if( is_nil_or_empty(question.explainer), @@ -341,17 +342,13 @@ card QuestionError when has_all_members(keywords, [@question_response]), then: G text("@explainer") end -card QuestionError when @question_response == lower("skip"), then: GetQuestion do +card QuestionError when @question_response == lower("skip"), then: StoreResponse do # If they skip a question we should # - record the answer as "skip" # - increment skip count # - do not count the question towards the score # - do not add the max score for this question (i.e. completely exclude this question from scoring) - result_tag = concatenate("@slug", "_", "@version", "_question_num") - write_result("@result_tag", question_num) question_id = questions[question_num].semantic_id - result_tag = concatenate("@slug", "_", "@version", "_", "@question_id") - write_result("@result_tag", "skip") skip_count = skip_count + 1 log("Skipping question @question_num") @@ -360,7 +357,7 @@ card QuestionError when @question_response == lower("skip"), then: GetQuestion d question_num = question_num + 1 end -card QuestionError, then: GetQuestion do +card QuestionError, then: CheckEnd do # If we have an error for this question, then use that, otherwise use the generic one error = if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error) log("Question number is @question_num") @@ -393,11 +390,7 @@ card CheckEndMultiselect then: StoreResponse do question_num = question_num + 1 # write the answer results - result_tag = concatenate("@slug", "_", "@version", "question_num") - write_result("@result_tag", question_num) question_id = questions[question_num].semantic_id - result_tag = concatenate("@slug", "_", "@version", "_", "@question_id") - write_result("@result_tag", "@multiselect_answer") log("Answered @multiselect_answer to question @question_num") end @@ -442,17 +435,13 @@ card MultiselectError when has_all_members(keywords, [@question_response]), text("@explainer") end -card MultiselectError when lower(@question_response) == "skip", then: GetQuestion do +card MultiselectError when lower(@question_response) == "skip", then: CheckEndMultiselect do # If they skip a question we should # - record the answer as "skip" # - increment skip_count # - do not count the question towards the score # - do not add the max score for this question (i.e. completely exclude this question from scoring) - result_tag = concatenate("@slug", "_", "@version", "question_num") - write_result("@result_tag", question_num) question_id = questions[question_num].semantic_id - result_tag = concatenate("@slug", "_", "@version", "_", "@question_id") - write_result("@result_tag", "skip") skip_count = skip_count + 1 @@ -511,11 +500,6 @@ We record the following Flow Results: card QuestionResponse when questions[question_num].question_type == "integer_question", then: StoreResponse do question_id = questions[question_num].semantic_id - write_result("@slug_@version_question_num", question_num) - write_result("@slug_@version_question", question.question) - write_result("@slug_@version_@question_id", "@question_response") - write_result("@slug_@version_min", min) - write_result("@slug_@version_max", max) question_num = question_num + 1 end @@ -523,9 +507,6 @@ end card QuestionResponse when questions[question_num].question_type == "freetext_question", then: StoreResponse do question_id = questions[question_num].semantic_id - write_result("@slug_@version_question_num", question_num) - write_result("@slug_@version_question", question.question) - write_result("@slug_@version_@question_id", "@question_response") question_num = question_num + 1 end @@ -533,8 +514,6 @@ end card QuestionResponse when questions[question_num].question_type == "age_question", then: StoreResponse do question_id = questions[question_num].semantic_id - write_result("@slug_@version_question_num", question_num) - write_result("@slug_@version_@question_id", "@question_response") log("Answered @age to question @question_num") question_num = question_num + 1 @@ -543,9 +522,6 @@ end card QuestionResponse when questions[question_num].question_type == "year_of_birth_question", then: StoreResponse do question_id = questions[question_num].semantic_id - write_result("@slug_@version_question_num", question_num) - write_result("@slug_@version_question", question.question) - write_result("@slug_@version_@question_id", "@question_response") question_num = question_num + 1 end @@ -557,26 +533,20 @@ card QuestionResponse then: CheckEnd do log("Skipping to end of Form") answer = find(question.answers, &(&1.answer == question_response)) - write_result("@slug_@version_question_num", question_num) question_id = questions[question_num].semantic_id - write_result("@slug_@version_@question_id", "@question_response") log("Answered @answer.answer to question @question_num") score = score + answer.score question_num = count(questions) end -card QuestionResponse when lower("@question_response") == "skip", then: CheckEnd do +card QuestionResponse when lower("@question_response") == "skip", then: StoreResponse do # If they skip a question we should # - record the answer as "skip" # - increment skip_count # - do not count the question towards the score # - do not add the max score for this question (i.e. completely exclude this question from scoring) - result_tag = concatenate("@slug", "_", "@version", "_question_num") - write_result("@result_tag", question_num) question_id = questions[question_num].semantic_id - result_tag = concatenate("@slug", "_", "@version", "_", "@question_id") - write_result("@result_tag", "skip") skip_count = skip_count + 1 @@ -591,11 +561,6 @@ card QuestionResponse, then: StoreResponse do max_question_score = reduce(scores, scores[0], &max(&1, &2)) answer = find(question.answers, &(&1.answer == question_response)) question_id = questions[question_num].semantic_id - result_tag = concatenate("@slug", "_", "@version", "_question_num") - write_result("@result_tag", question_num) - # for multiple choice and categorical questions, save the semantic_id - result_tag = concatenate("@slug", "_", "@version", "_", "@question_id") - write_result("@result_tag", answer.semantic_id) log("Answered @answer.answer to question @question_num") max_score = max_score + max_question_score @@ -611,27 +576,47 @@ end These cards are to configure storing the answers of the Form in contact fields. Each question will need its own contact field. Most forms won't need this, so you can comment out or remove the cards (Except the last / default one which is critical to the flow of Forms). ```stack -card StoreResponse when questions[question_num].semantic_id == "dma-do-things" do +card StoreResponse when question_id == "dma-do-things" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-do-things", semantic_id) update_contact(dma_01: "@question_response") then(CheckEnd) end -card StoreResponse when questions[question_num].semantic_id == "dma-medical-care" do +card StoreResponse when question_id == "dma-medical-care" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-medical-care", semantic_id) update_contact(dma_02: "@question_response") then(CheckEnd) end -card StoreResponse when questions[question_num].semantic_id == "dma-sharing" do +card StoreResponse when question_id == "dma-sharing" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-sharing", semantic_id) update_contact(dma_03: "@question_response") then(CheckEnd) end -card StoreResponse when questions[question_num].semantic_id == "dma-medical-advice" do +card StoreResponse when question_id == "dma-medical-advice" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-medical-advice", semantic_id) update_contact(dma_04: "@question_response") then(CheckEnd) end -card StoreResponse when questions[question_num].semantic_id == "dma-find-solutions" do +card StoreResponse when question_id == "dma-find-solutions" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-find-solutions", semantic_id) update_contact(dma_05: "@question_response") then(CheckEnd) end @@ -655,8 +640,8 @@ We record the following Flow Results: card End when skip_count < skip_threshold and score_perc >= assessment_data.high_inflection do - result_tag = concatenate("@slug", "_", "@version", "_risk") - write_result("@result_tag", "high") + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_risk", "high") log("Assessment risk: high") page_id = assessment_data.high_result_page.id @@ -667,8 +652,8 @@ card End when skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection do - result_tag = concatenate("@slug", "_", "@version", "_risk") - write_result("@result_tag", "medium") + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_risk", "medium") log("Assessment risk: medium") page_id = assessment_data.medium_result_page.id @@ -676,8 +661,8 @@ card End end card End when skip_count >= skip_threshold do - result_tag = concatenate("@slug", "_", "@version", "_risk") - write_result("@result_tag", "skip_high") + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_risk", "skip_high") log("Assessment risk: skip_high") page_id = assessment_data.skip_high_result_page.id @@ -685,8 +670,8 @@ card End when skip_count >= skip_threshold do end card End do - result_tag = concatenate("@slug", "_", "@version", "_risk") - write_result("@result_tag", "low") + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_risk", "low") log("Assessment risk: low") page_id = assessment_data.low_result_page.id @@ -694,10 +679,9 @@ card End do end card DisplayEndPage do - result_tag = concatenate("@slug", "_", "@version", "_score") - write_result("@result_tag", score) - result_tag = concatenate("@slug", "_", "@version", "_max_score") - write_result("@result_tag", max_score) + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_score", score) + write_result("mnch_onboarding_dma_form_v1.0_max_score", max_score) response = get("https://content-repo-api-qa.prk-k8s.prd-p6t.org/api/v2/pages/@page_id/", diff --git a/Onboarding/QA/flows_json/dma-form.json b/Onboarding/QA/flows_json/dma-form.json index 8674386..7692904 100644 --- a/Onboarding/QA/flows_json/dma-form.json +++ b/Onboarding/QA/flows_json/dma-form.json @@ -1,14306 +1 @@ -{ - "name": "DMA Form", - "description": "Default description", - "uuid": "690a9ffd-db6d-42df-ad8f-a1e5b469a099", - "resources": [ - { - "values": [ - { - "value": "@page_id", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "ce847b43-2a57-4ecc-bbd3-6342b9fdf7b6" - }, - { - "values": [ - { - "value": "@message_body", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "f9f71789-f9aa-43c6-93b1-aa8ef2c339eb" - }, - { - "values": [ - { - "value": "Current score: @score, Current max score: @max_score", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "e16b4b5d-a283-4498-91b2-e599e292f920" - }, - { - "values": [ - { - "value": "Question number is @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "67700737-2893-4c00-867a-1a8dbcf0f8f5" - }, - { - "values": [ - { - "value": "Answer number is @answer_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "ead33a29-53d2-4896-a8cf-846307da2138" - }, - { - "values": [ - { - "value": "You entered @question_response", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "086b474f-477a-4880-ab4a-4ff734267bd1" - }, - { - "values": [ - { - "value": "@error", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "8d7d4630-5aae-4863-909a-bb57a24f53bd" - }, - { - "values": [ - { - "value": "Skipping multiselect question @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "7eb05c73-0380-4398-8fef-77be771ca496" - }, - { - "values": [ - { - "value": "Current score: @score, Current max score: @max_score", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "7a006abb-b24a-44ab-a259-7b054040d42c" - }, - { - "values": [ - { - "value": "@explainer", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "5d9f1532-a048-4d6f-b174-e073704ffaf2" - }, - { - "values": [ - { - "value": "Answered @multiselect_answer to question @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "73ce7f67-d347-4836-9e76-974bae459d82" - }, - { - "values": [ - { - "value": "Valid input", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "cfb70d80-d6e6-44d7-a2af-14a30721494f" - }, - { - "values": [ - { - "value": "Invalid input", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "ca00a6ad-ab7b-42f9-8a5d-bd6147cfe02f" - }, - { - "values": [ - { - "value": "Error input", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "61eae92b-dc99-4192-97e3-49803b3e7d5b" - }, - { - "values": [ - { - "value": "Error input", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "79dde111-c87d-472d-ba49-6e94e9fac7fc" - }, - { - "values": [ - { - "value": "Question number is @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "b330858a-128d-4b0b-8cd0-d926c35eede6" - }, - { - "values": [ - { - "value": "You entered @question_response", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "a345e171-5bac-4fbd-85a1-08158bf96636" - }, - { - "values": [ - { - "value": "@error", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "6ffce41d-1756-410c-a3b7-69ea11db5e8b" - }, - { - "values": [ - { - "value": "Skipping question @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "e34a6c43-92d4-40bc-836f-ef9d94898d61" - }, - { - "values": [ - { - "value": "Current score: @score, Current max score: @max_score", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "5acb7279-e0da-4c17-98ca-c78f691b1cab" - }, - { - "values": [ - { - "value": "@explainer", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "e2c18782-4d97-489f-af70-be731fbb19e4" - }, - { - "values": [ - { - "value": "Invalid input for year_of_birth_question: @question_response. Required value between @lower_bound_year and @get_year", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "1e5c7dc7-ec11-423e-9c33-f9332cb3e85b" - }, - { - "values": [ - { - "value": "get_year is @get_year and difference is @difference", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "d0c780d2-07de-4598-ba8b-8c63b9277e92" - }, - { - "values": [ - { - "value": "@styled_error", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "7de75073-bf4b-4af5-a953-17c4741342e2" - }, - { - "values": [ - { - "value": "Invalid input for integer_question: @question_response. Required value between @min and @max.", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "5676a4aa-ac28-4444-8265-359dc2f9613f" - }, - { - "values": [ - { - "value": "@styled_error", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "a8122e7b-a170-4766-a8f5-21db91913a60" - }, - { - "values": [ - { - "value": "@explainer", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "dfe2b708-61fb-4e3c-b9d1-97c4d415896e" - }, - { - "values": [ - { - "value": "Validation suceeded for age question", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "2915c023-c20b-4cf7-82b1-d8fa07c542cc" - }, - { - "values": [ - { - "value": "Validatation failed for age question", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "d064ee2c-97c8-4a48-bc9c-6f6d0dd0bf6b" - }, - { - "values": [ - { - "value": "Explainer returned for age question", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "85ded4f5-f84e-4235-89df-4d3d085faa8d" - }, - { - "values": [ - { - "value": "Answered @answer.answer to question @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "1a3ada70-7fea-4bef-8b51-3241942e0c53" - }, - { - "values": [ - { - "value": "Current score: @score, Current max score: @max_score", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "a1ea15ee-0899-40bb-b88a-e272c7e1cefe" - }, - { - "values": [ - { - "value": "Skipping question @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "dd44cb67-720b-45a2-9592-d7bc957bdd65" - }, - { - "values": [ - { - "value": "Current score: @score, Current max score: @max_score", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "b3181c43-40d0-4266-82db-28b69f048318" - }, - { - "values": [ - { - "value": "Skipping to end of Form", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "fc6435ed-60e3-41bf-a727-e32bcf3a85ee" - }, - { - "values": [ - { - "value": "Answered @answer.answer to question @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "b7ba0056-00da-45bc-b937-261545f70693" - }, - { - "values": [ - { - "value": "Answered @age to question @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "0c4f5bcd-d086-4fe2-beb3-b6c37aa36556" - }, - { - "values": [ - { - "value": "Question type is @type", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "ff52b56f-6b35-4fe2-b964-5f136290715d" - }, - { - "values": [ - { - "value": "Your answer was @question_response to question number @question_num", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "a9bb2de7-5b5c-4e85-84e3-d66131695c45" - }, - { - "values": [ - { - "value": "@explainer", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "2ace5e8a-a6ca-4213-b54b-50bf7e750c95" - }, - { - "values": [ - { - "value": "@multiselect_question_text", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "35e1273e-e30a-43b4-9e6f-bd20cc141128" - }, - { - "values": [ - { - "value": "Yes", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "3777b6b9-749b-4433-9c82-7f3a60596205" - }, - { - "values": [ - { - "value": "No", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "0cca8d01-2bc9-488b-be85-69fff3bf3413" - }, - { - "values": [ - { - "value": "@question_text", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "0ad643e8-e613-4d0a-9bde-4bc8f7a1bd00" - }, - { - "values": [ - { - "value": "QuestionResponse", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "2e86692f-5fe1-4ba6-90b3-5272d5187441" - }, - { - "values": [ - { - "value": "@question_text", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "9361c9a8-45d8-491a-b7a1-250a8c8429ab" - }, - { - "values": [ - { - "value": "@question_text", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "48c7d156-25d9-4a6d-a065-563a5aca3c3f" - }, - { - "values": [ - { - "value": "@question_text", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "58203530-7b40-41db-8f19-d182d25df8f5" - }, - { - "values": [ - { - "value": "@question_text", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "1759b1c8-27fa-409c-8f5f-3d196050be88" - }, - { - "values": [ - { - "value": "@question_text", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - }, - { - "value": "Select option", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "a77d15dd-788d-4024-8c2c-f03503cc087a" - }, - { - "values": [ - { - "value": "Assessment risk: low", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "d8ffc2f6-2ba7-4531-a912-8ba382e8d5e9" - }, - { - "values": [ - { - "value": "Assessment risk: skip_high", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "dc5805d9-f162-4318-9f93-91ffe054a898" - }, - { - "values": [ - { - "value": "Assessment risk: medium", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "db812254-6f01-47ed-a45a-643754b56b86" - }, - { - "values": [ - { - "value": "Assessment risk: high", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "a379acb4-7120-4dbe-b3d1-c757f28a9e67" - }, - { - "values": [ - { - "value": "Fetching assessment @config.items.assessment_tag", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "7e6bf323-4149-4d50-a604-5b501e0a2ca4" - }, - { - "values": [ - { - "value": "Starting assessment @config.items.assessment_tag", - "modes": [ - "RICH_MESSAGING" - ], - "content_type": "TEXT", - "mime_type": "text/plain", - "language_id": "c56a4177-fed9-43f0-828e-3ade4922b0b1" - } - ], - "uuid": "ff4666f4-9ee8-4487-bf88-c5034fae12bc" - } - ], - "flows": [ - { - "label": null, - "name": "stack", - "blocks": [ - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "890fe97e-ee90-5925-bf67-0c86ca83313c", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_score\")", - "config": {}, - "test": "", - "uuid": "456bdc37-30a5-4b2a-86ee-f61906adbffa", - "destination_block": "5149d723-5b15-5707-9d41-36ebfb75cd88", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 557 - }, - "name": "DisplayEndPage", - "uuid": "e8288a8a-72ae-50b8-9ffe-80fdf0569447" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 558 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "score" - }, - "tags": [], - "uuid": "5149d723-5b15-5707-9d41-36ebfb75cd88", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "b5e35953-47e9-47bb-847e-69baeb47802f", - "destination_block": "26048d5d-0d71-513a-b6dd-88c0f8b87749", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 557 - }, - "name": "DisplayEndPage", - "uuid": "e8288a8a-72ae-50b8-9ffe-80fdf0569447" - }, - "card_item": { - "meta": { - "column": 3, - "line": 559 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "26048d5d-0d71-513a-b6dd-88c0f8b87749", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_max_score\")", - "config": {}, - "test": "", - "uuid": "a6c9153d-4ad4-453f-b69e-2db282985427", - "destination_block": "03812bb9-21bd-53ff-9638-f356a6d75753", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 557 - }, - "name": "DisplayEndPage", - "uuid": "e8288a8a-72ae-50b8-9ffe-80fdf0569447" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 560 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "max_score" - }, - "tags": [], - "uuid": "03812bb9-21bd-53ff-9638-f356a6d75753", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "4afac46c-35da-41ee-bf3b-0289c6fa64cd", - "destination_block": "807f59b3-3f19-5808-ae17-1db269c321ec", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 557 - }, - "name": "DisplayEndPage", - "uuid": "e8288a8a-72ae-50b8-9ffe-80fdf0569447" - }, - "card_item": { - "meta": { - "column": 3, - "line": 561 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "response", - "type": "Io.Turn.Webhook", - "config": { - "timeout": 5000, - "mode": "sync", - "body": null, - "query": [ - [ - "whatsapp", - "true" - ] - ], - "url": "https://content-repo-api-qa.prk-k8s.prd-p6t.org/api/v2/pages/@page_id/", - "headers": [ - [ - "content-type", - "application/json" - ], - [ - "authorization", - "Token @global.config.contentrepo_token" - ] - ], - "method": "GET", - "cache_ttl": 60000 - }, - "tags": [], - "uuid": "807f59b3-3f19-5808-ae17-1db269c321ec", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "response", - "config": {}, - "test": "", - "uuid": "788d2dcf-d753-4414-9c12-ae1498bfedd7", - "destination_block": "77a835ab-e80e-5a0b-aa63-3b75ae27ff49", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 557 - }, - "name": "DisplayEndPage", - "uuid": "e8288a8a-72ae-50b8-9ffe-80fdf0569447" - }, - "card_item": { - "meta": { - "column": 3, - "line": 563 - }, - "type": "webhook", - "webhook": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "display_end_page_log", - "type": "Core.Log", - "config": { - "message": "ce847b43-2a57-4ecc-bbd3-6342b9fdf7b6" - }, - "tags": [], - "uuid": "77a835ab-e80e-5a0b-aa63-3b75ae27ff49", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "display_end_page_log", - "config": {}, - "test": "", - "uuid": "9ba73249-533d-4606-b47f-e0c725313c00", - "destination_block": "43ee3c32-86b4-5bcd-ad08-03899ca0091d", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 557 - }, - "name": "DisplayEndPage", - "uuid": "e8288a8a-72ae-50b8-9ffe-80fdf0569447" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 576 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "message_body", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "43ee3c32-86b4-5bcd-ad08-03899ca0091d", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "response.body.body.text.value.message", - "config": {}, - "test": "", - "uuid": "b2544477-6c19-47f4-816a-4f9bc1db4997", - "destination_block": "74fc6b6b-823b-53a2-853f-ee68ede98a94", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 557 - }, - "name": "DisplayEndPage", - "uuid": "e8288a8a-72ae-50b8-9ffe-80fdf0569447" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 577 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "display_end_page_text", - "type": "MobilePrimitives.Message", - "config": { - "prompt": "f9f71789-f9aa-43c6-93b1-aa8ef2c339eb" - }, - "tags": [], - "uuid": "74fc6b6b-823b-53a2-853f-ee68ede98a94", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "display_end_page_text", - "config": {}, - "test": "", - "uuid": "2cb5e318-e40b-4bd9-a546-be4a81be6b95", - "destination_block": null, - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 557 - }, - "name": "DisplayEndPage", - "uuid": "e8288a8a-72ae-50b8-9ffe-80fdf0569447" - }, - "card_item": { - "meta": { - "column": 3, - "line": 578 - }, - "text": {}, - "type": "text" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "store_response_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "91f4666b-97d8-55ba-b40b-d58adcee1c27", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for store_response_case_condition_0", - "config": {}, - "test": "questions[question_num].semantic_id == \"dma-do-things\"", - "uuid": "081d838a-1395-403a-a5f9-7209a772cc26", - "destination_block": "a8f546ca-1151-5316-9291-e21c08ea0d44", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for store_response_case_condition_1", - "config": {}, - "test": "questions[question_num].semantic_id == \"dma-medical-care\"", - "uuid": "d807988b-830e-4e4e-b94b-d309073b574f", - "destination_block": "92b95d3f-ef5e-5cf0-bbd1-c5d84a3a474f", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for store_response_case_condition_2", - "config": {}, - "test": "questions[question_num].semantic_id == \"dma-sharing\"", - "uuid": "97ab5100-300a-448a-817f-d0921cf6b460", - "destination_block": "cc517166-7582-5cf0-8870-fe2f181bccec", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for store_response_case_condition_3", - "config": {}, - "test": "questions[question_num].semantic_id == \"dma-medical-advice\"", - "uuid": "17d60aa7-d1e4-4a10-8461-13bddf980943", - "destination_block": "55de7cd2-c8ee-53fa-be8d-f5b5a70eca0c", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for store_response_case_condition_4", - "config": {}, - "test": "questions[question_num].semantic_id == \"dma-find-solutions\"", - "uuid": "09e80397-7618-43c8-8fe9-4fb4f3a5fe0e", - "destination_block": "cc660105-a0f7-579b-8899-70a87c5b883c", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for store_response_case_condition_5", - "config": {}, - "test": null, - "uuid": "24161f4d-a043-4f9b-928e-6fe3029ef499", - "destination_block": "f6337aef-c284-505c-9f95-5037b745ecde", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "Routing for store_response_case_condition_5", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "f6337aef-c284-505c-9f95-5037b745ecde", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for CheckEnd", - "config": {}, - "test": "true", - "uuid": "0b721e3d-5177-43bc-b407-66d1f3224ae9", - "destination_block": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 512 - }, - "name": "StoreResponse", - "uuid": "5fb40108-ef47-50a0-826d-a83846ebb5dc" - }, - "card_item": { - "meta": { - "column": 3, - "line": 513 - }, - "then": {}, - "type": "then" - }, - "index": 5 - } - } - } - } - } - }, - { - "label": null, - "name": "store_response_case_condition_4_contact_update_dma_05", - "type": "Core.SetContactProperty", - "config": { - "set_contact_property": { - "property_key": "dma_05", - "property_value": "@question_response" - } - }, - "tags": [], - "uuid": "cc660105-a0f7-579b-8899-70a87c5b883c", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "store_response_case_condition_4_contact_update_dma_05", - "config": {}, - "test": "", - "uuid": "2fc0244d-a437-47ec-9991-b58bce67e7d4", - "destination_block": "a27a883c-e62a-54ef-a953-64fa38214a73", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-find-solutions\"", - "meta": { - "column": 1, - "line": 506 - }, - "name": "StoreResponse", - "uuid": "08a941e6-62c8-5010-a8f8-acdf77429f6d" - }, - "card_item": { - "meta": { - "column": 3, - "line": 507 - }, - "type": "update_contact", - "update_contact": {} - }, - "index": 4 - } - } - } - } - } - }, - { - "label": null, - "name": "Routing for store_response_case_condition_4", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "a27a883c-e62a-54ef-a953-64fa38214a73", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for CheckEnd", - "config": {}, - "test": "true", - "uuid": "a7976944-ca5f-4efb-a3e9-d4bd62ccffd9", - "destination_block": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-find-solutions\"", - "meta": { - "column": 1, - "line": 506 - }, - "name": "StoreResponse", - "uuid": "08a941e6-62c8-5010-a8f8-acdf77429f6d" - }, - "card_item": { - "meta": { - "column": 3, - "line": 508 - }, - "then": {}, - "type": "then" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "store_response_case_condition_3_contact_update_dma_04", - "type": "Core.SetContactProperty", - "config": { - "set_contact_property": { - "property_key": "dma_04", - "property_value": "@question_response" - } - }, - "tags": [], - "uuid": "55de7cd2-c8ee-53fa-be8d-f5b5a70eca0c", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "store_response_case_condition_3_contact_update_dma_04", - "config": {}, - "test": "", - "uuid": "8fc5d1d5-b4cd-4362-9bf1-a6ba7bc30d53", - "destination_block": "19a21d97-67db-56e1-930d-b19868b7eef4", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-medical-advice\"", - "meta": { - "column": 1, - "line": 501 - }, - "name": "StoreResponse", - "uuid": "4475ecf2-b023-532b-a5d8-f144e47b6598" - }, - "card_item": { - "meta": { - "column": 3, - "line": 502 - }, - "type": "update_contact", - "update_contact": {} - }, - "index": 3 - } - } - } - } - } - }, - { - "label": null, - "name": "Routing for store_response_case_condition_3", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "19a21d97-67db-56e1-930d-b19868b7eef4", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for CheckEnd", - "config": {}, - "test": "true", - "uuid": "3ea52716-c4f5-4a66-af20-4f8a4d978268", - "destination_block": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-medical-advice\"", - "meta": { - "column": 1, - "line": 501 - }, - "name": "StoreResponse", - "uuid": "4475ecf2-b023-532b-a5d8-f144e47b6598" - }, - "card_item": { - "meta": { - "column": 3, - "line": 503 - }, - "then": {}, - "type": "then" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "store_response_case_condition_2_contact_update_dma_03", - "type": "Core.SetContactProperty", - "config": { - "set_contact_property": { - "property_key": "dma_03", - "property_value": "@question_response" - } - }, - "tags": [], - "uuid": "cc517166-7582-5cf0-8870-fe2f181bccec", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "store_response_case_condition_2_contact_update_dma_03", - "config": {}, - "test": "", - "uuid": "a74b57ff-6f55-4bee-8798-31d05bfa587e", - "destination_block": "00825557-21b4-5ab1-8ff6-5056cc74edd4", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-sharing\"", - "meta": { - "column": 1, - "line": 496 - }, - "name": "StoreResponse", - "uuid": "55fa4387-e3aa-5c81-953a-b2267fd986f3" - }, - "card_item": { - "meta": { - "column": 3, - "line": 497 - }, - "type": "update_contact", - "update_contact": {} - }, - "index": 2 - } - } - } - } - } - }, - { - "label": null, - "name": "Routing for store_response_case_condition_2", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "00825557-21b4-5ab1-8ff6-5056cc74edd4", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for CheckEnd", - "config": {}, - "test": "true", - "uuid": "a8c2c546-2380-4b2d-86fd-2f05c5c1af04", - "destination_block": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-sharing\"", - "meta": { - "column": 1, - "line": 496 - }, - "name": "StoreResponse", - "uuid": "55fa4387-e3aa-5c81-953a-b2267fd986f3" - }, - "card_item": { - "meta": { - "column": 3, - "line": 498 - }, - "then": {}, - "type": "then" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "store_response_case_condition_1_contact_update_dma_02", - "type": "Core.SetContactProperty", - "config": { - "set_contact_property": { - "property_key": "dma_02", - "property_value": "@question_response" - } - }, - "tags": [], - "uuid": "92b95d3f-ef5e-5cf0-bbd1-c5d84a3a474f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "store_response_case_condition_1_contact_update_dma_02", - "config": {}, - "test": "", - "uuid": "4b959392-fdf7-4091-8616-705db1412ce4", - "destination_block": "f219286b-8905-596e-909e-0a2b404cfad5", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-medical-care\"", - "meta": { - "column": 1, - "line": 491 - }, - "name": "StoreResponse", - "uuid": "895396c6-6822-5aae-8049-8f30892fc4cf" - }, - "card_item": { - "meta": { - "column": 3, - "line": 492 - }, - "type": "update_contact", - "update_contact": {} - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "Routing for store_response_case_condition_1", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "f219286b-8905-596e-909e-0a2b404cfad5", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for CheckEnd", - "config": {}, - "test": "true", - "uuid": "98890609-eef4-46e9-86e3-1c727a7b9c82", - "destination_block": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-medical-care\"", - "meta": { - "column": 1, - "line": 491 - }, - "name": "StoreResponse", - "uuid": "895396c6-6822-5aae-8049-8f30892fc4cf" - }, - "card_item": { - "meta": { - "column": 3, - "line": 493 - }, - "then": {}, - "type": "then" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "store_response_case_condition_0_contact_update_dma_01", - "type": "Core.SetContactProperty", - "config": { - "set_contact_property": { - "property_key": "dma_01", - "property_value": "@question_response" - } - }, - "tags": [], - "uuid": "a8f546ca-1151-5316-9291-e21c08ea0d44", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "store_response_case_condition_0_contact_update_dma_01", - "config": {}, - "test": "", - "uuid": "5b0d9f6a-4de7-4db3-86e2-272eeb9a8ae6", - "destination_block": "ec4a29e0-dfc6-57c2-ad96-b58df4948634", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-do-things\"", - "meta": { - "column": 1, - "line": 486 - }, - "name": "StoreResponse", - "uuid": "91f4666b-97d8-55ba-b40b-d58adcee1c27" - }, - "card_item": { - "meta": { - "column": 3, - "line": 487 - }, - "type": "update_contact", - "update_contact": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "Routing for store_response_case_condition_0", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "ec4a29e0-dfc6-57c2-ad96-b58df4948634", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for CheckEnd", - "config": {}, - "test": "true", - "uuid": "88b4a2ff-0952-4312-b54d-46397c34c42f", - "destination_block": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].semantic_id == \"dma-do-things\"", - "meta": { - "column": 1, - "line": 486 - }, - "name": "StoreResponse", - "uuid": "91f4666b-97d8-55ba-b40b-d58adcee1c27" - }, - "card_item": { - "meta": { - "column": 3, - "line": 488 - }, - "then": {}, - "type": "then" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "answer_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "073e9c15-ed8c-5acc-89e9-19821f6567b4", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "answer_num + 1", - "config": {}, - "test": "", - "uuid": "abf04c21-9ae5-47ef-b1bf-65d3aa9f8390", - "destination_block": "5b652a56-c71a-5582-83f8-55b39072e60a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 386 - }, - "name": "MultiselectResponseNo", - "uuid": "37a73151-bebf-5292-8912-20abd8f756c4" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 387 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "answer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "bbfd8bdc-32ee-5348-9ea8-7efd4f37cba0", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "find(question.answers, &(&1.answer == answer_text))", - "config": {}, - "test": "", - "uuid": "85da1698-b549-4e05-80a4-3130ac3aad66", - "destination_block": "5bd7dcf5-1055-5c2f-87db-534ac94c1c47", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 370 - }, - "name": "MultiselectResponseYes", - "uuid": "0ec16d81-7463-507b-afb2-0bc197fd2e4b" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 372 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "semantic_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "5bd7dcf5-1055-5c2f-87db-534ac94c1c47", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "answer.semantic_id", - "config": {}, - "test": "", - "uuid": "5680456b-f3ac-4c06-a425-ee20a938140c", - "destination_block": "dc2b456f-1859-50ba-92e9-01c541de5613", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 370 - }, - "name": "MultiselectResponseYes", - "uuid": "0ec16d81-7463-507b-afb2-0bc197fd2e4b" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 373 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "dc2b456f-1859-50ba-92e9-01c541de5613", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "score + answer.score", - "config": {}, - "test": "", - "uuid": "15b0e92b-e195-446c-abdf-d96ad08b5418", - "destination_block": "9bb1c53c-98fa-5117-9beb-c48a34ed8651", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 370 - }, - "name": "MultiselectResponseYes", - "uuid": "0ec16d81-7463-507b-afb2-0bc197fd2e4b" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 374 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_response_yes_log", - "type": "Core.Log", - "config": { - "message": "e16b4b5d-a283-4498-91b2-e599e292f920" - }, - "tags": [], - "uuid": "9bb1c53c-98fa-5117-9beb-c48a34ed8651", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "multiselect_response_yes_log", - "config": {}, - "test": "", - "uuid": "675c842e-5c77-4045-b9ff-61a261192fae", - "destination_block": "629e7ef7-5cd8-5519-9a48-8d27bc55f92c", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 370 - }, - "name": "MultiselectResponseYes", - "uuid": "0ec16d81-7463-507b-afb2-0bc197fd2e4b" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 375 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "answer_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "629e7ef7-5cd8-5519-9a48-8d27bc55f92c", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "answer_num + 1", - "config": {}, - "test": "", - "uuid": "99cc4a3e-4489-495d-b856-0d1ff37f91a4", - "destination_block": "c9287754-56f1-5cf8-b544-516eab7b7369", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 370 - }, - "name": "MultiselectResponseYes", - "uuid": "0ec16d81-7463-507b-afb2-0bc197fd2e4b" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 376 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_answer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "c9287754-56f1-5cf8-b544-516eab7b7369", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(multiselect_answer), \"@semantic_id\", concatenate(multiselect_answer, \",\", \"@semantic_id\"))", - "config": {}, - "test": "", - "uuid": "f7d35467-e413-4e7d-b77b-f4d9577b4e92", - "destination_block": "5b652a56-c71a-5582-83f8-55b39072e60a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 370 - }, - "name": "MultiselectResponseYes", - "uuid": "0ec16d81-7463-507b-afb2-0bc197fd2e4b" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 378 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_error_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "205afeb9-04e6-5b84-8102-bb4631a81a99", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for multiselect_error_case_condition_0", - "config": {}, - "test": "has_all_members(keywords, [question_response])", - "uuid": "6b8062db-0d44-4db0-a007-286bad04b48a", - "destination_block": "1497e388-eed7-5778-851c-b8ae3a1e716e", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for multiselect_error_case_condition_1", - "config": {}, - "test": "lower(question_response) == \"skip\"", - "uuid": "6a33878b-0ba5-4632-a2d6-0bf4be413bad", - "destination_block": "79cb8585-5898-5d7c-89ff-44c3e5779bce", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for multiselect_error_case_condition_2", - "config": {}, - "test": null, - "uuid": "2a8260ea-273c-43e5-8bcb-afc327f027a6", - "destination_block": "8b7777de-9989-5d92-8b50-b6eb4fc7e9c0", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "error", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "8b7777de-9989-5d92-8b50-b6eb4fc7e9c0", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error)", - "config": {}, - "test": "", - "uuid": "b7417092-0fba-4813-b62b-08f12cfe7b6f", - "destination_block": "2daac5a2-8578-5b4b-a7b0-da494fa20b90", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 361 - }, - "name": "MultiselectError", - "uuid": "2c1669e6-0fce-5042-9d76-b42e1f5ee953" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 363 - }, - "type": "expression" - }, - "index": 2 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_error_case_condition_2_log", - "type": "Core.Log", - "config": { - "message": "67700737-2893-4c00-867a-1a8dbcf0f8f5" - }, - "tags": [], - "uuid": "2daac5a2-8578-5b4b-a7b0-da494fa20b90", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "multiselect_error_case_condition_2_log", - "config": {}, - "test": "", - "uuid": "52ebf3b3-3b7e-4550-9667-c72b66f2679f", - "destination_block": "c9ae711c-69fd-5b43-bf19-30c0a15b24ff", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 361 - }, - "name": "MultiselectError", - "uuid": "2c1669e6-0fce-5042-9d76-b42e1f5ee953" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 364 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_error_case_condition_2_log", - "type": "Core.Log", - "config": { - "message": "ead33a29-53d2-4896-a8cf-846307da2138" - }, - "tags": [], - "uuid": "c9ae711c-69fd-5b43-bf19-30c0a15b24ff", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "multiselect_error_case_condition_2_log", - "config": {}, - "test": "", - "uuid": "ac677e83-d6dd-461c-ba42-e81f2d51969b", - "destination_block": "7d3bbee2-b7e2-5015-89d0-629634cec778", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 361 - }, - "name": "MultiselectError", - "uuid": "2c1669e6-0fce-5042-9d76-b42e1f5ee953" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 365 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_error_case_condition_2_log", - "type": "Core.Log", - "config": { - "message": "086b474f-477a-4880-ab4a-4ff734267bd1" - }, - "tags": [], - "uuid": "7d3bbee2-b7e2-5015-89d0-629634cec778", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "multiselect_error_case_condition_2_log", - "config": {}, - "test": "", - "uuid": "0f18890f-4fe7-4c88-9fe4-9a85e607bb9c", - "destination_block": "ed829df2-9f7b-5220-aa4e-7e811c0f0163", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 361 - }, - "name": "MultiselectError", - "uuid": "2c1669e6-0fce-5042-9d76-b42e1f5ee953" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 366 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_error_case_condition_2_text", - "type": "MobilePrimitives.Message", - "config": { - "prompt": "8d7d4630-5aae-4863-909a-bb57a24f53bd" - }, - "tags": [], - "uuid": "ed829df2-9f7b-5220-aa4e-7e811c0f0163", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"DisplayMultiselectAnswer\"", - "config": {}, - "test": "", - "uuid": "2e15a70d-81d6-49d1-8f1f-4419c8aaaed5", - "destination_block": "152de0b6-284f-5619-b7a4-c2af42a008b0", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 361 - }, - "name": "MultiselectError", - "uuid": "2c1669e6-0fce-5042-9d76-b42e1f5ee953" - }, - "card_item": { - "meta": { - "column": 3, - "line": 367 - }, - "text": {}, - "type": "text" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "79cb8585-5898-5d7c-89ff-44c3e5779bce", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"question_num\")", - "config": {}, - "test": "", - "uuid": "e166562a-5674-41e3-b4a0-621ff4a67b65", - "destination_block": "871c2dab-42ce-5c76-9e2f-ad57d25a53d6", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 345 - }, - "type": "expression" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "871c2dab-42ce-5c76-9e2f-ad57d25a53d6", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "485de2a8-006e-41e2-af98-566e96bc8f62", - "destination_block": "bda7f184-7baa-506e-8361-c7c4807b7eba", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "meta": { - "column": 3, - "line": 346 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "bda7f184-7baa-506e-8361-c7c4807b7eba", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "16bf90f1-29f5-48db-b75a-88449367efb0", - "destination_block": "f37d4b18-55f7-55a1-a2be-0ed17bb62085", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 347 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "f37d4b18-55f7-55a1-a2be-0ed17bb62085", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_\", \"@question_id\")", - "config": {}, - "test": "", - "uuid": "9e5b816f-822e-4fcc-96b2-a60029a51988", - "destination_block": "31ea10a1-842a-5365-af07-ea0b42fc0706", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 348 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "\"skip\"" - }, - "tags": [], - "uuid": "31ea10a1-842a-5365-af07-ea0b42fc0706", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "9125bfed-0c7a-4baa-90c4-502636c0bb71", - "destination_block": "6ccc2703-8b97-5a53-989c-6e441969c5db", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "meta": { - "column": 3, - "line": 349 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "skip_count", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "6ccc2703-8b97-5a53-989c-6e441969c5db", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "skip_count + 1", - "config": {}, - "test": "", - "uuid": "d8870c3d-4cfa-4830-85a8-85741541075a", - "destination_block": "3f91e745-39db-58d8-a04a-34f23076144d", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 351 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "max_score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "3f91e745-39db-58d8-a04a-34f23076144d", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "max_score - max_question_score", - "config": {}, - "test": "", - "uuid": "36468d14-454b-481c-80f0-3612f95ec2d8", - "destination_block": "6b8c5d16-dfe6-5d5c-88a3-9cd36e2b6fa4", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 353 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_error_case_condition_1_log", - "type": "Core.Log", - "config": { - "message": "7eb05c73-0380-4398-8fef-77be771ca496" - }, - "tags": [], - "uuid": "6b8c5d16-dfe6-5d5c-88a3-9cd36e2b6fa4", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "multiselect_error_case_condition_1_log", - "config": {}, - "test": "", - "uuid": "804798df-5134-4ebe-a7c2-3bee4e4728c0", - "destination_block": "b2e9f35a-0104-5fb1-bab1-7076aea4b295", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 355 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_error_case_condition_1_log", - "type": "Core.Log", - "config": { - "message": "7a006abb-b24a-44ab-a259-7b054040d42c" - }, - "tags": [], - "uuid": "b2e9f35a-0104-5fb1-bab1-7076aea4b295", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "multiselect_error_case_condition_1_log", - "config": {}, - "test": "", - "uuid": "0ae08119-81bc-47b0-a916-69b06794cb12", - "destination_block": "ce59d0ef-58d9-5f71-a7dd-dcf697901a63", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 356 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "ce59d0ef-58d9-5f71-a7dd-dcf697901a63", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_num + 1", - "config": {}, - "test": "", - "uuid": "917b3be2-fefe-483f-a44a-ab05016344eb", - "destination_block": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(@question_response) == \"skip\"", - "meta": { - "column": 1, - "line": 339 - }, - "name": "MultiselectError", - "uuid": "35a8a2b3-8382-5b43-bb9a-5bebe557f012" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 358 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "explainer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "1497e388-eed7-5778-851c-b8ae3a1e716e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(question.explainer), \"*Explainer:* There's no explainer for this.\", concatenate(\"*Explainer:*\", \" \", question.explainer))", - "config": {}, - "test": "", - "uuid": "06c2ae04-34d7-4210-a868-686473568e27", - "destination_block": "490a0708-c348-56cb-b819-2c314eeef899", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_all_members(keywords, [@question_response])", - "meta": { - "column": 1, - "line": 327 - }, - "name": "MultiselectError", - "uuid": "205afeb9-04e6-5b84-8102-bb4631a81a99" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 329 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_error_case_condition_0_text", - "type": "MobilePrimitives.Message", - "config": { - "prompt": "5d9f1532-a048-4d6f-b174-e073704ffaf2" - }, - "tags": [], - "uuid": "490a0708-c348-56cb-b819-2c314eeef899", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"DisplayMultiselectAnswer\"", - "config": {}, - "test": "", - "uuid": "ad728cda-365b-4ee0-86a3-eed28a46a0cf", - "destination_block": "152de0b6-284f-5619-b7a4-c2af42a008b0", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_all_members(keywords, [@question_response])", - "meta": { - "column": 1, - "line": 327 - }, - "name": "MultiselectError", - "uuid": "205afeb9-04e6-5b84-8102-bb4631a81a99" - }, - "card_item": { - "meta": { - "column": 3, - "line": 336 - }, - "text": {}, - "type": "text" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "check_end_multiselect_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "5b652a56-c71a-5582-83f8-55b39072e60a", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for check_end_multiselect_case_condition_0", - "config": {}, - "test": "and(questions[question_num].question_type == \"multiselect_question\", answer_num == count(questions[question_num].answers))", - "uuid": "f5cbbfe9-9744-4e94-87ae-0e5d69dbd652", - "destination_block": "dcff2959-11a0-5e02-a276-f33edc5bfb53", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for check_end_multiselect_case_condition_1", - "config": {}, - "test": null, - "uuid": "d5120d54-0e37-4e58-9c9d-9c9ac08c8fb6", - "destination_block": "e01fb3c6-edd5-5adc-8626-1405530fc28e", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "Routing for check_end_multiselect_case_condition_1", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "e01fb3c6-edd5-5adc-8626-1405530fc28e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for DisplayMultiselectAnswer", - "config": {}, - "test": "true", - "uuid": "22ced7f1-b8bd-4411-ad9a-1ddeb9440c29", - "destination_block": "152de0b6-284f-5619-b7a4-c2af42a008b0", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 298 - }, - "name": "CheckEndMultiselect", - "uuid": "0528042f-dc4f-5288-8a7b-f0cb2e2fe84f" - }, - "card_item": { - "meta": { - "column": 3, - "line": 299 - }, - "then": {}, - "type": "then" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "dcff2959-11a0-5e02-a276-f33edc5bfb53", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_num + 1", - "config": {}, - "test": "", - "uuid": "978646fe-5a9e-4f2e-b6d5-3722bd268072", - "destination_block": "a3e3a349-6c19-538d-ad11-f47e230abf0e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)", - "meta": { - "column": 1, - "line": 284 - }, - "name": "CheckEndMultiselect", - "uuid": "5b652a56-c71a-5582-83f8-55b39072e60a" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 288 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "a3e3a349-6c19-538d-ad11-f47e230abf0e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"question_num\")", - "config": {}, - "test": "", - "uuid": "2e464fb1-8a57-4e96-b80b-5f8be52e6e46", - "destination_block": "e5fb67d1-358a-565c-b265-71e0dd64bef3", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)", - "meta": { - "column": 1, - "line": 284 - }, - "name": "CheckEndMultiselect", - "uuid": "5b652a56-c71a-5582-83f8-55b39072e60a" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 290 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "e5fb67d1-358a-565c-b265-71e0dd64bef3", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "66f02dc9-4f20-4a0e-ab5c-a98d62786838", - "destination_block": "c6769323-8688-58e3-8681-222284a09cc8", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)", - "meta": { - "column": 1, - "line": 284 - }, - "name": "CheckEndMultiselect", - "uuid": "5b652a56-c71a-5582-83f8-55b39072e60a" - }, - "card_item": { - "meta": { - "column": 3, - "line": 291 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "c6769323-8688-58e3-8681-222284a09cc8", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "d8946689-e027-4b79-8602-afe51c292b67", - "destination_block": "cb3e06f6-d3ff-5145-9496-a7ba7b645305", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)", - "meta": { - "column": 1, - "line": 284 - }, - "name": "CheckEndMultiselect", - "uuid": "5b652a56-c71a-5582-83f8-55b39072e60a" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 292 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "cb3e06f6-d3ff-5145-9496-a7ba7b645305", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_\", \"@question_id\")", - "config": {}, - "test": "", - "uuid": "f57ddce6-5d4d-4de3-b7b1-94bca7f29c13", - "destination_block": "5b00346f-c6ed-5b44-b2d8-0f428bcb23bd", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)", - "meta": { - "column": 1, - "line": 284 - }, - "name": "CheckEndMultiselect", - "uuid": "5b652a56-c71a-5582-83f8-55b39072e60a" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 293 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "\"@multiselect_answer\"" - }, - "tags": [], - "uuid": "5b00346f-c6ed-5b44-b2d8-0f428bcb23bd", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "3dbfbf14-7478-4ee8-a472-e96423ca212c", - "destination_block": "d9c3426a-9470-5922-8a9b-46a751a115d9", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)", - "meta": { - "column": 1, - "line": 284 - }, - "name": "CheckEndMultiselect", - "uuid": "5b652a56-c71a-5582-83f8-55b39072e60a" - }, - "card_item": { - "meta": { - "column": 3, - "line": 294 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "check_end_multiselect_case_condition_0_log", - "type": "Core.Log", - "config": { - "message": "73ce7f67-d347-4836-9e76-974bae459d82" - }, - "tags": [], - "uuid": "d9c3426a-9470-5922-8a9b-46a751a115d9", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"StoreResponse\"", - "config": {}, - "test": "", - "uuid": "302184bd-806c-435b-bcaa-d7fdde0fab74", - "destination_block": "91f4666b-97d8-55ba-b40b-d58adcee1c27", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)", - "meta": { - "column": 1, - "line": 284 - }, - "name": "CheckEndMultiselect", - "uuid": "5b652a56-c71a-5582-83f8-55b39072e60a" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 295 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "validate_input_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "c18fd5f1-50bb-517d-b139-f95bf0ec483d", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for validate_input_case_condition_0", - "config": {}, - "test": "and(assertion == false, questions[question_num].question_type == \"year_of_birth_question\")", - "uuid": "0588fcec-79af-4abb-8ace-9916f9cee772", - "destination_block": "cd4cfd4e-8eb7-55f6-aec0-92100687ee6f", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for validate_input_case_condition_1", - "config": {}, - "test": "and(assertion == false, questions[question_num].question_type == \"integer_question\")", - "uuid": "7556b1dd-b76a-428a-a357-3f869cf83fb5", - "destination_block": "0c4ab59d-4fbe-5dba-af6b-a02360c1e4c8", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for validate_input_case_condition_2", - "config": {}, - "test": "and(count(question.answers) > 0, not(has_member(map(question.answers, & &1.answer), question_response)))", - "uuid": "a39c4eff-fd0c-4272-8639-7f3719f9757e", - "destination_block": "573ad867-c169-5eeb-8571-df1c391d9006", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for validate_input_case_condition_3", - "config": {}, - "test": null, - "uuid": "ef5f00c0-9f88-4a6e-8289-b73e64ec14c9", - "destination_block": "0c9efb33-5e01-5bb8-9491-37c9705683c8", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "validate_input_case_condition_3_log", - "type": "Core.Log", - "config": { - "message": "cfb70d80-d6e6-44d7-a2af-14a30721494f" - }, - "tags": [], - "uuid": "0c9efb33-5e01-5bb8-9491-37c9705683c8", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"QuestionResponse\"", - "config": {}, - "test": "", - "uuid": "14177a71-35c4-46f7-af70-2efeade46170", - "destination_block": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 206 - }, - "name": "ValidateInput", - "uuid": "1e9e49d4-5d52-5e1a-b9d3-c163d8998746" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 207 - }, - "type": "log" - }, - "index": 3 - } - } - } - } - } - }, - { - "label": null, - "name": "validate_input_case_condition_2_log", - "type": "Core.Log", - "config": { - "message": "ca00a6ad-ab7b-42f9-8a5d-bd6147cfe02f" - }, - "tags": [], - "uuid": "573ad867-c169-5eeb-8571-df1c391d9006", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"QuestionError\"", - "config": {}, - "test": "", - "uuid": "500219d6-4945-4f76-ad2d-e16bf101f2a6", - "destination_block": "8691a3eb-668a-57bf-a075-7b30fd3ed174", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "count(question.answers) > 0 and not has_member(map(question.answers, & &1.answer), question_response)", - "meta": { - "column": 1, - "line": 199 - }, - "name": "ValidateInput", - "uuid": "218ea9c3-b7d6-5247-bbc6-ca2831512464" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 203 - }, - "type": "log" - }, - "index": 2 - } - } - } - } - } - }, - { - "label": null, - "name": "validate_input_case_condition_1_log", - "type": "Core.Log", - "config": { - "message": "61eae92b-dc99-4192-97e3-49803b3e7d5b" - }, - "tags": [], - "uuid": "0c4ab59d-4fbe-5dba-af6b-a02360c1e4c8", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"QuestionError\"", - "config": {}, - "test": "", - "uuid": "8925e969-1703-4476-b02d-a37553942473", - "destination_block": "8691a3eb-668a-57bf-a075-7b30fd3ed174", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "assertion == false and questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 193 - }, - "name": "ValidateInput", - "uuid": "ce9116b9-ba55-5c0f-ab34-eb74e06dcb38" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 196 - }, - "type": "log" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "validate_input_case_condition_0_log", - "type": "Core.Log", - "config": { - "message": "79dde111-c87d-472d-ba49-6e94e9fac7fc" - }, - "tags": [], - "uuid": "cd4cfd4e-8eb7-55f6-aec0-92100687ee6f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"QuestionError\"", - "config": {}, - "test": "", - "uuid": "af5806d4-a038-4ca5-a524-0b3d0e8c522f", - "destination_block": "8691a3eb-668a-57bf-a075-7b30fd3ed174", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "assertion == false and questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 187 - }, - "name": "ValidateInput", - "uuid": "c18fd5f1-50bb-517d-b139-f95bf0ec483d" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 190 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "8691a3eb-668a-57bf-a075-7b30fd3ed174", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for question_error_case_condition_0", - "config": {}, - "test": "and(questions[question_num].question_type == \"integer_question\", question_response != lower(\"skip\"))", - "uuid": "d7f83a39-87d5-4c78-97df-d9582e90db7b", - "destination_block": "f37a2c3e-563e-5965-886c-990bd1b2026a", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for question_error_case_condition_1", - "config": {}, - "test": "and(questions[question_num].question_type == \"year_of_birth_question\", question_response != lower(\"skip\"))", - "uuid": "d59085df-8ec1-4af4-b156-ccdc04c1a965", - "destination_block": "7832657d-8591-5c25-ba77-cf77d46f1f45", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for question_error_case_condition_2", - "config": {}, - "test": "has_all_members(keywords, [question_response])", - "uuid": "18272fc2-b26d-4502-81f9-d2a63363de17", - "destination_block": "6414e6fc-3de8-51c0-b68b-e4e0a52fb208", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for question_error_case_condition_3", - "config": {}, - "test": "question_response == lower(\"skip\")", - "uuid": "0abab33a-821c-4f65-b19e-09dee6b6e90b", - "destination_block": "8e2ff029-ec98-5279-ace3-02332a6b0c98", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for question_error_case_condition_4", - "config": {}, - "test": null, - "uuid": "1e757d38-e3a9-48a1-a84c-7ae925803255", - "destination_block": "bf10cb03-509d-567a-94dd-dfeabf356dfa", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "error", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "bf10cb03-509d-567a-94dd-dfeabf356dfa", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error)", - "config": {}, - "test": "", - "uuid": "e0e9476e-e989-4a90-b35c-a9bb42423b69", - "destination_block": "fc0bad8c-f6a1-542d-9516-e9e0f1bf573f", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 276 - }, - "name": "QuestionError", - "uuid": "d271ffe7-5cc6-591e-ae80-4b1b649defd9" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 278 - }, - "type": "expression" - }, - "index": 4 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_4_log", - "type": "Core.Log", - "config": { - "message": "b330858a-128d-4b0b-8cd0-d926c35eede6" - }, - "tags": [], - "uuid": "fc0bad8c-f6a1-542d-9516-e9e0f1bf573f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_error_case_condition_4_log", - "config": {}, - "test": "", - "uuid": "a066de57-5d31-4181-a6de-407a3d1f932d", - "destination_block": "a46bdc19-9b34-5aca-bd3f-d0a0ce60e7ad", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 276 - }, - "name": "QuestionError", - "uuid": "d271ffe7-5cc6-591e-ae80-4b1b649defd9" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 279 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_4_log", - "type": "Core.Log", - "config": { - "message": "a345e171-5bac-4fbd-85a1-08158bf96636" - }, - "tags": [], - "uuid": "a46bdc19-9b34-5aca-bd3f-d0a0ce60e7ad", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_error_case_condition_4_log", - "config": {}, - "test": "", - "uuid": "43c0b175-06fc-4162-9b5a-717d3c6c0443", - "destination_block": "93eaa52e-d6b3-5b6a-af97-a98037baa479", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 276 - }, - "name": "QuestionError", - "uuid": "d271ffe7-5cc6-591e-ae80-4b1b649defd9" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 280 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_4_text", - "type": "MobilePrimitives.Message", - "config": { - "prompt": "6ffce41d-1756-410c-a3b7-69ea11db5e8b" - }, - "tags": [], - "uuid": "93eaa52e-d6b3-5b6a-af97-a98037baa479", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"GetQuestion\"", - "config": {}, - "test": "", - "uuid": "294a85c9-fdef-4838-bec5-c064b1c3604a", - "destination_block": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 276 - }, - "name": "QuestionError", - "uuid": "d271ffe7-5cc6-591e-ae80-4b1b649defd9" - }, - "card_item": { - "meta": { - "column": 3, - "line": 281 - }, - "text": {}, - "type": "text" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "8e2ff029-ec98-5279-ace3-02332a6b0c98", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_question_num\")", - "config": {}, - "test": "", - "uuid": "057b93b3-cae5-4028-b3b7-7f8293926d23", - "destination_block": "6c6fde26-2696-5791-9266-80b74eada484", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "@question_response == lower(\"skip\")", - "meta": { - "column": 1, - "line": 257 - }, - "name": "QuestionError", - "uuid": "92a48f0f-fdce-53e5-9ac9-d872cf8ebca4" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 263 - }, - "type": "expression" - }, - "index": 3 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "6c6fde26-2696-5791-9266-80b74eada484", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "8ad23934-4f37-4010-acf8-9baaaea200cc", - "destination_block": "2cecf339-10a9-5e7c-908a-0093e4d4a80f", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "@question_response == lower(\"skip\")", - "meta": { - "column": 1, - "line": 257 - }, - "name": "QuestionError", - "uuid": "92a48f0f-fdce-53e5-9ac9-d872cf8ebca4" - }, - "card_item": { - "meta": { - "column": 3, - "line": 264 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "2cecf339-10a9-5e7c-908a-0093e4d4a80f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "c0b644ab-270f-4efd-bf29-5d590b8e3e1a", - "destination_block": "4ab9d975-1638-59e5-b852-2e19be2e0af2", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "@question_response == lower(\"skip\")", - "meta": { - "column": 1, - "line": 257 - }, - "name": "QuestionError", - "uuid": "92a48f0f-fdce-53e5-9ac9-d872cf8ebca4" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 265 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "4ab9d975-1638-59e5-b852-2e19be2e0af2", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_\", \"@question_id\")", - "config": {}, - "test": "", - "uuid": "b12ddd3d-f7ed-40e9-b414-09dc5df570b6", - "destination_block": "844dfb05-89cc-5a5c-9152-09bc0bfaeada", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "@question_response == lower(\"skip\")", - "meta": { - "column": 1, - "line": 257 - }, - "name": "QuestionError", - "uuid": "92a48f0f-fdce-53e5-9ac9-d872cf8ebca4" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 266 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "\"skip\"" - }, - "tags": [], - "uuid": "844dfb05-89cc-5a5c-9152-09bc0bfaeada", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "4f9d7c13-fbe6-4de0-b179-2c12cc0f025f", - "destination_block": "1790d29c-9f8c-5e63-a78e-3289d04a99c6", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "@question_response == lower(\"skip\")", - "meta": { - "column": 1, - "line": 257 - }, - "name": "QuestionError", - "uuid": "92a48f0f-fdce-53e5-9ac9-d872cf8ebca4" - }, - "card_item": { - "meta": { - "column": 3, - "line": 267 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "skip_count", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "1790d29c-9f8c-5e63-a78e-3289d04a99c6", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "skip_count + 1", - "config": {}, - "test": "", - "uuid": "3d311cda-0740-44ae-9dee-cda85d8810e2", - "destination_block": "b59534c0-853c-5980-9a14-9673de0e5364", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "@question_response == lower(\"skip\")", - "meta": { - "column": 1, - "line": 257 - }, - "name": "QuestionError", - "uuid": "92a48f0f-fdce-53e5-9ac9-d872cf8ebca4" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 268 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_3_log", - "type": "Core.Log", - "config": { - "message": "e34a6c43-92d4-40bc-836f-ef9d94898d61" - }, - "tags": [], - "uuid": "b59534c0-853c-5980-9a14-9673de0e5364", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_error_case_condition_3_log", - "config": {}, - "test": "", - "uuid": "b2ae394a-6aef-4686-93c3-19545e49b335", - "destination_block": "f6b124d6-0145-5a28-a9c0-a41b5b723525", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "@question_response == lower(\"skip\")", - "meta": { - "column": 1, - "line": 257 - }, - "name": "QuestionError", - "uuid": "92a48f0f-fdce-53e5-9ac9-d872cf8ebca4" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 270 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_3_log", - "type": "Core.Log", - "config": { - "message": "5acb7279-e0da-4c17-98ca-c78f691b1cab" - }, - "tags": [], - "uuid": "f6b124d6-0145-5a28-a9c0-a41b5b723525", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_error_case_condition_3_log", - "config": {}, - "test": "", - "uuid": "2183c7a3-267b-4483-b75a-34de347ec57f", - "destination_block": "3fac64f0-626c-5c41-a11f-09038be3e311", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "@question_response == lower(\"skip\")", - "meta": { - "column": 1, - "line": 257 - }, - "name": "QuestionError", - "uuid": "92a48f0f-fdce-53e5-9ac9-d872cf8ebca4" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 271 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "3fac64f0-626c-5c41-a11f-09038be3e311", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_num + 1", - "config": {}, - "test": "", - "uuid": "bd7984e4-9cb9-44b3-ba1e-4e8ab578250c", - "destination_block": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "@question_response == lower(\"skip\")", - "meta": { - "column": 1, - "line": 257 - }, - "name": "QuestionError", - "uuid": "92a48f0f-fdce-53e5-9ac9-d872cf8ebca4" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 273 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "explainer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "6414e6fc-3de8-51c0-b68b-e4e0a52fb208", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(question.explainer), \"*Explainer:* There's no explainer for this.\", concatenate(\"*Explainer:*\", \" \", question.explainer))", - "config": {}, - "test": "", - "uuid": "3105a9d9-e0cb-4029-b477-947b5e7d9acd", - "destination_block": "8407db72-7cb0-5c06-8c8e-f190eaeccb29", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_all_members(keywords, [@question_response])", - "meta": { - "column": 1, - "line": 246 - }, - "name": "QuestionError", - "uuid": "fb54b681-3384-5511-b880-a5ec88103c42" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 247 - }, - "type": "expression" - }, - "index": 2 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_2_text", - "type": "MobilePrimitives.Message", - "config": { - "prompt": "e2c18782-4d97-489f-af70-be731fbb19e4" - }, - "tags": [], - "uuid": "8407db72-7cb0-5c06-8c8e-f190eaeccb29", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"GetQuestion\"", - "config": {}, - "test": "", - "uuid": "37b6c6be-eda8-4972-9af2-7a6f5dc96ea7", - "destination_block": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_all_members(keywords, [@question_response])", - "meta": { - "column": 1, - "line": 246 - }, - "name": "QuestionError", - "uuid": "fb54b681-3384-5511-b880-a5ec88103c42" - }, - "card_item": { - "meta": { - "column": 3, - "line": 254 - }, - "text": {}, - "type": "text" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_1_log", - "type": "Core.Log", - "config": { - "message": "1e5c7dc7-ec11-423e-9c33-f9332cb3e85b" - }, - "tags": [], - "uuid": "7832657d-8591-5c25-ba77-cf77d46f1f45", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_error_case_condition_1_log", - "config": {}, - "test": "", - "uuid": "e627da25-9620-455f-8f32-f3de7e252777", - "destination_block": "974cce10-1b86-52d2-9856-af1ddad494bc", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 227 - }, - "name": "QuestionError", - "uuid": "ac1ee183-60ec-5778-ba30-c7e911541bf0" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 231 - }, - "type": "log" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "error", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "974cce10-1b86-52d2-9856-af1ddad494bc", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error)", - "config": {}, - "test": "", - "uuid": "c750f075-229f-4a98-9415-cf3135633e42", - "destination_block": "0726cc20-0452-5c44-a370-a7b613e30b7a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 227 - }, - "name": "QuestionError", - "uuid": "ac1ee183-60ec-5778-ba30-c7e911541bf0" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 236 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "type", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "0726cc20-0452-5c44-a370-a7b613e30b7a", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].question_type", - "config": {}, - "test": "", - "uuid": "257fd5bc-db47-4e55-a25a-faac0771e82f", - "destination_block": "69001d01-ec32-52dd-b5e5-11647b6c37ac", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 227 - }, - "name": "QuestionError", - "uuid": "ac1ee183-60ec-5778-ba30-c7e911541bf0" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 237 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "lower_bound_year", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "69001d01-ec32-52dd-b5e5-11647b6c37ac", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "get_year - range", - "config": {}, - "test": "", - "uuid": "720e805f-e61d-4311-a51a-046763837aa3", - "destination_block": "e225a9c8-dd1c-5012-91f1-f6a58e475bf1", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 227 - }, - "name": "QuestionError", - "uuid": "ac1ee183-60ec-5778-ba30-c7e911541bf0" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 238 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_1_log", - "type": "Core.Log", - "config": { - "message": "d0c780d2-07de-4598-ba8b-8c63b9277e92" - }, - "tags": [], - "uuid": "e225a9c8-dd1c-5012-91f1-f6a58e475bf1", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_error_case_condition_1_log", - "config": {}, - "test": "", - "uuid": "e56bd5d9-11ad-473a-b652-01118644d23b", - "destination_block": "c1023695-d255-545e-8af3-f00594b117e2", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 227 - }, - "name": "QuestionError", - "uuid": "ac1ee183-60ec-5778-ba30-c7e911541bf0" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 239 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "replace_current_year", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "c1023695-d255-545e-8af3-f00594b117e2", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "substitute(\"@error\", \"{current_year}\", \"@get_year\")", - "config": {}, - "test": "", - "uuid": "0cc11424-a230-4333-b103-6cdabde180de", - "destination_block": "ff6aa469-3707-53fe-bf4a-2512c7753e5d", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 227 - }, - "name": "QuestionError", - "uuid": "ac1ee183-60ec-5778-ba30-c7e911541bf0" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 240 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "substituted_text", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "ff6aa469-3707-53fe-bf4a-2512c7753e5d", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "substitute(\"@replace_current_year\", \"{lower_bound}\", \"@lower_bound_year\")", - "config": {}, - "test": "", - "uuid": "d23875a4-3ec2-49db-8b31-aea649404f13", - "destination_block": "7160dc6c-802b-5c6f-acee-31ad5d862960", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 227 - }, - "name": "QuestionError", - "uuid": "ac1ee183-60ec-5778-ba30-c7e911541bf0" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 241 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "styled_error", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "7160dc6c-802b-5c6f-acee-31ad5d862960", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"*Error:*\", \" \", \"@substituted_text\")", - "config": {}, - "test": "", - "uuid": "7c3ae316-087c-4e20-8cf0-4709d6e6c241", - "destination_block": "0c61b124-030a-525c-955c-436be7ee343d", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 227 - }, - "name": "QuestionError", - "uuid": "ac1ee183-60ec-5778-ba30-c7e911541bf0" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 242 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_1_text", - "type": "MobilePrimitives.Message", - "config": { - "prompt": "7de75073-bf4b-4af5-a953-17c4741342e2" - }, - "tags": [], - "uuid": "0c61b124-030a-525c-955c-436be7ee343d", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"GetQuestion\"", - "config": {}, - "test": "", - "uuid": "6297b8fc-32c4-4322-ab6b-fb59247df59d", - "destination_block": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 227 - }, - "name": "QuestionError", - "uuid": "ac1ee183-60ec-5778-ba30-c7e911541bf0" - }, - "card_item": { - "meta": { - "column": 3, - "line": 243 - }, - "text": {}, - "type": "text" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_0_log", - "type": "Core.Log", - "config": { - "message": "5676a4aa-ac28-4444-8265-359dc2f9613f" - }, - "tags": [], - "uuid": "f37a2c3e-563e-5965-886c-990bd1b2026a", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_error_case_condition_0_log", - "config": {}, - "test": "", - "uuid": "45229b95-3129-40ab-aa5f-c718067039bf", - "destination_block": "bae234d0-1617-55b0-8038-5160eb5864ed", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 210 - }, - "name": "QuestionError", - "uuid": "8691a3eb-668a-57bf-a075-7b30fd3ed174" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 214 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "error", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "bae234d0-1617-55b0-8038-5160eb5864ed", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error)", - "config": {}, - "test": "", - "uuid": "ea999ab8-086b-4503-82f0-7ba179d0e11d", - "destination_block": "c980a5fd-a7b0-53e8-bb23-8b9737009788", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 210 - }, - "name": "QuestionError", - "uuid": "8691a3eb-668a-57bf-a075-7b30fd3ed174" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 219 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "type", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "c980a5fd-a7b0-53e8-bb23-8b9737009788", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].question_type", - "config": {}, - "test": "", - "uuid": "cfcab11a-0db1-49ed-a103-d80820c55357", - "destination_block": "52cf7a9a-cf7a-5ade-b12f-9e4384066d81", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 210 - }, - "name": "QuestionError", - "uuid": "8691a3eb-668a-57bf-a075-7b30fd3ed174" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 220 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "replace_min", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "52cf7a9a-cf7a-5ade-b12f-9e4384066d81", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "substitute(\"@error\", \"{min}\", \"@min\")", - "config": {}, - "test": "", - "uuid": "4362c0d9-2143-4a3d-a2c9-a549239485ed", - "destination_block": "492c218a-6349-5252-bb75-d3915938721e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 210 - }, - "name": "QuestionError", - "uuid": "8691a3eb-668a-57bf-a075-7b30fd3ed174" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 221 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "substituted_text", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "492c218a-6349-5252-bb75-d3915938721e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "substitute(\"@replace_min\", \"{max}\", \"@max\")", - "config": {}, - "test": "", - "uuid": "619387ab-443b-42eb-83be-d9079078dbf3", - "destination_block": "5c7c0827-cf99-50cc-9c8e-73616c3d1c68", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 210 - }, - "name": "QuestionError", - "uuid": "8691a3eb-668a-57bf-a075-7b30fd3ed174" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 222 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "styled_error", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "5c7c0827-cf99-50cc-9c8e-73616c3d1c68", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"*Error:*\", \" \", \"@substituted_text\")", - "config": {}, - "test": "", - "uuid": "d5d09800-e2e1-4ae0-9801-e13c99710048", - "destination_block": "4437a25c-96bf-5bfe-bbe5-eac1f57bcdc6", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 210 - }, - "name": "QuestionError", - "uuid": "8691a3eb-668a-57bf-a075-7b30fd3ed174" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 223 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_error_case_condition_0_text", - "type": "MobilePrimitives.Message", - "config": { - "prompt": "a8122e7b-a170-4766-a8f5-21db91913a60" - }, - "tags": [], - "uuid": "4437a25c-96bf-5bfe-bbe5-eac1f57bcdc6", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"GetQuestion\"", - "config": {}, - "test": "", - "uuid": "953b967b-d379-4a3c-bb26-94be8d389841", - "destination_block": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")", - "meta": { - "column": 1, - "line": 210 - }, - "name": "QuestionError", - "uuid": "8691a3eb-668a-57bf-a075-7b30fd3ed174" - }, - "card_item": { - "meta": { - "column": 3, - "line": 224 - }, - "text": {}, - "type": "text" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "explainer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "e09422d0-86f1-57ff-8708-a4cb6375b115", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(question.explainer), \"*Explainer:* There's no explainer for this.\", concatenate(\"*Explainer:*\", \" \", question.explainer))", - "config": {}, - "test": "", - "uuid": "deb5e5fb-6abf-44a2-9aea-723c7966e498", - "destination_block": "5ad93bce-78be-56b6-863f-15651d590a18", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 159 - }, - "name": "AgeExplainer", - "uuid": "cc09face-a30d-51b6-ad04-87424a554cdc" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 160 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "age_explainer_text", - "type": "MobilePrimitives.Message", - "config": { - "prompt": "dfe2b708-61fb-4e3c-b9d1-97c4d415896e" - }, - "tags": [], - "uuid": "5ad93bce-78be-56b6-863f-15651d590a18", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"GetQuestion\"", - "config": {}, - "test": "", - "uuid": "95c7c938-9c7f-4cf6-8294-6df78faeef58", - "destination_block": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 159 - }, - "name": "AgeExplainer", - "uuid": "cc09face-a30d-51b6-ad04-87424a554cdc" - }, - "card_item": { - "meta": { - "column": 3, - "line": 167 - }, - "text": {}, - "type": "text" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "validate_age_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "8dd16dbc-b714-56d2-88e2-513d738e5a27", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for validate_age_case_condition_0", - "config": {}, - "test": "has_all_members(keywords, [question_response]) == true", - "uuid": "a9b6e9b1-3084-4e50-996d-623607e2afdb", - "destination_block": "360c7cba-b81d-5dd5-b2c7-0201601a147e", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for validate_age_case_condition_1", - "config": {}, - "test": "or(not(isnumber(question_response)), question_response > 150)", - "uuid": "5a3d3a21-7c48-42be-8445-91cb8abdedae", - "destination_block": "204ffe73-b20d-59a1-9881-741ce0e85ed7", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for validate_age_case_condition_2", - "config": {}, - "test": null, - "uuid": "cf14bcc7-0e7c-4758-b117-544c2e906b62", - "destination_block": "db22ca54-248c-503c-b96e-7023378c01c4", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "validate_age_case_condition_2_log", - "type": "Core.Log", - "config": { - "message": "2915c023-c20b-4cf7-82b1-d8fa07c542cc" - }, - "tags": [], - "uuid": "db22ca54-248c-503c-b96e-7023378c01c4", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"QuestionResponse\"", - "config": {}, - "test": "", - "uuid": "5d87a740-4b01-43e9-bb47-08849a528c06", - "destination_block": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 155 - }, - "name": "ValidateAge", - "uuid": "aa24f5cb-72b4-54e3-b04c-67b74abdb628" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 156 - }, - "type": "log" - }, - "index": 2 - } - } - } - } - } - }, - { - "label": null, - "name": "validate_age_case_condition_1_log", - "type": "Core.Log", - "config": { - "message": "d064ee2c-97c8-4a48-bc9c-6f6d0dd0bf6b" - }, - "tags": [], - "uuid": "204ffe73-b20d-59a1-9881-741ce0e85ed7", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"QuestionError\"", - "config": {}, - "test": "", - "uuid": "81354288-7e02-4671-9d0a-ed014a7ab930", - "destination_block": "8691a3eb-668a-57bf-a075-7b30fd3ed174", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "not isnumber(question_response) or question_response > 150", - "meta": { - "column": 1, - "line": 150 - }, - "name": "ValidateAge", - "uuid": "f38c021a-40cc-545f-9033-140b83d215e6" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 152 - }, - "type": "log" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "validate_age_case_condition_0_log", - "type": "Core.Log", - "config": { - "message": "85ded4f5-f84e-4235-89df-4d3d085faa8d" - }, - "tags": [], - "uuid": "360c7cba-b81d-5dd5-b2c7-0201601a147e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"AgeExplainer\"", - "config": {}, - "test": "", - "uuid": "453f75a2-8832-4ba8-9577-db87cc82ab6c", - "destination_block": "e09422d0-86f1-57ff-8708-a4cb6375b115", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_all_members(keywords, [@question_response]) == true", - "meta": { - "column": 1, - "line": 145 - }, - "name": "ValidateAge", - "uuid": "8dd16dbc-b714-56d2-88e2-513d738e5a27" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 147 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for question_response_case_condition_0", - "config": {}, - "test": "questions[question_num].question_type == \"integer_question\"", - "uuid": "74ce0320-6fe0-4d31-a580-19c86d6ac8c4", - "destination_block": "f30f6263-31d8-5999-9443-96a2a8b33a80", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for question_response_case_condition_1", - "config": {}, - "test": "questions[question_num].question_type == \"freetext_question\"", - "uuid": "b5319175-57e3-4374-840c-059fa114ab96", - "destination_block": "6e416817-7df2-50d4-8cbc-377e18aa08ca", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for question_response_case_condition_2", - "config": {}, - "test": "questions[question_num].question_type == \"age_question\"", - "uuid": "8b1b97d9-1fbc-4d49-a223-7f6fd453f947", - "destination_block": "963d3b90-10d5-5cd4-ad88-9d3cd6085210", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for question_response_case_condition_3", - "config": {}, - "test": "questions[question_num].question_type == \"year_of_birth_question\"", - "uuid": "9bcfacbf-236a-484f-9bbb-a3be5df34d50", - "destination_block": "1f1d3e64-3bb7-5af0-bdd0-e5132ea3ca45", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for question_response_case_condition_4", - "config": {}, - "test": "and(has_member(map(question.answers, &lower(&1.answer)), \"never\"), lower(\"@question_response\") == \"never\")", - "uuid": "0f61601b-0762-4ede-b85e-92f72dcf6635", - "destination_block": "0b14d5e3-6c03-5212-ae3d-d878f647a8fb", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for question_response_case_condition_5", - "config": {}, - "test": "lower(\"@question_response\") == \"skip\"", - "uuid": "ac25f15e-89ca-40ec-a37f-d4398ce23eb3", - "destination_block": "3ffa836f-b945-550b-bbaf-651bb7c09370", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for question_response_case_condition_6", - "config": {}, - "test": null, - "uuid": "6cc43c7c-9075-4a5e-9f02-2cfa68fdd9db", - "destination_block": "6f9f953b-231c-5908-8408-635d8fecd1fd", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "scores", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "6f9f953b-231c-5908-8408-635d8fecd1fd", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "map(question.answers, & &1.score)", - "config": {}, - "test": "", - "uuid": "099d9811-fa79-4338-bcca-4edb7c536357", - "destination_block": "a53bdbf6-4c7b-52a9-9965-257d63ea1c8d", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 469 - }, - "type": "expression" - }, - "index": 6 - } - } - } - } - } - }, - { - "label": null, - "name": "max_question_score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "a53bdbf6-4c7b-52a9-9965-257d63ea1c8d", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "reduce(scores, scores[0], &max(&1, &2))", - "config": {}, - "test": "", - "uuid": "1c54bcef-1a5f-4043-9d2a-4ecbe6414518", - "destination_block": "3f7c3f03-3595-593f-8769-4365b8dfa6e9", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 470 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "answer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "3f7c3f03-3595-593f-8769-4365b8dfa6e9", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "find(question.answers, &(&1.answer == question_response))", - "config": {}, - "test": "", - "uuid": "2a418a3b-99fa-4be3-b6e7-0d423812f1c2", - "destination_block": "a762eb2d-f455-5e2d-9545-2ff1f3263050", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 471 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "a762eb2d-f455-5e2d-9545-2ff1f3263050", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "33671673-bcfc-46e1-8053-ffb9d6a155f9", - "destination_block": "463e5dbd-552d-5942-b626-5e3f097ac691", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 472 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "463e5dbd-552d-5942-b626-5e3f097ac691", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_question_num\")", - "config": {}, - "test": "", - "uuid": "cc8fbc51-8643-47cd-993e-db7a3a7990b0", - "destination_block": "a6bd14db-3b4e-5bc6-8e6b-f4d2eb02f741", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 473 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "a6bd14db-3b4e-5bc6-8e6b-f4d2eb02f741", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "6826dc9d-89c5-43c7-ab4d-bac7b509f102", - "destination_block": "a72a5236-3f6f-542c-ae01-4e8dc201a0ed", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "meta": { - "column": 3, - "line": 474 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "a72a5236-3f6f-542c-ae01-4e8dc201a0ed", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_\", \"@question_id\")", - "config": {}, - "test": "", - "uuid": "270988c2-1fb6-429b-b73f-f369569f0e64", - "destination_block": "3b2d2946-dc19-593f-bee7-feeeed4f3744", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 476 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "answer.semantic_id" - }, - "tags": [], - "uuid": "3b2d2946-dc19-593f-bee7-feeeed4f3744", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "27050dea-5012-4b81-b40c-a9cf665330fd", - "destination_block": "0bb48fc5-c49c-54f3-a4dd-011a9b894c8b", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "meta": { - "column": 3, - "line": 477 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response_case_condition_6_log", - "type": "Core.Log", - "config": { - "message": "1a3ada70-7fea-4bef-8b51-3241942e0c53" - }, - "tags": [], - "uuid": "0bb48fc5-c49c-54f3-a4dd-011a9b894c8b", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_response_case_condition_6_log", - "config": {}, - "test": "", - "uuid": "c37305d2-006a-4b69-953a-24c140c0142f", - "destination_block": "ae009f58-091e-5d66-8411-e38737c89e5f", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 478 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "max_score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "ae009f58-091e-5d66-8411-e38737c89e5f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "max_score + max_question_score", - "config": {}, - "test": "", - "uuid": "51adec1b-ae4d-4e44-b63c-77beb30dfdf3", - "destination_block": "8adfe457-34df-51a2-b688-e67f32f94684", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 480 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "8adfe457-34df-51a2-b688-e67f32f94684", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "score + answer.score", - "config": {}, - "test": "", - "uuid": "6909292e-75f0-4026-921a-446ac3cc8d5b", - "destination_block": "ec8cc44e-53a6-5ca1-8714-403edf6d7e18", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 481 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response_case_condition_6_log", - "type": "Core.Log", - "config": { - "message": "a1ea15ee-0899-40bb-b88a-e272c7e1cefe" - }, - "tags": [], - "uuid": "ec8cc44e-53a6-5ca1-8714-403edf6d7e18", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_response_case_condition_6_log", - "config": {}, - "test": "", - "uuid": "aa761c61-2ee5-4da8-8ae9-c126dca61ceb", - "destination_block": "0fbcde9d-fcfc-58eb-97eb-28b4cf4d2298", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 482 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "0fbcde9d-fcfc-58eb-97eb-28b4cf4d2298", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_num + 1", - "config": {}, - "test": "", - "uuid": "c288f5ca-1678-420d-aec4-a04ce1c6f175", - "destination_block": "91f4666b-97d8-55ba-b40b-d58adcee1c27", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 468 - }, - "name": "QuestionResponse", - "uuid": "84a273e4-f078-57ef-8980-2774eb9c1a9c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 483 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "3ffa836f-b945-550b-bbaf-651bb7c09370", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_question_num\")", - "config": {}, - "test": "", - "uuid": "75c51b7a-1a7a-4f68-bcbe-73fd8136ee9d", - "destination_block": "ce6745e4-cdfa-5801-8fac-d995030c91c3", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(\"@question_response\") == \"skip\"", - "meta": { - "column": 1, - "line": 448 - }, - "name": "QuestionResponse", - "uuid": "05d3aa85-cee9-55bf-bacc-b6876ac2a66d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 454 - }, - "type": "expression" - }, - "index": 5 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "ce6745e4-cdfa-5801-8fac-d995030c91c3", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "0523c45f-cb11-4d51-ab92-56abbf6e8df2", - "destination_block": "b3e39b19-899b-5b97-a82e-e86ec9ee75eb", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(\"@question_response\") == \"skip\"", - "meta": { - "column": 1, - "line": 448 - }, - "name": "QuestionResponse", - "uuid": "05d3aa85-cee9-55bf-bacc-b6876ac2a66d" - }, - "card_item": { - "meta": { - "column": 3, - "line": 455 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "b3e39b19-899b-5b97-a82e-e86ec9ee75eb", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "e2571d1a-0d04-420d-8f5c-7810c787d69c", - "destination_block": "bc2d07e7-23ed-5b5c-be57-6af437cf8a13", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(\"@question_response\") == \"skip\"", - "meta": { - "column": 1, - "line": 448 - }, - "name": "QuestionResponse", - "uuid": "05d3aa85-cee9-55bf-bacc-b6876ac2a66d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 456 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "bc2d07e7-23ed-5b5c-be57-6af437cf8a13", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_\", \"@question_id\")", - "config": {}, - "test": "", - "uuid": "23423719-562c-475a-bb31-11e9c1f4e8b2", - "destination_block": "dece7024-909a-5b95-9772-31d24aeff59e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(\"@question_response\") == \"skip\"", - "meta": { - "column": 1, - "line": 448 - }, - "name": "QuestionResponse", - "uuid": "05d3aa85-cee9-55bf-bacc-b6876ac2a66d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 457 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "\"skip\"" - }, - "tags": [], - "uuid": "dece7024-909a-5b95-9772-31d24aeff59e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "9b164452-53a7-4001-9319-69d434a3d53c", - "destination_block": "2a5dbd68-c47c-5670-8dd7-cfaec34fa614", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(\"@question_response\") == \"skip\"", - "meta": { - "column": 1, - "line": 448 - }, - "name": "QuestionResponse", - "uuid": "05d3aa85-cee9-55bf-bacc-b6876ac2a66d" - }, - "card_item": { - "meta": { - "column": 3, - "line": 458 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "skip_count", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "2a5dbd68-c47c-5670-8dd7-cfaec34fa614", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "skip_count + 1", - "config": {}, - "test": "", - "uuid": "1767a8b6-cfbe-4825-b86d-1c8ae15179a9", - "destination_block": "8436a71f-e0fb-5397-ac93-b917abc751fc", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(\"@question_response\") == \"skip\"", - "meta": { - "column": 1, - "line": 448 - }, - "name": "QuestionResponse", - "uuid": "05d3aa85-cee9-55bf-bacc-b6876ac2a66d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 460 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response_case_condition_5_log", - "type": "Core.Log", - "config": { - "message": "dd44cb67-720b-45a2-9592-d7bc957bdd65" - }, - "tags": [], - "uuid": "8436a71f-e0fb-5397-ac93-b917abc751fc", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_response_case_condition_5_log", - "config": {}, - "test": "", - "uuid": "11d2e1f7-3b6c-4503-ab2e-447081d1aa8b", - "destination_block": "43cdafdc-d7d0-5461-900e-f2065ef00c35", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(\"@question_response\") == \"skip\"", - "meta": { - "column": 1, - "line": 448 - }, - "name": "QuestionResponse", - "uuid": "05d3aa85-cee9-55bf-bacc-b6876ac2a66d" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 462 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response_case_condition_5_log", - "type": "Core.Log", - "config": { - "message": "b3181c43-40d0-4266-82db-28b69f048318" - }, - "tags": [], - "uuid": "43cdafdc-d7d0-5461-900e-f2065ef00c35", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_response_case_condition_5_log", - "config": {}, - "test": "", - "uuid": "6046b1aa-4831-473d-a169-0f86877a764d", - "destination_block": "1da44ef9-a288-52f3-8e59-e92306ab39b0", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(\"@question_response\") == \"skip\"", - "meta": { - "column": 1, - "line": 448 - }, - "name": "QuestionResponse", - "uuid": "05d3aa85-cee9-55bf-bacc-b6876ac2a66d" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 463 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "1da44ef9-a288-52f3-8e59-e92306ab39b0", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_num + 1", - "config": {}, - "test": "", - "uuid": "b3aa37af-b26e-4784-b132-cc7f7da254ae", - "destination_block": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "lower(\"@question_response\") == \"skip\"", - "meta": { - "column": 1, - "line": 448 - }, - "name": "QuestionResponse", - "uuid": "05d3aa85-cee9-55bf-bacc-b6876ac2a66d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 465 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response_case_condition_4_log", - "type": "Core.Log", - "config": { - "message": "fc6435ed-60e3-41bf-a727-e32bcf3a85ee" - }, - "tags": [], - "uuid": "0b14d5e3-6c03-5212-ae3d-d878f647a8fb", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_response_case_condition_4_log", - "config": {}, - "test": "", - "uuid": "ef437bf7-2bb7-46c1-8fd7-4546204a7df9", - "destination_block": "e7453fe5-ea7a-5672-b36f-969adf27475c", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"", - "meta": { - "column": 1, - "line": 433 - }, - "name": "QuestionResponse", - "uuid": "a580df95-b8dd-57e0-9143-ae09a639c16f" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 437 - }, - "type": "log" - }, - "index": 4 - } - } - } - } - } - }, - { - "label": null, - "name": "answer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "e7453fe5-ea7a-5672-b36f-969adf27475c", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "find(question.answers, &(&1.answer == question_response))", - "config": {}, - "test": "", - "uuid": "93397110-e7a2-4b21-8059-9922e3343ee0", - "destination_block": "5dd79098-7f34-54d5-8e5f-04b0a7fd1bb9", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"", - "meta": { - "column": 1, - "line": 433 - }, - "name": "QuestionResponse", - "uuid": "a580df95-b8dd-57e0-9143-ae09a639c16f" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 438 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_question_num", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "5dd79098-7f34-54d5-8e5f-04b0a7fd1bb9", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_question_num", - "config": {}, - "test": "", - "uuid": "16565288-e3f0-4aaf-953f-2b95096a5b78", - "destination_block": "f451b640-029d-5fec-9dae-a64e5652091a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"", - "meta": { - "column": 1, - "line": 433 - }, - "name": "QuestionResponse", - "uuid": "a580df95-b8dd-57e0-9143-ae09a639c16f" - }, - "card_item": { - "meta": { - "column": 3, - "line": 439 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "f451b640-029d-5fec-9dae-a64e5652091a", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "7f15d95f-ac1b-46ce-be85-32074ac0e7a5", - "destination_block": "7bffc635-b3e5-51f7-ae6f-6d5588e20cec", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"", - "meta": { - "column": 1, - "line": 433 - }, - "name": "QuestionResponse", - "uuid": "a580df95-b8dd-57e0-9143-ae09a639c16f" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 440 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_@question_id", - "type": "Core.Output", - "config": { - "value": "\"@question_response\"" - }, - "tags": [], - "uuid": "7bffc635-b3e5-51f7-ae6f-6d5588e20cec", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_@question_id", - "config": {}, - "test": "", - "uuid": "f90cdc68-3bc0-4acf-a1bb-805fa2ca0f8a", - "destination_block": "1fecdbc5-fa1b-5159-bd6e-af43751b3d01", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"", - "meta": { - "column": 1, - "line": 433 - }, - "name": "QuestionResponse", - "uuid": "a580df95-b8dd-57e0-9143-ae09a639c16f" - }, - "card_item": { - "meta": { - "column": 3, - "line": 441 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response_case_condition_4_log", - "type": "Core.Log", - "config": { - "message": "b7ba0056-00da-45bc-b937-261545f70693" - }, - "tags": [], - "uuid": "1fecdbc5-fa1b-5159-bd6e-af43751b3d01", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_response_case_condition_4_log", - "config": {}, - "test": "", - "uuid": "960dd15c-4a07-4534-a31a-d8acde905bf8", - "destination_block": "aa1e8abf-e6d8-533b-89d0-16719e9c4c04", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"", - "meta": { - "column": 1, - "line": 433 - }, - "name": "QuestionResponse", - "uuid": "a580df95-b8dd-57e0-9143-ae09a639c16f" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 442 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "aa1e8abf-e6d8-533b-89d0-16719e9c4c04", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "score + answer.score", - "config": {}, - "test": "", - "uuid": "1946240c-796e-4b0c-b005-53da646d7596", - "destination_block": "2635c001-f348-5411-b4a9-a9da410a3187", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"", - "meta": { - "column": 1, - "line": 433 - }, - "name": "QuestionResponse", - "uuid": "a580df95-b8dd-57e0-9143-ae09a639c16f" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 444 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "2635c001-f348-5411-b4a9-a9da410a3187", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "count(questions)", - "config": {}, - "test": "", - "uuid": "5391e350-2b1d-4c09-8ba4-e10afa4cf88b", - "destination_block": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"", - "meta": { - "column": 1, - "line": 433 - }, - "name": "QuestionResponse", - "uuid": "a580df95-b8dd-57e0-9143-ae09a639c16f" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 445 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "1f1d3e64-3bb7-5af0-bdd0-e5132ea3ca45", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "51576edd-f4d4-4e91-b962-d26f1028f22e", - "destination_block": "62772736-b104-56dd-b265-1de4b646803c", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 422 - }, - "name": "QuestionResponse", - "uuid": "2dcaedd3-a48d-5ca3-b184-63151b7b67c8" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 424 - }, - "type": "expression" - }, - "index": 3 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_question_num", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "62772736-b104-56dd-b265-1de4b646803c", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_question_num", - "config": {}, - "test": "", - "uuid": "85da070d-3884-4648-b91e-ebc5e11fc25e", - "destination_block": "2b042201-d600-59ec-80c1-2895d45e1c42", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 422 - }, - "name": "QuestionResponse", - "uuid": "2dcaedd3-a48d-5ca3-b184-63151b7b67c8" - }, - "card_item": { - "meta": { - "column": 3, - "line": 425 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_question", - "type": "Core.Output", - "config": { - "value": "question.question" - }, - "tags": [], - "uuid": "2b042201-d600-59ec-80c1-2895d45e1c42", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_question", - "config": {}, - "test": "", - "uuid": "b8fedc45-819f-4d4c-a4bf-5a035eb420c0", - "destination_block": "1e1e68ff-abf7-5933-a4e7-e4c44aa1c862", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 422 - }, - "name": "QuestionResponse", - "uuid": "2dcaedd3-a48d-5ca3-b184-63151b7b67c8" - }, - "card_item": { - "meta": { - "column": 3, - "line": 426 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_@question_id", - "type": "Core.Output", - "config": { - "value": "\"@question_response\"" - }, - "tags": [], - "uuid": "1e1e68ff-abf7-5933-a4e7-e4c44aa1c862", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_@question_id", - "config": {}, - "test": "", - "uuid": "db2af66c-8e13-483b-ae52-da95f7091c17", - "destination_block": "2d20d9ed-e73b-5f64-88fa-669f0c239510", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 422 - }, - "name": "QuestionResponse", - "uuid": "2dcaedd3-a48d-5ca3-b184-63151b7b67c8" - }, - "card_item": { - "meta": { - "column": 3, - "line": 427 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "2d20d9ed-e73b-5f64-88fa-669f0c239510", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_num + 1", - "config": {}, - "test": "", - "uuid": "cfb7f27f-2dc2-4b0e-9dda-f070cdadedde", - "destination_block": "91f4666b-97d8-55ba-b40b-d58adcee1c27", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 422 - }, - "name": "QuestionResponse", - "uuid": "2dcaedd3-a48d-5ca3-b184-63151b7b67c8" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 429 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "963d3b90-10d5-5cd4-ad88-9d3cd6085210", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "03a600fb-d6ba-4dae-b35b-25d3a61c5c3e", - "destination_block": "4c1b7dc7-4298-50c8-bbf2-3627d0f1b0ac", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"age_question\"", - "meta": { - "column": 1, - "line": 412 - }, - "name": "QuestionResponse", - "uuid": "75a8cebf-518b-55fd-9a7d-b5e36d08c8b2" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 414 - }, - "type": "expression" - }, - "index": 2 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_question_num", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "4c1b7dc7-4298-50c8-bbf2-3627d0f1b0ac", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_question_num", - "config": {}, - "test": "", - "uuid": "30fcea2a-40a5-4916-bf97-4f6b5afe21b5", - "destination_block": "ebd305c8-0ea8-508d-8d22-0a70beebe970", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"age_question\"", - "meta": { - "column": 1, - "line": 412 - }, - "name": "QuestionResponse", - "uuid": "75a8cebf-518b-55fd-9a7d-b5e36d08c8b2" - }, - "card_item": { - "meta": { - "column": 3, - "line": 415 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_@question_id", - "type": "Core.Output", - "config": { - "value": "\"@question_response\"" - }, - "tags": [], - "uuid": "ebd305c8-0ea8-508d-8d22-0a70beebe970", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_@question_id", - "config": {}, - "test": "", - "uuid": "887eb52b-5d98-4048-8158-2cd3a1bc04ce", - "destination_block": "12f097dc-ea16-5cb8-9e33-0bdf4821188b", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"age_question\"", - "meta": { - "column": 1, - "line": 412 - }, - "name": "QuestionResponse", - "uuid": "75a8cebf-518b-55fd-9a7d-b5e36d08c8b2" - }, - "card_item": { - "meta": { - "column": 3, - "line": 416 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response_case_condition_2_log", - "type": "Core.Log", - "config": { - "message": "0c4f5bcd-d086-4fe2-beb3-b6c37aa36556" - }, - "tags": [], - "uuid": "12f097dc-ea16-5cb8-9e33-0bdf4821188b", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_response_case_condition_2_log", - "config": {}, - "test": "", - "uuid": "7e4da150-e541-4708-a077-34b951506114", - "destination_block": "05e160a4-519f-53cd-97f9-d0f1c08b057a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"age_question\"", - "meta": { - "column": 1, - "line": 412 - }, - "name": "QuestionResponse", - "uuid": "75a8cebf-518b-55fd-9a7d-b5e36d08c8b2" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 417 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "05e160a4-519f-53cd-97f9-d0f1c08b057a", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_num + 1", - "config": {}, - "test": "", - "uuid": "2552594d-d767-4bc9-9b05-3b333a1e03c5", - "destination_block": "91f4666b-97d8-55ba-b40b-d58adcee1c27", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"age_question\"", - "meta": { - "column": 1, - "line": 412 - }, - "name": "QuestionResponse", - "uuid": "75a8cebf-518b-55fd-9a7d-b5e36d08c8b2" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 419 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "6e416817-7df2-50d4-8cbc-377e18aa08ca", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "cb0575dc-9986-4787-94c5-596b19654982", - "destination_block": "e10b4017-99e5-56f5-9a38-5f49ab2d2ffb", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"freetext_question\"", - "meta": { - "column": 1, - "line": 402 - }, - "name": "QuestionResponse", - "uuid": "36028161-43a6-52b0-a1fd-173fbc73cc2e" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 404 - }, - "type": "expression" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_question_num", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "e10b4017-99e5-56f5-9a38-5f49ab2d2ffb", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_question_num", - "config": {}, - "test": "", - "uuid": "f7008dd3-4b60-4ff4-ac41-9305077f9327", - "destination_block": "487757bb-144b-52a5-9f1b-946bdff9f4bd", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"freetext_question\"", - "meta": { - "column": 1, - "line": 402 - }, - "name": "QuestionResponse", - "uuid": "36028161-43a6-52b0-a1fd-173fbc73cc2e" - }, - "card_item": { - "meta": { - "column": 3, - "line": 405 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_question", - "type": "Core.Output", - "config": { - "value": "question.question" - }, - "tags": [], - "uuid": "487757bb-144b-52a5-9f1b-946bdff9f4bd", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_question", - "config": {}, - "test": "", - "uuid": "7bbe1dc2-fd29-474c-bfdc-c87db6a60648", - "destination_block": "688c609a-51a2-55a9-ab4d-d6dc77a69949", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"freetext_question\"", - "meta": { - "column": 1, - "line": 402 - }, - "name": "QuestionResponse", - "uuid": "36028161-43a6-52b0-a1fd-173fbc73cc2e" - }, - "card_item": { - "meta": { - "column": 3, - "line": 406 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_@question_id", - "type": "Core.Output", - "config": { - "value": "\"@question_response\"" - }, - "tags": [], - "uuid": "688c609a-51a2-55a9-ab4d-d6dc77a69949", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_@question_id", - "config": {}, - "test": "", - "uuid": "29c38480-0e56-4a8a-a759-3473da1db388", - "destination_block": "3a982b62-e82b-549d-b185-e7400049ef25", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"freetext_question\"", - "meta": { - "column": 1, - "line": 402 - }, - "name": "QuestionResponse", - "uuid": "36028161-43a6-52b0-a1fd-173fbc73cc2e" - }, - "card_item": { - "meta": { - "column": 3, - "line": 407 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "3a982b62-e82b-549d-b185-e7400049ef25", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_num + 1", - "config": {}, - "test": "", - "uuid": "74e40226-8191-40f7-8084-da95eedc3193", - "destination_block": "91f4666b-97d8-55ba-b40b-d58adcee1c27", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"freetext_question\"", - "meta": { - "column": 1, - "line": 402 - }, - "name": "QuestionResponse", - "uuid": "36028161-43a6-52b0-a1fd-173fbc73cc2e" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 409 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "f30f6263-31d8-5999-9443-96a2a8b33a80", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].semantic_id", - "config": {}, - "test": "", - "uuid": "dd207520-72b9-4d91-ab37-11b16e5072b8", - "destination_block": "a99b61f1-25b6-5f61-ae90-5bc17a6ebb8e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 390 - }, - "name": "QuestionResponse", - "uuid": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 392 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_question_num", - "type": "Core.Output", - "config": { - "value": "question_num" - }, - "tags": [], - "uuid": "a99b61f1-25b6-5f61-ae90-5bc17a6ebb8e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_question_num", - "config": {}, - "test": "", - "uuid": "04cca59d-02fa-4178-80dd-1b848f1399d9", - "destination_block": "e725ecf4-511e-545d-aa58-d53302f1c63f", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 390 - }, - "name": "QuestionResponse", - "uuid": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231" - }, - "card_item": { - "meta": { - "column": 3, - "line": 393 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_question", - "type": "Core.Output", - "config": { - "value": "question.question" - }, - "tags": [], - "uuid": "e725ecf4-511e-545d-aa58-d53302f1c63f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_question", - "config": {}, - "test": "", - "uuid": "82e83478-0c8b-4525-9df3-c31258e08f58", - "destination_block": "52b16363-38ce-57c0-8c84-2699348b9b75", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 390 - }, - "name": "QuestionResponse", - "uuid": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231" - }, - "card_item": { - "meta": { - "column": 3, - "line": 394 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_@question_id", - "type": "Core.Output", - "config": { - "value": "\"@question_response\"" - }, - "tags": [], - "uuid": "52b16363-38ce-57c0-8c84-2699348b9b75", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_@question_id", - "config": {}, - "test": "", - "uuid": "3bb816b5-ef05-4288-8418-3017f61422f3", - "destination_block": "0fc03652-2e57-56c4-839f-b8490032d0e9", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 390 - }, - "name": "QuestionResponse", - "uuid": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231" - }, - "card_item": { - "meta": { - "column": 3, - "line": 395 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_min", - "type": "Core.Output", - "config": { - "value": "min" - }, - "tags": [], - "uuid": "0fc03652-2e57-56c4-839f-b8490032d0e9", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_min", - "config": {}, - "test": "", - "uuid": "5a7c522f-6363-41b3-9f0b-57b61f847f37", - "destination_block": "e49e30f1-320d-57f1-9eb7-23e37d17ee9b", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 390 - }, - "name": "QuestionResponse", - "uuid": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231" - }, - "card_item": { - "meta": { - "column": 3, - "line": 396 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_@version_max", - "type": "Core.Output", - "config": { - "value": "max" - }, - "tags": [], - "uuid": "e49e30f1-320d-57f1-9eb7-23e37d17ee9b", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@slug_@version_max", - "config": {}, - "test": "", - "uuid": "b8d5f857-95de-480d-b0cb-adda335a43de", - "destination_block": "0dc94b93-ce24-51bd-b68e-776fdc84e0dd", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 390 - }, - "name": "QuestionResponse", - "uuid": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231" - }, - "card_item": { - "meta": { - "column": 3, - "line": 397 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "0dc94b93-ce24-51bd-b68e-776fdc84e0dd", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_num + 1", - "config": {}, - "test": "", - "uuid": "17488827-6c09-47fa-a65b-3fed954a57ad", - "destination_block": "91f4666b-97d8-55ba-b40b-d58adcee1c27", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 390 - }, - "name": "QuestionResponse", - "uuid": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 399 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_explainer_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "802042c7-f7d3-5f2e-b639-cddfe9a63eed", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for question_explainer_case_condition_0", - "config": {}, - "test": "has_all_members(keywords, [question_response])", - "uuid": "4a4cc775-4490-4027-93b4-48a0719e1ffe", - "destination_block": "cd60f5d4-c190-5a7c-91e2-d76174a701f0", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for question_explainer_case_condition_1", - "config": {}, - "test": null, - "uuid": "cad1a6d4-9500-48cc-ade7-351820cc5f1c", - "destination_block": "f15231fd-dd26-5f08-a79b-457336ed2195", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "type", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "f15231fd-dd26-5f08-a79b-457336ed2195", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].question_type", - "config": {}, - "test": "", - "uuid": "fec1f308-9b5c-4c54-a540-1faaa49d72c5", - "destination_block": "fef7f813-2bc1-5985-853a-649676d35709", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 181 - }, - "name": "QuestionExplainer", - "uuid": "d0be1031-7733-52ba-851e-78f269a36238" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 182 - }, - "type": "expression" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "question_explainer_case_condition_1_log", - "type": "Core.Log", - "config": { - "message": "ff52b56f-6b35-4fe2-b964-5f136290715d" - }, - "tags": [], - "uuid": "fef7f813-2bc1-5985-853a-649676d35709", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_explainer_case_condition_1_log", - "config": {}, - "test": "", - "uuid": "bb7bcec6-8fe4-470a-a56f-f1d548da01c2", - "destination_block": "e03c1417-e21c-5c31-bc7f-08e35556f119", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 181 - }, - "name": "QuestionExplainer", - "uuid": "d0be1031-7733-52ba-851e-78f269a36238" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 183 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_explainer_case_condition_1_log", - "type": "Core.Log", - "config": { - "message": "a9bb2de7-5b5c-4e85-84e3-d66131695c45" - }, - "tags": [], - "uuid": "e03c1417-e21c-5c31-bc7f-08e35556f119", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"ValidateInput\"", - "config": {}, - "test": "", - "uuid": "3eb912ec-c255-455a-870e-875dc52abca1", - "destination_block": "c18fd5f1-50bb-517d-b139-f95bf0ec483d", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 181 - }, - "name": "QuestionExplainer", - "uuid": "d0be1031-7733-52ba-851e-78f269a36238" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 184 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "explainer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "cd60f5d4-c190-5a7c-91e2-d76174a701f0", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(question.explainer), \"*Explainer:* There's no explainer for this.\", concatenate(\"*Explainer:*\", \" \", question.explainer))", - "config": {}, - "test": "", - "uuid": "1d0d39df-862f-4268-be1d-6a70a3acb9ad", - "destination_block": "9ef45cc4-856f-5d6e-a4f1-58fa35f0d895", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_all_members(keywords, [@question_response])", - "meta": { - "column": 1, - "line": 170 - }, - "name": "QuestionExplainer", - "uuid": "802042c7-f7d3-5f2e-b639-cddfe9a63eed" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 171 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_explainer_case_condition_0_text", - "type": "MobilePrimitives.Message", - "config": { - "prompt": "2ace5e8a-a6ca-4213-b54b-50bf7e750c95" - }, - "tags": [], - "uuid": "9ef45cc4-856f-5d6e-a4f1-58fa35f0d895", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"GetQuestion\"", - "config": {}, - "test": "", - "uuid": "e6f09144-6800-4e9e-909a-90646512e3bb", - "destination_block": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "has_all_members(keywords, [@question_response])", - "meta": { - "column": 1, - "line": 170 - }, - "name": "QuestionExplainer", - "uuid": "802042c7-f7d3-5f2e-b639-cddfe9a63eed" - }, - "card_item": { - "meta": { - "column": 3, - "line": 178 - }, - "text": {}, - "type": "text" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "display_answer_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "152de0b6-284f-5619-b7a4-c2af42a008b0", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "answer_num + 1", - "config": {}, - "test": "", - "uuid": "7a6f502e-0067-4d6b-a08d-206f0d8adfc7", - "destination_block": "066ffca5-6baa-5331-a1c3-75a7eb8c8b77", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 302 - }, - "name": "DisplayMultiselectAnswer", - "uuid": "72241757-c522-576c-b0e5-591f2cfbd14d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 303 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "num_answers", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "066ffca5-6baa-5331-a1c3-75a7eb8c8b77", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "count(question.answers)", - "config": {}, - "test": "", - "uuid": "45d23094-0c02-4a4e-804b-e2c00437d6ae", - "destination_block": "36a725bb-3be6-5e06-af5c-600770cc5f40", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 302 - }, - "name": "DisplayMultiselectAnswer", - "uuid": "72241757-c522-576c-b0e5-591f2cfbd14d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 304 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_question_text", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "36a725bb-3be6-5e06-af5c-600770cc5f40", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "\"@question_text\"", - "config": {}, - "test": "", - "uuid": "aab73b9f-d2e0-48e5-894c-8be6d67a036a", - "destination_block": "2897e7fb-d5a6-56d0-ab02-5f23a78d328f", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 302 - }, - "name": "DisplayMultiselectAnswer", - "uuid": "72241757-c522-576c-b0e5-591f2cfbd14d" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 305 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "answer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "2897e7fb-d5a6-56d0-ab02-5f23a78d328f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question.answers[answer_num]", - "config": {}, - "test": "", - "uuid": "94c68509-79f9-46a4-875a-02a220bed645", - "destination_block": "22f917b9-0c97-54b1-94bf-8a7511a82e61", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 302 - }, - "name": "DisplayMultiselectAnswer", - "uuid": "72241757-c522-576c-b0e5-591f2cfbd14d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 306 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "answer_text", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "22f917b9-0c97-54b1-94bf-8a7511a82e61", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "answer.answer", - "config": {}, - "test": "", - "uuid": "7ce5a8cd-221e-46ef-b540-682c9c13db55", - "destination_block": "74139803-da5a-5440-b6c7-0d8454d27c54", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 302 - }, - "name": "DisplayMultiselectAnswer", - "uuid": "72241757-c522-576c-b0e5-591f2cfbd14d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 307 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_question_text", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "74139803-da5a-5440-b6c7-0d8454d27c54", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(multiselect_question_text, \"@unichar(10)\", \"@unichar(10)\", \"@answer_text\", \"@unichar(10)\", \"@unichar(10)\", \"@display_answer_num / @num_answers\")", - "config": {}, - "test": "", - "uuid": "b226345f-1131-4e15-a173-a701aefe702f", - "destination_block": "a2a05347-f74b-5d33-8485-26137d5344ce", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 302 - }, - "name": "DisplayMultiselectAnswer", - "uuid": "72241757-c522-576c-b0e5-591f2cfbd14d" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 310 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response", - "type": "MobilePrimitives.SelectOneResponse", - "config": { - "prompt": "35e1273e-e30a-43b4-9e6f-bd20cc141128", - "choices": [ - { - "name": "multiselect_response_yes", - "prompt": "3777b6b9-749b-4433-9c82-7f3a60596205", - "test": "block.response = \"Yes\"" - }, - { - "name": "multiselect_response_no", - "prompt": "0cca8d01-2bc9-488b-be85-69fff3bf3413", - "test": "block.response = \"No\"" - } - ] - }, - "tags": [], - "uuid": "a2a05347-f74b-5d33-8485-26137d5344ce", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": null, - "name": "multiselect_response_yes", - "config": {}, - "test": "block.value = \"multiselect_response_yes\"", - "uuid": "6f585386-2aba-444b-9d0f-65301bfba8bd", - "destination_block": "bbfd8bdc-32ee-5348-9ea8-7efd4f37cba0", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": null, - "name": "multiselect_response_no", - "config": {}, - "test": "block.value = \"multiselect_response_no\"", - "uuid": "94ac9ad3-6be1-4c0d-9e58-8c279c1796a0", - "destination_block": "073e9c15-ed8c-5acc-89e9-19821f6567b4", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Default exit to \"MultiselectError\"", - "config": {}, - "test": "", - "uuid": "a1d76374-e815-4fe1-8d48-d050bc5f7c52", - "destination_block": "205afeb9-04e6-5b84-8102-bb4631a81a99", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "buttons_metadata": {}, - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 302 - }, - "name": "DisplayMultiselectAnswer", - "uuid": "72241757-c522-576c-b0e5-591f2cfbd14d" - }, - "card_item": { - "button_block": {}, - "meta": { - "column": 3, - "line": 321 - }, - "type": "button_block" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "display_question_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "9ff3bcb3-256f-5fc2-b636-454c4fa816eb", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for display_question_case_condition_0", - "config": {}, - "test": "questions[question_num].question_type == \"multiselect_question\"", - "uuid": "2345be16-e83e-4838-8ef9-0fb94bdc9818", - "destination_block": "4e1762d8-88c6-5aae-ae9a-c749d99d90d0", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for display_question_case_condition_1", - "config": {}, - "test": "count(questions[question_num].answers) > 3", - "uuid": "0a006f6b-34c2-432a-a3d8-b4864f5a0d35", - "destination_block": "9453c0c4-473c-500e-85c6-5f733ba1fc59", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for display_question_case_condition_2", - "config": {}, - "test": "questions[question_num].question_type == \"year_of_birth_question\"", - "uuid": "1a9a12d7-4195-4821-a7dc-0c8a092d09b5", - "destination_block": "07bc8877-1237-517b-b2c3-fae47b37a9dc", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for display_question_case_condition_3", - "config": {}, - "test": "questions[question_num].question_type == \"freetext_question\"", - "uuid": "b1d70509-d314-4337-97ad-6065e1463140", - "destination_block": "51b41407-ee04-502f-8aa4-9868104f1c97", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for display_question_case_condition_4", - "config": {}, - "test": "questions[question_num].question_type == \"integer_question\"", - "uuid": "7c183a1f-0d6e-40df-8ef9-284bbf7e4723", - "destination_block": "5e46222a-bdd2-54ce-88b1-9e1e7f6a54bc", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for display_question_case_condition_5", - "config": {}, - "test": "questions[question_num].question_type == \"age_question\"", - "uuid": "3846b621-d3e0-42af-bf45-62f05e2df5c8", - "destination_block": "ba85e291-3c3e-59ba-8221-0eb399f6a65e", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for display_question_case_condition_6", - "config": {}, - "test": null, - "uuid": "7757cbff-bd8b-484e-9f41-e36a00b486d5", - "destination_block": "cfd41956-450d-5c83-bba1-865c2727e206", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "question", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "cfd41956-450d-5c83-bba1-865c2727e206", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num]", - "config": {}, - "test": "", - "uuid": "4fb38cf9-1617-4bdd-9952-398278cb3cdc", - "destination_block": "5848983c-f9c6-59b4-ac2f-5fb74adaae1d", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 135 - }, - "name": "DisplayQuestion", - "uuid": "defb5bca-57e7-58f3-9fa0-b0a30c9e2275" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 137 - }, - "type": "expression" - }, - "index": 6 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response", - "type": "Io.Turn.DynamicSelectOneResponse", - "config": { - "prompt": "0ad643e8-e613-4d0a-9bde-4bc8f7a1bd00", - "destination_block": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231", - "choices": [], - "choice_expression": "map(question.answers, &[&1.answer, &1.answer])" - }, - "tags": [], - "uuid": "5848983c-f9c6-59b4-ac2f-5fb74adaae1d", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"QuestionExplainer\"", - "config": {}, - "test": "", - "uuid": "98bdf0af-36e4-4195-8b53-b71d0f8e9529", - "destination_block": "802042c7-f7d3-5f2e-b639-cddfe9a63eed", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 135 - }, - "name": "DisplayQuestion", - "uuid": "defb5bca-57e7-58f3-9fa0-b0a30c9e2275" - }, - "card_item": { - "dynamic_button": {}, - "meta": { - "column": 3, - "line": 139 - }, - "type": "dynamic_button" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "ba85e291-3c3e-59ba-8221-0eb399f6a65e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num]", - "config": {}, - "test": "", - "uuid": "a25ee6fe-e0b8-48a0-8b9a-e9c006cfa78f", - "destination_block": "36154269-9ab7-5b24-a89b-85982368293e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"age_question\"", - "meta": { - "column": 1, - "line": 127 - }, - "name": "DisplayQuestion", - "uuid": "36549b5c-32a0-5c4c-a3d7-4938c96762be" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 130 - }, - "type": "expression" - }, - "index": 5 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response", - "type": "MobilePrimitives.OpenResponse", - "config": { - "prompt": "9361c9a8-45d8-491a-b7a1-250a8c8429ab", - "max_response_characters": null - }, - "tags": [], - "uuid": "36154269-9ab7-5b24-a89b-85982368293e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"ValidateAge\"", - "config": {}, - "test": "", - "uuid": "0652bb25-ee08-4e23-b867-42489fbd7798", - "destination_block": "8dd16dbc-b714-56d2-88e2-513d738e5a27", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"age_question\"", - "meta": { - "column": 1, - "line": 127 - }, - "name": "DisplayQuestion", - "uuid": "36549b5c-32a0-5c4c-a3d7-4938c96762be" - }, - "card_item": { - "ask": {}, - "meta": { - "column": 3, - "line": 132 - }, - "type": "ask" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "5e46222a-bdd2-54ce-88b1-9e1e7f6a54bc", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num]", - "config": {}, - "test": "", - "uuid": "4c76e32f-dfb6-4a76-882e-d967378145ff", - "destination_block": "154ea066-5a33-57f5-be51-2c2381caa2e2", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 113 - }, - "name": "DisplayQuestion", - "uuid": "d2be39e1-78aa-5426-a5eb-6c3806e1b700" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 116 - }, - "type": "expression" - }, - "index": 4 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response", - "type": "MobilePrimitives.OpenResponse", - "config": { - "prompt": "48c7d156-25d9-4a6d-a065-563a5aca3c3f", - "max_response_characters": null - }, - "tags": [], - "uuid": "154ea066-5a33-57f5-be51-2c2381caa2e2", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_response", - "config": {}, - "test": "", - "uuid": "65668b76-2221-46ea-a01b-875455b569c4", - "destination_block": "33e7dec3-be3e-5a3e-a848-af9ac48db356", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 113 - }, - "name": "DisplayQuestion", - "uuid": "d2be39e1-78aa-5426-a5eb-6c3806e1b700" - }, - "card_item": { - "ask": {}, - "meta": { - "column": 3, - "line": 118 - }, - "type": "ask" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "min", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "33e7dec3-be3e-5a3e-a848-af9ac48db356", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].min", - "config": {}, - "test": "", - "uuid": "8e3bbad6-d987-4b70-b2dd-37c74c01aada", - "destination_block": "9d6822e0-6ead-50ce-a858-51815c33c831", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 113 - }, - "name": "DisplayQuestion", - "uuid": "d2be39e1-78aa-5426-a5eb-6c3806e1b700" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 119 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "max", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "9d6822e0-6ead-50ce-a858-51815c33c831", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num].max", - "config": {}, - "test": "", - "uuid": "fbe15e97-2e34-43ef-8eb8-52bcd10ec973", - "destination_block": "be19b57c-8ca7-50aa-9937-733ca1d2881e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 113 - }, - "name": "DisplayQuestion", - "uuid": "d2be39e1-78aa-5426-a5eb-6c3806e1b700" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 120 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "assertion", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "be19b57c-8ca7-50aa-9937-733ca1d2881e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "and(and(has_number(\"@question_response\"), has_number_gte(\"@question_response\", \"@min\")), has_number_lte(\"@question_response\", \"@max\"))", - "config": {}, - "test": "", - "uuid": "b4e15b91-12c1-469d-91ad-e32561350479", - "destination_block": "802042c7-f7d3-5f2e-b639-cddfe9a63eed", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"integer_question\"", - "meta": { - "column": 1, - "line": 113 - }, - "name": "DisplayQuestion", - "uuid": "d2be39e1-78aa-5426-a5eb-6c3806e1b700" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 122 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "51b41407-ee04-502f-8aa4-9868104f1c97", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num]", - "config": {}, - "test": "", - "uuid": "a49fa2d4-92f8-413d-9be3-28a4b11968a5", - "destination_block": "32b9cd35-54a3-5958-813e-e756aed30ae3", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"freetext_question\"", - "meta": { - "column": 1, - "line": 105 - }, - "name": "DisplayQuestion", - "uuid": "670fc02d-9e0c-5483-b35e-f7027ac5c854" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 108 - }, - "type": "expression" - }, - "index": 3 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response", - "type": "MobilePrimitives.OpenResponse", - "config": { - "prompt": "58203530-7b40-41db-8f19-d182d25df8f5", - "max_response_characters": null - }, - "tags": [], - "uuid": "32b9cd35-54a3-5958-813e-e756aed30ae3", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"QuestionExplainer\"", - "config": {}, - "test": "", - "uuid": "80e65084-fe33-4b40-8386-a1fb9b21940f", - "destination_block": "802042c7-f7d3-5f2e-b639-cddfe9a63eed", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"freetext_question\"", - "meta": { - "column": 1, - "line": 105 - }, - "name": "DisplayQuestion", - "uuid": "670fc02d-9e0c-5483-b35e-f7027ac5c854" - }, - "card_item": { - "ask": {}, - "meta": { - "column": 3, - "line": 110 - }, - "type": "ask" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "07bc8877-1237-517b-b2c3-fae47b37a9dc", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num]", - "config": {}, - "test": "", - "uuid": "91cbb019-d753-4445-9268-373733b7033b", - "destination_block": "b43f2a3a-db22-56af-8e94-65566b2da528", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 92 - }, - "name": "DisplayQuestion", - "uuid": "a73a8770-d33e-5f13-aeda-7802f57093c7" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 95 - }, - "type": "expression" - }, - "index": 2 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response", - "type": "MobilePrimitives.OpenResponse", - "config": { - "prompt": "1759b1c8-27fa-409c-8f5f-3d196050be88", - "max_response_characters": null - }, - "tags": [], - "uuid": "b43f2a3a-db22-56af-8e94-65566b2da528", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question_response", - "config": {}, - "test": "", - "uuid": "c561604f-fbfd-45b0-a89d-534716c0a68e", - "destination_block": "9efd0650-9b72-5a4c-8d02-d56c091b7636", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 92 - }, - "name": "DisplayQuestion", - "uuid": "a73a8770-d33e-5f13-aeda-7802f57093c7" - }, - "card_item": { - "ask": {}, - "meta": { - "column": 3, - "line": 97 - }, - "type": "ask" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "difference", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "9efd0650-9b72-5a4c-8d02-d56c091b7636", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "get_year - question_response", - "config": {}, - "test": "", - "uuid": "6508cfaf-635d-469f-a393-d97cf7126093", - "destination_block": "1944d276-1fd9-5639-a0e3-a7a886ac5614", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 92 - }, - "name": "DisplayQuestion", - "uuid": "a73a8770-d33e-5f13-aeda-7802f57093c7" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 98 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "assertion", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "1944d276-1fd9-5639-a0e3-a7a886ac5614", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "and(and(and(has_number(\"@question_response\"), has_number_lte(\"@question_response\", \"@get_year\")), has_number_lte(\"@difference\", \"@range\")), has_pattern(\"@question_response\", \"^[0-9]+$\"))", - "config": {}, - "test": "", - "uuid": "d36f8c55-28f8-48d9-9229-9eac22c53ae1", - "destination_block": "802042c7-f7d3-5f2e-b639-cddfe9a63eed", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"year_of_birth_question\"", - "meta": { - "column": 1, - "line": 92 - }, - "name": "DisplayQuestion", - "uuid": "a73a8770-d33e-5f13-aeda-7802f57093c7" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 100 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "9453c0c4-473c-500e-85c6-5f733ba1fc59", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num]", - "config": {}, - "test": "", - "uuid": "5a78cdd6-0dae-4c6f-aaf0-94ec9d70bf17", - "destination_block": "fae06156-f2a5-50ea-bcd3-b2318ed929e3", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "count(questions[question_num].answers) > 3", - "meta": { - "column": 1, - "line": 82 - }, - "name": "DisplayQuestion", - "uuid": "7ae8a003-3532-5525-a5ff-141121af718c" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 84 - }, - "type": "expression" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "question_response", - "type": "Io.Turn.DynamicSelectOneResponse", - "config": { - "prompt": "a77d15dd-788d-4024-8c2c-f03503cc087a", - "destination_block": "832b9b6d-96a8-5a58-b3c9-d94a5b2d0231", - "choices": [], - "choice_expression": "map(question.answers, &[&1.answer, &1.answer])" - }, - "tags": [], - "uuid": "fae06156-f2a5-50ea-bcd3-b2318ed929e3", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"QuestionExplainer\"", - "config": {}, - "test": "", - "uuid": "f93c616b-0a0b-4c63-bd90-d1a10dcfcee1", - "destination_block": "802042c7-f7d3-5f2e-b639-cddfe9a63eed", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "count(questions[question_num].answers) > 3", - "meta": { - "column": 1, - "line": 82 - }, - "name": "DisplayQuestion", - "uuid": "7ae8a003-3532-5525-a5ff-141121af718c" - }, - "card_item": { - "dynamic_list": {}, - "meta": { - "column": 3, - "line": 86 - }, - "type": "dynamic_list" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "answer_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "4e1762d8-88c6-5aae-ae9a-c749d99d90d0", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "0", - "config": {}, - "test": "", - "uuid": "dbb927d1-4f9d-41ac-82c3-4bf15b298bde", - "destination_block": "275f103f-e416-5c6b-b9a6-c5cac58cad90", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\"", - "meta": { - "column": 1, - "line": 72 - }, - "name": "DisplayQuestion", - "uuid": "9ff3bcb3-256f-5fc2-b636-454c4fa816eb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 75 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "multiselect_answer", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "275f103f-e416-5c6b-b9a6-c5cac58cad90", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "\"\"", - "config": {}, - "test": "", - "uuid": "e6ef6cad-08f8-42c0-a471-f0d4ad149dc8", - "destination_block": "9f956774-ed08-534c-a48a-16018fc90407", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\"", - "meta": { - "column": 1, - "line": 72 - }, - "name": "DisplayQuestion", - "uuid": "9ff3bcb3-256f-5fc2-b636-454c4fa816eb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 76 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "scores", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "9f956774-ed08-534c-a48a-16018fc90407", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "map(question.answers, & &1.score)", - "config": {}, - "test": "", - "uuid": "bbed52fa-a2d2-41cd-b092-dc5e5511b906", - "destination_block": "7193ccfc-0012-5e0c-a10c-ee29e3d111ac", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\"", - "meta": { - "column": 1, - "line": 72 - }, - "name": "DisplayQuestion", - "uuid": "9ff3bcb3-256f-5fc2-b636-454c4fa816eb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 77 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "max_question_score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "7193ccfc-0012-5e0c-a10c-ee29e3d111ac", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "reduce(scores, 0, &(&1 + &2))", - "config": {}, - "test": "", - "uuid": "f5b7fe93-f76a-4519-b494-068d521fa344", - "destination_block": "09d126cd-1b7d-5a88-89bf-b828e74de3ec", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\"", - "meta": { - "column": 1, - "line": 72 - }, - "name": "DisplayQuestion", - "uuid": "9ff3bcb3-256f-5fc2-b636-454c4fa816eb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 78 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "max_score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "09d126cd-1b7d-5a88-89bf-b828e74de3ec", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "max_score + max_question_score", - "config": {}, - "test": "", - "uuid": "2c262c6b-4ec9-4910-b9bf-a1f5ed9971cf", - "destination_block": "152de0b6-284f-5619-b7a4-c2af42a008b0", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "questions[question_num].question_type == \"multiselect_question\"", - "meta": { - "column": 1, - "line": 72 - }, - "name": "DisplayQuestion", - "uuid": "9ff3bcb3-256f-5fc2-b636-454c4fa816eb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 79 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "questions[question_num]", - "config": {}, - "test": "", - "uuid": "1b95b61f-b319-420d-9931-7b6df0fb683d", - "destination_block": "8ae32387-1563-5b4e-bd29-37ff2a3e5ccf", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 63 - }, - "name": "GetQuestion", - "uuid": "e027dd75-6574-5d1d-a262-ec4d19ff4672" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 64 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_text", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "8ae32387-1563-5b4e-bd29-37ff2a3e5ccf", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "question.question", - "config": {}, - "test": "", - "uuid": "20f5f105-74b2-48b7-afa2-40cd31831a1b", - "destination_block": "42c04994-0aee-569d-aa4a-fe1b9043bc2e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 63 - }, - "name": "GetQuestion", - "uuid": "e027dd75-6574-5d1d-a262-ec4d19ff4672" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 65 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "name", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "42c04994-0aee-569d-aa4a-fe1b9043bc2e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "if(is_nil_or_empty(contact.name), \"\", contact.name)", - "config": {}, - "test": "", - "uuid": "f6a25f30-bb9d-47f7-9f53-817a76cfa2c6", - "destination_block": "a95f4b7e-cf67-5bd4-8ffa-34e3d8068c46", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 63 - }, - "name": "GetQuestion", - "uuid": "e027dd75-6574-5d1d-a262-ec4d19ff4672" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 68 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_text", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "a95f4b7e-cf67-5bd4-8ffa-34e3d8068c46", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "substitute(question_text, \"{{name}}\", \"@name\")", - "config": {}, - "test": "", - "uuid": "98816e5b-ac3a-4a28-a1d2-be6f0db5d103", - "destination_block": "9ff3bcb3-256f-5fc2-b636-454c4fa816eb", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 63 - }, - "name": "GetQuestion", - "uuid": "e027dd75-6574-5d1d-a262-ec4d19ff4672" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 69 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "end_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "32ce1416-2d08-52eb-8ba7-089d0fc5fd7f", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for end_case_condition_0", - "config": {}, - "test": "and(skip_count < skip_threshold, score_perc >= assessment_data.high_inflection)", - "uuid": "0cd208c7-9d4d-4650-898c-4ff73e216768", - "destination_block": "a4fd7ffb-e077-5207-8ec8-c0e19ff3532f", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for end_case_condition_1", - "config": {}, - "test": "and(and(skip_count < skip_threshold, score_perc >= assessment_data.medium_inflection), score_perc < assessment_data.high_inflection)", - "uuid": "ac90fdf0-b2d6-4c0f-89db-bf60e36f4c49", - "destination_block": "d16e83be-ef11-5f71-b7b9-bc4304073c1e", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": false, - "name": "Exit for end_case_condition_2", - "config": {}, - "test": "skip_count >= skip_threshold", - "uuid": "7fcdfaae-2954-4fe7-b124-f08b99cf3455", - "destination_block": "b9ed3ebc-989e-5bc0-a0c9-0c1160dc5e85", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for end_case_condition_3", - "config": {}, - "test": null, - "uuid": "0b3ea00e-8d20-454a-8bbe-7b691763af6d", - "destination_block": "9b1e5a85-9480-533e-8750-547987a0d9cf", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "9b1e5a85-9480-533e-8750-547987a0d9cf", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_risk\")", - "config": {}, - "test": "", - "uuid": "503b1d2b-83fa-420b-b5a9-c7f24df25119", - "destination_block": "ac136add-a4ac-5dee-b8b1-f2d78223a8d7", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 548 - }, - "name": "End", - "uuid": "135d85be-cce5-5d0c-af9e-fc591fdbaeca" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 549 - }, - "type": "expression" - }, - "index": 3 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "\"low\"" - }, - "tags": [], - "uuid": "ac136add-a4ac-5dee-b8b1-f2d78223a8d7", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "feca8eee-3e5d-468a-8be7-dfe2b6617a3c", - "destination_block": "46cba1bc-1421-5d9c-b3f4-09bf8079a3f3", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 548 - }, - "name": "End", - "uuid": "135d85be-cce5-5d0c-af9e-fc591fdbaeca" - }, - "card_item": { - "meta": { - "column": 3, - "line": 550 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "end_case_condition_3_log", - "type": "Core.Log", - "config": { - "message": "d8ffc2f6-2ba7-4531-a912-8ba382e8d5e9" - }, - "tags": [], - "uuid": "46cba1bc-1421-5d9c-b3f4-09bf8079a3f3", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "end_case_condition_3_log", - "config": {}, - "test": "", - "uuid": "ce9d94e7-f9a7-4456-a225-d3aed325c12e", - "destination_block": "5ef21bd2-a177-5643-9217-aeb1f97ed4bf", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 548 - }, - "name": "End", - "uuid": "135d85be-cce5-5d0c-af9e-fc591fdbaeca" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 551 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "page_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "5ef21bd2-a177-5643-9217-aeb1f97ed4bf", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "assessment_data.low_result_page.id", - "config": {}, - "test": "", - "uuid": "99c3c5bf-7151-44dd-86d8-851ab86e665a", - "destination_block": "0b6e3a69-08e6-58d0-99a2-a5772424cc40", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 548 - }, - "name": "End", - "uuid": "135d85be-cce5-5d0c-af9e-fc591fdbaeca" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 552 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "Routing for end_case_condition_3", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "0b6e3a69-08e6-58d0-99a2-a5772424cc40", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for DisplayEndPage", - "config": {}, - "test": "true", - "uuid": "59364689-e881-4334-9c39-7776a61c9410", - "destination_block": "890fe97e-ee90-5925-bf67-0c86ca83313c", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 548 - }, - "name": "End", - "uuid": "135d85be-cce5-5d0c-af9e-fc591fdbaeca" - }, - "card_item": { - "meta": { - "column": 3, - "line": 554 - }, - "then": {}, - "type": "then" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "b9ed3ebc-989e-5bc0-a0c9-0c1160dc5e85", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_risk\")", - "config": {}, - "test": "", - "uuid": "b7cebf60-3d17-4339-be0c-9700b55a4882", - "destination_block": "2ee249f4-9bfb-5b85-925d-577f9414da9f", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count >= skip_threshold", - "meta": { - "column": 1, - "line": 539 - }, - "name": "End", - "uuid": "8af47823-4747-5abf-9246-0ea6b60fa78e" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 540 - }, - "type": "expression" - }, - "index": 2 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "\"skip_high\"" - }, - "tags": [], - "uuid": "2ee249f4-9bfb-5b85-925d-577f9414da9f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "d5c4c99c-8811-49c8-b947-4cf8323f9614", - "destination_block": "ea7bbc40-655b-5253-afd0-e26d53689c9b", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count >= skip_threshold", - "meta": { - "column": 1, - "line": 539 - }, - "name": "End", - "uuid": "8af47823-4747-5abf-9246-0ea6b60fa78e" - }, - "card_item": { - "meta": { - "column": 3, - "line": 541 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "end_case_condition_2_log", - "type": "Core.Log", - "config": { - "message": "dc5805d9-f162-4318-9f93-91ffe054a898" - }, - "tags": [], - "uuid": "ea7bbc40-655b-5253-afd0-e26d53689c9b", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "end_case_condition_2_log", - "config": {}, - "test": "", - "uuid": "7c2ed14d-472e-4de0-a338-f58a98ca133b", - "destination_block": "d42d0cbb-9add-5a9e-bf31-9ef36670086d", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count >= skip_threshold", - "meta": { - "column": 1, - "line": 539 - }, - "name": "End", - "uuid": "8af47823-4747-5abf-9246-0ea6b60fa78e" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 542 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "page_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "d42d0cbb-9add-5a9e-bf31-9ef36670086d", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "assessment_data.skip_high_result_page.id", - "config": {}, - "test": "", - "uuid": "dc6d7089-fd7c-4e27-ac84-cdae9feb40dd", - "destination_block": "42a09cff-f26e-5462-a7dd-ebffe97c15a2", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count >= skip_threshold", - "meta": { - "column": 1, - "line": 539 - }, - "name": "End", - "uuid": "8af47823-4747-5abf-9246-0ea6b60fa78e" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 543 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "Routing for end_case_condition_2", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "42a09cff-f26e-5462-a7dd-ebffe97c15a2", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for DisplayEndPage", - "config": {}, - "test": "true", - "uuid": "e03e4485-b36f-474e-9d0a-9ae3a995e0d8", - "destination_block": "890fe97e-ee90-5925-bf67-0c86ca83313c", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count >= skip_threshold", - "meta": { - "column": 1, - "line": 539 - }, - "name": "End", - "uuid": "8af47823-4747-5abf-9246-0ea6b60fa78e" - }, - "card_item": { - "meta": { - "column": 3, - "line": 545 - }, - "then": {}, - "type": "then" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "d16e83be-ef11-5f71-b7b9-bc4304073c1e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_risk\")", - "config": {}, - "test": "", - "uuid": "0482530e-31f3-4730-a5fa-df7706e707f5", - "destination_block": "b02ffbd7-032c-5ce9-984c-f9cbb7ed760d", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 527 - }, - "name": "End", - "uuid": "a7d1d4b4-8704-5c4e-b2bf-6a047180c846" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 531 - }, - "type": "expression" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "\"medium\"" - }, - "tags": [], - "uuid": "b02ffbd7-032c-5ce9-984c-f9cbb7ed760d", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "6cc27fde-e491-4575-a741-ee229053e59b", - "destination_block": "70bd87fb-7a56-5e49-964a-1500ba865160", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 527 - }, - "name": "End", - "uuid": "a7d1d4b4-8704-5c4e-b2bf-6a047180c846" - }, - "card_item": { - "meta": { - "column": 3, - "line": 532 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "end_case_condition_1_log", - "type": "Core.Log", - "config": { - "message": "db812254-6f01-47ed-a45a-643754b56b86" - }, - "tags": [], - "uuid": "70bd87fb-7a56-5e49-964a-1500ba865160", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "end_case_condition_1_log", - "config": {}, - "test": "", - "uuid": "bb8153c8-1003-4149-97ca-fa66c3f2981a", - "destination_block": "7ac16099-c685-5864-bbe6-e26aa78b94e9", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 527 - }, - "name": "End", - "uuid": "a7d1d4b4-8704-5c4e-b2bf-6a047180c846" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 533 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "page_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "7ac16099-c685-5864-bbe6-e26aa78b94e9", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "assessment_data.medium_result_page.id", - "config": {}, - "test": "", - "uuid": "191dc11b-5c42-4c41-a0cb-f98733958f93", - "destination_block": "0156cb2b-a647-5a6d-8745-95abc16094c4", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 527 - }, - "name": "End", - "uuid": "a7d1d4b4-8704-5c4e-b2bf-6a047180c846" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 534 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "Routing for end_case_condition_1", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "0156cb2b-a647-5a6d-8745-95abc16094c4", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for DisplayEndPage", - "config": {}, - "test": "true", - "uuid": "3cf0c9f7-0eea-4b86-93f1-f9531b32107f", - "destination_block": "890fe97e-ee90-5925-bf67-0c86ca83313c", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 527 - }, - "name": "End", - "uuid": "a7d1d4b4-8704-5c4e-b2bf-6a047180c846" - }, - "card_item": { - "meta": { - "column": 3, - "line": 536 - }, - "then": {}, - "type": "then" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "result_tag", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "a4fd7ffb-e077-5207-8ec8-c0e19ff3532f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(\"@slug\", \"_\", \"@version\", \"_risk\")", - "config": {}, - "test": "", - "uuid": "e2660391-de84-4c76-9811-b3444e848d46", - "destination_block": "0929eb18-e30b-5512-88e1-60f26d1a92da", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 516 - }, - "name": "End", - "uuid": "32ce1416-2d08-52eb-8ba7-089d0fc5fd7f" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 519 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@result_tag", - "type": "Core.Output", - "config": { - "value": "\"high\"" - }, - "tags": [], - "uuid": "0929eb18-e30b-5512-88e1-60f26d1a92da", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@result_tag", - "config": {}, - "test": "", - "uuid": "7a059362-6567-45f8-ba81-1afb382bc228", - "destination_block": "6c174e89-995b-5594-8781-feedc7c03365", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 516 - }, - "name": "End", - "uuid": "32ce1416-2d08-52eb-8ba7-089d0fc5fd7f" - }, - "card_item": { - "meta": { - "column": 3, - "line": 520 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "end_case_condition_0_log", - "type": "Core.Log", - "config": { - "message": "a379acb4-7120-4dbe-b3d1-c757f28a9e67" - }, - "tags": [], - "uuid": "6c174e89-995b-5594-8781-feedc7c03365", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "end_case_condition_0_log", - "config": {}, - "test": "", - "uuid": "4033a7aa-cbd3-4049-8216-28c48162181d", - "destination_block": "1d21c1b4-9456-5352-9ec9-99781cd53ee5", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 516 - }, - "name": "End", - "uuid": "32ce1416-2d08-52eb-8ba7-089d0fc5fd7f" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 521 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "page_id", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "1d21c1b4-9456-5352-9ec9-99781cd53ee5", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "assessment_data.high_result_page.id", - "config": {}, - "test": "", - "uuid": "49603b86-c9cb-4d6a-bbba-9166f14234e5", - "destination_block": "58ac95d7-7041-5fd2-9dfe-b8511243766e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 516 - }, - "name": "End", - "uuid": "32ce1416-2d08-52eb-8ba7-089d0fc5fd7f" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 522 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "Routing for end_case_condition_0", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "58ac95d7-7041-5fd2-9dfe-b8511243766e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for DisplayEndPage", - "config": {}, - "test": "true", - "uuid": "e68728e3-f7e2-4bae-aa66-ea108b24f601", - "destination_block": "890fe97e-ee90-5925-bf67-0c86ca83313c", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "skip_count < skip_threshold and score_perc >= assessment_data.high_inflection", - "meta": { - "column": 1, - "line": 516 - }, - "name": "End", - "uuid": "32ce1416-2d08-52eb-8ba7-089d0fc5fd7f" - }, - "card_item": { - "meta": { - "column": 3, - "line": 524 - }, - "then": {}, - "type": "then" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "check_end_case", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "ui_metadata": {}, - "exits": [ - { - "default": false, - "name": "Exit for check_end_case_condition_0", - "config": {}, - "test": "question_num == count(questions)", - "uuid": "46eebc67-5ef3-464d-9191-6726f23d6767", - "destination_block": "5950c048-d5d0-5117-b188-2320b644c0e1", - "semantic_label": null, - "vendor_metadata": {} - }, - { - "default": true, - "name": "Exit for check_end_case_condition_1", - "config": {}, - "test": null, - "uuid": "f3f4ef54-9789-4da6-9f81-e6f9e2f0ee43", - "destination_block": "b36d1f7b-1d62-5c5c-84ea-8bf8fb28f49d", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": {} - }, - { - "label": null, - "name": "Routing for check_end_case_condition_1", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "b36d1f7b-1d62-5c5c-84ea-8bf8fb28f49d", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": false, - "name": "Exit for GetQuestion", - "config": {}, - "test": "true", - "uuid": "1ed51e90-a14b-41db-aee9-f0c7e5955954", - "destination_block": "b3d4494d-6566-55de-b7b1-3c9e3f9c190a", - "semantic_label": null, - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 59 - }, - "name": "CheckEnd", - "uuid": "56017223-732a-571c-89a3-81b7fefe550d" - }, - "card_item": { - "meta": { - "column": 3, - "line": 60 - }, - "then": {}, - "type": "then" - }, - "index": 1 - } - } - } - } - } - }, - { - "label": null, - "name": "score_perc", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "5950c048-d5d0-5117-b188-2320b644c0e1", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "score / max(max_score, 1) * 100", - "config": {}, - "test": "", - "uuid": "31764d07-a731-4561-ab6c-7a9a4c7ed091", - "destination_block": "77a491ab-a8e3-58e6-ba46-a57d5f5f805a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "question_num == count(questions)", - "meta": { - "column": 1, - "line": 48 - }, - "name": "CheckEnd", - "uuid": "cebd16e3-4d94-572c-bcd1-6def9e904347" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 54 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "slug_end", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "77a491ab-a8e3-58e6-ba46-a57d5f5f805a", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(slug, \"_end\")", - "config": {}, - "test": "", - "uuid": "f511d1f1-532d-4c7d-b0a1-f77efeec1830", - "destination_block": "d6a6bacc-b77a-5d5f-a0b8-6928b890d0c9", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "question_num == count(questions)", - "meta": { - "column": 1, - "line": 48 - }, - "name": "CheckEnd", - "uuid": "cebd16e3-4d94-572c-bcd1-6def9e904347" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 55 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@slug_end", - "type": "Core.Output", - "config": { - "value": "\"@assessment_data.slug\"" - }, - "tags": [], - "uuid": "d6a6bacc-b77a-5d5f-a0b8-6928b890d0c9", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"End\"", - "config": {}, - "test": "", - "uuid": "4fb7f661-6c7e-4218-89b0-15ec101f1d49", - "destination_block": "32ce1416-2d08-52eb-8ba7-089d0fc5fd7f", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": "question_num == count(questions)", - "meta": { - "column": 1, - "line": 48 - }, - "name": "CheckEnd", - "uuid": "cebd16e3-4d94-572c-bcd1-6def9e904347" - }, - "card_item": { - "meta": { - "column": 3, - "line": 56 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "get_assessment_log", - "type": "Core.Log", - "config": { - "message": "7e6bf323-4149-4d50-a604-5b501e0a2ca4" - }, - "tags": [], - "uuid": "53f47793-39d4-5241-9309-a82a22dde970", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "get_assessment_log", - "config": {}, - "test": "", - "uuid": "192faeb9-223e-444a-973b-96c6e204d09d", - "destination_block": "aab449fd-3210-5616-892f-be733693a0dd", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 4 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "response", - "type": "Io.Turn.Webhook", - "config": { - "timeout": 5000, - "mode": "sync", - "body": null, - "query": [ - [ - "tag", - "@config.items.assessment_tag" - ] - ], - "url": "https://content-repo-api-qa.prk-k8s.prd-p6t.org/api/v2/assessment/", - "headers": [ - [ - "content-type", - "application/json" - ], - [ - "authorization", - "Token @global.config.contentrepo_token" - ] - ], - "method": "GET", - "cache_ttl": 60000 - }, - "tags": [], - "uuid": "aab449fd-3210-5616-892f-be733693a0dd", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "response", - "config": {}, - "test": "", - "uuid": "1d02d3ad-5b95-49a0-985c-4fd9d69b30a7", - "destination_block": "8a9dea5b-ee5e-5350-a7b5-a9b1a4a1cf9a", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "meta": { - "column": 3, - "line": 6 - }, - "type": "webhook", - "webhook": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "assessment_data", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "8a9dea5b-ee5e-5350-a7b5-a9b1a4a1cf9a", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "response.body.results[0]", - "config": {}, - "test": "", - "uuid": "38879d17-89d7-4724-8ccf-5ebe46d6a6e3", - "destination_block": "eeaef0cf-3fb3-564e-8b04-c3a525512ff4", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 19 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "questions", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "eeaef0cf-3fb3-564e-8b04-c3a525512ff4", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "assessment_data[\"questions\"]", - "config": {}, - "test": "", - "uuid": "00763a4b-00a7-4e33-842e-5d66362a9163", - "destination_block": "6491d76a-9dd1-5dc4-b24e-1f151b25fd99", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 20 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "locale", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "6491d76a-9dd1-5dc4-b24e-1f151b25fd99", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "assessment_data[\"locale\"]", - "config": {}, - "test": "", - "uuid": "b4cc0560-029b-4afd-b555-5c00a2594703", - "destination_block": "39a6a669-d465-5cbf-9486-a7ad9903ade3", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 21 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "slug", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "39a6a669-d465-5cbf-9486-a7ad9903ade3", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "assessment_data[\"slug\"]", - "config": {}, - "test": "", - "uuid": "827eb694-6bc3-48ca-b862-4e00269d312b", - "destination_block": "fa402751-ae06-5d05-8c46-b17aede57e90", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 22 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "version", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "fa402751-ae06-5d05-8c46-b17aede57e90", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "assessment_data[\"version\"]", - "config": {}, - "test": "", - "uuid": "fc192cb9-79b6-45ce-b65f-86e2f97ba210", - "destination_block": "9c59543b-50c3-5649-ae1d-20682c68e3d4", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 23 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "question_num", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "9c59543b-50c3-5649-ae1d-20682c68e3d4", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "0", - "config": {}, - "test": "", - "uuid": "20956b78-faf3-4357-8f9d-9c2deeadef53", - "destination_block": "8fd838c5-8218-55d8-b6b2-20b68a736552", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 24 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "8fd838c5-8218-55d8-b6b2-20b68a736552", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "0", - "config": {}, - "test": "", - "uuid": "8191fb9c-9a43-4549-8540-42fcc1f986b9", - "destination_block": "60a27ceb-7865-50ca-a134-49acc835931f", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 25 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "min", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "60a27ceb-7865-50ca-a134-49acc835931f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "0", - "config": {}, - "test": "", - "uuid": "c8ed9f0d-e2b7-42ee-ba78-4d6c4d7c6533", - "destination_block": "e6124f69-5d07-5225-8a96-07007f27eafe", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 26 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "max", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "e6124f69-5d07-5225-8a96-07007f27eafe", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "0", - "config": {}, - "test": "", - "uuid": "f7d3d61a-7036-4316-a373-53b683d2d5b4", - "destination_block": "37ae5eb6-cf20-5882-974b-6ba53a158031", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 27 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "assertion", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "37ae5eb6-cf20-5882-974b-6ba53a158031", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "\"\"", - "config": {}, - "test": "", - "uuid": "ee22aa31-6296-4c20-a5ae-973d0fc7138f", - "destination_block": "30534f96-e5ae-5665-8fbb-451a6b8d578c", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 28 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "get_today", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "30534f96-e5ae-5665-8fbb-451a6b8d578c", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "today()", - "config": {}, - "test": "", - "uuid": "12197762-731d-4973-bb6c-228b8af9ee01", - "destination_block": "48bb0531-d96f-593c-81fb-1ad12d44742e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 29 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "get_year", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "48bb0531-d96f-593c-81fb-1ad12d44742e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "year(get_today)", - "config": {}, - "test": "", - "uuid": "091915bd-0746-493f-9c2c-287b18225daa", - "destination_block": "1e0c6792-41a1-593d-89a7-30bb38c0069f", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 30 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "range", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "1e0c6792-41a1-593d-89a7-30bb38c0069f", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "120", - "config": {}, - "test": "", - "uuid": "8dfd11bd-7bc5-412d-a7e6-77e58eb7fd05", - "destination_block": "7eb8b96a-4963-58bc-a488-e934ddc1dbca", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 31 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "max_score", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "7eb8b96a-4963-58bc-a488-e934ddc1dbca", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "0", - "config": {}, - "test": "", - "uuid": "7ee9dd76-c173-49b4-b998-0ae67a6bb738", - "destination_block": "e4fdc9d8-8138-5798-a811-3fbacd1a5072", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 32 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "skip_count", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "e4fdc9d8-8138-5798-a811-3fbacd1a5072", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "0", - "config": {}, - "test": "", - "uuid": "10da49af-4f28-4cea-b2c1-45d8e1da6511", - "destination_block": "674aa068-f44e-581e-b745-858d5c4198fa", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 33 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "skip_threshold", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "674aa068-f44e-581e-b745-858d5c4198fa", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "assessment_data[\"skip_threshold\"]", - "config": {}, - "test": "", - "uuid": "322363c5-438e-492c-90dd-d880a0feff4a", - "destination_block": "9a65ffbb-f616-59a0-a519-0ec008fcc5a7", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 34 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "keywords", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "9a65ffbb-f616-59a0-a519-0ec008fcc5a7", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "[\"why\", \"wy\", \"wh\", \"explain\", \"expain\", \"eplain\"]", - "config": {}, - "test": "", - "uuid": "13877a3d-a69a-49c7-8aa6-5e7cf7e79910", - "destination_block": "e616d211-01d4-5f07-ba39-84be6af786db", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "literal": {}, - "meta": { - "column": 3, - "line": 39 - }, - "type": "literal" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "get_assessment_log", - "type": "Core.Log", - "config": { - "message": "ff4666f4-9ee8-4487-bf88-c5034fae12bc" - }, - "tags": [], - "uuid": "e616d211-01d4-5f07-ba39-84be6af786db", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "get_assessment_log", - "config": {}, - "test": "", - "uuid": "fe5f5e4b-d566-468a-aea5-ff49fb76d33c", - "destination_block": "bba5084b-a799-53db-9f10-bdf419ce443e", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "log": {}, - "meta": { - "column": 3, - "line": 41 - }, - "type": "log" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "version", - "type": "Core.Output", - "config": { - "value": "\"@version\"" - }, - "tags": [], - "uuid": "bba5084b-a799-53db-9f10-bdf419ce443e", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "version", - "config": {}, - "test": "", - "uuid": "3da49ceb-d436-4435-b967-3283b2a57396", - "destination_block": "9ac4eae1-a3dc-5022-81ed-252bf8e1f738", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "meta": { - "column": 3, - "line": 42 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "v_start", - "type": "Core.Case", - "config": {}, - "tags": [], - "uuid": "9ac4eae1-a3dc-5022-81ed-252bf8e1f738", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "concatenate(slug, \"_\", version, \"_start\")", - "config": {}, - "test": "", - "uuid": "6a3e7e4d-d2ce-477e-8dc1-cea30d53229b", - "destination_block": "d263fbcb-38b9-589c-8fe4-e3034c85c310", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "expression": {}, - "meta": { - "column": 3, - "line": 43 - }, - "type": "expression" - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "@v_start", - "type": "Core.Output", - "config": { - "value": "\"@config.items.assessment_tag\"" - }, - "tags": [], - "uuid": "d263fbcb-38b9-589c-8fe4-e3034c85c310", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "@v_start", - "config": {}, - "test": "", - "uuid": "f1964e8d-9c95-455d-9e78-91c2c9052d4a", - "destination_block": "fbaf76ad-be59-5122-85b8-96a89b5ccf05", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "meta": { - "column": 3, - "line": 44 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - }, - { - "label": null, - "name": "locale", - "type": "Core.Output", - "config": { - "value": "\"@locale\"" - }, - "tags": [], - "uuid": "fbaf76ad-be59-5122-85b8-96a89b5ccf05", - "ui_metadata": { - "canvas_coordinates": { - "x": 0, - "y": 0 - } - }, - "exits": [ - { - "default": true, - "name": "Default exit to \"CheckEnd\"", - "config": {}, - "test": "", - "uuid": "3974b0d2-2780-495f-98f3-631812606700", - "destination_block": "cebd16e3-4d94-572c-bcd1-6def9e904347", - "semantic_label": "", - "vendor_metadata": {} - } - ], - "semantic_label": null, - "vendor_metadata": { - "io": { - "turn": { - "stacks_dsl": { - "0.1.0": { - "card": { - "condition": null, - "meta": { - "column": 1, - "line": 3 - }, - "name": "GetAssessment", - "uuid": "bd0d63f3-c347-579a-bbb1-71431ecacfcb" - }, - "card_item": { - "meta": { - "column": 3, - "line": 45 - }, - "type": "write_result", - "write_result": {} - }, - "index": 0 - } - } - } - } - } - } - ], - "last_modified": "2024-08-21T14:35:52.898555Z", - "uuid": "b01adce0-ce89-53ee-adea-025a72ea5105", - "languages": [ - { - "id": "c56a4177-fed9-43f0-828e-3ade4922b0b1", - "label": "English", - "variant": null, - "iso_639_3": "eng", - "bcp_47": null - } - ], - "first_block_id": "53f47793-39d4-5241-9309-a82a22dde970", - "interaction_timeout": 300, - "vendor_metadata": {}, - "supported_modes": [ - "RICH_MESSAGING" - ], - "exit_block_id": "" - } - ], - "vendor_metadata": {}, - "specification_version": "1.0.0-rc3" -} \ No newline at end of file +{"name":"Onboarding: DMA Form","description":"Default description","uuid":"690a9ffd-db6d-42df-ad8f-a1e5b469a099","resources":[{"values":[{"value":"@page_id","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"2e070c3a-800d-4055-b670-6f440bcb1275"},{"values":[{"value":"@message_body","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"803f367b-2afe-451c-8d33-ab224c1033ae"},{"values":[{"value":"Current score: @score, Current max score: @max_score","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"92585f48-1276-417f-9916-f6e799836fe5"},{"values":[{"value":"Question number is @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"7e35665f-7fec-4ea8-b941-c85a84f1064e"},{"values":[{"value":"Answer number is @answer_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"f15046a0-3862-42d7-9d19-cd41b243bfb4"},{"values":[{"value":"You entered @question_response","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"d2cf5761-796b-4886-8330-c52a034e379c"},{"values":[{"value":"@error","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"55bf751f-a266-4b08-961e-e8cfe3443e79"},{"values":[{"value":"Skipping multiselect question @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"90dd0f28-35f7-4cc0-82af-8eaebe0f2be8"},{"values":[{"value":"Current score: @score, Current max score: @max_score","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"a70e9c43-21dc-4777-bb96-678abedf90bf"},{"values":[{"value":"@explainer","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"fa4e89fd-1b62-46c4-bedd-aff12924fc62"},{"values":[{"value":"Answered @multiselect_answer to question @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"bb7aa247-8ad5-422e-bf24-a7f1bfb9f185"},{"values":[{"value":"Valid input","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"90692661-b1a9-449b-a9b8-e9836f155130"},{"values":[{"value":"Invalid input","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"7d571ad7-2e2f-4dc5-8503-9a2881eb1c48"},{"values":[{"value":"Error input","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"77ac266b-4007-4c43-9469-2b1926d80ce9"},{"values":[{"value":"Error input","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"5f14b3c6-be49-4dbf-8e12-806c93513603"},{"values":[{"value":"Question number is @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"4e9f2053-8ba4-4a7b-9b5c-36791324b7ee"},{"values":[{"value":"You entered @question_response","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"ddaf8a07-1462-4ed4-88c4-5383082b9119"},{"values":[{"value":"@error","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"b6c4cd90-5f0e-4a3d-9d25-421dfdcc20e1"},{"values":[{"value":"Skipping question @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"04b0fb32-74a6-4420-8572-9973ced8906f"},{"values":[{"value":"Current score: @score, Current max score: @max_score","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"90da2404-d915-4dfa-9942-1b1b489ba160"},{"values":[{"value":"@explainer","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"ec375fc1-f91f-41fd-b265-efe3e66926dc"},{"values":[{"value":"Invalid input for year_of_birth_question: @question_response. Required value between @lower_bound_year and @get_year","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"c354a7d5-f0eb-4f12-83e1-b703c14a276c"},{"values":[{"value":"get_year is @get_year and difference is @difference","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"12c2912b-4fd9-4f1e-9e3a-281e2cd9db28"},{"values":[{"value":"@styled_error","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"ce6ffac1-12d1-4ebc-8f36-6cfa5fb22985"},{"values":[{"value":"Invalid input for integer_question: @question_response. Required value between @min and @max.","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"2dd7b820-698d-4441-844e-259921c4e0d3"},{"values":[{"value":"@styled_error","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"88035ee7-9e36-4061-8a1f-630f4832c00d"},{"values":[{"value":"@explainer","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"d7ee52de-073f-447b-9095-386dc682ad8b"},{"values":[{"value":"Validation suceeded for age question","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"95633145-5ef8-4d41-b36d-5499973391b4"},{"values":[{"value":"Validatation failed for age question","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"126d61ca-172d-49b3-86b4-5fddbb4427a6"},{"values":[{"value":"Explainer returned for age question","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"b2007b8b-8509-457e-a41a-431a47ed2477"},{"values":[{"value":"Answered @answer.answer to question @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"01eecd36-6f6c-4f3a-acb7-6cdfdb4d8059"},{"values":[{"value":"Current score: @score, Current max score: @max_score","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"8b702ee2-b458-45b1-bbb6-9e9246e921fb"},{"values":[{"value":"Skipping question @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"c97ea508-499e-4889-b97d-347fec4d098a"},{"values":[{"value":"Current score: @score, Current max score: @max_score","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"f4749ea8-91a0-4ffa-bd82-9a74ba395197"},{"values":[{"value":"Skipping to end of Form","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"878daa6c-6192-4015-a104-73d51cb4e663"},{"values":[{"value":"Answered @answer.answer to question @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"7778404c-db2b-4993-be2e-68829297c556"},{"values":[{"value":"Answered @age to question @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"b0b5f0dd-878d-4800-bc07-247eb8e09129"},{"values":[{"value":"Question type is @type","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"5402f4b9-1efd-4f66-8be2-15b5a8dabf41"},{"values":[{"value":"Your answer was @question_response to question number @question_num","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"3689c8d1-9dad-449f-a57c-8eef3f019ebc"},{"values":[{"value":"@explainer","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"aa685cef-eef6-4509-bcf0-f0f151c14f6c"},{"values":[{"value":"@multiselect_question_text","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"9371817b-6fe9-4f58-bb5c-42079c04c780"},{"values":[{"value":"Yes","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"d1a8febf-c589-4558-95f6-c25dd2855ebb"},{"values":[{"value":"No","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"025139ea-906d-446a-8146-306b021854ef"},{"values":[{"value":"@question_text","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"eef25929-0633-4e40-b3f7-774e7925bdf9"},{"values":[{"value":"QuestionResponse","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"3797bc41-a9a2-46ba-945f-8af977291973"},{"values":[{"value":"@question_text","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"6d4da655-f43e-4814-907f-6e93d40e2ad2"},{"values":[{"value":"@question_text","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"d8ca53b2-af21-473b-94d0-ec77e86f24a9"},{"values":[{"value":"@question_text","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"5c2bc842-b6cc-4c3e-9711-3afeb9f466a9"},{"values":[{"value":"@question_text","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"3c7fa0af-09c7-43b1-99d8-65c1d072b0a0"},{"values":[{"value":"@question_text","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"},{"value":"Select option","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"16ed045d-57df-42ea-a731-867adb28b48b"},{"values":[{"value":"Assessment risk: low","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"000cfb0e-f0c0-4015-90b4-779647df4a60"},{"values":[{"value":"Assessment risk: skip_high","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"eeec6131-0ce5-492c-a452-d43c7610ea23"},{"values":[{"value":"Assessment risk: medium","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"bb61c05c-ed40-40a2-955d-8b8a0aba96d7"},{"values":[{"value":"Assessment risk: high","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"b4e72052-1a65-42df-a8fb-325329e79f13"},{"values":[{"value":"Fetching assessment @config.items.assessment_tag","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"da7f24f5-1bdd-4f11-9cc3-2dc526461984"},{"values":[{"value":"Starting assessment @config.items.assessment_tag","modes":["RICH_MESSAGING"],"content_type":"TEXT","mime_type":"text/plain","language_id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41"}],"uuid":"91ba36df-af68-46f4-b6e7-166134d5564a"}],"flows":[{"label":null,"name":"stack","blocks":[{"label":null,"name":"mnch_onboarding_dma_form_v1.0_score","type":"Core.Output","config":{"value":"score"},"tags":[],"uuid":"7ccb1b4e-7acb-5fb9-85fe-ed3d747129f1","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_v1.0_score","config":{},"test":"","uuid":"67b94a40-7e47-4413-9d97-422e6a3aa6b1","destination_block":"808d6bf3-8551-5525-88cc-2a91790cd2c1","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":542},"name":"DisplayEndPage","uuid":"e8288a8a-72ae-50b8-9ffe-80fdf0569447"},"card_item":{"meta":{"column":3,"line":544},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_v1.0_max_score","type":"Core.Output","config":{"value":"max_score"},"tags":[],"uuid":"808d6bf3-8551-5525-88cc-2a91790cd2c1","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_v1.0_max_score","config":{},"test":"","uuid":"3da7acea-13f3-4d22-83ef-82982895c1a4","destination_block":"fc05aa98-463d-5663-8680-64d09bb47f00","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":542},"name":"DisplayEndPage","uuid":"e8288a8a-72ae-50b8-9ffe-80fdf0569447"},"card_item":{"meta":{"column":3,"line":545},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"response","type":"Io.Turn.Webhook","config":{"timeout":5000,"mode":"sync","body":null,"query":[["whatsapp","true"]],"url":"https://content-repo-api-qa.prk-k8s.prd-p6t.org/api/v2/pages/@page_id/","headers":[["content-type","application/json"],["authorization","Token @global.config.contentrepo_token"]],"method":"GET","cache_ttl":60000},"tags":[],"uuid":"fc05aa98-463d-5663-8680-64d09bb47f00","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"response","config":{},"test":"","uuid":"d50b9c06-5a0d-426a-9042-89b0accef6af","destination_block":"202ac0d4-f44a-570a-bee5-48a03be51dfc","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":542},"name":"DisplayEndPage","uuid":"e8288a8a-72ae-50b8-9ffe-80fdf0569447"},"card_item":{"meta":{"column":3,"line":547},"type":"webhook","webhook":{}},"index":0}}}}}},{"label":null,"name":"display_end_page_log","type":"Core.Log","config":{"message":"2e070c3a-800d-4055-b670-6f440bcb1275"},"tags":[],"uuid":"202ac0d4-f44a-570a-bee5-48a03be51dfc","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"display_end_page_log","config":{},"test":"","uuid":"2b6e6331-7a5d-471e-ac6d-93069964fa35","destination_block":"830f32fa-07be-5a2e-9653-bae94484f41a","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":542},"name":"DisplayEndPage","uuid":"e8288a8a-72ae-50b8-9ffe-80fdf0569447"},"card_item":{"log":{},"meta":{"column":3,"line":560},"type":"log"},"index":0}}}}}},{"label":null,"name":"message_body","type":"Core.Case","config":{},"tags":[],"uuid":"830f32fa-07be-5a2e-9653-bae94484f41a","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"response.body.body.text.value.message","config":{},"test":"","uuid":"b7af7d47-b236-4c46-b3b3-f8dd16775658","destination_block":"3469ac3e-179a-51e6-8088-2f5142e38107","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":542},"name":"DisplayEndPage","uuid":"e8288a8a-72ae-50b8-9ffe-80fdf0569447"},"card_item":{"expression":{},"meta":{"column":3,"line":561},"type":"expression"},"index":0}}}}}},{"label":null,"name":"display_end_page_text","type":"MobilePrimitives.Message","config":{"prompt":"803f367b-2afe-451c-8d33-ab224c1033ae"},"tags":[],"uuid":"3469ac3e-179a-51e6-8088-2f5142e38107","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"display_end_page_text","config":{},"test":"","uuid":"ef9f83e5-8be0-4c06-8659-8f70ead1090c","destination_block":null,"semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":542},"name":"DisplayEndPage","uuid":"e8288a8a-72ae-50b8-9ffe-80fdf0569447"},"card_item":{"meta":{"column":3,"line":562},"text":{},"type":"text"},"index":0}}}}}},{"label":null,"name":"answer_num","type":"Core.Case","config":{},"tags":[],"uuid":"629e7ef7-5cd8-5519-9a48-8d27bc55f92c","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"answer_num + 1","config":{},"test":"","uuid":"b40f0947-45e2-43c6-b574-5b0e85d2c2df","destination_block":"5b652a56-c71a-5582-83f8-55b39072e60a","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":375},"name":"MultiselectResponseNo","uuid":"37a73151-bebf-5292-8912-20abd8f756c4"},"card_item":{"expression":{},"meta":{"column":3,"line":376},"type":"expression"},"index":0}}}}}},{"label":null,"name":"answer","type":"Core.Case","config":{},"tags":[],"uuid":"293490d5-2e96-5b3b-958e-41dd9e332bdb","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"find(question.answers, &(&1.answer == answer_text))","config":{},"test":"","uuid":"8217fcec-6336-4f54-ad42-43f165eb2348","destination_block":"6a71fe37-b6f4-54aa-87b3-0f039afce4f0","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":359},"name":"MultiselectResponseYes","uuid":"0ec16d81-7463-507b-afb2-0bc197fd2e4b"},"card_item":{"expression":{},"meta":{"column":3,"line":361},"type":"expression"},"index":0}}}}}},{"label":null,"name":"semantic_id","type":"Core.Case","config":{},"tags":[],"uuid":"6a71fe37-b6f4-54aa-87b3-0f039afce4f0","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"answer.semantic_id","config":{},"test":"","uuid":"e8eb689e-a62d-4d68-99bf-64972fb75b23","destination_block":"8b7777de-9989-5d92-8b50-b6eb4fc7e9c0","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":359},"name":"MultiselectResponseYes","uuid":"0ec16d81-7463-507b-afb2-0bc197fd2e4b"},"card_item":{"expression":{},"meta":{"column":3,"line":362},"type":"expression"},"index":0}}}}}},{"label":null,"name":"score","type":"Core.Case","config":{},"tags":[],"uuid":"8b7777de-9989-5d92-8b50-b6eb4fc7e9c0","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"score + answer.score","config":{},"test":"","uuid":"88eaacb4-1c1b-42f5-9a63-3d3732702950","destination_block":"2daac5a2-8578-5b4b-a7b0-da494fa20b90","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":359},"name":"MultiselectResponseYes","uuid":"0ec16d81-7463-507b-afb2-0bc197fd2e4b"},"card_item":{"expression":{},"meta":{"column":3,"line":363},"type":"expression"},"index":0}}}}}},{"label":null,"name":"multiselect_response_yes_log","type":"Core.Log","config":{"message":"92585f48-1276-417f-9916-f6e799836fe5"},"tags":[],"uuid":"2daac5a2-8578-5b4b-a7b0-da494fa20b90","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"multiselect_response_yes_log","config":{},"test":"","uuid":"c4a7183c-4927-466a-8438-0e602ed4d26f","destination_block":"cb49aa3d-b0e8-5318-9e3d-7d21f7302d84","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":359},"name":"MultiselectResponseYes","uuid":"0ec16d81-7463-507b-afb2-0bc197fd2e4b"},"card_item":{"log":{},"meta":{"column":3,"line":364},"type":"log"},"index":0}}}}}},{"label":null,"name":"answer_num","type":"Core.Case","config":{},"tags":[],"uuid":"cb49aa3d-b0e8-5318-9e3d-7d21f7302d84","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"answer_num + 1","config":{},"test":"","uuid":"a920bde5-0112-4c75-b86f-d25cf8a81ce9","destination_block":"0fa4edf8-b2b8-5991-ba01-1d3599fb5dd5","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":359},"name":"MultiselectResponseYes","uuid":"0ec16d81-7463-507b-afb2-0bc197fd2e4b"},"card_item":{"expression":{},"meta":{"column":3,"line":365},"type":"expression"},"index":0}}}}}},{"label":null,"name":"multiselect_answer","type":"Core.Case","config":{},"tags":[],"uuid":"0fa4edf8-b2b8-5991-ba01-1d3599fb5dd5","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(multiselect_answer), \"@semantic_id\", concatenate(multiselect_answer, \",\", \"@semantic_id\"))","config":{},"test":"","uuid":"0c18f36a-8153-4f99-b5dc-26c324fc9e73","destination_block":"5b652a56-c71a-5582-83f8-55b39072e60a","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":359},"name":"MultiselectResponseYes","uuid":"0ec16d81-7463-507b-afb2-0bc197fd2e4b"},"card_item":{"expression":{},"meta":{"column":3,"line":367},"type":"expression"},"index":0}}}}}},{"label":null,"name":"multiselect_error_case","type":"Core.Case","config":{},"tags":[],"uuid":"205afeb9-04e6-5b84-8102-bb4631a81a99","ui_metadata":{},"exits":[{"default":false,"name":"Exit for multiselect_error_case_condition_0","config":{},"test":"has_all_members(keywords, [question_response])","uuid":"8e6b30c0-21bb-44cd-bbe0-9da990aa59c9","destination_block":"72862902-49c4-539c-bec6-28dc6b93460e","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for multiselect_error_case_condition_1","config":{},"test":"lower(question_response) == \"skip\"","uuid":"ec2dd17e-98a4-41f8-88a9-864758f9dcd6","destination_block":"75997b7b-3e9c-5d98-9eff-99dfad278523","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for multiselect_error_case_condition_2","config":{},"test":null,"uuid":"f9518dd9-8aee-44bc-9c53-b9cdf000ef23","destination_block":"f4d46817-b118-5dc1-95d3-a37b9fc37270","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"error","type":"Core.Case","config":{},"tags":[],"uuid":"f4d46817-b118-5dc1-95d3-a37b9fc37270","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error)","config":{},"test":"","uuid":"3b465b00-1ad1-44c2-9cce-516c869c0bba","destination_block":"0ff692d8-c78a-5d8a-a4d9-e464de5ca11d","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":350},"name":"MultiselectError","uuid":"2c1669e6-0fce-5042-9d76-b42e1f5ee953"},"card_item":{"expression":{},"meta":{"column":3,"line":352},"type":"expression"},"index":2}}}}}},{"label":null,"name":"multiselect_error_case_condition_2_log","type":"Core.Log","config":{"message":"7e35665f-7fec-4ea8-b941-c85a84f1064e"},"tags":[],"uuid":"0ff692d8-c78a-5d8a-a4d9-e464de5ca11d","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"multiselect_error_case_condition_2_log","config":{},"test":"","uuid":"64726fca-f357-41aa-99ad-6bf1329fe1e4","destination_block":"c62d3705-7bce-57c1-8638-8b4bd0745bf8","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":350},"name":"MultiselectError","uuid":"2c1669e6-0fce-5042-9d76-b42e1f5ee953"},"card_item":{"log":{},"meta":{"column":3,"line":353},"type":"log"},"index":0}}}}}},{"label":null,"name":"multiselect_error_case_condition_2_log","type":"Core.Log","config":{"message":"f15046a0-3862-42d7-9d19-cd41b243bfb4"},"tags":[],"uuid":"c62d3705-7bce-57c1-8638-8b4bd0745bf8","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"multiselect_error_case_condition_2_log","config":{},"test":"","uuid":"c64c7b89-320a-4f37-a411-192d33b84e15","destination_block":"6b8c5d16-dfe6-5d5c-88a3-9cd36e2b6fa4","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":350},"name":"MultiselectError","uuid":"2c1669e6-0fce-5042-9d76-b42e1f5ee953"},"card_item":{"log":{},"meta":{"column":3,"line":354},"type":"log"},"index":0}}}}}},{"label":null,"name":"multiselect_error_case_condition_2_log","type":"Core.Log","config":{"message":"d2cf5761-796b-4886-8330-c52a034e379c"},"tags":[],"uuid":"6b8c5d16-dfe6-5d5c-88a3-9cd36e2b6fa4","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"multiselect_error_case_condition_2_log","config":{},"test":"","uuid":"264a9890-8ab1-47aa-9844-26e276e749b7","destination_block":"0bf90f76-2933-563f-ae17-74735ccf004e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":350},"name":"MultiselectError","uuid":"2c1669e6-0fce-5042-9d76-b42e1f5ee953"},"card_item":{"log":{},"meta":{"column":3,"line":355},"type":"log"},"index":0}}}}}},{"label":null,"name":"multiselect_error_case_condition_2_text","type":"MobilePrimitives.Message","config":{"prompt":"55bf751f-a266-4b08-961e-e8cfe3443e79"},"tags":[],"uuid":"0bf90f76-2933-563f-ae17-74735ccf004e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"DisplayMultiselectAnswer\"","config":{},"test":"","uuid":"7981900d-47ea-45f7-be0a-6af79340e865","destination_block":"aa7bf56f-3cb4-5c77-b75f-bf26d953c0ff","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":350},"name":"MultiselectError","uuid":"2c1669e6-0fce-5042-9d76-b42e1f5ee953"},"card_item":{"meta":{"column":3,"line":356},"text":{},"type":"text"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"75997b7b-3e9c-5d98-9eff-99dfad278523","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"9a79891e-43b3-45a6-af3d-62c28cb9d18c","destination_block":"99ddb047-ef37-58ef-b8b1-4435936dd9d3","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(@question_response) == \"skip\"","meta":{"column":1,"line":332},"name":"MultiselectError","uuid":"35a8a2b3-8382-5b43-bb9a-5bebe557f012"},"card_item":{"expression":{},"meta":{"column":3,"line":338},"type":"expression"},"index":1}}}}}},{"label":null,"name":"skip_count","type":"Core.Case","config":{},"tags":[],"uuid":"99ddb047-ef37-58ef-b8b1-4435936dd9d3","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"skip_count + 1","config":{},"test":"","uuid":"1a2957ba-4b1e-48d8-bcea-3c57a5ef67bd","destination_block":"3b40f74e-a859-5474-bfe1-ab950baa7768","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(@question_response) == \"skip\"","meta":{"column":1,"line":332},"name":"MultiselectError","uuid":"35a8a2b3-8382-5b43-bb9a-5bebe557f012"},"card_item":{"expression":{},"meta":{"column":3,"line":340},"type":"expression"},"index":0}}}}}},{"label":null,"name":"max_score","type":"Core.Case","config":{},"tags":[],"uuid":"3b40f74e-a859-5474-bfe1-ab950baa7768","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"max_score - max_question_score","config":{},"test":"","uuid":"6bf04d9b-1b23-4950-ae75-1d5aeb771645","destination_block":"d5db247d-64f9-5f50-a126-6b98cb755dde","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(@question_response) == \"skip\"","meta":{"column":1,"line":332},"name":"MultiselectError","uuid":"35a8a2b3-8382-5b43-bb9a-5bebe557f012"},"card_item":{"expression":{},"meta":{"column":3,"line":342},"type":"expression"},"index":0}}}}}},{"label":null,"name":"multiselect_error_case_condition_1_log","type":"Core.Log","config":{"message":"90dd0f28-35f7-4cc0-82af-8eaebe0f2be8"},"tags":[],"uuid":"d5db247d-64f9-5f50-a126-6b98cb755dde","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"multiselect_error_case_condition_1_log","config":{},"test":"","uuid":"cbbade7c-57ce-4274-89ba-b02a9d2a8db2","destination_block":"3bb1371a-66c7-5cc1-a2ac-45e8c45f47d4","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(@question_response) == \"skip\"","meta":{"column":1,"line":332},"name":"MultiselectError","uuid":"35a8a2b3-8382-5b43-bb9a-5bebe557f012"},"card_item":{"log":{},"meta":{"column":3,"line":344},"type":"log"},"index":0}}}}}},{"label":null,"name":"multiselect_error_case_condition_1_log","type":"Core.Log","config":{"message":"a70e9c43-21dc-4777-bb96-678abedf90bf"},"tags":[],"uuid":"3bb1371a-66c7-5cc1-a2ac-45e8c45f47d4","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"multiselect_error_case_condition_1_log","config":{},"test":"","uuid":"49f4eb21-266d-4e95-a416-04cbaf52fd6b","destination_block":"bda7f184-7baa-506e-8361-c7c4807b7eba","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(@question_response) == \"skip\"","meta":{"column":1,"line":332},"name":"MultiselectError","uuid":"35a8a2b3-8382-5b43-bb9a-5bebe557f012"},"card_item":{"log":{},"meta":{"column":3,"line":345},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"bda7f184-7baa-506e-8361-c7c4807b7eba","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_num + 1","config":{},"test":"","uuid":"5ff5abfa-6fd4-427c-9250-a2ca3e24fd02","destination_block":"5b652a56-c71a-5582-83f8-55b39072e60a","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(@question_response) == \"skip\"","meta":{"column":1,"line":332},"name":"MultiselectError","uuid":"35a8a2b3-8382-5b43-bb9a-5bebe557f012"},"card_item":{"expression":{},"meta":{"column":3,"line":347},"type":"expression"},"index":0}}}}}},{"label":null,"name":"explainer","type":"Core.Case","config":{},"tags":[],"uuid":"72862902-49c4-539c-bec6-28dc6b93460e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(question.explainer), \"*Explainer:* There's no explainer for this.\", concatenate(\"*Explainer:*\", \" \", question.explainer))","config":{},"test":"","uuid":"3835efdd-e3f2-4b44-b2f9-c0a4091a764a","destination_block":"df760805-dc5e-5a4d-9384-020849737453","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_all_members(keywords, [@question_response])","meta":{"column":1,"line":320},"name":"MultiselectError","uuid":"205afeb9-04e6-5b84-8102-bb4631a81a99"},"card_item":{"expression":{},"meta":{"column":3,"line":322},"type":"expression"},"index":0}}}}}},{"label":null,"name":"multiselect_error_case_condition_0_text","type":"MobilePrimitives.Message","config":{"prompt":"fa4e89fd-1b62-46c4-bedd-aff12924fc62"},"tags":[],"uuid":"df760805-dc5e-5a4d-9384-020849737453","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"DisplayMultiselectAnswer\"","config":{},"test":"","uuid":"2b3b08f7-d0fa-4a8a-aa37-60bcf348bbe3","destination_block":"aa7bf56f-3cb4-5c77-b75f-bf26d953c0ff","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_all_members(keywords, [@question_response])","meta":{"column":1,"line":320},"name":"MultiselectError","uuid":"205afeb9-04e6-5b84-8102-bb4631a81a99"},"card_item":{"meta":{"column":3,"line":329},"text":{},"type":"text"},"index":0}}}}}},{"label":null,"name":"store_response_case","type":"Core.Case","config":{},"tags":[],"uuid":"9515b3f0-1bfb-574f-a522-f540401ba8bd","ui_metadata":{},"exits":[{"default":false,"name":"Exit for store_response_case_condition_0","config":{},"test":"question_id == \"dma-do-things\"","uuid":"f7e601f3-4795-46af-bfc0-6124b18cc2c5","destination_block":"d46edbbd-d98a-576a-ad76-3161dcf8e4c5","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for store_response_case_condition_1","config":{},"test":"question_id == \"dma-medical-care\"","uuid":"aec2ed13-ac35-4908-9e87-0235146e049d","destination_block":"a7b003be-aa52-59fe-8681-765c7c8638e2","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for store_response_case_condition_2","config":{},"test":"question_id == \"dma-sharing\"","uuid":"1813ec86-e92a-4d96-908d-a1887fba5d0e","destination_block":"3f7c3f03-3595-593f-8769-4365b8dfa6e9","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for store_response_case_condition_3","config":{},"test":"question_id == \"dma-medical-advice\"","uuid":"a07b78d7-93e0-40f9-9440-f09df96453cd","destination_block":"ae009f58-091e-5d66-8411-e38737c89e5f","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for store_response_case_condition_4","config":{},"test":"question_id == \"dma-find-solutions\"","uuid":"ebc5c938-1556-48fd-b357-1e7a3951fd41","destination_block":"c328a9f2-1898-5211-aade-455079a5f1d0","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for store_response_case_condition_5","config":{},"test":null,"uuid":"97cde32e-5103-4e23-a284-738645b9ed63","destination_block":"00825557-21b4-5ab1-8ff6-5056cc74edd4","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"Routing for store_response_case_condition_5","type":"Core.Case","config":{},"tags":[],"uuid":"00825557-21b4-5ab1-8ff6-5056cc74edd4","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for CheckEnd","config":{},"test":"true","uuid":"75c8096e-a2c0-4260-ab76-0be56a659b37","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":497},"name":"StoreResponse","uuid":"5fb40108-ef47-50a0-826d-a83846ebb5dc"},"card_item":{"meta":{"column":3,"line":498},"then":{},"type":"then"},"index":5}}}}}},{"label":null,"name":"answer","type":"Core.Case","config":{},"tags":[],"uuid":"c328a9f2-1898-5211-aade-455079a5f1d0","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"filter(question.answers, &(&1.answer == question_response))","config":{},"test":"","uuid":"fcfe8c6c-8fee-4752-a0df-7fad52146bff","destination_block":"1676d0a7-61fd-5941-8a22-0179152c4432","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-find-solutions\"","meta":{"column":1,"line":487},"name":"StoreResponse","uuid":"6357155c-2fff-509e-94d5-0db644be131f"},"card_item":{"expression":{},"meta":{"column":3,"line":489},"type":"expression"},"index":4}}}}}},{"label":null,"name":"semantic_id","type":"Core.Case","config":{},"tags":[],"uuid":"1676d0a7-61fd-5941-8a22-0179152c4432","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(count(answer) == 0, \"skip\", answer[0].semantic_id)","config":{},"test":"","uuid":"e2b73f1a-9254-4cca-afda-29ae893fb96d","destination_block":"c9d6b3af-b024-599c-92dc-645750c4c6ba","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-find-solutions\"","meta":{"column":1,"line":487},"name":"StoreResponse","uuid":"6357155c-2fff-509e-94d5-0db644be131f"},"card_item":{"expression":{},"meta":{"column":3,"line":490},"type":"expression"},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_dma-find-solutions","type":"Core.Output","config":{"value":"semantic_id"},"tags":[],"uuid":"c9d6b3af-b024-599c-92dc-645750c4c6ba","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_dma-find-solutions","config":{},"test":"","uuid":"db963d25-0c92-4b71-a03c-246c61ff73b4","destination_block":"92b95d3f-ef5e-5cf0-bbd1-c5d84a3a474f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-find-solutions\"","meta":{"column":1,"line":487},"name":"StoreResponse","uuid":"6357155c-2fff-509e-94d5-0db644be131f"},"card_item":{"meta":{"column":3,"line":491},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"store_response_case_condition_4_contact_update_dma_05","type":"Core.SetContactProperty","config":{"set_contact_property":{"property_key":"dma_05","property_value":"@question_response"}},"tags":[],"uuid":"92b95d3f-ef5e-5cf0-bbd1-c5d84a3a474f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"store_response_case_condition_4_contact_update_dma_05","config":{},"test":"","uuid":"14f3393c-dd5d-4cfc-b88a-f8df4f4ef23f","destination_block":"f219286b-8905-596e-909e-0a2b404cfad5","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-find-solutions\"","meta":{"column":1,"line":487},"name":"StoreResponse","uuid":"6357155c-2fff-509e-94d5-0db644be131f"},"card_item":{"meta":{"column":3,"line":492},"type":"update_contact","update_contact":{}},"index":0}}}}}},{"label":null,"name":"Routing for store_response_case_condition_4","type":"Core.Case","config":{},"tags":[],"uuid":"f219286b-8905-596e-909e-0a2b404cfad5","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for CheckEnd","config":{},"test":"true","uuid":"3d584e55-1fd7-4f48-a502-452c1b1499f0","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-find-solutions\"","meta":{"column":1,"line":487},"name":"StoreResponse","uuid":"6357155c-2fff-509e-94d5-0db644be131f"},"card_item":{"meta":{"column":3,"line":493},"then":{},"type":"then"},"index":0}}}}}},{"label":null,"name":"answer","type":"Core.Case","config":{},"tags":[],"uuid":"ae009f58-091e-5d66-8411-e38737c89e5f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"filter(question.answers, &(&1.answer == question_response))","config":{},"test":"","uuid":"3175f599-467e-4690-a7c1-8c9442b35b8f","destination_block":"8adfe457-34df-51a2-b688-e67f32f94684","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-advice\"","meta":{"column":1,"line":478},"name":"StoreResponse","uuid":"650d4502-7c02-5ab8-96f0-6a235ba85005"},"card_item":{"expression":{},"meta":{"column":3,"line":480},"type":"expression"},"index":3}}}}}},{"label":null,"name":"semantic_id","type":"Core.Case","config":{},"tags":[],"uuid":"8adfe457-34df-51a2-b688-e67f32f94684","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(count(answer) == 0, \"skip\", answer[0].semantic_id)","config":{},"test":"","uuid":"94c11483-bb15-4a97-a772-6a3b362c7727","destination_block":"acd12442-4549-58fd-9bce-97b30d96eee7","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-advice\"","meta":{"column":1,"line":478},"name":"StoreResponse","uuid":"650d4502-7c02-5ab8-96f0-6a235ba85005"},"card_item":{"expression":{},"meta":{"column":3,"line":481},"type":"expression"},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_dma-medical-advice","type":"Core.Output","config":{"value":"semantic_id"},"tags":[],"uuid":"acd12442-4549-58fd-9bce-97b30d96eee7","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_dma-medical-advice","config":{},"test":"","uuid":"3ce12bb8-a956-463e-91db-7755e01ae00f","destination_block":"37f0dd42-3b70-5896-aa41-1a250ceda756","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-advice\"","meta":{"column":1,"line":478},"name":"StoreResponse","uuid":"650d4502-7c02-5ab8-96f0-6a235ba85005"},"card_item":{"meta":{"column":3,"line":482},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"store_response_case_condition_3_contact_update_dma_04","type":"Core.SetContactProperty","config":{"set_contact_property":{"property_key":"dma_04","property_value":"@question_response"}},"tags":[],"uuid":"37f0dd42-3b70-5896-aa41-1a250ceda756","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"store_response_case_condition_3_contact_update_dma_04","config":{},"test":"","uuid":"198af621-41c4-4f28-b6dd-f246bc746308","destination_block":"0374e134-9718-5d18-991b-91efb67be445","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-advice\"","meta":{"column":1,"line":478},"name":"StoreResponse","uuid":"650d4502-7c02-5ab8-96f0-6a235ba85005"},"card_item":{"meta":{"column":3,"line":483},"type":"update_contact","update_contact":{}},"index":0}}}}}},{"label":null,"name":"Routing for store_response_case_condition_3","type":"Core.Case","config":{},"tags":[],"uuid":"0374e134-9718-5d18-991b-91efb67be445","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for CheckEnd","config":{},"test":"true","uuid":"dd69f3d5-f0e2-437a-b493-1424350d70f2","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-advice\"","meta":{"column":1,"line":478},"name":"StoreResponse","uuid":"650d4502-7c02-5ab8-96f0-6a235ba85005"},"card_item":{"meta":{"column":3,"line":484},"then":{},"type":"then"},"index":0}}}}}},{"label":null,"name":"answer","type":"Core.Case","config":{},"tags":[],"uuid":"3f7c3f03-3595-593f-8769-4365b8dfa6e9","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"filter(question.answers, &(&1.answer == question_response))","config":{},"test":"","uuid":"c848a4bc-078c-4ed2-9084-8148e9789a66","destination_block":"a762eb2d-f455-5e2d-9545-2ff1f3263050","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-sharing\"","meta":{"column":1,"line":469},"name":"StoreResponse","uuid":"6575ccb0-af2c-5068-95aa-cec809ffcbd4"},"card_item":{"expression":{},"meta":{"column":3,"line":471},"type":"expression"},"index":2}}}}}},{"label":null,"name":"semantic_id","type":"Core.Case","config":{},"tags":[],"uuid":"a762eb2d-f455-5e2d-9545-2ff1f3263050","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(count(answer) == 0, \"skip\", answer[0].semantic_id)","config":{},"test":"","uuid":"ea411600-c598-4326-9b8b-1a55350f57a0","destination_block":"f7b728f1-ebd3-5281-82e0-4ebed8b217c5","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-sharing\"","meta":{"column":1,"line":469},"name":"StoreResponse","uuid":"6575ccb0-af2c-5068-95aa-cec809ffcbd4"},"card_item":{"expression":{},"meta":{"column":3,"line":472},"type":"expression"},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_dma-sharing","type":"Core.Output","config":{"value":"semantic_id"},"tags":[],"uuid":"f7b728f1-ebd3-5281-82e0-4ebed8b217c5","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_dma-sharing","config":{},"test":"","uuid":"4e064e51-4c7d-486a-a810-a9ec93e05f21","destination_block":"3cd574e8-51bb-5c24-a817-b7a59fa61c34","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-sharing\"","meta":{"column":1,"line":469},"name":"StoreResponse","uuid":"6575ccb0-af2c-5068-95aa-cec809ffcbd4"},"card_item":{"meta":{"column":3,"line":473},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"store_response_case_condition_2_contact_update_dma_03","type":"Core.SetContactProperty","config":{"set_contact_property":{"property_key":"dma_03","property_value":"@question_response"}},"tags":[],"uuid":"3cd574e8-51bb-5c24-a817-b7a59fa61c34","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"store_response_case_condition_2_contact_update_dma_03","config":{},"test":"","uuid":"b0744480-2419-44e0-a732-f64586a1c967","destination_block":"b9fcc510-864e-5091-b4a0-bb82026e84f7","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-sharing\"","meta":{"column":1,"line":469},"name":"StoreResponse","uuid":"6575ccb0-af2c-5068-95aa-cec809ffcbd4"},"card_item":{"meta":{"column":3,"line":474},"type":"update_contact","update_contact":{}},"index":0}}}}}},{"label":null,"name":"Routing for store_response_case_condition_2","type":"Core.Case","config":{},"tags":[],"uuid":"b9fcc510-864e-5091-b4a0-bb82026e84f7","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for CheckEnd","config":{},"test":"true","uuid":"17a9c3c4-55bd-44e2-abf1-0495c8b3f288","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-sharing\"","meta":{"column":1,"line":469},"name":"StoreResponse","uuid":"6575ccb0-af2c-5068-95aa-cec809ffcbd4"},"card_item":{"meta":{"column":3,"line":475},"then":{},"type":"then"},"index":0}}}}}},{"label":null,"name":"answer","type":"Core.Case","config":{},"tags":[],"uuid":"a7b003be-aa52-59fe-8681-765c7c8638e2","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"filter(question.answers, &(&1.answer == question_response))","config":{},"test":"","uuid":"060e90d1-1a41-489e-bf06-580840f437c5","destination_block":"c69c4067-51a7-52ea-9d3d-5bddc865a0fd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-care\"","meta":{"column":1,"line":460},"name":"StoreResponse","uuid":"5b81e8fe-5e85-5f8c-873f-4272f17eb288"},"card_item":{"expression":{},"meta":{"column":3,"line":462},"type":"expression"},"index":1}}}}}},{"label":null,"name":"semantic_id","type":"Core.Case","config":{},"tags":[],"uuid":"c69c4067-51a7-52ea-9d3d-5bddc865a0fd","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(count(answer) == 0, \"skip\", answer[0].semantic_id)","config":{},"test":"","uuid":"a814b3df-15e9-4f1a-a4f9-912faaa641fb","destination_block":"d5486b20-bf4e-557e-a944-61892a85b477","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-care\"","meta":{"column":1,"line":460},"name":"StoreResponse","uuid":"5b81e8fe-5e85-5f8c-873f-4272f17eb288"},"card_item":{"expression":{},"meta":{"column":3,"line":463},"type":"expression"},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_dma-medical-care","type":"Core.Output","config":{"value":"semantic_id"},"tags":[],"uuid":"d5486b20-bf4e-557e-a944-61892a85b477","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_dma-medical-care","config":{},"test":"","uuid":"2142e67d-d3cd-470e-af9c-ddfa66ba590e","destination_block":"f2cf8188-0e20-5ede-97ae-11ab775475a2","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-care\"","meta":{"column":1,"line":460},"name":"StoreResponse","uuid":"5b81e8fe-5e85-5f8c-873f-4272f17eb288"},"card_item":{"meta":{"column":3,"line":464},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"store_response_case_condition_1_contact_update_dma_02","type":"Core.SetContactProperty","config":{"set_contact_property":{"property_key":"dma_02","property_value":"@question_response"}},"tags":[],"uuid":"f2cf8188-0e20-5ede-97ae-11ab775475a2","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"store_response_case_condition_1_contact_update_dma_02","config":{},"test":"","uuid":"926c3832-a1a5-4e13-9cab-fe0f9d182dfc","destination_block":"a782640d-06d4-5c3e-beab-71d4eba6a0df","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-care\"","meta":{"column":1,"line":460},"name":"StoreResponse","uuid":"5b81e8fe-5e85-5f8c-873f-4272f17eb288"},"card_item":{"meta":{"column":3,"line":465},"type":"update_contact","update_contact":{}},"index":0}}}}}},{"label":null,"name":"Routing for store_response_case_condition_1","type":"Core.Case","config":{},"tags":[],"uuid":"a782640d-06d4-5c3e-beab-71d4eba6a0df","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for CheckEnd","config":{},"test":"true","uuid":"64e0c42c-2df8-4b9e-9bf0-3a323cc0d548","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-medical-care\"","meta":{"column":1,"line":460},"name":"StoreResponse","uuid":"5b81e8fe-5e85-5f8c-873f-4272f17eb288"},"card_item":{"meta":{"column":3,"line":466},"then":{},"type":"then"},"index":0}}}}}},{"label":null,"name":"answer","type":"Core.Case","config":{},"tags":[],"uuid":"d46edbbd-d98a-576a-ad76-3161dcf8e4c5","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"filter(question.answers, &(&1.answer == question_response))","config":{},"test":"","uuid":"a9cb1a3e-50cf-4855-8399-afb77f245914","destination_block":"3ffa836f-b945-550b-bbaf-651bb7c09370","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-do-things\"","meta":{"column":1,"line":451},"name":"StoreResponse","uuid":"9515b3f0-1bfb-574f-a522-f540401ba8bd"},"card_item":{"expression":{},"meta":{"column":3,"line":453},"type":"expression"},"index":0}}}}}},{"label":null,"name":"semantic_id","type":"Core.Case","config":{},"tags":[],"uuid":"3ffa836f-b945-550b-bbaf-651bb7c09370","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(count(answer) == 0, \"skip\", answer[0].semantic_id)","config":{},"test":"","uuid":"2c65f13d-8cdb-4c76-91d5-95f2ac3c0001","destination_block":"ce6745e4-cdfa-5801-8fac-d995030c91c3","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-do-things\"","meta":{"column":1,"line":451},"name":"StoreResponse","uuid":"9515b3f0-1bfb-574f-a522-f540401ba8bd"},"card_item":{"expression":{},"meta":{"column":3,"line":454},"type":"expression"},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_dma-do-things","type":"Core.Output","config":{"value":"semantic_id"},"tags":[],"uuid":"ce6745e4-cdfa-5801-8fac-d995030c91c3","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_dma-do-things","config":{},"test":"","uuid":"62f8b5ea-c4ed-4ae2-8234-dd45bea88535","destination_block":"a3cb8d4a-162c-5dc7-9310-78c1f102663f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-do-things\"","meta":{"column":1,"line":451},"name":"StoreResponse","uuid":"9515b3f0-1bfb-574f-a522-f540401ba8bd"},"card_item":{"meta":{"column":3,"line":455},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"store_response_case_condition_0_contact_update_dma_01","type":"Core.SetContactProperty","config":{"set_contact_property":{"property_key":"dma_01","property_value":"@question_response"}},"tags":[],"uuid":"a3cb8d4a-162c-5dc7-9310-78c1f102663f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"store_response_case_condition_0_contact_update_dma_01","config":{},"test":"","uuid":"7e480ca9-49a1-465f-9293-15cd483a546b","destination_block":"3f4f5483-58fd-5240-9f06-1d09a63b82e9","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-do-things\"","meta":{"column":1,"line":451},"name":"StoreResponse","uuid":"9515b3f0-1bfb-574f-a522-f540401ba8bd"},"card_item":{"meta":{"column":3,"line":456},"type":"update_contact","update_contact":{}},"index":0}}}}}},{"label":null,"name":"Routing for store_response_case_condition_0","type":"Core.Case","config":{},"tags":[],"uuid":"3f4f5483-58fd-5240-9f06-1d09a63b82e9","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for CheckEnd","config":{},"test":"true","uuid":"ba260553-0fbc-45d1-8ce3-5c49cbb3ccdd","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_id == \"dma-do-things\"","meta":{"column":1,"line":451},"name":"StoreResponse","uuid":"9515b3f0-1bfb-574f-a522-f540401ba8bd"},"card_item":{"meta":{"column":3,"line":457},"then":{},"type":"then"},"index":0}}}}}},{"label":null,"name":"check_end_multiselect_case","type":"Core.Case","config":{},"tags":[],"uuid":"5b652a56-c71a-5582-83f8-55b39072e60a","ui_metadata":{},"exits":[{"default":false,"name":"Exit for check_end_multiselect_case_condition_0","config":{},"test":"and(questions[question_num].question_type == \"multiselect_question\", answer_num == count(questions[question_num].answers))","uuid":"bb23b0ba-6ea8-40fc-961f-109f73bfe11c","destination_block":"79cc7fd3-d430-5727-abc5-eb500944ab3b","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for check_end_multiselect_case_condition_1","config":{},"test":null,"uuid":"254b9565-1cac-465e-87f5-957e6d4847f6","destination_block":"261210f5-cede-55cd-8d3f-70da62a74517","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"Routing for check_end_multiselect_case_condition_1","type":"Core.Case","config":{},"tags":[],"uuid":"261210f5-cede-55cd-8d3f-70da62a74517","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for DisplayMultiselectAnswer","config":{},"test":"true","uuid":"6f347f26-57d3-43c9-8328-dc0ccb76af63","destination_block":"aa7bf56f-3cb4-5c77-b75f-bf26d953c0ff","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":291},"name":"CheckEndMultiselect","uuid":"0528042f-dc4f-5288-8a7b-f0cb2e2fe84f"},"card_item":{"meta":{"column":3,"line":292},"then":{},"type":"then"},"index":1}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"79cc7fd3-d430-5727-abc5-eb500944ab3b","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_num + 1","config":{},"test":"","uuid":"90c0416f-ccb8-4119-bb5d-bbcb200d9aa3","destination_block":"261566d4-fe04-5d5c-9d4c-4c02cc5e7dcd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)","meta":{"column":1,"line":281},"name":"CheckEndMultiselect","uuid":"5b652a56-c71a-5582-83f8-55b39072e60a"},"card_item":{"expression":{},"meta":{"column":3,"line":285},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"261566d4-fe04-5d5c-9d4c-4c02cc5e7dcd","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"d4394a8c-9b4a-4cc3-afdb-7c3d346e191e","destination_block":"463c624f-4f8d-5efa-a77b-079d07999ea1","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)","meta":{"column":1,"line":281},"name":"CheckEndMultiselect","uuid":"5b652a56-c71a-5582-83f8-55b39072e60a"},"card_item":{"expression":{},"meta":{"column":3,"line":287},"type":"expression"},"index":0}}}}}},{"label":null,"name":"check_end_multiselect_case_condition_0_log","type":"Core.Log","config":{"message":"bb7aa247-8ad5-422e-bf24-a7f1bfb9f185"},"tags":[],"uuid":"463c624f-4f8d-5efa-a77b-079d07999ea1","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"StoreResponse\"","config":{},"test":"","uuid":"0f95080b-a96e-465f-8a84-96fe85dde372","destination_block":"9515b3f0-1bfb-574f-a522-f540401ba8bd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"multiselect_question\" and answer_num == count(questions[question_num].answers)","meta":{"column":1,"line":281},"name":"CheckEndMultiselect","uuid":"5b652a56-c71a-5582-83f8-55b39072e60a"},"card_item":{"log":{},"meta":{"column":3,"line":288},"type":"log"},"index":0}}}}}},{"label":null,"name":"validate_input_case","type":"Core.Case","config":{},"tags":[],"uuid":"c18fd5f1-50bb-517d-b139-f95bf0ec483d","ui_metadata":{},"exits":[{"default":false,"name":"Exit for validate_input_case_condition_0","config":{},"test":"and(assertion == false, questions[question_num].question_type == \"year_of_birth_question\")","uuid":"0b94dc12-7bb5-48c2-a6d3-9fcf4fa2269f","destination_block":"6f683cc1-53c8-525e-9a3f-8cd7fb093df4","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for validate_input_case_condition_1","config":{},"test":"and(assertion == false, questions[question_num].question_type == \"integer_question\")","uuid":"e4bb4895-706d-4103-b773-2140237b10a0","destination_block":"a0bca882-4926-5f6c-9bf7-8898930510c7","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for validate_input_case_condition_2","config":{},"test":"and(count(question.answers) > 0, not(has_member(map(question.answers, & &1.answer), question_response)))","uuid":"a0668325-9932-4645-b490-b00e569912be","destination_block":"81be1849-a990-5c61-95f7-f1b1270765ed","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for validate_input_case_condition_3","config":{},"test":null,"uuid":"45b028b8-8661-461c-8df1-5727d7a1c7a6","destination_block":"8942a297-cff4-507f-a1d8-c941bccc3dc6","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"validate_input_case_condition_3_log","type":"Core.Log","config":{"message":"90692661-b1a9-449b-a9b8-e9836f155130"},"tags":[],"uuid":"8942a297-cff4-507f-a1d8-c941bccc3dc6","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"QuestionResponse\"","config":{},"test":"","uuid":"6fb641e2-852c-46b1-94a5-cf7c7adc1578","destination_block":"832b9b6d-96a8-5a58-b3c9-d94a5b2d0231","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":207},"name":"ValidateInput","uuid":"1e9e49d4-5d52-5e1a-b9d3-c163d8998746"},"card_item":{"log":{},"meta":{"column":3,"line":208},"type":"log"},"index":3}}}}}},{"label":null,"name":"validate_input_case_condition_2_log","type":"Core.Log","config":{"message":"7d571ad7-2e2f-4dc5-8503-9a2881eb1c48"},"tags":[],"uuid":"81be1849-a990-5c61-95f7-f1b1270765ed","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"QuestionError\"","config":{},"test":"","uuid":"bedcf7c0-5e67-48c2-a418-84e88b9f8810","destination_block":"8691a3eb-668a-57bf-a075-7b30fd3ed174","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"count(question.answers) > 0 and not has_member(map(question.answers, & &1.answer), question_response)","meta":{"column":1,"line":200},"name":"ValidateInput","uuid":"218ea9c3-b7d6-5247-bbc6-ca2831512464"},"card_item":{"log":{},"meta":{"column":3,"line":204},"type":"log"},"index":2}}}}}},{"label":null,"name":"validate_input_case_condition_1_log","type":"Core.Log","config":{"message":"77ac266b-4007-4c43-9469-2b1926d80ce9"},"tags":[],"uuid":"a0bca882-4926-5f6c-9bf7-8898930510c7","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"QuestionError\"","config":{},"test":"","uuid":"219b9ff8-12aa-41e5-b22c-bfb84b60f6aa","destination_block":"8691a3eb-668a-57bf-a075-7b30fd3ed174","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"assertion == false and questions[question_num].question_type == \"integer_question\"","meta":{"column":1,"line":194},"name":"ValidateInput","uuid":"ce9116b9-ba55-5c0f-ab34-eb74e06dcb38"},"card_item":{"log":{},"meta":{"column":3,"line":197},"type":"log"},"index":1}}}}}},{"label":null,"name":"validate_input_case_condition_0_log","type":"Core.Log","config":{"message":"5f14b3c6-be49-4dbf-8e12-806c93513603"},"tags":[],"uuid":"6f683cc1-53c8-525e-9a3f-8cd7fb093df4","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"QuestionError\"","config":{},"test":"","uuid":"7992f55a-26ef-44c5-8da0-6281fd8aa4eb","destination_block":"8691a3eb-668a-57bf-a075-7b30fd3ed174","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"assertion == false and questions[question_num].question_type == \"year_of_birth_question\"","meta":{"column":1,"line":188},"name":"ValidateInput","uuid":"c18fd5f1-50bb-517d-b139-f95bf0ec483d"},"card_item":{"log":{},"meta":{"column":3,"line":191},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_error_case","type":"Core.Case","config":{},"tags":[],"uuid":"8691a3eb-668a-57bf-a075-7b30fd3ed174","ui_metadata":{},"exits":[{"default":false,"name":"Exit for question_error_case_condition_0","config":{},"test":"and(questions[question_num].question_type == \"integer_question\", question_response != lower(\"skip\"))","uuid":"b93bbe08-057a-41ba-abdc-b9e28ff64f8e","destination_block":"3abfbe03-c048-5efb-82e4-903d85a655a3","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for question_error_case_condition_1","config":{},"test":"and(questions[question_num].question_type == \"year_of_birth_question\", question_response != lower(\"skip\"))","uuid":"d7cb29f7-28c3-434c-a21c-d9ebf5beb2d9","destination_block":"3a38d186-8355-59ab-9e77-4f3b5f470d3a","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for question_error_case_condition_2","config":{},"test":"has_all_members(keywords, [question_response])","uuid":"aaa12734-2db9-4d55-bab5-caf9d6147669","destination_block":"54a1458e-3736-5d82-8d0e-4cfe5d100fd1","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for question_error_case_condition_3","config":{},"test":"question_response == lower(\"skip\")","uuid":"d1dab1ab-e8c3-4171-b60b-da4893ced638","destination_block":"1e8d59b3-1342-5c6d-8c57-f23f1dbbbd5e","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for question_error_case_condition_4","config":{},"test":null,"uuid":"d8d018f2-8a76-490a-8bc8-e3ba994848f1","destination_block":"35981763-133c-5030-ac4f-26f79b2e6b14","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"error","type":"Core.Case","config":{},"tags":[],"uuid":"35981763-133c-5030-ac4f-26f79b2e6b14","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error)","config":{},"test":"","uuid":"0fba10d2-74fe-4673-9c97-2402356efd98","destination_block":"7770e3e7-fe28-57fe-a012-349553882337","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":273},"name":"QuestionError","uuid":"d271ffe7-5cc6-591e-ae80-4b1b649defd9"},"card_item":{"expression":{},"meta":{"column":3,"line":275},"type":"expression"},"index":4}}}}}},{"label":null,"name":"question_error_case_condition_4_log","type":"Core.Log","config":{"message":"4e9f2053-8ba4-4a7b-9b5c-36791324b7ee"},"tags":[],"uuid":"7770e3e7-fe28-57fe-a012-349553882337","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_error_case_condition_4_log","config":{},"test":"","uuid":"9c391597-319d-4b90-bf81-a9e37b870b44","destination_block":"00cabe91-fa60-5ac3-9fce-b975fb178bbc","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":273},"name":"QuestionError","uuid":"d271ffe7-5cc6-591e-ae80-4b1b649defd9"},"card_item":{"log":{},"meta":{"column":3,"line":276},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_error_case_condition_4_log","type":"Core.Log","config":{"message":"ddaf8a07-1462-4ed4-88c4-5383082b9119"},"tags":[],"uuid":"00cabe91-fa60-5ac3-9fce-b975fb178bbc","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_error_case_condition_4_log","config":{},"test":"","uuid":"688a3479-8484-4427-930a-64cf04e2c5fb","destination_block":"90c9ef08-2736-56bd-9187-81a3be9ca2fa","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":273},"name":"QuestionError","uuid":"d271ffe7-5cc6-591e-ae80-4b1b649defd9"},"card_item":{"log":{},"meta":{"column":3,"line":277},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_error_case_condition_4_text","type":"MobilePrimitives.Message","config":{"prompt":"b6c4cd90-5f0e-4a3d-9d25-421dfdcc20e1"},"tags":[],"uuid":"90c9ef08-2736-56bd-9187-81a3be9ca2fa","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"CheckEnd\"","config":{},"test":"","uuid":"d79627cf-aa5b-49b9-b345-0ef9b67f0b79","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":273},"name":"QuestionError","uuid":"d271ffe7-5cc6-591e-ae80-4b1b649defd9"},"card_item":{"meta":{"column":3,"line":278},"text":{},"type":"text"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"1e8d59b3-1342-5c6d-8c57-f23f1dbbbd5e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"f66316d3-3a01-4faf-b331-975359bebd39","destination_block":"2cecf339-10a9-5e7c-908a-0093e4d4a80f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"@question_response == lower(\"skip\")","meta":{"column":1,"line":258},"name":"QuestionError","uuid":"92a48f0f-fdce-53e5-9ac9-d872cf8ebca4"},"card_item":{"expression":{},"meta":{"column":3,"line":264},"type":"expression"},"index":3}}}}}},{"label":null,"name":"skip_count","type":"Core.Case","config":{},"tags":[],"uuid":"2cecf339-10a9-5e7c-908a-0093e4d4a80f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"skip_count + 1","config":{},"test":"","uuid":"f77e1a87-91ea-4405-aa8b-23d23431a7d2","destination_block":"614aebf2-ee86-5767-b68a-4241d11aab59","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"@question_response == lower(\"skip\")","meta":{"column":1,"line":258},"name":"QuestionError","uuid":"92a48f0f-fdce-53e5-9ac9-d872cf8ebca4"},"card_item":{"expression":{},"meta":{"column":3,"line":265},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_error_case_condition_3_log","type":"Core.Log","config":{"message":"04b0fb32-74a6-4420-8572-9973ced8906f"},"tags":[],"uuid":"614aebf2-ee86-5767-b68a-4241d11aab59","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_error_case_condition_3_log","config":{},"test":"","uuid":"4cce2a40-a7b0-4f8a-98c0-52c595858e14","destination_block":"ae579dea-c429-5c4d-ad95-cdf6388eab06","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"@question_response == lower(\"skip\")","meta":{"column":1,"line":258},"name":"QuestionError","uuid":"92a48f0f-fdce-53e5-9ac9-d872cf8ebca4"},"card_item":{"log":{},"meta":{"column":3,"line":267},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_error_case_condition_3_log","type":"Core.Log","config":{"message":"90da2404-d915-4dfa-9942-1b1b489ba160"},"tags":[],"uuid":"ae579dea-c429-5c4d-ad95-cdf6388eab06","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_error_case_condition_3_log","config":{},"test":"","uuid":"7d0d8265-8b72-4c5c-8dff-13b62e932363","destination_block":"298b0341-13ec-53d4-9dff-0857502977a6","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"@question_response == lower(\"skip\")","meta":{"column":1,"line":258},"name":"QuestionError","uuid":"92a48f0f-fdce-53e5-9ac9-d872cf8ebca4"},"card_item":{"log":{},"meta":{"column":3,"line":268},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"298b0341-13ec-53d4-9dff-0857502977a6","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_num + 1","config":{},"test":"","uuid":"d1db7972-06aa-4879-94c8-6f9896105f9c","destination_block":"9515b3f0-1bfb-574f-a522-f540401ba8bd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"@question_response == lower(\"skip\")","meta":{"column":1,"line":258},"name":"QuestionError","uuid":"92a48f0f-fdce-53e5-9ac9-d872cf8ebca4"},"card_item":{"expression":{},"meta":{"column":3,"line":270},"type":"expression"},"index":0}}}}}},{"label":null,"name":"explainer","type":"Core.Case","config":{},"tags":[],"uuid":"54a1458e-3736-5d82-8d0e-4cfe5d100fd1","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(question.explainer), \"*Explainer:* There's no explainer for this.\", concatenate(\"*Explainer:*\", \" \", question.explainer))","config":{},"test":"","uuid":"969ae2c3-510c-4ff0-9b29-b1d09199feb0","destination_block":"966ab9cc-4ddf-5857-bc4a-79ea06d4c350","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_all_members(keywords, [@question_response])","meta":{"column":1,"line":247},"name":"QuestionError","uuid":"fb54b681-3384-5511-b880-a5ec88103c42"},"card_item":{"expression":{},"meta":{"column":3,"line":248},"type":"expression"},"index":2}}}}}},{"label":null,"name":"question_error_case_condition_2_text","type":"MobilePrimitives.Message","config":{"prompt":"ec375fc1-f91f-41fd-b265-efe3e66926dc"},"tags":[],"uuid":"966ab9cc-4ddf-5857-bc4a-79ea06d4c350","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"CheckEnd\"","config":{},"test":"","uuid":"916903a2-3ca0-4697-8650-048dd3a266b0","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_all_members(keywords, [@question_response])","meta":{"column":1,"line":247},"name":"QuestionError","uuid":"fb54b681-3384-5511-b880-a5ec88103c42"},"card_item":{"meta":{"column":3,"line":255},"text":{},"type":"text"},"index":0}}}}}},{"label":null,"name":"question_error_case_condition_1_log","type":"Core.Log","config":{"message":"c354a7d5-f0eb-4f12-83e1-b703c14a276c"},"tags":[],"uuid":"3a38d186-8355-59ab-9e77-4f3b5f470d3a","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_error_case_condition_1_log","config":{},"test":"","uuid":"1a739ee7-01be-4132-9092-d0af636f28ae","destination_block":"0726cc20-0452-5c44-a370-a7b613e30b7a","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":228},"name":"QuestionError","uuid":"ac1ee183-60ec-5778-ba30-c7e911541bf0"},"card_item":{"log":{},"meta":{"column":3,"line":232},"type":"log"},"index":1}}}}}},{"label":null,"name":"error","type":"Core.Case","config":{},"tags":[],"uuid":"0726cc20-0452-5c44-a370-a7b613e30b7a","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error)","config":{},"test":"","uuid":"a33ac4b0-9794-40b5-9ec2-5a67385852dd","destination_block":"69001d01-ec32-52dd-b5e5-11647b6c37ac","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":228},"name":"QuestionError","uuid":"ac1ee183-60ec-5778-ba30-c7e911541bf0"},"card_item":{"expression":{},"meta":{"column":3,"line":237},"type":"expression"},"index":0}}}}}},{"label":null,"name":"type","type":"Core.Case","config":{},"tags":[],"uuid":"69001d01-ec32-52dd-b5e5-11647b6c37ac","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].question_type","config":{},"test":"","uuid":"e927af20-ae9c-4bc7-97d0-48f16c78091c","destination_block":"cc7371da-b004-5e64-ab20-5fee934f460f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":228},"name":"QuestionError","uuid":"ac1ee183-60ec-5778-ba30-c7e911541bf0"},"card_item":{"expression":{},"meta":{"column":3,"line":238},"type":"expression"},"index":0}}}}}},{"label":null,"name":"lower_bound_year","type":"Core.Case","config":{},"tags":[],"uuid":"cc7371da-b004-5e64-ab20-5fee934f460f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"get_year - range","config":{},"test":"","uuid":"4a3845de-b22f-4c07-9518-00f21c61f7f0","destination_block":"1bba728d-72c1-5c80-baf5-135ccfc5de35","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":228},"name":"QuestionError","uuid":"ac1ee183-60ec-5778-ba30-c7e911541bf0"},"card_item":{"expression":{},"meta":{"column":3,"line":239},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_error_case_condition_1_log","type":"Core.Log","config":{"message":"12c2912b-4fd9-4f1e-9e3a-281e2cd9db28"},"tags":[],"uuid":"1bba728d-72c1-5c80-baf5-135ccfc5de35","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_error_case_condition_1_log","config":{},"test":"","uuid":"85ace2a0-10b2-40d7-b441-e7d6ece96f99","destination_block":"ff6aa469-3707-53fe-bf4a-2512c7753e5d","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":228},"name":"QuestionError","uuid":"ac1ee183-60ec-5778-ba30-c7e911541bf0"},"card_item":{"log":{},"meta":{"column":3,"line":240},"type":"log"},"index":0}}}}}},{"label":null,"name":"replace_current_year","type":"Core.Case","config":{},"tags":[],"uuid":"ff6aa469-3707-53fe-bf4a-2512c7753e5d","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"substitute(\"@error\", \"{current_year}\", \"@get_year\")","config":{},"test":"","uuid":"31ea4ba2-992e-46ae-a787-4ff7a459afd1","destination_block":"7160dc6c-802b-5c6f-acee-31ad5d862960","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":228},"name":"QuestionError","uuid":"ac1ee183-60ec-5778-ba30-c7e911541bf0"},"card_item":{"expression":{},"meta":{"column":3,"line":241},"type":"expression"},"index":0}}}}}},{"label":null,"name":"substituted_text","type":"Core.Case","config":{},"tags":[],"uuid":"7160dc6c-802b-5c6f-acee-31ad5d862960","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"substitute(\"@replace_current_year\", \"{lower_bound}\", \"@lower_bound_year\")","config":{},"test":"","uuid":"3014ad71-b882-4d8a-ae45-1687da87fea4","destination_block":"b29d0a46-2128-5525-ba04-4238bcfac2bb","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":228},"name":"QuestionError","uuid":"ac1ee183-60ec-5778-ba30-c7e911541bf0"},"card_item":{"expression":{},"meta":{"column":3,"line":242},"type":"expression"},"index":0}}}}}},{"label":null,"name":"styled_error","type":"Core.Case","config":{},"tags":[],"uuid":"b29d0a46-2128-5525-ba04-4238bcfac2bb","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"concatenate(\"*Error:*\", \" \", \"@substituted_text\")","config":{},"test":"","uuid":"bf372ba8-be2e-4c5e-bd34-c9fbad682f4d","destination_block":"8e020940-5156-588a-83e9-bb0beb1775fd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":228},"name":"QuestionError","uuid":"ac1ee183-60ec-5778-ba30-c7e911541bf0"},"card_item":{"expression":{},"meta":{"column":3,"line":243},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_error_case_condition_1_text","type":"MobilePrimitives.Message","config":{"prompt":"ce6ffac1-12d1-4ebc-8f36-6cfa5fb22985"},"tags":[],"uuid":"8e020940-5156-588a-83e9-bb0beb1775fd","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"CheckEnd\"","config":{},"test":"","uuid":"0c9e1102-526d-4732-8055-fd397db37228","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":228},"name":"QuestionError","uuid":"ac1ee183-60ec-5778-ba30-c7e911541bf0"},"card_item":{"meta":{"column":3,"line":244},"text":{},"type":"text"},"index":0}}}}}},{"label":null,"name":"question_error_case_condition_0_log","type":"Core.Log","config":{"message":"2dd7b820-698d-4441-844e-259921c4e0d3"},"tags":[],"uuid":"3abfbe03-c048-5efb-82e4-903d85a655a3","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_error_case_condition_0_log","config":{},"test":"","uuid":"552019db-87cb-4c5e-a08a-78925bc64738","destination_block":"c980a5fd-a7b0-53e8-bb23-8b9737009788","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":211},"name":"QuestionError","uuid":"8691a3eb-668a-57bf-a075-7b30fd3ed174"},"card_item":{"log":{},"meta":{"column":3,"line":215},"type":"log"},"index":0}}}}}},{"label":null,"name":"error","type":"Core.Case","config":{},"tags":[],"uuid":"c980a5fd-a7b0-53e8-bb23-8b9737009788","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error)","config":{},"test":"","uuid":"432b4e42-ff39-4557-aceb-176ff19edd15","destination_block":"52cf7a9a-cf7a-5ade-b12f-9e4384066d81","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":211},"name":"QuestionError","uuid":"8691a3eb-668a-57bf-a075-7b30fd3ed174"},"card_item":{"expression":{},"meta":{"column":3,"line":220},"type":"expression"},"index":0}}}}}},{"label":null,"name":"type","type":"Core.Case","config":{},"tags":[],"uuid":"52cf7a9a-cf7a-5ade-b12f-9e4384066d81","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].question_type","config":{},"test":"","uuid":"2ac4745e-2af2-4bda-958d-3c3e2eda9178","destination_block":"492c218a-6349-5252-bb75-d3915938721e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":211},"name":"QuestionError","uuid":"8691a3eb-668a-57bf-a075-7b30fd3ed174"},"card_item":{"expression":{},"meta":{"column":3,"line":221},"type":"expression"},"index":0}}}}}},{"label":null,"name":"replace_min","type":"Core.Case","config":{},"tags":[],"uuid":"492c218a-6349-5252-bb75-d3915938721e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"substitute(\"@error\", \"{min}\", \"@min\")","config":{},"test":"","uuid":"67a4ef34-251b-4d46-be79-c16020857f51","destination_block":"5c7c0827-cf99-50cc-9c8e-73616c3d1c68","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":211},"name":"QuestionError","uuid":"8691a3eb-668a-57bf-a075-7b30fd3ed174"},"card_item":{"expression":{},"meta":{"column":3,"line":222},"type":"expression"},"index":0}}}}}},{"label":null,"name":"substituted_text","type":"Core.Case","config":{},"tags":[],"uuid":"5c7c0827-cf99-50cc-9c8e-73616c3d1c68","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"substitute(\"@replace_min\", \"{max}\", \"@max\")","config":{},"test":"","uuid":"46af32d1-589c-4935-bdb3-5b3bcb1c9967","destination_block":"1206d7b6-cbb3-51e5-984e-3e7746d09eac","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":211},"name":"QuestionError","uuid":"8691a3eb-668a-57bf-a075-7b30fd3ed174"},"card_item":{"expression":{},"meta":{"column":3,"line":223},"type":"expression"},"index":0}}}}}},{"label":null,"name":"styled_error","type":"Core.Case","config":{},"tags":[],"uuid":"1206d7b6-cbb3-51e5-984e-3e7746d09eac","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"concatenate(\"*Error:*\", \" \", \"@substituted_text\")","config":{},"test":"","uuid":"cc218fd7-ee46-49e0-a9be-83e71cce2815","destination_block":"43e91bce-9971-58e3-af21-4f10efa76054","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":211},"name":"QuestionError","uuid":"8691a3eb-668a-57bf-a075-7b30fd3ed174"},"card_item":{"expression":{},"meta":{"column":3,"line":224},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_error_case_condition_0_text","type":"MobilePrimitives.Message","config":{"prompt":"88035ee7-9e36-4061-8a1f-630f4832c00d"},"tags":[],"uuid":"43e91bce-9971-58e3-af21-4f10efa76054","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"CheckEnd\"","config":{},"test":"","uuid":"2dc4b267-c2e1-4f2b-9a7a-2af34e392597","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\" and @question_response != lower(\"skip\")","meta":{"column":1,"line":211},"name":"QuestionError","uuid":"8691a3eb-668a-57bf-a075-7b30fd3ed174"},"card_item":{"meta":{"column":3,"line":225},"text":{},"type":"text"},"index":0}}}}}},{"label":null,"name":"explainer","type":"Core.Case","config":{},"tags":[],"uuid":"6e8bb9e0-51ac-5785-b57a-1f1092a6acf4","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(question.explainer), \"*Explainer:* There's no explainer for this.\", concatenate(\"*Explainer:*\", \" \", question.explainer))","config":{},"test":"","uuid":"6ea4e9b4-af75-4e0d-b8cf-55465385aa6c","destination_block":"0244520a-06a8-576d-8cf5-327ed5e60da0","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":160},"name":"AgeExplainer","uuid":"cc09face-a30d-51b6-ad04-87424a554cdc"},"card_item":{"expression":{},"meta":{"column":3,"line":161},"type":"expression"},"index":0}}}}}},{"label":null,"name":"age_explainer_text","type":"MobilePrimitives.Message","config":{"prompt":"d7ee52de-073f-447b-9095-386dc682ad8b"},"tags":[],"uuid":"0244520a-06a8-576d-8cf5-327ed5e60da0","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"GetQuestion\"","config":{},"test":"","uuid":"8a95198a-47ad-4861-9c65-33a7b9fbabb5","destination_block":"8ae32387-1563-5b4e-bd29-37ff2a3e5ccf","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":160},"name":"AgeExplainer","uuid":"cc09face-a30d-51b6-ad04-87424a554cdc"},"card_item":{"meta":{"column":3,"line":168},"text":{},"type":"text"},"index":0}}}}}},{"label":null,"name":"validate_age_case","type":"Core.Case","config":{},"tags":[],"uuid":"8dd16dbc-b714-56d2-88e2-513d738e5a27","ui_metadata":{},"exits":[{"default":false,"name":"Exit for validate_age_case_condition_0","config":{},"test":"has_all_members(keywords, [question_response]) == true","uuid":"243d40d1-7798-4c4d-9000-29e805cce81c","destination_block":"72b095af-9dbb-5b5b-b5e1-a767f55c926f","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for validate_age_case_condition_1","config":{},"test":"or(not(isnumber(question_response)), question_response > 150)","uuid":"d7d32304-86f8-4c2f-85fa-fd51f9979b08","destination_block":"9cfebafe-defc-5d77-96e0-24284689a769","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for validate_age_case_condition_2","config":{},"test":null,"uuid":"b4105cd2-c794-43eb-89b8-09a701f2d542","destination_block":"9da9f307-1c40-5e52-8f6f-136a5e380920","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"validate_age_case_condition_2_log","type":"Core.Log","config":{"message":"95633145-5ef8-4d41-b36d-5499973391b4"},"tags":[],"uuid":"9da9f307-1c40-5e52-8f6f-136a5e380920","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"QuestionResponse\"","config":{},"test":"","uuid":"bf91b1c3-d9d1-494f-b7ea-7728920beb67","destination_block":"832b9b6d-96a8-5a58-b3c9-d94a5b2d0231","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":156},"name":"ValidateAge","uuid":"aa24f5cb-72b4-54e3-b04c-67b74abdb628"},"card_item":{"log":{},"meta":{"column":3,"line":157},"type":"log"},"index":2}}}}}},{"label":null,"name":"validate_age_case_condition_1_log","type":"Core.Log","config":{"message":"126d61ca-172d-49b3-86b4-5fddbb4427a6"},"tags":[],"uuid":"9cfebafe-defc-5d77-96e0-24284689a769","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"QuestionError\"","config":{},"test":"","uuid":"62639a30-b17f-4129-81bb-e04408adc49e","destination_block":"8691a3eb-668a-57bf-a075-7b30fd3ed174","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"not isnumber(question_response) or question_response > 150","meta":{"column":1,"line":151},"name":"ValidateAge","uuid":"f38c021a-40cc-545f-9033-140b83d215e6"},"card_item":{"log":{},"meta":{"column":3,"line":153},"type":"log"},"index":1}}}}}},{"label":null,"name":"validate_age_case_condition_0_log","type":"Core.Log","config":{"message":"b2007b8b-8509-457e-a41a-431a47ed2477"},"tags":[],"uuid":"72b095af-9dbb-5b5b-b5e1-a767f55c926f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"AgeExplainer\"","config":{},"test":"","uuid":"932c38ff-0e08-400c-8daf-f9a31532ea5f","destination_block":"6e8bb9e0-51ac-5785-b57a-1f1092a6acf4","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_all_members(keywords, [@question_response]) == true","meta":{"column":1,"line":146},"name":"ValidateAge","uuid":"8dd16dbc-b714-56d2-88e2-513d738e5a27"},"card_item":{"log":{},"meta":{"column":3,"line":148},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_response_case","type":"Core.Case","config":{},"tags":[],"uuid":"832b9b6d-96a8-5a58-b3c9-d94a5b2d0231","ui_metadata":{},"exits":[{"default":false,"name":"Exit for question_response_case_condition_0","config":{},"test":"questions[question_num].question_type == \"integer_question\"","uuid":"49663768-f918-4c6a-9d95-fe8f719f9d0b","destination_block":"27e3a016-dc6d-5dee-be50-73ce053ac14f","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for question_response_case_condition_1","config":{},"test":"questions[question_num].question_type == \"freetext_question\"","uuid":"fc9a7782-48d9-41a5-a9ed-e856497abe72","destination_block":"e1367f7a-75c4-5622-bfb5-e9a3832b3c21","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for question_response_case_condition_2","config":{},"test":"questions[question_num].question_type == \"age_question\"","uuid":"0bd1816c-4a51-4835-8edc-376350f68205","destination_block":"771a752b-04ba-5135-ba51-404f5014071b","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for question_response_case_condition_3","config":{},"test":"questions[question_num].question_type == \"year_of_birth_question\"","uuid":"2e46dcb6-6945-4a59-9980-71be92f9023e","destination_block":"2ea19e7f-8920-5b3d-ab51-dea10c58e2cb","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for question_response_case_condition_4","config":{},"test":"and(has_member(map(question.answers, &lower(&1.answer)), \"never\"), lower(\"@question_response\") == \"never\")","uuid":"d86e8f14-a561-4815-b79b-7fd9d799c44e","destination_block":"949fc7a2-ab22-52e2-9752-7e6a012d78a4","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for question_response_case_condition_5","config":{},"test":"lower(\"@question_response\") == \"skip\"","uuid":"1632693e-452b-4728-9395-4d451df4af97","destination_block":"3416b67c-9070-5d24-b627-88333982afcd","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for question_response_case_condition_6","config":{},"test":null,"uuid":"70330c20-714a-43a5-bf27-4f8cc371ecd6","destination_block":"1e7349de-a071-5923-a788-f98894c0b677","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"scores","type":"Core.Case","config":{},"tags":[],"uuid":"1e7349de-a071-5923-a788-f98894c0b677","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"map(question.answers, & &1.score)","config":{},"test":"","uuid":"41547de8-f61b-4371-8fc4-7516b2a69d0f","destination_block":"f451b640-029d-5fec-9dae-a64e5652091a","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":438},"name":"QuestionResponse","uuid":"84a273e4-f078-57ef-8980-2774eb9c1a9c"},"card_item":{"expression":{},"meta":{"column":3,"line":439},"type":"expression"},"index":6}}}}}},{"label":null,"name":"max_question_score","type":"Core.Case","config":{},"tags":[],"uuid":"f451b640-029d-5fec-9dae-a64e5652091a","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"reduce(scores, scores[0], &max(&1, &2))","config":{},"test":"","uuid":"87be5060-7a95-4387-9a95-c1dcdd3483f3","destination_block":"a126d7c9-927d-5ae9-8a80-c52dce2c22c1","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":438},"name":"QuestionResponse","uuid":"84a273e4-f078-57ef-8980-2774eb9c1a9c"},"card_item":{"expression":{},"meta":{"column":3,"line":440},"type":"expression"},"index":0}}}}}},{"label":null,"name":"answer","type":"Core.Case","config":{},"tags":[],"uuid":"a126d7c9-927d-5ae9-8a80-c52dce2c22c1","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"find(question.answers, &(&1.answer == question_response))","config":{},"test":"","uuid":"923d01ee-a200-4053-8049-410a4880ce63","destination_block":"46c1e774-4d33-5aac-b410-8861a4c0d5d6","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":438},"name":"QuestionResponse","uuid":"84a273e4-f078-57ef-8980-2774eb9c1a9c"},"card_item":{"expression":{},"meta":{"column":3,"line":441},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"46c1e774-4d33-5aac-b410-8861a4c0d5d6","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"7c8bb663-199d-4227-85e0-72fbd7e308a4","destination_block":"a6f4c8db-9923-51eb-84b8-374bfdd951dc","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":438},"name":"QuestionResponse","uuid":"84a273e4-f078-57ef-8980-2774eb9c1a9c"},"card_item":{"expression":{},"meta":{"column":3,"line":442},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_response_case_condition_6_log","type":"Core.Log","config":{"message":"01eecd36-6f6c-4f3a-acb7-6cdfdb4d8059"},"tags":[],"uuid":"a6f4c8db-9923-51eb-84b8-374bfdd951dc","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_response_case_condition_6_log","config":{},"test":"","uuid":"35ac7509-92e2-401f-97b6-92332a7a8a5a","destination_block":"2635c001-f348-5411-b4a9-a9da410a3187","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":438},"name":"QuestionResponse","uuid":"84a273e4-f078-57ef-8980-2774eb9c1a9c"},"card_item":{"log":{},"meta":{"column":3,"line":443},"type":"log"},"index":0}}}}}},{"label":null,"name":"max_score","type":"Core.Case","config":{},"tags":[],"uuid":"2635c001-f348-5411-b4a9-a9da410a3187","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"max_score + max_question_score","config":{},"test":"","uuid":"8789555d-b9bc-42a1-853e-5859136a12ee","destination_block":"42bd3754-7bd9-5889-aefa-b4850b6d04e6","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":438},"name":"QuestionResponse","uuid":"84a273e4-f078-57ef-8980-2774eb9c1a9c"},"card_item":{"expression":{},"meta":{"column":3,"line":445},"type":"expression"},"index":0}}}}}},{"label":null,"name":"score","type":"Core.Case","config":{},"tags":[],"uuid":"42bd3754-7bd9-5889-aefa-b4850b6d04e6","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"score + answer.score","config":{},"test":"","uuid":"492023bd-dc46-476a-b0e7-5003cf19dac9","destination_block":"a4d1d280-2282-5a04-af1c-5e55223543fc","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":438},"name":"QuestionResponse","uuid":"84a273e4-f078-57ef-8980-2774eb9c1a9c"},"card_item":{"expression":{},"meta":{"column":3,"line":446},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_response_case_condition_6_log","type":"Core.Log","config":{"message":"8b702ee2-b458-45b1-bbb6-9e9246e921fb"},"tags":[],"uuid":"a4d1d280-2282-5a04-af1c-5e55223543fc","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_response_case_condition_6_log","config":{},"test":"","uuid":"82eba222-fc03-42b4-88c1-1c65751058ff","destination_block":"b935968c-6663-56d0-ba61-3d150022d62d","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":438},"name":"QuestionResponse","uuid":"84a273e4-f078-57ef-8980-2774eb9c1a9c"},"card_item":{"log":{},"meta":{"column":3,"line":447},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"b935968c-6663-56d0-ba61-3d150022d62d","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_num + 1","config":{},"test":"","uuid":"cfca513e-8ba3-4c87-84ab-9061078f09b1","destination_block":"9515b3f0-1bfb-574f-a522-f540401ba8bd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":438},"name":"QuestionResponse","uuid":"84a273e4-f078-57ef-8980-2774eb9c1a9c"},"card_item":{"expression":{},"meta":{"column":3,"line":448},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"3416b67c-9070-5d24-b627-88333982afcd","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"7e6b6e5b-5f06-4a11-b4bb-3c7e9a12885e","destination_block":"01b6be26-f392-5a7e-999d-d3c050984054","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(\"@question_response\") == \"skip\"","meta":{"column":1,"line":422},"name":"QuestionResponse","uuid":"05d3aa85-cee9-55bf-bacc-b6876ac2a66d"},"card_item":{"expression":{},"meta":{"column":3,"line":428},"type":"expression"},"index":5}}}}}},{"label":null,"name":"skip_count","type":"Core.Case","config":{},"tags":[],"uuid":"01b6be26-f392-5a7e-999d-d3c050984054","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"skip_count + 1","config":{},"test":"","uuid":"2732c8a8-fe13-41ed-8e4c-733c5e50f2e5","destination_block":"7314e7c9-84d5-574a-b4fd-4b2978ae3aff","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(\"@question_response\") == \"skip\"","meta":{"column":1,"line":422},"name":"QuestionResponse","uuid":"05d3aa85-cee9-55bf-bacc-b6876ac2a66d"},"card_item":{"expression":{},"meta":{"column":3,"line":430},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_response_case_condition_5_log","type":"Core.Log","config":{"message":"c97ea508-499e-4889-b97d-347fec4d098a"},"tags":[],"uuid":"7314e7c9-84d5-574a-b4fd-4b2978ae3aff","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_response_case_condition_5_log","config":{},"test":"","uuid":"84676fe3-9e0a-427b-af49-a72d8bbec8bb","destination_block":"ac5967d2-7a95-5e43-ad39-8f8040c435c7","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(\"@question_response\") == \"skip\"","meta":{"column":1,"line":422},"name":"QuestionResponse","uuid":"05d3aa85-cee9-55bf-bacc-b6876ac2a66d"},"card_item":{"log":{},"meta":{"column":3,"line":432},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_response_case_condition_5_log","type":"Core.Log","config":{"message":"f4749ea8-91a0-4ffa-bd82-9a74ba395197"},"tags":[],"uuid":"ac5967d2-7a95-5e43-ad39-8f8040c435c7","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_response_case_condition_5_log","config":{},"test":"","uuid":"b5ba5315-d733-4dbe-b118-2bf0faf0a153","destination_block":"6db197a1-b65d-512d-a1df-98cda90bab6e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(\"@question_response\") == \"skip\"","meta":{"column":1,"line":422},"name":"QuestionResponse","uuid":"05d3aa85-cee9-55bf-bacc-b6876ac2a66d"},"card_item":{"log":{},"meta":{"column":3,"line":433},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"6db197a1-b65d-512d-a1df-98cda90bab6e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_num + 1","config":{},"test":"","uuid":"50b05bdd-99f3-47ef-9dd6-babc1f3106dd","destination_block":"9515b3f0-1bfb-574f-a522-f540401ba8bd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"lower(\"@question_response\") == \"skip\"","meta":{"column":1,"line":422},"name":"QuestionResponse","uuid":"05d3aa85-cee9-55bf-bacc-b6876ac2a66d"},"card_item":{"expression":{},"meta":{"column":3,"line":435},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_response_case_condition_4_log","type":"Core.Log","config":{"message":"878daa6c-6192-4015-a104-73d51cb4e663"},"tags":[],"uuid":"949fc7a2-ab22-52e2-9752-7e6a012d78a4","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_response_case_condition_4_log","config":{},"test":"","uuid":"a55a564f-80cd-4501-ae8e-12993dfd334c","destination_block":"963d3b90-10d5-5cd4-ad88-9d3cd6085210","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"","meta":{"column":1,"line":409},"name":"QuestionResponse","uuid":"a580df95-b8dd-57e0-9143-ae09a639c16f"},"card_item":{"log":{},"meta":{"column":3,"line":413},"type":"log"},"index":4}}}}}},{"label":null,"name":"answer","type":"Core.Case","config":{},"tags":[],"uuid":"963d3b90-10d5-5cd4-ad88-9d3cd6085210","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"find(question.answers, &(&1.answer == question_response))","config":{},"test":"","uuid":"dcd5b6b7-4046-47e0-95a9-c202d3e4336c","destination_block":"c168ddc7-cf97-50c7-8c7f-be90eaaf2bd3","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"","meta":{"column":1,"line":409},"name":"QuestionResponse","uuid":"a580df95-b8dd-57e0-9143-ae09a639c16f"},"card_item":{"expression":{},"meta":{"column":3,"line":414},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"c168ddc7-cf97-50c7-8c7f-be90eaaf2bd3","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"f7d852eb-b07b-4508-a598-8c62acc89f3a","destination_block":"81fd6821-db38-5242-b3d0-7400450f5d3e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"","meta":{"column":1,"line":409},"name":"QuestionResponse","uuid":"a580df95-b8dd-57e0-9143-ae09a639c16f"},"card_item":{"expression":{},"meta":{"column":3,"line":415},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_response_case_condition_4_log","type":"Core.Log","config":{"message":"7778404c-db2b-4993-be2e-68829297c556"},"tags":[],"uuid":"81fd6821-db38-5242-b3d0-7400450f5d3e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_response_case_condition_4_log","config":{},"test":"","uuid":"9351826c-6971-4ef9-a5a8-a62e7bdf06c4","destination_block":"9a795654-76a1-5477-bc8c-7d5ed4eab9d4","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"","meta":{"column":1,"line":409},"name":"QuestionResponse","uuid":"a580df95-b8dd-57e0-9143-ae09a639c16f"},"card_item":{"log":{},"meta":{"column":3,"line":416},"type":"log"},"index":0}}}}}},{"label":null,"name":"score","type":"Core.Case","config":{},"tags":[],"uuid":"9a795654-76a1-5477-bc8c-7d5ed4eab9d4","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"score + answer.score","config":{},"test":"","uuid":"5e3bbe9b-9dfe-4eb4-9f0e-f386efb2901d","destination_block":"05e160a4-519f-53cd-97f9-d0f1c08b057a","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"","meta":{"column":1,"line":409},"name":"QuestionResponse","uuid":"a580df95-b8dd-57e0-9143-ae09a639c16f"},"card_item":{"expression":{},"meta":{"column":3,"line":418},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"05e160a4-519f-53cd-97f9-d0f1c08b057a","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"count(questions)","config":{},"test":"","uuid":"3416107b-4177-4b81-af03-ae5ced39e0e3","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_member(map(question.answers, &lower(&1.answer)), \"never\") and lower(\"@question_response\") == \"never\"","meta":{"column":1,"line":409},"name":"QuestionResponse","uuid":"a580df95-b8dd-57e0-9143-ae09a639c16f"},"card_item":{"expression":{},"meta":{"column":3,"line":419},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"2ea19e7f-8920-5b3d-ab51-dea10c58e2cb","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"a3031f43-d399-4859-9f8f-8d69f6191aa1","destination_block":"74113d9e-5d45-5d10-9745-5237d3dbcb05","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\"","meta":{"column":1,"line":401},"name":"QuestionResponse","uuid":"2dcaedd3-a48d-5ca3-b184-63151b7b67c8"},"card_item":{"expression":{},"meta":{"column":3,"line":403},"type":"expression"},"index":3}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"74113d9e-5d45-5d10-9745-5237d3dbcb05","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_num + 1","config":{},"test":"","uuid":"1197d810-501e-4ce8-8ff9-68134efd5000","destination_block":"9515b3f0-1bfb-574f-a522-f540401ba8bd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\"","meta":{"column":1,"line":401},"name":"QuestionResponse","uuid":"2dcaedd3-a48d-5ca3-b184-63151b7b67c8"},"card_item":{"expression":{},"meta":{"column":3,"line":405},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"771a752b-04ba-5135-ba51-404f5014071b","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"4d80c6b9-ddec-4655-8425-a87e8f4765fc","destination_block":"4c8f1070-e286-5ed3-9176-3330da515c22","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"age_question\"","meta":{"column":1,"line":393},"name":"QuestionResponse","uuid":"75a8cebf-518b-55fd-9a7d-b5e36d08c8b2"},"card_item":{"expression":{},"meta":{"column":3,"line":395},"type":"expression"},"index":2}}}}}},{"label":null,"name":"question_response_case_condition_2_log","type":"Core.Log","config":{"message":"b0b5f0dd-878d-4800-bc07-247eb8e09129"},"tags":[],"uuid":"4c8f1070-e286-5ed3-9176-3330da515c22","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_response_case_condition_2_log","config":{},"test":"","uuid":"9d71c255-39e9-4fb9-a53c-f1d4984400cb","destination_block":"7fdfbbe4-3efb-58fe-b789-db871ad587c1","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"age_question\"","meta":{"column":1,"line":393},"name":"QuestionResponse","uuid":"75a8cebf-518b-55fd-9a7d-b5e36d08c8b2"},"card_item":{"log":{},"meta":{"column":3,"line":396},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"7fdfbbe4-3efb-58fe-b789-db871ad587c1","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_num + 1","config":{},"test":"","uuid":"2c086bc6-0244-4bed-87dd-d63ecc144df7","destination_block":"9515b3f0-1bfb-574f-a522-f540401ba8bd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"age_question\"","meta":{"column":1,"line":393},"name":"QuestionResponse","uuid":"75a8cebf-518b-55fd-9a7d-b5e36d08c8b2"},"card_item":{"expression":{},"meta":{"column":3,"line":398},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"e1367f7a-75c4-5622-bfb5-e9a3832b3c21","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"f3ff5848-7326-4d27-b893-b16ae5a14950","destination_block":"88d01581-29f8-543f-9d8f-f294e2560803","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"freetext_question\"","meta":{"column":1,"line":386},"name":"QuestionResponse","uuid":"36028161-43a6-52b0-a1fd-173fbc73cc2e"},"card_item":{"expression":{},"meta":{"column":3,"line":388},"type":"expression"},"index":1}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"88d01581-29f8-543f-9d8f-f294e2560803","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_num + 1","config":{},"test":"","uuid":"813b97f4-142e-4d1b-8b4a-37d3b11f8401","destination_block":"9515b3f0-1bfb-574f-a522-f540401ba8bd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"freetext_question\"","meta":{"column":1,"line":386},"name":"QuestionResponse","uuid":"36028161-43a6-52b0-a1fd-173fbc73cc2e"},"card_item":{"expression":{},"meta":{"column":3,"line":390},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_id","type":"Core.Case","config":{},"tags":[],"uuid":"27e3a016-dc6d-5dee-be50-73ce053ac14f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].semantic_id","config":{},"test":"","uuid":"c2cfe4b7-03e6-45c1-be9c-482889eb6f10","destination_block":"6caec11f-2051-5146-8acc-7660dc0af96e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\"","meta":{"column":1,"line":379},"name":"QuestionResponse","uuid":"832b9b6d-96a8-5a58-b3c9-d94a5b2d0231"},"card_item":{"expression":{},"meta":{"column":3,"line":381},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"6caec11f-2051-5146-8acc-7660dc0af96e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_num + 1","config":{},"test":"","uuid":"564f1d7c-96e2-4ee6-bc55-474eec6eb5bb","destination_block":"9515b3f0-1bfb-574f-a522-f540401ba8bd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\"","meta":{"column":1,"line":379},"name":"QuestionResponse","uuid":"832b9b6d-96a8-5a58-b3c9-d94a5b2d0231"},"card_item":{"expression":{},"meta":{"column":3,"line":383},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_explainer_case","type":"Core.Case","config":{},"tags":[],"uuid":"802042c7-f7d3-5f2e-b639-cddfe9a63eed","ui_metadata":{},"exits":[{"default":false,"name":"Exit for question_explainer_case_condition_0","config":{},"test":"has_all_members(keywords, [question_response])","uuid":"b2862f96-4287-4643-a036-483941a78e48","destination_block":"9de56df7-8754-50ae-856b-d624f58908c5","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for question_explainer_case_condition_1","config":{},"test":null,"uuid":"a3d5ed81-d565-4abf-8b6f-3ccf090888f1","destination_block":"d07b24e3-022c-5480-8117-8ef36af66eeb","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"type","type":"Core.Case","config":{},"tags":[],"uuid":"d07b24e3-022c-5480-8117-8ef36af66eeb","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].question_type","config":{},"test":"","uuid":"2adda165-3182-49df-a7c2-152dd90afbf8","destination_block":"e03c1417-e21c-5c31-bc7f-08e35556f119","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":182},"name":"QuestionExplainer","uuid":"d0be1031-7733-52ba-851e-78f269a36238"},"card_item":{"expression":{},"meta":{"column":3,"line":183},"type":"expression"},"index":1}}}}}},{"label":null,"name":"question_explainer_case_condition_1_log","type":"Core.Log","config":{"message":"5402f4b9-1efd-4f66-8be2-15b5a8dabf41"},"tags":[],"uuid":"e03c1417-e21c-5c31-bc7f-08e35556f119","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_explainer_case_condition_1_log","config":{},"test":"","uuid":"456131d5-21ba-494d-ae26-dc2dfa6ddebe","destination_block":"1a2e4de3-c2ae-52cd-acf9-83c3b6769919","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":182},"name":"QuestionExplainer","uuid":"d0be1031-7733-52ba-851e-78f269a36238"},"card_item":{"log":{},"meta":{"column":3,"line":184},"type":"log"},"index":0}}}}}},{"label":null,"name":"question_explainer_case_condition_1_log","type":"Core.Log","config":{"message":"3689c8d1-9dad-449f-a57c-8eef3f019ebc"},"tags":[],"uuid":"1a2e4de3-c2ae-52cd-acf9-83c3b6769919","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"ValidateInput\"","config":{},"test":"","uuid":"55928a8d-3032-470f-9b2e-e9a3a4ebc3c5","destination_block":"c18fd5f1-50bb-517d-b139-f95bf0ec483d","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":182},"name":"QuestionExplainer","uuid":"d0be1031-7733-52ba-851e-78f269a36238"},"card_item":{"log":{},"meta":{"column":3,"line":185},"type":"log"},"index":0}}}}}},{"label":null,"name":"explainer","type":"Core.Case","config":{},"tags":[],"uuid":"9de56df7-8754-50ae-856b-d624f58908c5","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(question.explainer), \"*Explainer:* There's no explainer for this.\", concatenate(\"*Explainer:*\", \" \", question.explainer))","config":{},"test":"","uuid":"a5c44015-5f50-4a3a-9f12-db33e60bb830","destination_block":"8e1f8c22-e920-5f2f-8270-0375aedd4678","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_all_members(keywords, [@question_response])","meta":{"column":1,"line":171},"name":"QuestionExplainer","uuid":"802042c7-f7d3-5f2e-b639-cddfe9a63eed"},"card_item":{"expression":{},"meta":{"column":3,"line":172},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_explainer_case_condition_0_text","type":"MobilePrimitives.Message","config":{"prompt":"aa685cef-eef6-4509-bcf0-f0f151c14f6c"},"tags":[],"uuid":"8e1f8c22-e920-5f2f-8270-0375aedd4678","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"GetQuestion\"","config":{},"test":"","uuid":"68ec030f-167f-4bc2-bf50-32019caaef5f","destination_block":"8ae32387-1563-5b4e-bd29-37ff2a3e5ccf","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"has_all_members(keywords, [@question_response])","meta":{"column":1,"line":171},"name":"QuestionExplainer","uuid":"802042c7-f7d3-5f2e-b639-cddfe9a63eed"},"card_item":{"meta":{"column":3,"line":179},"text":{},"type":"text"},"index":0}}}}}},{"label":null,"name":"display_answer_num","type":"Core.Case","config":{},"tags":[],"uuid":"aa7bf56f-3cb4-5c77-b75f-bf26d953c0ff","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"answer_num + 1","config":{},"test":"","uuid":"aeaadb06-0b80-4c1c-a937-90dbafc6a9c7","destination_block":"1fa9bf72-8fa3-5288-9caa-e5be1b78ec5a","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":295},"name":"DisplayMultiselectAnswer","uuid":"72241757-c522-576c-b0e5-591f2cfbd14d"},"card_item":{"expression":{},"meta":{"column":3,"line":296},"type":"expression"},"index":0}}}}}},{"label":null,"name":"num_answers","type":"Core.Case","config":{},"tags":[],"uuid":"1fa9bf72-8fa3-5288-9caa-e5be1b78ec5a","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"count(question.answers)","config":{},"test":"","uuid":"08c7f1c6-78bb-4fda-8466-493a2d3f0721","destination_block":"74584a4f-6d1b-5b12-8ade-975c75a4f1c7","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":295},"name":"DisplayMultiselectAnswer","uuid":"72241757-c522-576c-b0e5-591f2cfbd14d"},"card_item":{"expression":{},"meta":{"column":3,"line":297},"type":"expression"},"index":0}}}}}},{"label":null,"name":"multiselect_question_text","type":"Core.Case","config":{},"tags":[],"uuid":"74584a4f-6d1b-5b12-8ade-975c75a4f1c7","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"\"@question_text\"","config":{},"test":"","uuid":"f6cb142f-b596-4c63-b30f-a079e0882c38","destination_block":"11aef277-3eb5-5c79-b1e3-8919f94bcb60","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":295},"name":"DisplayMultiselectAnswer","uuid":"72241757-c522-576c-b0e5-591f2cfbd14d"},"card_item":{"literal":{},"meta":{"column":3,"line":298},"type":"literal"},"index":0}}}}}},{"label":null,"name":"answer","type":"Core.Case","config":{},"tags":[],"uuid":"11aef277-3eb5-5c79-b1e3-8919f94bcb60","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question.answers[answer_num]","config":{},"test":"","uuid":"6f0984f0-972b-4bff-83ca-2c03b37d4213","destination_block":"aa70dc97-57f8-527c-ad61-8303ee610606","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":295},"name":"DisplayMultiselectAnswer","uuid":"72241757-c522-576c-b0e5-591f2cfbd14d"},"card_item":{"expression":{},"meta":{"column":3,"line":299},"type":"expression"},"index":0}}}}}},{"label":null,"name":"answer_text","type":"Core.Case","config":{},"tags":[],"uuid":"aa70dc97-57f8-527c-ad61-8303ee610606","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"answer.answer","config":{},"test":"","uuid":"ff59ac7e-945a-419a-91b3-a67258d8c01b","destination_block":"152de0b6-284f-5619-b7a4-c2af42a008b0","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":295},"name":"DisplayMultiselectAnswer","uuid":"72241757-c522-576c-b0e5-591f2cfbd14d"},"card_item":{"expression":{},"meta":{"column":3,"line":300},"type":"expression"},"index":0}}}}}},{"label":null,"name":"multiselect_question_text","type":"Core.Case","config":{},"tags":[],"uuid":"152de0b6-284f-5619-b7a4-c2af42a008b0","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"concatenate(multiselect_question_text, \"@unichar(10)\", \"@unichar(10)\", \"@answer_text\", \"@unichar(10)\", \"@unichar(10)\", \"@display_answer_num / @num_answers\")","config":{},"test":"","uuid":"f2170450-615e-49f2-97fd-20a59d6f504e","destination_block":"48e9a87a-cc29-549d-8e59-9466c42fa7ec","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":295},"name":"DisplayMultiselectAnswer","uuid":"72241757-c522-576c-b0e5-591f2cfbd14d"},"card_item":{"expression":{},"meta":{"column":3,"line":303},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_response","type":"MobilePrimitives.SelectOneResponse","config":{"prompt":"9371817b-6fe9-4f58-bb5c-42079c04c780","choices":[{"name":"multiselect_response_yes","prompt":"d1a8febf-c589-4558-95f6-c25dd2855ebb","test":"block.response = \"Yes\""},{"name":"multiselect_response_no","prompt":"025139ea-906d-446a-8146-306b021854ef","test":"block.response = \"No\""}]},"tags":[],"uuid":"48e9a87a-cc29-549d-8e59-9466c42fa7ec","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":null,"name":"multiselect_response_yes","config":{},"test":"block.value = \"multiselect_response_yes\"","uuid":"75df8de8-44cc-41de-8ec8-6f3b2d8e8033","destination_block":"293490d5-2e96-5b3b-958e-41dd9e332bdb","semantic_label":null,"vendor_metadata":{}},{"default":null,"name":"multiselect_response_no","config":{},"test":"block.value = \"multiselect_response_no\"","uuid":"2fc99aee-77fe-4ebf-9c0b-2cf786de754f","destination_block":"629e7ef7-5cd8-5519-9a48-8d27bc55f92c","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Default exit to \"MultiselectError\"","config":{},"test":"","uuid":"a0d71ebc-6a2e-4c71-8f3f-03e5997c55e0","destination_block":"205afeb9-04e6-5b84-8102-bb4631a81a99","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"buttons_metadata":{},"card":{"condition":null,"meta":{"column":1,"line":295},"name":"DisplayMultiselectAnswer","uuid":"72241757-c522-576c-b0e5-591f2cfbd14d"},"card_item":{"button_block":{},"meta":{"column":3,"line":314},"type":"button_block"},"index":0}}}}}},{"label":null,"name":"display_question_case","type":"Core.Case","config":{},"tags":[],"uuid":"9ff3bcb3-256f-5fc2-b636-454c4fa816eb","ui_metadata":{},"exits":[{"default":false,"name":"Exit for display_question_case_condition_0","config":{},"test":"questions[question_num].question_type == \"multiselect_question\"","uuid":"2e05fe90-56df-4fd9-9c57-2efdf2eb4b6b","destination_block":"275f103f-e416-5c6b-b9a6-c5cac58cad90","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for display_question_case_condition_1","config":{},"test":"count(questions[question_num].answers) > 3","uuid":"3b162c87-d2f4-48db-8c0c-f456a72d5173","destination_block":"1c7d42a3-533c-55a2-84b7-7c9298b10f51","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for display_question_case_condition_2","config":{},"test":"questions[question_num].question_type == \"year_of_birth_question\"","uuid":"9bd78208-37bb-4378-9a7a-5da4e32ae882","destination_block":"4e978c93-3b26-5039-9553-a7d683cde046","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for display_question_case_condition_3","config":{},"test":"questions[question_num].question_type == \"freetext_question\"","uuid":"274b36fc-23fa-4bf2-b114-d15d2a666c05","destination_block":"415f6fce-d0ba-5690-a3b6-f058d4159026","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for display_question_case_condition_4","config":{},"test":"questions[question_num].question_type == \"integer_question\"","uuid":"ec8700c4-0997-4303-bedf-ae4bec3546c8","destination_block":"6e5ab5bb-4a04-5c11-a762-44ed0de8c22c","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for display_question_case_condition_5","config":{},"test":"questions[question_num].question_type == \"age_question\"","uuid":"924d32ac-34af-4ca5-a513-1ad1b8b6a1b8","destination_block":"ada59a3a-2cf2-5b31-8135-fee24a436336","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for display_question_case_condition_6","config":{},"test":null,"uuid":"5cc93dad-c42d-441f-9a15-5ae7c0c33a82","destination_block":"189d350a-e30f-51a1-ae83-3210859623a0","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"question","type":"Core.Case","config":{},"tags":[],"uuid":"189d350a-e30f-51a1-ae83-3210859623a0","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num]","config":{},"test":"","uuid":"2d580a28-641e-47a1-9207-bc153abe2eca","destination_block":"78cd59ae-c837-5425-856a-24c0eabca292","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":136},"name":"DisplayQuestion","uuid":"defb5bca-57e7-58f3-9fa0-b0a30c9e2275"},"card_item":{"expression":{},"meta":{"column":3,"line":138},"type":"expression"},"index":6}}}}}},{"label":null,"name":"question_response","type":"Io.Turn.DynamicSelectOneResponse","config":{"prompt":"eef25929-0633-4e40-b3f7-774e7925bdf9","choices":[],"destination_block":"832b9b6d-96a8-5a58-b3c9-d94a5b2d0231","choice_expression":"map(question.answers, &[&1.answer, &1.answer])"},"tags":[],"uuid":"78cd59ae-c837-5425-856a-24c0eabca292","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"QuestionExplainer\"","config":{},"test":"","uuid":"27bf03b7-fdd0-4eee-90e2-66a0b4b65697","destination_block":"802042c7-f7d3-5f2e-b639-cddfe9a63eed","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":136},"name":"DisplayQuestion","uuid":"defb5bca-57e7-58f3-9fa0-b0a30c9e2275"},"card_item":{"dynamic_button":{},"meta":{"column":3,"line":140},"type":"dynamic_button"},"index":0}}}}}},{"label":null,"name":"question","type":"Core.Case","config":{},"tags":[],"uuid":"ada59a3a-2cf2-5b31-8135-fee24a436336","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num]","config":{},"test":"","uuid":"9e671a29-d139-41e4-9f02-bb64aaf64ea7","destination_block":"f4d9282c-e1b1-5472-b648-1b2cbfeac7aa","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"age_question\"","meta":{"column":1,"line":128},"name":"DisplayQuestion","uuid":"36549b5c-32a0-5c4c-a3d7-4938c96762be"},"card_item":{"expression":{},"meta":{"column":3,"line":131},"type":"expression"},"index":5}}}}}},{"label":null,"name":"question_response","type":"MobilePrimitives.OpenResponse","config":{"prompt":"6d4da655-f43e-4814-907f-6e93d40e2ad2","max_response_characters":null},"tags":[],"uuid":"f4d9282c-e1b1-5472-b648-1b2cbfeac7aa","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"ValidateAge\"","config":{},"test":"","uuid":"3aedff78-76f3-4d60-9a6c-9c30e09181bb","destination_block":"8dd16dbc-b714-56d2-88e2-513d738e5a27","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"age_question\"","meta":{"column":1,"line":128},"name":"DisplayQuestion","uuid":"36549b5c-32a0-5c4c-a3d7-4938c96762be"},"card_item":{"ask":{},"meta":{"column":3,"line":133},"type":"ask"},"index":0}}}}}},{"label":null,"name":"question","type":"Core.Case","config":{},"tags":[],"uuid":"6e5ab5bb-4a04-5c11-a762-44ed0de8c22c","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num]","config":{},"test":"","uuid":"cd3991c1-f070-4110-ba81-f3e5e378cef7","destination_block":"c9de662f-9f2e-5d1c-b4cb-71fdf9990879","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\"","meta":{"column":1,"line":114},"name":"DisplayQuestion","uuid":"d2be39e1-78aa-5426-a5eb-6c3806e1b700"},"card_item":{"expression":{},"meta":{"column":3,"line":117},"type":"expression"},"index":4}}}}}},{"label":null,"name":"question_response","type":"MobilePrimitives.OpenResponse","config":{"prompt":"d8ca53b2-af21-473b-94d0-ec77e86f24a9","max_response_characters":null},"tags":[],"uuid":"c9de662f-9f2e-5d1c-b4cb-71fdf9990879","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_response","config":{},"test":"","uuid":"fa4593d9-6c7c-4b67-8eac-e44321f5d857","destination_block":"9d6822e0-6ead-50ce-a858-51815c33c831","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\"","meta":{"column":1,"line":114},"name":"DisplayQuestion","uuid":"d2be39e1-78aa-5426-a5eb-6c3806e1b700"},"card_item":{"ask":{},"meta":{"column":3,"line":119},"type":"ask"},"index":0}}}}}},{"label":null,"name":"min","type":"Core.Case","config":{},"tags":[],"uuid":"9d6822e0-6ead-50ce-a858-51815c33c831","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].min","config":{},"test":"","uuid":"8c63e097-cf08-4115-b0a4-38b814f5f3c0","destination_block":"078b6aca-b4d1-50be-9407-72ef6e64dfa1","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\"","meta":{"column":1,"line":114},"name":"DisplayQuestion","uuid":"d2be39e1-78aa-5426-a5eb-6c3806e1b700"},"card_item":{"expression":{},"meta":{"column":3,"line":120},"type":"expression"},"index":0}}}}}},{"label":null,"name":"max","type":"Core.Case","config":{},"tags":[],"uuid":"078b6aca-b4d1-50be-9407-72ef6e64dfa1","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num].max","config":{},"test":"","uuid":"e19f52fa-fa46-42dd-a2ff-4a3eaae34576","destination_block":"2e674072-3688-56dd-8f91-c1d4a89c3e0e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\"","meta":{"column":1,"line":114},"name":"DisplayQuestion","uuid":"d2be39e1-78aa-5426-a5eb-6c3806e1b700"},"card_item":{"expression":{},"meta":{"column":3,"line":121},"type":"expression"},"index":0}}}}}},{"label":null,"name":"assertion","type":"Core.Case","config":{},"tags":[],"uuid":"2e674072-3688-56dd-8f91-c1d4a89c3e0e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"and(and(has_number(\"@question_response\"), has_number_gte(\"@question_response\", \"@min\")), has_number_lte(\"@question_response\", \"@max\"))","config":{},"test":"","uuid":"c20dda5a-3bd9-4b16-a750-06f6317e005a","destination_block":"802042c7-f7d3-5f2e-b639-cddfe9a63eed","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"integer_question\"","meta":{"column":1,"line":114},"name":"DisplayQuestion","uuid":"d2be39e1-78aa-5426-a5eb-6c3806e1b700"},"card_item":{"expression":{},"meta":{"column":3,"line":123},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question","type":"Core.Case","config":{},"tags":[],"uuid":"415f6fce-d0ba-5690-a3b6-f058d4159026","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num]","config":{},"test":"","uuid":"296d1dec-ff2f-4163-a161-22c78bfd103e","destination_block":"1bfade46-6a08-520e-be61-c45e9d87c02e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"freetext_question\"","meta":{"column":1,"line":106},"name":"DisplayQuestion","uuid":"670fc02d-9e0c-5483-b35e-f7027ac5c854"},"card_item":{"expression":{},"meta":{"column":3,"line":109},"type":"expression"},"index":3}}}}}},{"label":null,"name":"question_response","type":"MobilePrimitives.OpenResponse","config":{"prompt":"5c2bc842-b6cc-4c3e-9711-3afeb9f466a9","max_response_characters":null},"tags":[],"uuid":"1bfade46-6a08-520e-be61-c45e9d87c02e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"QuestionExplainer\"","config":{},"test":"","uuid":"b771c27c-58b3-45f2-98b1-f0a38dbac10a","destination_block":"802042c7-f7d3-5f2e-b639-cddfe9a63eed","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"freetext_question\"","meta":{"column":1,"line":106},"name":"DisplayQuestion","uuid":"670fc02d-9e0c-5483-b35e-f7027ac5c854"},"card_item":{"ask":{},"meta":{"column":3,"line":111},"type":"ask"},"index":0}}}}}},{"label":null,"name":"question","type":"Core.Case","config":{},"tags":[],"uuid":"4e978c93-3b26-5039-9553-a7d683cde046","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num]","config":{},"test":"","uuid":"e9957d89-927e-4464-9f44-8f12812f735d","destination_block":"baea128d-7cda-5de5-a04d-e784b8bea58f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\"","meta":{"column":1,"line":93},"name":"DisplayQuestion","uuid":"a73a8770-d33e-5f13-aeda-7802f57093c7"},"card_item":{"expression":{},"meta":{"column":3,"line":96},"type":"expression"},"index":2}}}}}},{"label":null,"name":"question_response","type":"MobilePrimitives.OpenResponse","config":{"prompt":"3c7fa0af-09c7-43b1-99d8-65c1d072b0a0","max_response_characters":null},"tags":[],"uuid":"baea128d-7cda-5de5-a04d-e784b8bea58f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question_response","config":{},"test":"","uuid":"3bdfd0b5-b7b8-4f71-ba0d-476eeda48574","destination_block":"43669bff-30bd-5cc4-8676-ac8a024e9151","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\"","meta":{"column":1,"line":93},"name":"DisplayQuestion","uuid":"a73a8770-d33e-5f13-aeda-7802f57093c7"},"card_item":{"ask":{},"meta":{"column":3,"line":98},"type":"ask"},"index":0}}}}}},{"label":null,"name":"difference","type":"Core.Case","config":{},"tags":[],"uuid":"43669bff-30bd-5cc4-8676-ac8a024e9151","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"get_year - question_response","config":{},"test":"","uuid":"f769e3b6-ca1e-4c30-a846-0e1287946aba","destination_block":"bc397978-c3c1-5755-aab3-7e61b0ca7c71","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\"","meta":{"column":1,"line":93},"name":"DisplayQuestion","uuid":"a73a8770-d33e-5f13-aeda-7802f57093c7"},"card_item":{"expression":{},"meta":{"column":3,"line":99},"type":"expression"},"index":0}}}}}},{"label":null,"name":"assertion","type":"Core.Case","config":{},"tags":[],"uuid":"bc397978-c3c1-5755-aab3-7e61b0ca7c71","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"and(and(and(has_number(\"@question_response\"), has_number_lte(\"@question_response\", \"@get_year\")), has_number_lte(\"@difference\", \"@range\")), has_pattern(\"@question_response\", \"^[0-9]+$\"))","config":{},"test":"","uuid":"f7ef77a0-838f-4c95-a164-7ae8157738fc","destination_block":"802042c7-f7d3-5f2e-b639-cddfe9a63eed","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"year_of_birth_question\"","meta":{"column":1,"line":93},"name":"DisplayQuestion","uuid":"a73a8770-d33e-5f13-aeda-7802f57093c7"},"card_item":{"expression":{},"meta":{"column":3,"line":101},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question","type":"Core.Case","config":{},"tags":[],"uuid":"1c7d42a3-533c-55a2-84b7-7c9298b10f51","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num]","config":{},"test":"","uuid":"a123e7f3-ac4c-4bf5-b73a-de0105a31af9","destination_block":"4842e51a-e6ab-5075-be6b-6876357e64d8","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"count(questions[question_num].answers) > 3","meta":{"column":1,"line":83},"name":"DisplayQuestion","uuid":"7ae8a003-3532-5525-a5ff-141121af718c"},"card_item":{"expression":{},"meta":{"column":3,"line":85},"type":"expression"},"index":1}}}}}},{"label":null,"name":"question_response","type":"Io.Turn.DynamicSelectOneResponse","config":{"prompt":"16ed045d-57df-42ea-a731-867adb28b48b","choices":[],"destination_block":"832b9b6d-96a8-5a58-b3c9-d94a5b2d0231","choice_expression":"map(question.answers, &[&1.answer, &1.answer])"},"tags":[],"uuid":"4842e51a-e6ab-5075-be6b-6876357e64d8","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"QuestionExplainer\"","config":{},"test":"","uuid":"6c31f8de-0c39-4be6-9e8c-92dadd06aa77","destination_block":"802042c7-f7d3-5f2e-b639-cddfe9a63eed","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"count(questions[question_num].answers) > 3","meta":{"column":1,"line":83},"name":"DisplayQuestion","uuid":"7ae8a003-3532-5525-a5ff-141121af718c"},"card_item":{"dynamic_list":{},"meta":{"column":3,"line":87},"type":"dynamic_list"},"index":0}}}}}},{"label":null,"name":"answer_num","type":"Core.Case","config":{},"tags":[],"uuid":"275f103f-e416-5c6b-b9a6-c5cac58cad90","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"0","config":{},"test":"","uuid":"7871a317-bb31-4a9e-a6f1-784635782e9a","destination_block":"a0ae728f-6eda-53e7-8c2b-b264236879f0","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"multiselect_question\"","meta":{"column":1,"line":73},"name":"DisplayQuestion","uuid":"9ff3bcb3-256f-5fc2-b636-454c4fa816eb"},"card_item":{"literal":{},"meta":{"column":3,"line":76},"type":"literal"},"index":0}}}}}},{"label":null,"name":"multiselect_answer","type":"Core.Case","config":{},"tags":[],"uuid":"a0ae728f-6eda-53e7-8c2b-b264236879f0","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"\"\"","config":{},"test":"","uuid":"3680ca6c-c92d-46f7-aa4e-09506e0bb4b3","destination_block":"7193ccfc-0012-5e0c-a10c-ee29e3d111ac","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"multiselect_question\"","meta":{"column":1,"line":73},"name":"DisplayQuestion","uuid":"9ff3bcb3-256f-5fc2-b636-454c4fa816eb"},"card_item":{"literal":{},"meta":{"column":3,"line":77},"type":"literal"},"index":0}}}}}},{"label":null,"name":"scores","type":"Core.Case","config":{},"tags":[],"uuid":"7193ccfc-0012-5e0c-a10c-ee29e3d111ac","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"map(question.answers, & &1.score)","config":{},"test":"","uuid":"ce669463-a62a-457e-9ae9-1c468bb50f8a","destination_block":"09d126cd-1b7d-5a88-89bf-b828e74de3ec","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"multiselect_question\"","meta":{"column":1,"line":73},"name":"DisplayQuestion","uuid":"9ff3bcb3-256f-5fc2-b636-454c4fa816eb"},"card_item":{"expression":{},"meta":{"column":3,"line":78},"type":"expression"},"index":0}}}}}},{"label":null,"name":"max_question_score","type":"Core.Case","config":{},"tags":[],"uuid":"09d126cd-1b7d-5a88-89bf-b828e74de3ec","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"reduce(scores, 0, &(&1 + &2))","config":{},"test":"","uuid":"bf0edaa3-085f-4458-a3f7-7378997bc782","destination_block":"39aad5c4-4151-57f3-b5a2-8d0c987090f1","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"multiselect_question\"","meta":{"column":1,"line":73},"name":"DisplayQuestion","uuid":"9ff3bcb3-256f-5fc2-b636-454c4fa816eb"},"card_item":{"expression":{},"meta":{"column":3,"line":79},"type":"expression"},"index":0}}}}}},{"label":null,"name":"max_score","type":"Core.Case","config":{},"tags":[],"uuid":"39aad5c4-4151-57f3-b5a2-8d0c987090f1","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"max_score + max_question_score","config":{},"test":"","uuid":"230397bc-63a2-430d-a9bf-6bfb3b75713b","destination_block":"aa7bf56f-3cb4-5c77-b75f-bf26d953c0ff","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"questions[question_num].question_type == \"multiselect_question\"","meta":{"column":1,"line":73},"name":"DisplayQuestion","uuid":"9ff3bcb3-256f-5fc2-b636-454c4fa816eb"},"card_item":{"expression":{},"meta":{"column":3,"line":80},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question","type":"Core.Case","config":{},"tags":[],"uuid":"8ae32387-1563-5b4e-bd29-37ff2a3e5ccf","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"questions[question_num]","config":{},"test":"","uuid":"ab553f98-402d-4402-a307-5e1c92882d68","destination_block":"6f89661d-0a3f-5bea-849e-2aaf3475d136","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":64},"name":"GetQuestion","uuid":"e027dd75-6574-5d1d-a262-ec4d19ff4672"},"card_item":{"expression":{},"meta":{"column":3,"line":65},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_text","type":"Core.Case","config":{},"tags":[],"uuid":"6f89661d-0a3f-5bea-849e-2aaf3475d136","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"question.question","config":{},"test":"","uuid":"d3f509e1-233c-4153-b6be-4e6f4ffa7473","destination_block":"a95f4b7e-cf67-5bd4-8ffa-34e3d8068c46","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":64},"name":"GetQuestion","uuid":"e027dd75-6574-5d1d-a262-ec4d19ff4672"},"card_item":{"expression":{},"meta":{"column":3,"line":66},"type":"expression"},"index":0}}}}}},{"label":null,"name":"name","type":"Core.Case","config":{},"tags":[],"uuid":"a95f4b7e-cf67-5bd4-8ffa-34e3d8068c46","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"if(is_nil_or_empty(contact.name), \"\", contact.name)","config":{},"test":"","uuid":"00137f00-5a3f-4925-a37f-7fc75de18636","destination_block":"b16b815c-c5e0-5c6a-86fc-c33b4fe2c79e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":64},"name":"GetQuestion","uuid":"e027dd75-6574-5d1d-a262-ec4d19ff4672"},"card_item":{"expression":{},"meta":{"column":3,"line":69},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_text","type":"Core.Case","config":{},"tags":[],"uuid":"b16b815c-c5e0-5c6a-86fc-c33b4fe2c79e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"substitute(question_text, \"{{name}}\", \"@name\")","config":{},"test":"","uuid":"2e194ede-641e-4e5b-a73b-85ca59910d8c","destination_block":"9ff3bcb3-256f-5fc2-b636-454c4fa816eb","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":64},"name":"GetQuestion","uuid":"e027dd75-6574-5d1d-a262-ec4d19ff4672"},"card_item":{"expression":{},"meta":{"column":3,"line":70},"type":"expression"},"index":0}}}}}},{"label":null,"name":"end_case","type":"Core.Case","config":{},"tags":[],"uuid":"32ce1416-2d08-52eb-8ba7-089d0fc5fd7f","ui_metadata":{},"exits":[{"default":false,"name":"Exit for end_case_condition_0","config":{},"test":"and(skip_count < skip_threshold, score_perc >= assessment_data.high_inflection)","uuid":"938816af-a083-4d41-b066-849950bba527","destination_block":"85665f5d-6ee7-5abe-b69a-1552875e0fd7","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for end_case_condition_1","config":{},"test":"and(and(skip_count < skip_threshold, score_perc >= assessment_data.medium_inflection), score_perc < assessment_data.high_inflection)","uuid":"b5f7eba2-9ed5-48b1-8059-1690de7ba1c3","destination_block":"1077001f-0eaa-56fa-acac-a1f9f95e776e","semantic_label":null,"vendor_metadata":{}},{"default":false,"name":"Exit for end_case_condition_2","config":{},"test":"skip_count >= skip_threshold","uuid":"82bde17a-bedb-4dde-9948-d1279bb565cb","destination_block":"a5827150-4284-5f29-8f0b-c5a61b8914be","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for end_case_condition_3","config":{},"test":null,"uuid":"fa724c16-24d8-46cb-9d2e-202c9dd2f1af","destination_block":"86522257-3ef7-53a5-b9a0-d8a90a3bbd2e","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"mnch_onboarding_dma_form_v1.0_risk","type":"Core.Output","config":{"value":"\"low\""},"tags":[],"uuid":"86522257-3ef7-53a5-b9a0-d8a90a3bbd2e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_v1.0_risk","config":{},"test":"","uuid":"cd82058d-aa1d-4731-9f5b-ace0216f3519","destination_block":"74955a17-e077-551c-a90b-48178833d762","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":533},"name":"End","uuid":"135d85be-cce5-5d0c-af9e-fc591fdbaeca"},"card_item":{"meta":{"column":3,"line":535},"type":"write_result","write_result":{}},"index":3}}}}}},{"label":null,"name":"end_case_condition_3_log","type":"Core.Log","config":{"message":"000cfb0e-f0c0-4015-90b4-779647df4a60"},"tags":[],"uuid":"74955a17-e077-551c-a90b-48178833d762","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"end_case_condition_3_log","config":{},"test":"","uuid":"9807e6d1-9f8e-4bca-86c1-b0cdec02be24","destination_block":"b1e39f2f-907a-5800-bf73-fea45fca026f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":533},"name":"End","uuid":"135d85be-cce5-5d0c-af9e-fc591fdbaeca"},"card_item":{"log":{},"meta":{"column":3,"line":536},"type":"log"},"index":0}}}}}},{"label":null,"name":"page_id","type":"Core.Case","config":{},"tags":[],"uuid":"b1e39f2f-907a-5800-bf73-fea45fca026f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"assessment_data.low_result_page.id","config":{},"test":"","uuid":"3c93a984-581b-4e25-907f-58c8f30d3af4","destination_block":"4c8f9a7c-b42b-5d95-a8f1-b024032949b4","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":533},"name":"End","uuid":"135d85be-cce5-5d0c-af9e-fc591fdbaeca"},"card_item":{"expression":{},"meta":{"column":3,"line":537},"type":"expression"},"index":0}}}}}},{"label":null,"name":"Routing for end_case_condition_3","type":"Core.Case","config":{},"tags":[],"uuid":"4c8f9a7c-b42b-5d95-a8f1-b024032949b4","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for DisplayEndPage","config":{},"test":"true","uuid":"8e2c385b-cb9a-4477-9018-97fbb8decc3c","destination_block":"7ccb1b4e-7acb-5fb9-85fe-ed3d747129f1","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":533},"name":"End","uuid":"135d85be-cce5-5d0c-af9e-fc591fdbaeca"},"card_item":{"meta":{"column":3,"line":539},"then":{},"type":"then"},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_v1.0_risk","type":"Core.Output","config":{"value":"\"skip_high\""},"tags":[],"uuid":"a5827150-4284-5f29-8f0b-c5a61b8914be","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_v1.0_risk","config":{},"test":"","uuid":"307e09ad-9be9-480d-bee5-0d558de9d639","destination_block":"2d764417-ae83-5543-a556-caf010f7d384","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count >= skip_threshold","meta":{"column":1,"line":524},"name":"End","uuid":"8af47823-4747-5abf-9246-0ea6b60fa78e"},"card_item":{"meta":{"column":3,"line":526},"type":"write_result","write_result":{}},"index":2}}}}}},{"label":null,"name":"end_case_condition_2_log","type":"Core.Log","config":{"message":"eeec6131-0ce5-492c-a452-d43c7610ea23"},"tags":[],"uuid":"2d764417-ae83-5543-a556-caf010f7d384","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"end_case_condition_2_log","config":{},"test":"","uuid":"3219c81d-e6d0-4ae4-8210-26d1e12bdac2","destination_block":"5539eb87-6991-5d70-927e-eb55d9ee7b06","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count >= skip_threshold","meta":{"column":1,"line":524},"name":"End","uuid":"8af47823-4747-5abf-9246-0ea6b60fa78e"},"card_item":{"log":{},"meta":{"column":3,"line":527},"type":"log"},"index":0}}}}}},{"label":null,"name":"page_id","type":"Core.Case","config":{},"tags":[],"uuid":"5539eb87-6991-5d70-927e-eb55d9ee7b06","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"assessment_data.skip_high_result_page.id","config":{},"test":"","uuid":"622093b3-6b3b-48c7-a0b5-cd17ed85c9c9","destination_block":"a67adf75-b70e-59f0-a3b2-38e690c8bfc0","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count >= skip_threshold","meta":{"column":1,"line":524},"name":"End","uuid":"8af47823-4747-5abf-9246-0ea6b60fa78e"},"card_item":{"expression":{},"meta":{"column":3,"line":528},"type":"expression"},"index":0}}}}}},{"label":null,"name":"Routing for end_case_condition_2","type":"Core.Case","config":{},"tags":[],"uuid":"a67adf75-b70e-59f0-a3b2-38e690c8bfc0","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for DisplayEndPage","config":{},"test":"true","uuid":"95b1884a-00bb-4740-8fe1-596b42192abc","destination_block":"7ccb1b4e-7acb-5fb9-85fe-ed3d747129f1","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count >= skip_threshold","meta":{"column":1,"line":524},"name":"End","uuid":"8af47823-4747-5abf-9246-0ea6b60fa78e"},"card_item":{"meta":{"column":3,"line":530},"then":{},"type":"then"},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_v1.0_risk","type":"Core.Output","config":{"value":"\"medium\""},"tags":[],"uuid":"1077001f-0eaa-56fa-acac-a1f9f95e776e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_v1.0_risk","config":{},"test":"","uuid":"ef4ebd1f-1b44-4312-a57f-48bfb3996c08","destination_block":"f80db344-ec75-5f1c-b5a2-8a14e12626cb","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection","meta":{"column":1,"line":512},"name":"End","uuid":"a7d1d4b4-8704-5c4e-b2bf-6a047180c846"},"card_item":{"meta":{"column":3,"line":517},"type":"write_result","write_result":{}},"index":1}}}}}},{"label":null,"name":"end_case_condition_1_log","type":"Core.Log","config":{"message":"bb61c05c-ed40-40a2-955d-8b8a0aba96d7"},"tags":[],"uuid":"f80db344-ec75-5f1c-b5a2-8a14e12626cb","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"end_case_condition_1_log","config":{},"test":"","uuid":"7476267b-27a7-40ac-8b6e-ef8c0eb52b61","destination_block":"a4fd7ffb-e077-5207-8ec8-c0e19ff3532f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection","meta":{"column":1,"line":512},"name":"End","uuid":"a7d1d4b4-8704-5c4e-b2bf-6a047180c846"},"card_item":{"log":{},"meta":{"column":3,"line":518},"type":"log"},"index":0}}}}}},{"label":null,"name":"page_id","type":"Core.Case","config":{},"tags":[],"uuid":"a4fd7ffb-e077-5207-8ec8-c0e19ff3532f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"assessment_data.medium_result_page.id","config":{},"test":"","uuid":"d321f30b-8604-4a2f-a94c-6ce94daa6782","destination_block":"8f54cdb5-1a24-58ce-afd2-239e0c77b460","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection","meta":{"column":1,"line":512},"name":"End","uuid":"a7d1d4b4-8704-5c4e-b2bf-6a047180c846"},"card_item":{"expression":{},"meta":{"column":3,"line":519},"type":"expression"},"index":0}}}}}},{"label":null,"name":"Routing for end_case_condition_1","type":"Core.Case","config":{},"tags":[],"uuid":"8f54cdb5-1a24-58ce-afd2-239e0c77b460","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for DisplayEndPage","config":{},"test":"true","uuid":"7fd3b6f2-d0a2-4c15-84a6-7e4075186369","destination_block":"7ccb1b4e-7acb-5fb9-85fe-ed3d747129f1","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count < skip_threshold and score_perc >= assessment_data.medium_inflection and score_perc < assessment_data.high_inflection","meta":{"column":1,"line":512},"name":"End","uuid":"a7d1d4b4-8704-5c4e-b2bf-6a047180c846"},"card_item":{"meta":{"column":3,"line":521},"then":{},"type":"then"},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_v1.0_risk","type":"Core.Output","config":{"value":"\"high\""},"tags":[],"uuid":"85665f5d-6ee7-5abe-b69a-1552875e0fd7","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_v1.0_risk","config":{},"test":"","uuid":"4868f51d-0989-436b-8061-e12c85267506","destination_block":"b5a1adca-9752-5058-99e6-e6129874b9bd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count < skip_threshold and score_perc >= assessment_data.high_inflection","meta":{"column":1,"line":501},"name":"End","uuid":"32ce1416-2d08-52eb-8ba7-089d0fc5fd7f"},"card_item":{"meta":{"column":3,"line":505},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"end_case_condition_0_log","type":"Core.Log","config":{"message":"b4e72052-1a65-42df-a8fb-325329e79f13"},"tags":[],"uuid":"b5a1adca-9752-5058-99e6-e6129874b9bd","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"end_case_condition_0_log","config":{},"test":"","uuid":"c647ac95-7577-4bf5-81d4-c4f583d6f951","destination_block":"30ea39f4-e197-5050-a2bf-f4c86c9ac957","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count < skip_threshold and score_perc >= assessment_data.high_inflection","meta":{"column":1,"line":501},"name":"End","uuid":"32ce1416-2d08-52eb-8ba7-089d0fc5fd7f"},"card_item":{"log":{},"meta":{"column":3,"line":506},"type":"log"},"index":0}}}}}},{"label":null,"name":"page_id","type":"Core.Case","config":{},"tags":[],"uuid":"30ea39f4-e197-5050-a2bf-f4c86c9ac957","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"assessment_data.high_result_page.id","config":{},"test":"","uuid":"c6d1225a-e7d0-4b7e-b26a-da63d24f3d88","destination_block":"11c6c9d8-6cf3-556f-b208-159e69cd269c","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count < skip_threshold and score_perc >= assessment_data.high_inflection","meta":{"column":1,"line":501},"name":"End","uuid":"32ce1416-2d08-52eb-8ba7-089d0fc5fd7f"},"card_item":{"expression":{},"meta":{"column":3,"line":507},"type":"expression"},"index":0}}}}}},{"label":null,"name":"Routing for end_case_condition_0","type":"Core.Case","config":{},"tags":[],"uuid":"11c6c9d8-6cf3-556f-b208-159e69cd269c","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for DisplayEndPage","config":{},"test":"true","uuid":"c4f3b7c4-b4d2-4893-a435-62652cbe140c","destination_block":"7ccb1b4e-7acb-5fb9-85fe-ed3d747129f1","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"skip_count < skip_threshold and score_perc >= assessment_data.high_inflection","meta":{"column":1,"line":501},"name":"End","uuid":"32ce1416-2d08-52eb-8ba7-089d0fc5fd7f"},"card_item":{"meta":{"column":3,"line":509},"then":{},"type":"then"},"index":0}}}}}},{"label":null,"name":"check_end_case","type":"Core.Case","config":{},"tags":[],"uuid":"cebd16e3-4d94-572c-bcd1-6def9e904347","ui_metadata":{},"exits":[{"default":false,"name":"Exit for check_end_case_condition_0","config":{},"test":"question_num == count(questions)","uuid":"88a7ad71-3081-4a81-87ba-0cc436b51ce0","destination_block":"77a491ab-a8e3-58e6-ba46-a57d5f5f805a","semantic_label":null,"vendor_metadata":{}},{"default":true,"name":"Exit for check_end_case_condition_1","config":{},"test":null,"uuid":"526dfb1a-c020-49b4-80b7-7599edf69380","destination_block":"c6f4022a-be64-5b41-9f6f-7da036dd453e","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{}},{"label":null,"name":"Routing for check_end_case_condition_1","type":"Core.Case","config":{},"tags":[],"uuid":"c6f4022a-be64-5b41-9f6f-7da036dd453e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":false,"name":"Exit for GetQuestion","config":{},"test":"true","uuid":"59cbcf0f-8d8a-4750-9661-04a233dc019e","destination_block":"8ae32387-1563-5b4e-bd29-37ff2a3e5ccf","semantic_label":null,"vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":60},"name":"CheckEnd","uuid":"56017223-732a-571c-89a3-81b7fefe550d"},"card_item":{"meta":{"column":3,"line":61},"then":{},"type":"then"},"index":1}}}}}},{"label":null,"name":"score_perc","type":"Core.Case","config":{},"tags":[],"uuid":"77a491ab-a8e3-58e6-ba46-a57d5f5f805a","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"score / max(max_score, 1) * 100","config":{},"test":"","uuid":"94c744b9-5521-472a-ae78-3de115be9a33","destination_block":"01bb5dfa-37ca-5b7a-a323-272011c7887c","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_num == count(questions)","meta":{"column":1,"line":49},"name":"CheckEnd","uuid":"cebd16e3-4d94-572c-bcd1-6def9e904347"},"card_item":{"expression":{},"meta":{"column":3,"line":55},"type":"expression"},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_v1.0_completed","type":"Core.Output","config":{"value":"\"yes\""},"tags":[],"uuid":"01bb5dfa-37ca-5b7a-a323-272011c7887c","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"End\"","config":{},"test":"","uuid":"d7a51d8a-8d7b-462e-bf98-abe0015d2302","destination_block":"32ce1416-2d08-52eb-8ba7-089d0fc5fd7f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":"question_num == count(questions)","meta":{"column":1,"line":49},"name":"CheckEnd","uuid":"cebd16e3-4d94-572c-bcd1-6def9e904347"},"card_item":{"meta":{"column":3,"line":57},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"get_assessment_log","type":"Core.Log","config":{"message":"da7f24f5-1bdd-4f11-9cc3-2dc526461984"},"tags":[],"uuid":"53f47793-39d4-5241-9309-a82a22dde970","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"get_assessment_log","config":{},"test":"","uuid":"394859bc-3a60-4d24-97df-f2814c25df2e","destination_block":"aab449fd-3210-5616-892f-be733693a0dd","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"log":{},"meta":{"column":3,"line":4},"type":"log"},"index":0}}}}}},{"label":null,"name":"response","type":"Io.Turn.Webhook","config":{"timeout":5000,"mode":"sync","body":null,"query":[["tag","dma_form"]],"url":"https://content-repo-api-qa.prk-k8s.prd-p6t.org/api/v2/assessment/","headers":[["content-type","application/json"],["authorization","Token @global.config.contentrepo_token"]],"method":"GET","cache_ttl":60000},"tags":[],"uuid":"aab449fd-3210-5616-892f-be733693a0dd","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"response","config":{},"test":"","uuid":"c66bd86b-be69-4057-9975-91b26627ebbc","destination_block":"eeaef0cf-3fb3-564e-8b04-c3a525512ff4","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"meta":{"column":3,"line":6},"type":"webhook","webhook":{}},"index":0}}}}}},{"label":null,"name":"assessment_data","type":"Core.Case","config":{},"tags":[],"uuid":"eeaef0cf-3fb3-564e-8b04-c3a525512ff4","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"response.body.results[0]","config":{},"test":"","uuid":"e1367fd6-1890-4309-8598-a2c0e4336861","destination_block":"6491d76a-9dd1-5dc4-b24e-1f151b25fd99","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"expression":{},"meta":{"column":3,"line":20},"type":"expression"},"index":0}}}}}},{"label":null,"name":"questions","type":"Core.Case","config":{},"tags":[],"uuid":"6491d76a-9dd1-5dc4-b24e-1f151b25fd99","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"assessment_data[\"questions\"]","config":{},"test":"","uuid":"3d015277-52ae-4f90-9270-5a6639864e2c","destination_block":"39a6a669-d465-5cbf-9486-a7ad9903ade3","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"expression":{},"meta":{"column":3,"line":21},"type":"expression"},"index":0}}}}}},{"label":null,"name":"locale","type":"Core.Case","config":{},"tags":[],"uuid":"39a6a669-d465-5cbf-9486-a7ad9903ade3","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"assessment_data[\"locale\"]","config":{},"test":"","uuid":"b926994f-3a30-49ae-850e-7a7f9f2298f0","destination_block":"fa402751-ae06-5d05-8c46-b17aede57e90","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"expression":{},"meta":{"column":3,"line":22},"type":"expression"},"index":0}}}}}},{"label":null,"name":"slug","type":"Core.Case","config":{},"tags":[],"uuid":"fa402751-ae06-5d05-8c46-b17aede57e90","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"assessment_data[\"slug\"]","config":{},"test":"","uuid":"03da663d-4d27-4f01-a25b-b7417635c66c","destination_block":"a6568c9d-de22-5a47-89a4-8c6ac7a05cae","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"expression":{},"meta":{"column":3,"line":23},"type":"expression"},"index":0}}}}}},{"label":null,"name":"version","type":"Core.Case","config":{},"tags":[],"uuid":"a6568c9d-de22-5a47-89a4-8c6ac7a05cae","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"assessment_data[\"version\"]","config":{},"test":"","uuid":"96cbc26a-c856-4434-bad6-cf021275252a","destination_block":"8fd838c5-8218-55d8-b6b2-20b68a736552","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"expression":{},"meta":{"column":3,"line":24},"type":"expression"},"index":0}}}}}},{"label":null,"name":"question_num","type":"Core.Case","config":{},"tags":[],"uuid":"8fd838c5-8218-55d8-b6b2-20b68a736552","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"0","config":{},"test":"","uuid":"19b56873-6079-49e8-a1bb-909dfb074899","destination_block":"60a27ceb-7865-50ca-a134-49acc835931f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"literal":{},"meta":{"column":3,"line":25},"type":"literal"},"index":0}}}}}},{"label":null,"name":"score","type":"Core.Case","config":{},"tags":[],"uuid":"60a27ceb-7865-50ca-a134-49acc835931f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"0","config":{},"test":"","uuid":"5003998e-31ca-435b-9af0-2fb964458807","destination_block":"e6124f69-5d07-5225-8a96-07007f27eafe","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"literal":{},"meta":{"column":3,"line":26},"type":"literal"},"index":0}}}}}},{"label":null,"name":"min","type":"Core.Case","config":{},"tags":[],"uuid":"e6124f69-5d07-5225-8a96-07007f27eafe","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"0","config":{},"test":"","uuid":"fcf354d2-5ca1-4d9a-aa81-5a5cebed63e1","destination_block":"37ae5eb6-cf20-5882-974b-6ba53a158031","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"literal":{},"meta":{"column":3,"line":27},"type":"literal"},"index":0}}}}}},{"label":null,"name":"max","type":"Core.Case","config":{},"tags":[],"uuid":"37ae5eb6-cf20-5882-974b-6ba53a158031","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"0","config":{},"test":"","uuid":"c061b473-fab5-4cdc-98d4-31cc89d013ca","destination_block":"1648a6fc-60a5-5598-8ada-1b784be86694","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"literal":{},"meta":{"column":3,"line":28},"type":"literal"},"index":0}}}}}},{"label":null,"name":"assertion","type":"Core.Case","config":{},"tags":[],"uuid":"1648a6fc-60a5-5598-8ada-1b784be86694","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"\"\"","config":{},"test":"","uuid":"76e5eee9-e98a-4536-a4df-037b25c0771f","destination_block":"48bb0531-d96f-593c-81fb-1ad12d44742e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"literal":{},"meta":{"column":3,"line":29},"type":"literal"},"index":0}}}}}},{"label":null,"name":"get_today","type":"Core.Case","config":{},"tags":[],"uuid":"48bb0531-d96f-593c-81fb-1ad12d44742e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"today()","config":{},"test":"","uuid":"afc58613-58e6-4e54-aa6c-1df1e8c9d391","destination_block":"8c3a9347-333a-51dd-b02f-38f652dbfd6c","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"expression":{},"meta":{"column":3,"line":30},"type":"expression"},"index":0}}}}}},{"label":null,"name":"get_year","type":"Core.Case","config":{},"tags":[],"uuid":"8c3a9347-333a-51dd-b02f-38f652dbfd6c","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"year(get_today)","config":{},"test":"","uuid":"98e1e4f6-6bd0-4e7c-ad44-bb7b50cbc5b5","destination_block":"7eb8b96a-4963-58bc-a488-e934ddc1dbca","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"expression":{},"meta":{"column":3,"line":31},"type":"expression"},"index":0}}}}}},{"label":null,"name":"range","type":"Core.Case","config":{},"tags":[],"uuid":"7eb8b96a-4963-58bc-a488-e934ddc1dbca","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"120","config":{},"test":"","uuid":"ae986abf-6eb5-4797-ba21-619d34a0f80a","destination_block":"e4fdc9d8-8138-5798-a811-3fbacd1a5072","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"literal":{},"meta":{"column":3,"line":32},"type":"literal"},"index":0}}}}}},{"label":null,"name":"max_score","type":"Core.Case","config":{},"tags":[],"uuid":"e4fdc9d8-8138-5798-a811-3fbacd1a5072","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"0","config":{},"test":"","uuid":"f093f139-b674-4aa1-b3b1-05069c2be880","destination_block":"3e4fbb41-33e5-5841-8dbb-817b174a1129","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"literal":{},"meta":{"column":3,"line":33},"type":"literal"},"index":0}}}}}},{"label":null,"name":"skip_count","type":"Core.Case","config":{},"tags":[],"uuid":"3e4fbb41-33e5-5841-8dbb-817b174a1129","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"0","config":{},"test":"","uuid":"62adc3df-ef00-4044-8b30-48a507321700","destination_block":"3c894579-86e8-5648-9c68-408ebc9e6ef5","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"literal":{},"meta":{"column":3,"line":34},"type":"literal"},"index":0}}}}}},{"label":null,"name":"skip_threshold","type":"Core.Case","config":{},"tags":[],"uuid":"3c894579-86e8-5648-9c68-408ebc9e6ef5","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"assessment_data[\"skip_threshold\"]","config":{},"test":"","uuid":"ad0f6cfe-bd7a-48a1-9e9c-9058771b73fa","destination_block":"04fb10a1-e739-5c07-a855-ccf80c131b9e","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"expression":{},"meta":{"column":3,"line":35},"type":"expression"},"index":0}}}}}},{"label":null,"name":"keywords","type":"Core.Case","config":{},"tags":[],"uuid":"04fb10a1-e739-5c07-a855-ccf80c131b9e","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"[\"why\", \"wy\", \"wh\", \"explain\", \"expain\", \"eplain\"]","config":{},"test":"","uuid":"5f7d18d2-e9bc-493e-b9f7-15f5c064f7ab","destination_block":"9e433261-593c-548e-87af-692ee6404dc8","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"literal":{},"meta":{"column":3,"line":40},"type":"literal"},"index":0}}}}}},{"label":null,"name":"get_assessment_log","type":"Core.Log","config":{"message":"91ba36df-af68-46f4-b6e7-166134d5564a"},"tags":[],"uuid":"9e433261-593c-548e-87af-692ee6404dc8","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"get_assessment_log","config":{},"test":"","uuid":"3d0392d0-f3da-4d2c-bfef-5cc9760b77a9","destination_block":"0febd387-4a98-5c65-ad4b-b5a51489240b","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"log":{},"meta":{"column":3,"line":42},"type":"log"},"index":0}}}}}},{"label":null,"name":"version","type":"Core.Output","config":{"value":"\"@version\""},"tags":[],"uuid":"0febd387-4a98-5c65-ad4b-b5a51489240b","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"version","config":{},"test":"","uuid":"55abe59f-f3c0-432a-97fb-993f3d1f6fa2","destination_block":"fbaf76ad-be59-5122-85b8-96a89b5ccf05","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"meta":{"column":3,"line":43},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"mnch_onboarding_dma_form_v1.0_started","type":"Core.Output","config":{"value":"\"yes\""},"tags":[],"uuid":"fbaf76ad-be59-5122-85b8-96a89b5ccf05","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"mnch_onboarding_dma_form_v1.0_started","config":{},"test":"","uuid":"06e1d3ce-24ca-4fb2-80c7-e6100d67d7da","destination_block":"9e045a4c-ede7-5f3f-a928-bf36bd78645f","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"meta":{"column":3,"line":45},"type":"write_result","write_result":{}},"index":0}}}}}},{"label":null,"name":"locale","type":"Core.Output","config":{"value":"\"@locale\""},"tags":[],"uuid":"9e045a4c-ede7-5f3f-a928-bf36bd78645f","ui_metadata":{"canvas_coordinates":{"x":0,"y":0}},"exits":[{"default":true,"name":"Default exit to \"CheckEnd\"","config":{},"test":"","uuid":"134469d4-b2a9-4114-aee3-90f48c0817af","destination_block":"cebd16e3-4d94-572c-bcd1-6def9e904347","semantic_label":"","vendor_metadata":{}}],"semantic_label":null,"vendor_metadata":{"io":{"turn":{"stacks_dsl":{"0.1.0":{"card":{"condition":null,"meta":{"column":1,"line":3},"name":"GetAssessment","uuid":"bd0d63f3-c347-579a-bbb1-71431ecacfcb"},"card_item":{"meta":{"column":3,"line":46},"type":"write_result","write_result":{}},"index":0}}}}}}],"last_modified":"2024-10-16T13:52:51.815398Z","uuid":"4f52534b-9fb3-5c72-9cc0-90e0d61dd5b8","languages":[{"id":"6aaa7ee6-e2b9-4d32-9d69-415698a36b41","label":"English","variant":null,"iso_639_3":"eng","bcp_47":null}],"first_block_id":"53f47793-39d4-5241-9309-a82a22dde970","interaction_timeout":300,"vendor_metadata":{},"supported_modes":["RICH_MESSAGING"],"exit_block_id":""}],"vendor_metadata":{},"specification_version":"1.0.0-rc3"} \ No newline at end of file From 20a6c515b69a39635bb1a58394dfd8cb612fb67a Mon Sep 17 00:00:00 2001 From: Gerrit Vermeulen Date: Mon, 21 Oct 2024 10:12:39 +0200 Subject: [PATCH 2/2] Add dma to prod --- Onboarding/Prod/flows/dma-form.md | 704 ++++++++++++++++++++++++++++++ 1 file changed, 704 insertions(+) create mode 100644 Onboarding/Prod/flows/dma-form.md diff --git a/Onboarding/Prod/flows/dma-form.md b/Onboarding/Prod/flows/dma-form.md new file mode 100644 index 0000000..41af9ab --- /dev/null +++ b/Onboarding/Prod/flows/dma-form.md @@ -0,0 +1,704 @@ + + +```stack +trigger(on: "MESSAGE RECEIVED") when has_only_phrase(event.message.text.body, "tform") + +``` + +# Forms + +This journey consolidates the various form question types in a single journey. + +It will fetch the form specified by the configured slug from ContentRepo, and run the user through the questions with type validations. + +The values are set in the form. + +This journey writes the user's answers to the flow results. + +## Content fields + +This Journey does not write to any contact fields. Unless it's necessary for the particular implementation, it's best that this journey doesn't write any contact fields. + +## Flow results + +* `assessment_start` - writes the slug of the started assessment when the assessment run starts +* `question_num` - the number of the question being answered +* `answer` - the answer that the user chose +* `min` - the lower bound (minimum value that the number can be) +* `max` - the upper bound (maximum value that the number can be) +* `assessment_end` - writes the slug of the assessment when the assessment run ends +* `assessment_score`, the score that the user got for this run of the assessment +* `max_assessment_score`, the maximum score possible for this user for this run of the assessment + +## Substitution + +The journey uses substitution so the error messages are more specific. + {min} and {max} in the form are replaced with the minimum and maximum range values. + {current_year} and {lower_bound} in the form are replaced with current calendar year and lower bound valid year. + +## Connections to other Journeys + +This Journey does not link to any other Journeys + +## Explainer keywords + +"why", "wy", "wh", "explain", "expain", "eplain" + + + +| Key | Value | +| -------------- | -------- | +| assessment_tag | dma_form | + +## Get Assessment + +We fetch the assessment as configured in the assessment_tag. At this point we initialise the following variables used throughout the Journey: + +* `questions`, the questions to be asked in the form +* `locale`, the locale of the form +* `question_num`, the current question number +* `score`, the total assessment score, used at the end to determine which page to show the user +* `keywords`, the keywords that will trigger the explainer text + +We also write the follwing flow results: + +* `assessment_start`, the assessment tag +* `locale`, the locale of the form + + + +```stack +card GetAssessment, then: CheckEnd do + log("Fetching assessment @config.items.assessment_tag") + + response = + get("https://platform-mnch-contentrepo.prk-k8s.prd-p6t.org/api/v2/assessment/", + timeout: 5_000, + cache_ttl: 60_000, + query: [ + # TODO: Remove hard coding when flow tester gets support for dicts + ["tag", "dma_form"] + ], + headers: [ + ["content-type", "application/json"], + ["authorization", "Token @global.config.contentrepo_token"] + ] + ) + + assessment_data = response.body.results[0] + questions = assessment_data["questions"] + locale = assessment_data["locale"] + slug = assessment_data["slug"] + version = assessment_data["version"] + question_num = 0 + score = 0 + min = 0 + max = 0 + assertion = "" + get_today = today() + get_year = year(get_today) + range = 120 + max_score = 0 + skip_count = 0 + skip_threshold = assessment_data["skip_threshold"] + + # A user can respond with a keyword such as "why" or "explain" to + # know the reason why we asked a question. + # We store a list of possible keyword iterations to handle typos + keywords = ["why", "wy", "wh", "explain", "expain", "eplain"] + + log("Starting assessment @config.items.assessment_tag") + write_result("version", "@version") + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_started", "yes") + write_result("locale", "@locale") +end + +``` + +## Display Question & Validation + +1. Check if the current question is the last question + 1. If yes record the results + * `assessment_end`, the assessment tag + * `assessment_score`, the final score of the assessment +2. Get the question from the API response +3. Replace any variables in the question that need to be replaced +4. Display the question +5. Validate the answer and / or explain the reason for the question +6. Repeat until we reach the last question + +```stack +card CheckEnd when question_num == count(questions), then: End do + # Because all of the guards for a card get evaluated at the same time, we have to first check if we + # have any more questions, before we can assume that there's a question that we can access the + # attributes of, and we have to do this in a separate CheckEnd card before the DisplayQuestion card + + # workaround because the percentage calculation will throw a division by 0 error if max_score is 0 in either an if or a when clause. + score_perc = score / max(max_score, 1) * 100 + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_completed", "yes") +end + +card CheckEnd do + then(GetQuestion) +end + +card GetQuestion, then: DisplayQuestion do + question = questions[question_num] + question_text = question.question + + # Any variable replacement required can happen here + name = if(is_nil_or_empty(contact.name), do: "", else: contact.name) + question_text = substitute(question_text, "{{name}}", "@name") +end + +card DisplayQuestion when questions[question_num].question_type == "multiselect_question", + then: DisplayMultiselectAnswer do + # Display the Multiselect Question type + answer_num = 0 + multiselect_answer = "" + scores = map(question.answers, & &1.score) + max_question_score = reduce(scores, 0, &(&1 + &2)) + max_score = max_score + max_question_score +end + +card DisplayQuestion when count(questions[question_num].answers) > 3, then: QuestionExplainer do + # For more than 3 options, use a list + question = questions[question_num] + + question_response = + list("Select option", QuestionResponse, map(question.answers, &[&1.answer, &1.answer])) do + text("@question_text") + end +end + +card DisplayQuestion when questions[question_num].question_type == "year_of_birth_question", + then: QuestionExplainer do + # Display the Year of Birth Question type + question = questions[question_num] + + question_response = ask("@question_text") + difference = get_year - question_response + + assertion = + has_number("@question_response") and has_number_lte("@question_response", "@get_year") and + has_number_lte("@difference", "@range") and has_pattern("@question_response", "^[0-9]+$") +end + +card DisplayQuestion when questions[question_num].question_type == "freetext_question", + then: QuestionExplainer do + # Display the freetext Question type + question = questions[question_num] + + question_response = ask("@question_text") +end + +card DisplayQuestion when questions[question_num].question_type == "integer_question", + then: QuestionExplainer do + # Display the Integer Question type + question = questions[question_num] + + question_response = ask("@question_text") + min = questions[question_num].min + max = questions[question_num].max + + assertion = + has_number("@question_response") and has_number_gte("@question_response", "@min") and + has_number_lte("@question_response", "@max") +end + +card DisplayQuestion when questions[question_num].question_type == "age_question", + then: ValidateAge do + # Display the Age Question type + question = questions[question_num] + + question_response = ask("@question_text") +end + +card DisplayQuestion, then: QuestionExplainer do + # For up to 3 options, use buttons + question = questions[question_num] + + question_response = + buttons(QuestionResponse, map(question.answers, &[&1.answer, &1.answer])) do + text("@question_text") + end +end + +card ValidateAge when has_all_members(keywords, [@question_response]) == true, + then: AgeExplainer do + log("Explainer returned for age question") +end + +card ValidateAge when not isnumber(question_response) or question_response > 150, + then: QuestionError do + log("Validatation failed for age question") +end + +card ValidateAge, then: QuestionResponse do + log("Validation suceeded for age question") +end + +card AgeExplainer, then: GetQuestion do + explainer = + if( + is_nil_or_empty(question.explainer), + "*Explainer:* There's no explainer for this.", + concatenate("*Explainer:*", " ", question.explainer) + ) + + text("@explainer") +end + +card QuestionExplainer when has_all_members(keywords, [@question_response]), then: GetQuestion do + explainer = + if( + is_nil_or_empty(question.explainer), + "*Explainer:* There's no explainer for this.", + concatenate("*Explainer:*", " ", question.explainer) + ) + + text("@explainer") +end + +card QuestionExplainer, then: ValidateInput do + type = questions[question_num].question_type + log("Question type is @type") + log("Your answer was @question_response to question number @question_num") +end + +card ValidateInput + when assertion == false and questions[question_num].question_type == "year_of_birth_question", + then: QuestionError do + log("Error input") +end + +card ValidateInput + when assertion == false and questions[question_num].question_type == "integer_question", + then: QuestionError do + log("Error input") +end + +card ValidateInput + when count(question.answers) > 0 and + not has_member(map(question.answers, & &1.answer), question_response), + then: QuestionError do + log("Invalid input") +end + +card ValidateInput, then: QuestionResponse do + log("Valid input") +end + +card QuestionError + when questions[question_num].question_type == "integer_question" and + @question_response != lower("skip"), + then: CheckEnd do + log( + "Invalid input for integer_question: @question_response. Required value between @min and @max." + ) + + # If we have an error for this question, then use that, otherwise use the generic one + error = if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error) + type = questions[question_num].question_type + replace_min = substitute("@error", "{min}", "@min") + substituted_text = substitute("@replace_min", "{max}", "@max") + styled_error = concatenate("*Error:*", " ", "@substituted_text") + text("@styled_error") +end + +card QuestionError + when questions[question_num].question_type == "year_of_birth_question" and + @question_response != lower("skip"), + then: CheckEnd do + log( + "Invalid input for year_of_birth_question: @question_response. Required value between @lower_bound_year and @get_year" + ) + + # If we have an error for this question, then use that, otherwise use the generic one + error = if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error) + type = questions[question_num].question_type + lower_bound_year = get_year - range + log("get_year is @get_year and difference is @difference") + replace_current_year = substitute("@error", "{current_year}", "@get_year") + substituted_text = substitute("@replace_current_year", "{lower_bound}", "@lower_bound_year") + styled_error = concatenate("*Error:*", " ", "@substituted_text") + text("@styled_error") +end + +card QuestionError when has_all_members(keywords, [@question_response]), then: CheckEnd do + explainer = + if( + is_nil_or_empty(question.explainer), + "*Explainer:* There's no explainer for this.", + concatenate("*Explainer:*", " ", question.explainer) + ) + + text("@explainer") +end + +card QuestionError when @question_response == lower("skip"), then: StoreResponse do + # If they skip a question we should + # - record the answer as "skip" + # - increment skip count + # - do not count the question towards the score + # - do not add the max score for this question (i.e. completely exclude this question from scoring) + question_id = questions[question_num].semantic_id + skip_count = skip_count + 1 + + log("Skipping question @question_num") + log("Current score: @score, Current max score: @max_score") + + question_num = question_num + 1 +end + +card QuestionError, then: CheckEnd do + # If we have an error for this question, then use that, otherwise use the generic one + error = if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error) + log("Question number is @question_num") + log("You entered @question_response") + text("@error") +end + +``` + +## Multiselect Question + +Multiselect gets a block on its own because it's essentially questions in a question. For multiselect, until we are able to use a checkbox-style input, we ask the question once for each answer that was configured, and ask the user to select `Yes`, or `No` for each answer. + +The basic idea for the multiselect question is very similar to how we display questions. + +1. Check if this is the last multiselect answer + 1. If yes, record the results + * `question_num`, the question number + * `answer`, the final answer which will be a comma separated list of all the answers that were selected +2. Get the next answer +3. Concatenate the question and answer, along with a label indicating which answer the user is on +4. Display the answer +5. If they select yes save the answer in the `multiselect_answer` variable +6. Repeat + +```stack +card CheckEndMultiselect + when questions[question_num].question_type == "multiselect_question" and + answer_num == count(questions[question_num].answers), + then: StoreResponse do + question_num = question_num + 1 + # write the answer results + question_id = questions[question_num].semantic_id + log("Answered @multiselect_answer to question @question_num") +end + +card CheckEndMultiselect do + then(DisplayMultiselectAnswer) +end + +card DisplayMultiselectAnswer, then: MultiselectError do + display_answer_num = answer_num + 1 + num_answers = count(question.answers) + multiselect_question_text = "@question_text" + answer = question.answers[answer_num] + answer_text = answer.answer + # Add in the Answer + # Add in the placeholder for x / y + multiselect_question_text = + concatenate( + multiselect_question_text, + "@unichar(10)", + "@unichar(10)", + "@answer_text", + "@unichar(10)", + "@unichar(10)", + "@display_answer_num / @num_answers" + ) + + question_response = + buttons(MultiselectResponseYes: "Yes", MultiselectResponseNo: "No") do + text("@multiselect_question_text") + end +end + +card MultiselectError when has_all_members(keywords, [@question_response]), + then: DisplayMultiselectAnswer do + explainer = + if( + is_nil_or_empty(question.explainer), + "*Explainer:* There's no explainer for this.", + concatenate("*Explainer:*", " ", question.explainer) + ) + + text("@explainer") +end + +card MultiselectError when lower(@question_response) == "skip", then: CheckEndMultiselect do + # If they skip a question we should + # - record the answer as "skip" + # - increment skip_count + # - do not count the question towards the score + # - do not add the max score for this question (i.e. completely exclude this question from scoring) + question_id = questions[question_num].semantic_id + + skip_count = skip_count + 1 + + max_score = max_score - max_question_score + + log("Skipping multiselect question @question_num") + log("Current score: @score, Current max score: @max_score") + + question_num = question_num + 1 +end + +card MultiselectError, then: DisplayMultiselectAnswer do + # If we have an error for this question, then use that, otherwise use the generic one + error = if(is_nil_or_empty(question.error), assessment_data.generic_error, question.error) + log("Question number is @question_num") + log("Answer number is @answer_num") + log("You entered @question_response") + text("@error") +end + +card MultiselectResponseYes, + then: CheckEndMultiselect do + answer = find(question.answers, &(&1.answer == answer_text)) + semantic_id = answer.semantic_id + score = score + answer.score + log("Current score: @score, Current max score: @max_score") + answer_num = answer_num + 1 + + multiselect_answer = + if is_nil_or_empty(multiselect_answer) do + "@semantic_id" + else + concatenate(multiselect_answer, ",", "@semantic_id") + end +end + +card MultiselectResponseNo, then: CheckEndMultiselect do + answer_num = answer_num + 1 +end + +``` + +## Question Response + +Here we record the responses to each question. + +* For freetext questions we record the full answer. +* For categorical or multiselect questions we record the semantic_id of the answer(s). + +We record the following Flow Results: + +* `question_num`, the question number +* `answer`, the final answer which will be a comma separated list of all the answers that were selected + +```stack +card QuestionResponse when questions[question_num].question_type == "integer_question", + then: StoreResponse do + question_id = questions[question_num].semantic_id + + question_num = question_num + 1 +end + +card QuestionResponse when questions[question_num].question_type == "freetext_question", + then: StoreResponse do + question_id = questions[question_num].semantic_id + + question_num = question_num + 1 +end + +card QuestionResponse when questions[question_num].question_type == "age_question", + then: StoreResponse do + question_id = questions[question_num].semantic_id + log("Answered @age to question @question_num") + + question_num = question_num + 1 +end + +card QuestionResponse when questions[question_num].question_type == "year_of_birth_question", + then: StoreResponse do + question_id = questions[question_num].semantic_id + + question_num = question_num + 1 +end + +# If Never is a valid response and they respond with Never, skip over everything +card QuestionResponse + when has_member(map(question.answers, &lower(&1.answer)), "never") and + lower("@question_response") == "never", + then: CheckEnd do + log("Skipping to end of Form") + answer = find(question.answers, &(&1.answer == question_response)) + question_id = questions[question_num].semantic_id + log("Answered @answer.answer to question @question_num") + + score = score + answer.score + question_num = count(questions) +end + +card QuestionResponse when lower("@question_response") == "skip", then: StoreResponse do + # If they skip a question we should + # - record the answer as "skip" + # - increment skip_count + # - do not count the question towards the score + # - do not add the max score for this question (i.e. completely exclude this question from scoring) + question_id = questions[question_num].semantic_id + + skip_count = skip_count + 1 + + log("Skipping question @question_num") + log("Current score: @score, Current max score: @max_score") + + question_num = question_num + 1 +end + +card QuestionResponse, then: StoreResponse do + scores = map(question.answers, & &1.score) + max_question_score = reduce(scores, scores[0], &max(&1, &2)) + answer = find(question.answers, &(&1.answer == question_response)) + question_id = questions[question_num].semantic_id + log("Answered @answer.answer to question @question_num") + + max_score = max_score + max_question_score + score = score + answer.score + log("Current score: @score, Current max score: @max_score") + question_num = question_num + 1 +end + +``` + +## Store Response + +These cards are to configure storing the answers of the Form in contact fields. Each question will need its own contact field. Most forms won't need this, so you can comment out or remove the cards (Except the last / default one which is critical to the flow of Forms). + +```stack +card StoreResponse when question_id == "dma-do-things" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-do-things", semantic_id) + update_contact(dma_01: "@question_response") + then(CheckEnd) +end + +card StoreResponse when question_id == "dma-medical-care" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-medical-care", semantic_id) + update_contact(dma_02: "@question_response") + then(CheckEnd) +end + +card StoreResponse when question_id == "dma-sharing" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-sharing", semantic_id) + update_contact(dma_03: "@question_response") + then(CheckEnd) +end + +card StoreResponse when question_id == "dma-medical-advice" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-medical-advice", semantic_id) + update_contact(dma_04: "@question_response") + then(CheckEnd) +end + +card StoreResponse when question_id == "dma-find-solutions" do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + answer = filter(question.answers, &(&1.answer == question_response)) + semantic_id = if(count(answer) == 0, "skip", answer[0].semantic_id) + write_result("mnch_onboarding_dma_form_dma-find-solutions", semantic_id) + update_contact(dma_05: "@question_response") + then(CheckEnd) +end + +# This card should be left alone +card StoreResponse do + then(CheckEnd) +end + +``` + +## End + +We record the final result of the Form, and display the correct End page (high, medium, low). + +We record the following Flow Results: + +* `assessment_risk`, `low`, `medium`, or `high` depending on the risk. + +```stack +card End + when skip_count < skip_threshold and + score_perc >= assessment_data.high_inflection do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_risk", "high") + log("Assessment risk: high") + page_id = assessment_data.high_result_page.id + + then(DisplayEndPage) +end + +card End + when skip_count < skip_threshold and + score_perc >= assessment_data.medium_inflection and + score_perc < assessment_data.high_inflection do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_risk", "medium") + log("Assessment risk: medium") + page_id = assessment_data.medium_result_page.id + + then(DisplayEndPage) +end + +card End when skip_count >= skip_threshold do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_risk", "skip_high") + log("Assessment risk: skip_high") + page_id = assessment_data.skip_high_result_page.id + + then(DisplayEndPage) +end + +card End do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_risk", "low") + log("Assessment risk: low") + page_id = assessment_data.low_result_page.id + + then(DisplayEndPage) +end + +card DisplayEndPage do + # TODO: remove this hard-coding once we can have dynamic labels for flow results + write_result("mnch_onboarding_dma_form_v1.0_score", score) + write_result("mnch_onboarding_dma_form_v1.0_max_score", max_score) + + response = + get("https://platform-mnch-contentrepo.prk-k8s.prd-p6t.org/api/v2/pages/@page_id/", + timeout: 5_000, + cache_ttl: 60_000, + query: [ + ["whatsapp", "true"] + ], + headers: [ + ["content-type", "application/json"], + ["authorization", "Token @global.config.contentrepo_token"] + ] + ) + + log("@page_id") + message_body = response.body.body.text.value.message + text("@message_body") +end + +``` \ No newline at end of file