patch https://example.com/organization/v1/users/patients/
Update Patient
Performs partial update, if a field is specified in the request it will be updated
Custom attributes can be specified in the request body
The below table describes the request parameters:
Parameter | Type | Mandatory | Description |
---|---|---|---|
_id | UUID | true | The id of the created patient |
_name.firstName | String | true | |
_name.lastName | String | true | |
_description | String | false | |
_email | String | false | An email address in the RFC-5322 specification |
_phone | String | false | An E.164 formatted phone number |
_locale | String | false | |
_gender | String | false | Supported values are: MALE, FEMALE, UNDISCLOSED |
_dateOfBirth | LocalDate | false | A UTC date in the ISO-8601 format |
_address | JSON | false | An object that contains country code, state, city, zip code, and address |
_mfa | JSON | false | An object that contains expiration in minutes and if enabled |
_additionalPhone | String | false | |
_nationalId | String | false | A person's national ID |
_ownerOrganization.id | UUID | true | |
_caregiver.id | UUID | false | |
<customAttributes1> | <customAttributes1Type> | false | Custom attribute 1 value |
<customAttributesN> | <customAttributesNType> | false | Custom attribute N value |