Overwriting data in Firebase

I suggest using this data structure on the Firebase side:

  • meds
    • aspirin : true
    • Lipitor : true
    • metoprolol : true

so you could retrieve a list of med names by setting your bucket to meds and
requesting a taglist (meds/aspirin, meds/Lipitor, meds/metoprolol) and extracting the last item from splitting each tag at /

This organization allows you to add/remove meds individually.

Firebase.StoreValue("meds/PreparationH", true)
Firebase.ClearValue("meds/aspirin")

http://code.appinventor.mit.edu/reference/components/experimental.html#FirebaseDB