Skip to content

Question options and API model mismatch #35

@theTechie

Description

@theTechie

We have found the following differences when it comes to Medmap API and the UI questions and answer options.

  1. There is a screen to capture the user's gender (Male / Female)
    - this is not present in the API model (do we need this?)
  2. "Asthma" is present in the UI for health history
    - this is not present in the API model (do we need this?)
  3. "Smoking cigarettes" is present in the UI for health history
    - this is not present in the API model (do we need this?)
  4. "Fever" has extra information like below (describe fever)
    - "Fever" is just a range (0-4) as per the API model
    - do we need this extra description?
    image
  5. "Cough" is a multi-selection in UI
    - as per the API its a range (0-4)
    - what is right here?
  6. "Breathlessness" is a range answer in UI (0-4)
    - as per the API it's a boolean (have it or not)
    - what is right here?
    image
  7. "Do you have any kind of pain?" is another question in UI
    • API only considers joint_pain (yes or no)
    • the model does not match right
    • do we need this?
      image
  8. "Headache" is also a range answer (0-4)
    • API just handles true or false
  9. "Symptoms progression" is a range 0-4 answer,
    • API just handles 0-3
    • what is right?
      image

How do we handle the following scenarios?

  1. How to point to the API if the questionnaire is being answered for "self" or "someone else" ?
  2. Should we publish the questionnaire results to Backend if user is just "exploring" ?

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions