codexstanford / codex-insurance-fullstack

0 stars 0 forks source link

update dataset to include additional info for people #25

Closed alissav30 closed 4 months ago

alissav30 commented 5 months ago

right now, the user dataset does not include the fields of "name" and "date". update the backend so that the data for each person includes these fields.

pfw13 commented 4 months ago

I'm not sure if I understand this.

First, I don't think it's a backend issue. The backend just saves and retrieves the user dataset in the form of a string. It doesn't care about its actual content. So saving smth in the dataset, e.g., adding a predicate, is done in the React app, i.e., the frontend, by adding a line to the string that is saved to the server.

Second, what do you mean with "name" and "date" fields? There already are predicates like person.dob() or claim.time(), if that is what you're referring to.