Author Topic: Modeling and linking questions of questionnaire and items of a report  (Read 2548 times)

Mo

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Modeling and linking questions of questionnaire and items of a report


Hello, Sparx EA users and experts,

I am new to Sparx and the forum, and I would really appreciate your help.

I have a questionnaire that has 8 categories. Each category has 5-10 questions. Then, I have a health report that includes 7 sections, and each section includes 5-10 items.

How can I communicate and show the link/dependency/relationship between the answer of specific questions and report items? For example:

Question "A" might be "have any of your first-degree family members had strokes?", The user would be given multiple choices: Yes, No, I don't know (I think they could be modeled as enumeration).

Question "B" might be "how frequently do you exercise weekly?". The user would be given multiple choices: 1,2,3,4,5,6,7, none (I think they could also be modeled as enumeration)

A report item#1 is "Your risk of having a stroke is X% based on your answers to question "A" and "B"

How can I model/show the relationship between question A, question B, and report item#1

Thank you so much in advance for your help.

P.S: I tried to upload the logical data model I have, but I was not given an option to add an attachment
PhD Student - Systems Engineering

OpenIT Solutions

  • EA User
  • **
  • Posts: 549
  • Karma: +6/-1
    • View Profile
Re: Modeling and linking questions of questionnaire and items of a report
« Reply #1 on: November 28, 2020, 01:17:02 am »
You might want to have a look at the Decision Modelling Notation support in Sparx - see https://sparxsystems.com/enterprise_architect_user_guide/15.2/model_domains/dmn_modeling_and_simulation.html.

Mo

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Re: Modeling and linking questions of questionnaire and items of a report
« Reply #2 on: November 30, 2020, 11:53:04 am »
Thank you very much for your response.
DMN is the solution I am considering for what I want to achieve. I was curious to know whether there are any other solutions that I should consider.
PhD Student - Systems Engineering

Richard Freggi

  • EA User
  • **
  • Posts: 358
  • Karma: +13/-7
    • View Profile
Re: Modeling and linking questions of questionnaire and items of a report
« Reply #3 on: November 30, 2020, 06:57:59 pm »
You would need to make a data model of the domain you are working on (tables, columns, datatypes, relations, keys etc.).  Then you could forward engineer your model and use the resulting database (using SQLite or Firefox) to capture and report your data.  I don't think there's much else useful thing you can do.  The data model is the best representation of the relations between questions and answers.

Mo

  • EA User
  • **
  • Posts: 93
  • Karma: +0/-0
    • View Profile
Re: Modeling and linking questions of questionnaire and items of a report
« Reply #4 on: December 02, 2020, 08:42:26 am »
Thank you, @Richard. I apprecaite your input and advice.

Kind Regards.
PhD Student - Systems Engineering