You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check if organization_name already exists for the given address. Register only if not. Otherwise return already registered unverified entity and offer to claim the page and fill in verifiable details.
Validations
ValidatePhoneNumberOrigin: Validate the phone number belongs to the country which has this address.
Validate the Key contact's email domain and store for future verification.
VerifyKeyContactNumber: Generate TOTP to send via sms using SendSMS infra service; Validate the key contact's phone number by sending them a TOTP and matching it user input recvd via sms as the TOTP.
Calculations
Calculate entity's geolocation using Places API (Generic);
Generate TOTP (Generic)
Business Logic
Fetch geolocation data & store metadata from places api and healthsites.io;
Register hospital only when VerifyKeyContactNumber and VerifyKeyContactEmailDomain and ValidatePhoneNumberOrigin are true else return errors on required fields.
Scenario: Hospital wants to claim an unverified registered page;
Domain Design
Core domain: Registrations
Generic domain: Google Places API, healthsites.io
Supporting domain: TBD
Refer to this form use case:
Scenario: Hospitals want to register.
Entity: Unverified Hospital
Required Fields:
Business Rules
Validations
Calculations
Business Logic
Scenario: Hospital wants to claim an unverified registered page;
Entity: Unverified Hospital
Fields:
Scenario: Hospital wants to update the additional detail;
Entity: Unverified Hospital
Additional Fields:
Business Rules
Validations
Calculations
Business Logic
The text was updated successfully, but these errors were encountered: