Manage PHR App User’s Profile
Functionality Overview
PHR applications need to have a (this) section, where users can view their demographic details and update (edit) their information.
The section should also display ABHA QR code as part of the Profile information
They should also be able to set/change password from this section.
Similarly, they should also have an option to set/change consent pin.
The user should also be able to upload a profile photo from this section.
Test Cases
Display Profile Details with status as KYC Verified / Self-Declared
S.No | Functionality | Test Case | Steps To Be Executed |
---|---|---|---|
1 | Mandatory Showing individual’s profile details in the PHR app | Individual’s profile is displayed in the PHR app with their status such as KYC verified and Self-Declared. | Display all profile details filled by the individual, when individual click on Profile after Login. Also display KYC Verified with green tick mark for those profiles where ABHA address is linked with ABHA number. Display Self Delared with exclaimation mark for those profiles where ABHA address is not linked with ABHA number. ABHA number is visible in KYC verified profile and ABHA number is not visible in Self-Declared profile. |
Download ABHA address card in the PDF format
S.No | Functionality | Test Case | Steps To Be Executed |
---|---|---|---|
1 | Mandatory Download ABHA address card | Post clicking on “QR Code” icon, an individual can scan QR Code, share ABHA address card and download ABHA address card | Following fields will be displayed in the ABHA address card: Profile Photo, Full Name, ABHA number - It will be displayed if, 14-digit Health ID number is linked to the ABHA address. ABHA number is displayed as XX-XXXX-XXXX-3421 (Hide starting 12 digits of ABHA number), ABHA address - It will be displayed as XXXXam@abdm (Hide starting alphabets of ABHA address), QR Code, Date of Birth, Gender, Mobile Number - It will be displayed as XXXXXX2278 (Hide starting 6 digits of ABHA number) |
Consent Pin
S.No | Functionality | Test Case | Steps To Be Executed |
---|---|---|---|
1 | Mandatory Set Consent Pin | Validate OTP received on registered mobile number | Check that OTP is received on registered mobile number. |
2 | Mandatory Set Consent Pin | Validate OTP received on registered mobile number | Resend OTP option is provided,if OTP is not received on mobile in 60 seconds |
3 | Mandatory Set Consent Pin | Enter 4 digit consent pin | Check that only 4 digit consent pin is accepted |
4 | Mandatory Set Consent Pin | Confirm Consent Pin | Re-enter the consent pin to confirm the consent pin. Check that confirmation of consent pin is taken by re-entering it. |
5 | Mandatory Set Consent Pin | Display message, so that an individual knows that consent pin is set successfully | Display message “Congratulations! Your consent pin is successfully updated”. Below this message “Go Back To Home Screen” tab is provided to navigate the individual to home screen. |
6 | Mandatory Reset Consent Pin | Enter 4 digit old consent pin | Check if old consent pin entered is correct |
7 | Mandatory Reset Consent Pin | Enter 4 digit new consent pin | Check that only 4 digit consent pin are accepted |
8 | Mandatory Reset Consent Pin | Confirm new consent pin | Re-enter the consent pin to confirm the consent pin. Check that confirmation of consent pin is taken by re-entering it. |
9 | Mandatory Reset Consent Pin | Display message, so that an individual knows that consent pin is updated | Display message Congratulations! Your new consent pin is successfully updated. Below this message “Go Back To Home Screen tab is provided to navigate the individual to home screen. |
10 | Mandatory Forgot Consent Pin | Enter OTP | Check that OTP is received on registered mobile number. |
11 | Mandatory Forgot Consent Pin | Resend OTP, if OTP is not received in 60 seconds | Check that resend OTP option is provided, if OTP is not received on mobile device |
12 | Mandatory Forgot Consent Pin | Enter 4 digit new consent pin | 4 digit consent pin is only accepted |
13 | Mandatory Forgot Consent Pin | Confirm new consent pin | Re-enter the consent pin to confirm the consent pin. Check that confirmation of consent pin is taken by re-entering it. |
14 | Mandatory Forgot Consent Pin | Display message, so that an individual knows that consent pin is updated | Display message “Congratulations! Your new consent pin is successfully updated”. Below this message “Go Back To Home Screen” tab is provided to navigate the individual to home screen. |
Edit Profile
S.No | Functionality | Test Case | Steps To Be Executed |
---|---|---|---|
1 | Mandatory Edit profile for KYC verified profiles | Update mobile number | Mobile OTP is received on updated mobile number. Post mobile OTP validation, mobile no is updated. |
2 | Mandatory Edit profile for KYC verified profiles | Update email ID | E-mail OTP is received on updated e-mail ID. Post e-mail OTP validation, e-mail ID is updated. |
3 | Mandatory Edit profile for KYC verified profiles | Update address | All fields of address such as address line 1, district, state and pin-code can be updated. |
4 | Mandatory Edit profile for Self-Declared profile | Update Photo | Photo can be edited by an individul taking the picture from mobile camera / upload photo from gallery of the device |
5 | Mandatory Edit profile for Self-Declared profile | Update Full Name | Update First Name, Middle name and Last Name |
6 | Mandatory Edit profile for Self-Declared profile | Update Gender | Update Gender |
7 | Mandatory Edit profile for Self-Declared profile | Update DoB | Update Day, Month and Year |
8 | Mandatory Edit profile for Self-Declared profile | Update Mobile No | Mobile OTP is received on updated mobile number. Post mobile OTP validation, mobile number is updated. |
9 | Mandatory Edit profile for Self-Declared profile | Update Email ID | E-mail OTP is received on updated e-mail ID. Post e-mail OTP validation, e-mail ID is updated. |
10 | Mandatory Edit profile for Self-Declared profile | Update Address | All fields of address such as address line 1, district, state and pin-code can be updated. |
API Sequence Diagram
API Information Request Response
Utilities
For encrypting the mobileNumber/AadharNumber/otp refer the link
- To get public key for encrypting refer the link
For converting an image into Base64 string refer the link
Profile Collection API
1. Get User Details
BASE URLs: https://dev.abdm.gov.in/cm
2. Update User Profile Details
BASE URLs: https://dev.abdm.gov.in/cm
3. Reset Password
BASE URLs: https://dev.abdm.gov.in/cm
4. Get Patient’s QR Code
BASE URLs: https://dev.abdm.gov.in/cm
Manage Consent Pin
5. Create Transaction Pin
BASE URLs: https://dev.abdm.gov.in/cm
6. Verify Pin
BASE URLs: https://dev.abdm.gov.in/cm
Note:
scope (in request body):
- consentrequest.approve for Grant Consent
- consent.revoke for Revoke Consent
- profile.changepin for Change PIN
- consent.autoapprove for Autoapprove all consents for HIU
7. Change Pin
BASE URLs: https://dev.abdm.gov.in/cm
8. Generate OTP For Forgot Pin
BASE URLs: https://dev.abdm.gov.in/cm
9. Validate OTP For Forgot Pin
BASE URLs: https://dev.abdm.gov.in/cm
10. Reset Pin
BASE URLs: https://dev.abdm.gov.in/cm