Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

New methodology for Sample DB generation #1390

Open
anvmn opened this issue Dec 30, 2024 · 1 comment
Open

New methodology for Sample DB generation #1390

anvmn opened this issue Dec 30, 2024 · 1 comment
Assignees

Comments

@anvmn
Copy link
Collaborator

anvmn commented Dec 30, 2024

Idea: Instead of exporting, delete all nodes that are not related to exported HCs.

@anvmn anvmn added this to the TIP - Maintenance milestone Dec 30, 2024
@anvmn anvmn self-assigned this Dec 30, 2024
@anvmn
Copy link
Collaborator Author

anvmn commented Dec 30, 2024

Deletion phase:

  • Users: delete all, but admin.
  • catchment_area: leave as is.
  • Health centers: delete, unless it's a sample HC (Rukura/Rwankuba/Test).
  • Villages: delete, unless field_health_center references sample HC.
  • Person:
    • keep per field_shards
    • Change name
    • Empty national ID, phone number, photo
  • CTs to delete:
    • child

    • counseling_schedule

    • counseling_topic

    • mother

    • participant_form

    • report_data

    • resilience_survey

    • sync_incident

    • whatsapp_record

    • nurse

    • device

  • Other CTs: delete, unless sample HC appears at field_shards. If so, make sure field_shards contain only sample HCs.

Post processing phase:

  • Users: create Gizra admin user.
  • Nurses: create one nurse (for all sample HCs) and one chw (for all sample HCs villages).
  • Devices: create 2
  • Set image for:
    • person
    • photo
    • nutrition_photo
    • prenatal_photo
    • well_child_photo

@anvmn anvmn moved this from To do to In progress in E-Heza Development Dec 30, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

1 participant