Vivian Health interview question

Flesh out some code using react native