eHealthAfrica / data-models-deprecated

Validation for standard data models
Apache License 2.0
4 stars 8 forks source link

add interview and answer data model #84

Closed emig closed 8 years ago

emig commented 8 years ago

in the frame of https://github.com/eHealthAfrica/sl-ebola-call-admin/issues/1047 add interview and answer. PR just to check with @febeling that we are on the same model page :)

emig commented 8 years ago

I'll complete the data models from https://script.google.com/a/ehealthnigeria.org/d/1Jl8TZMk6LKegC2zXU9ZDnbYBh1yLn0B71neCgImWGlUTj_BFEpQ_i9LG/edit?usp=sharing

emig commented 8 years ago

@skoni the data model as discussed

emig commented 8 years ago

@skoni do we need the callId on the interview model? I am missing the part with the callback does it go like this call 1 --> N (callback) 1 --> 1 Interview 1 --> N Answer?

tillre commented 8 years ago

@emig Im also adding the callbackId to the interview. We pass this by a field and it somehow was not set by the script so far. There is also the humanId, which i dont see any use for, yet - because we can always get that via a callback -> call lookup. But it would be valuable for someone who looks at the actual response spreadsheet and wants to find the related call via fulltext-search. Can you add callbackId and also humanId here?

tillre commented 8 years ago

bon