Update EMR user profile
EMR User APIs
Update EMR user profile
Updates an EMR user profile with validated and normalized data.
Authorization Rules:
- Users can update their own profile.
- Admins can update any profile within their workspace.
Name Handling:
- If
flnis provided, it will be split intofn,mn,ln. - If updating name, ensure either
fnorflnis provided.
PATCH
Update EMR user profile
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Example:
"EC_1431"
Path Parameters
Example:
18661861868168
Body
application/json
Mobile number in E.164 format
Example:
"+919876543210"
Example:
"testuser@eka.care"
Gender
Available options:
M, F, O Example:
"M"
Example:
"2000-01-02"
First name
Example:
"eka"
Middle name
Example:
"kumar"
Last name
Example:
"user"
Full name
Example:
"eka user"
Blood group
Available options:
A+, A-, B+, B-, AB+, AB-, O+, O- Example:
"B+"
Salutation
Example:
"Mr"
Additional arbitrary data as JSON
Example:
{
"preferred_language": "en",
"city": "Bangalore"
}Response
Profile updated successfully
Example:
"Profile updated successfully"

