π Privacy Policy β LOVE CARE GLOBAL HOME NURSING
Effective Date: October 28, 2026 β LOVE CARE GLOBAL operates book-nurse.html, book-nurse-50-percent.html, nurses-dashboard.html, my-job-offer.html, client-alerts.html and related services. We are committed to protecting your personal data under Ghana Data Protection Act 2012 (Act 843) and international standards.
π’ ONLINE Nurses Onlyπ Client + Patient Locationπ΅ Custom Tone + SMSπ³ Paystack Payment
1. Information We Collect β Name, Photo, Email, Phone + Time Saved
π€ Clients (Who Pays)
- Identity: Full Name, Photo URL (from Google login or uploaded), Email, Phone Number (+233...), UID
- Location: Client Latitude/Longitude β Captured automatically with your permission (via browser geolocation) when you open book-nurse.html β Used to show nearby ONLINE nurses. Saved as clientLat, clientLng, clientLocationDisplay with timestamp.
- Booking Details: Start Time, End Time, Hours/Day (auto calculated), Care Mode (Daily/Weekly/Monthly), Quantity, Country/Currency (GHS/USD), Transport Fee, Total Amount, Paystack Reference, Payment Status (Full or 50% Now)
- Time Stamp: Every booking saves createdAt, time, date string in Africa/Accra timezone (e.g. October 28, 2026 10:30 AM GMT)
π₯ Patients (Who Receives Care)
- Patient Name, Patient Phone, Patient Address/Location Text, Relationship (Mother, Father, etc.), Patient Latitude/Longitude (can be different from client β e.g. client in Accra booking for mother in Kumasi), Patient Location Source (same_as_client or different_manual)
- This is critical: Nurse navigates to PATIENT location, not client location, when different.
π©ββοΈ Nurses (Who Provides Care) β Only ONLINE Show
- Profile: Full Name, Photo URL, Email, Phone Number, Specialty (Elderly Care, ICU, etc.), Rating, UID, isApproved status
- Online Status: isOnline (true/false), online, isAvailable, status (online/offline), presence, lastSeen, lastActive, lastOnline, onlineAt, updatedAt, lastUpdate β Updated every 2 minutes when ONLINE to keep you visible in book-nurse.html. If lastSeen within 10 minutes, considered ONLINE.
- Location Tracking (Only When ONLINE and On Job): When nurse taps π’ Go ONLINE in nurses-dashboard.html, we save: nurseLat, nurseLng, lat, lng, lastUpdate, isLive:true, bookingId. Shared to nurseLocations/{nurseId}, liveNurseLocations, onlineNurses. Used to show blinking green marker on client map. When nurse goes OFFLINE or job completes, tracking stops. Clients see distance (km) to patient.
- Custom Tone Preference: Nurse can select preset tone (New Booking Beep, Urgent Alarm, Cash Sound, Gentle Bell, Afrobeat) or upload own song MP3/M4A/WAV (base64 saved locally in browser + optionally in nurseTones/{nurseId} with name, type, time). This rings when client books nurse.
- SMS Consent: nurse_sms_enabled (true/false) β If enabled, nurse receives SMS: "NEW BOOKING! Client X booked you! GHS 150..." via Hubtel Ghana.
- Time Saved: Every online status change saves timeStr (e.g. October 28, 2026 10:30 AM) + timestamp for CEO monitoring.
π Alerts & Tone (Client Side)
- Client Tone: lcg_custom_tone_type (preset/custom), lcg_custom_tone_name, lcg_custom_tone_base64 (if custom song uploaded, stored locally in browser localStorage, max 10MB), lcg_custom_tone_time. When nurse accepts/rejects, this tone rings + vibrates + notification + SMS.
- Alerts: bookingId, nurseId, nurseName, nursePhone, nursePhotoUrl, clientName, clientPhone, clientEmail, clientPhotoUrl, patientName, patientLocation, time, read status β Saved in localStorage lcg_alerts + Firebase bookings/myJobOffers.
- SMS Logs: When alert triggers, we save to smsLogs/{id}: to (phone), message, clientName, nurseName, bookingId, time, timeStr, status (sent), photo URLs β For CEO audit and client proof.
2. How We Use Your Information
- Matching: Show ONLY ONLINE nurses within radius (5/10/20/50 km) to clients β Offline nurses hidden, won't pop up. Calculate distance via Haversine formula.
- Navigation: Open Google Maps navigation from nurse current location to PATIENT lat/lng (not client if different). Nurse taps π§ Navigate to PATIENT.
- Booking Flow: Full Payment (GHS) via Paystack β Amount = hourlyRate Γ totalHours + transport. 50% Option β Pay 50% now, 50% after nurse accepts. Creates records in bookings/{bookingId}, myJobOffers/{nurseId}/{bookingId}, ceoBookings/{bookingId}, allBookings, clientBookings, bookingsBy50Percent/FullPayment.
- Notifications: 4-way alerts β Custom tone + Vibration + Browser Notification + SMS (Hubtel). SMS works even if phone silent/data off.
- CEO Monitoring: CEO sees all bookings with client photo name phone email + time + patient location + nurse photo phone + online status in ceo-booking-receiver.html.
- Trust & Safety: Blocked clients, ratings, complaints, SOS alerts.
3. Online Status Logic β When Nurse is Seen
A nurse is considered ONLINE and visible in book-nurse.html and book-nurse-50-percent.html if ANY:
- Explicit flag: nurses/{id}/isOnline = true OR online = true OR isAvailable = true OR status = online/available
- Recent activity: lastSeen / lastActive / lastOnline / onlineAt / updatedAt / lastUpdate within 10 minutes
- In online list: Exists in onlineNurses/{id} OR nursePresence/{id}.status = online
- Has live location: nurseLocations/{id}.lastUpdate within 10 minutes
If none, nurse is OFFLINE and hidden from client selection. Nurses must tap π’ Go ONLINE Now in nurses-dashboard.html to appear. This writes to onlineNurses, nursePresence, nurseLocations and updates every 2 mins. Going OFFLINE removes from those nodes.
4. Location Data β Client + Patient + Nurse
- Client Location: Captured once via navigator.geolocation with your permission. You can drag map to adjust. Saved as clientLatInput, clientLngInput, clientLocationDisplay. Used to find nearby nurses. You can deny permission and manually set location via map center.
- Patient Location: Can be same as client (checkbox) or different β Set via "Set Patient Location = Map Center" button. Saved as patientLatInput, patientLngInput, patientLocationDisplay, patientLocationText, serviceLocation, destination. Nurse MUST navigate to this location. This allows family bookings across cities.
- Nurse Location: Only tracked when nurse is ONLINE and has accepted job. Uses watchPosition with highAccuracy. Shared to nurseLocations, liveNurseLocations, ceoBookings nurseLat/nurseLng. Stops when job completed or nurse goes OFFLINE. Clients see "π X km β Patient location" and can tap πΊοΈ View Map.
- Retention: Location data kept for booking duration + 90 days for disputes, then anonymized.
5. SMS & Custom Tone
- SMS via Hubtel Ghana: When client books nurse, nurse gets SMS if nurse_sms_enabled = true. When nurse accepts/rejects, client gets SMS if lcg_sms_enabled = true. Message includes bookingId, names, amount, phone. Saved in smsLogs with photo name phone email + time + timeStr (Africa/Accra). You can disable SMS via checkbox, but tone + vibration + notification still works.
- Custom Tone: Preset tones play via Web Audio API (Oscillator). Custom songs uploaded from phone (file input accept audio/*) β Converted to base64 data URL and stored in localStorage (lcg_custom_tone_base64 / nurse_tone_base64). Max 10MB, recommend <3MB for localStorage quota. Audio played via <audio> element volume 1.0. You can preview before saving. Clear via Clear button.
- Permissions: Notifications permission requested β If granted, we show Notification with icon when booking event occurs. Vibration permission via navigator.vibrate pattern.
6. Payments β Paystack
We use Paystack (pk_live_f17ae...) for Ghana GHS and USD. When you click Pay, PaystackPop.setup({key, email, amount (kobo = amountΓ100), currency, ref: bookingId+Date.now()}). On callback, we save paystackRef, paymentMethod (paystack_full / paystack_50), status (pending_full_payment / pending_50_percent), amount, amountSplit (nurse 80%, CEO 20%). We do NOT store card numbers β Paystack handles PCI compliance. Transport fee included in total.
7. Data Sharing
- Between Client & Nurse: When booking confirmed, client sees nurse full name, phone, photo, rating, specialty, online status, distance. Nurse sees client name, phone, email, photo, patient name, phone, address, patient lat/lng, booking amount, time. This is necessary for care delivery and navigation.
- CEO/Admin: CEO sees all bookings with full details for assignment, payout, dispute resolution in ceo-booking-receiver.html, ceoBookings, allBookings.
- Third Parties: Paystack (payment), Google Maps (navigation via https://www.google.com/maps/dir/?api=1&destination=lat,lng), Hubtel (SMS), Firebase (database, hosting), Leaflet OSM (map tiles). No selling of data.
- Public: Only nurse public profile (name, photo, rating, specialty, isOnline status) shown to clients searching β No email/phone until booking accepted.
8. Data Security & Rules
Firebase Realtime Database rules: .read:true, .write:true with indexing on isOnline, lastSeen, status, phone, email, bookingId, time. This allows real-time online filtering. In production, restrict with auth checks. All traffic via HTTPS. Photo URLs may be from Google login or ui-avatars.com fallback. LocalStorage data (tones, alerts) stored in browser only β Clear via browser settings.
New Nodes Added (October 2026): onlineNurses, nursePresence, liveNurseLocations, smsLogs, nursesByPhone, nurseTones, clientTones β All .read/.write true with indexing on isOnline, lastSeen, status β Required for ONLY ONLINE nurses feature and SMS + Tone alerts.
9. Your Rights β Ghana Data Protection Act
- Access: Request copy of your data (name, photo, email, phone, bookings, location history) via contact.
- Correction: Edit in nurses-dashboard.html (Save Name Photo Email Phone + Time) or client profile.
- Deletion: Request deletion β We will delete from nurses/{id}, onlineNurses, nursePresence, nurseLocations, clients, bookings (anonymize after 90 days) β Except financial records required by law (5 years).
- Object to Tracking: Go OFFLINE anytime β Stops location sharing and hides you from book-nurse.html. Client can deny geolocation permission.
- Opt-out SMS: Uncheck "Also send SMS" in tone picker β Saves lcg_sms_enabled / nurse_sms_enabled = false β No SMS sent.
- Complaint: Contact Data Protection Commission Ghana if unsatisfied.
10. Children's Data
Patient may be child β Patient name, relationship (Child) saved with parent consent. Client (parent/guardian) provides consent via booking. We do not knowingly collect data from children under 13 without parental consent. SOS feature for emergencies.
11. Retention
- Online status: lastSeen updated every 2 mins while ONLINE, removed when OFFLINE. Considered offline if no update within 10 mins.
- Bookings: Kept for 5 years for tax/legal.
- Locations: Live location removed when job completed or nurse OFFLINE. Booking location (patient lat/lng) kept with booking.
- Tones: LocalStorage until cleared. SMS logs kept 2 years.
- Photos: Until account deleted.
12. Changes
We may update this policy when adding features like ONLY ONLINE nurses filter, custom tone + SMS, 50% payment. Updated date shown at top. Continued use after changes means acceptance. Major changes notified via alert with tone + SMS!
13. Contact β LOVE CARE GLOBAL
Email: lovecareglobal@gmail.com
Phone: +233502957280 (Client example) / +233... (Nurse)
Location: Accra, Ghana β Serving all regions (Client in Accra can book for patient in Kumasi)
Website: lovecareglobal.com
Data Protection Officer: CEO β ceo-booking-receiver.html
Firebase Project: web-care-618e8 β Realtime Database
By using book-nurse.html, you agree to show ONLY ONLINE nurses β Offline nurses hidden. By going ONLINE in nurses-dashboard.html, you agree to share name, photo, email, phone, location, time, online status for client booking + navigation + SMS + custom tone alerts.