Firestore has a patient data structure, where each patient will have common data fields (name, address, contact) and a subcollection(locations) in which all the locations will be stored with values(DT(timestamp) or duration(start and end timestamps), location{string},patientRef{reference},geopoint{coordinates})
Firestore has a patient data structure, where each patient will have common data fields (name, address, contact) and a subcollection(locations) in which all the locations will be stored with values(DT(timestamp) or duration(start and end timestamps), location{string},patientRef{reference},geopoint{coordinates})