healthsites / hcid-watchkeeper

A security alerts platform for iMMAP
Other
0 stars 1 forks source link

enriched healthsites #137

Open markherringer opened 8 years ago

markherringer commented 8 years ago

as a user I want to be able to see the enriched healthsites as a separate layer

  1. healthsites
  2. assessments
  3. enriched healthsites

Question: How do we present the data if we are publishing both assessments and healthsites? The diagram below will publish an assessment and a healthsite in the same place.

Todo: We need to save the create a field in the form for the UUID

meomancer commented 8 years ago

what is enriched healhtsites @markherringer ? i think we need icon too?

markherringer commented 8 years ago

Hi @meomancer yes...we will need to add a new icon if Rene gives the thumbs up for this story. I will let you know on this one.

markherringer commented 8 years ago

see #138

hcid-assessment-creation

markherringer commented 8 years ago

imgpsh_fullsize

mmoreno-cart commented 8 years ago

Test case:

  1. Select existing healthsite
  2. Edit name in assessment form
  3. Edit geometry (move pin)
  4. Save assessment
  5. Check if assessment's healthsite name and healthsite referential name (healthsite.io) are the same (they shouldn't following the given data model though not crucial)
  6. Check if coordinates coincide in both layers (they shouldn't)
  7. Make sure there is still relation between selected healthsite in point 1 and stored assessment (uuid of healthsite.io stored as assessment's attribute) --> Possible task: get coordinates from healthsite.io and update geometry of assessment.
meomancer commented 8 years ago

@mmoreno-cart for now, when we create assessment from healthsite, if we move the pin, this healthsite location is changed to. The idea for test case is : we cannot change coordinate for healthsite, but can be changed from getting data from healthsite.io, isn't it?

and also, for icon, i think we should distinct icon between pure assessment from hcid and also from enriched healthsite any idea @MariaSolovyeva , i got idea to give start in top of icon for enriched healthsite assessment

mmoreno-cart commented 8 years ago

Hi @meomancer, I'm not sure to understand your second paragraph... Normally we should not be able to change coordinates from healthsite.io (data layer 1), but only from assessments (data layer 2). Like @markherringer wrote in gitter:

'when we create assessment from healthsite, if we move the pin, this healthsite location is changed to.'...my understanding is that the HS attributes must stay the same (data layer 1) if we move the pin the attributes of the assessment will change...but be linked to the original HS through the UUID