Create a new Patient by Template name

Create a new Patient by Template name

Email confirmation landing page is required as a header

(*)This parameter is mandatory only if its optional parent attribute is defined. Click here for more information.

Request Body Parameters:

ParameterTypeMandatoryDescriptionExample
_nameobjecttrue
_name.firstNamestringtrue(*)A person's first nameJohn
_name.lastNamestringtrue(*)A person's last nameSmith
_descriptionstringfalseA description, can be up to 5000 characters longLorem Ipsum
_emailstringfalseAn email address in the RFC-5322 specification[email protected]
_phonestringfalseA person's phone An E.164 formatted phone number+12345678901
_localestringfalseA person's locale Locale in the following format: {language-ISO639}-{countryCode-ISO3166} lowercase.en-us
_genderstringfalseA persons gender Values:MALE,FEMALE,UNDISCLOSEDFEMALE
_dateOfBirthstringfalseA person's date of birth A UTC date in the ISO-8601 format2007-12-20
_addressobjectfalse
_address.countryCodestringtrue(*)A 2-letter country code defined in ISO-3166US
_address.statestringfalseA stateMassachusetts
_address.citystringfalseA cityBoston
_address.zipCodestringfalseA zipcode02101
_address.address1stringfalseAn address11 Main St.
_address.address2stringfalseAn address's specificsEntry B, Apartment 1
_mfaobjectfalse
_mfa.enabledbooleantrue(*)MFA login enabled or disabled
_mfa.expirationInMinutesintegerfalseMFA expiration time in minutes
_credentialTypestringfalseWhat type of credentials is used when logging in to the system. Only one type can be used. Default:PASSWORD Values:PASSWORD,OTP
_additionalPhonestringfalseAn E.164 formatted phone number+12345678901
_nationalIdstringfalseA person's national ID123456789
_canLoginbooleanfalseDetermine whether a patient has the ability to login to the system or not
_ownerOrganizationobjecttrue
_ownerOrganization.idstringtrue(*)
_caregiverobjectfalse
_caregiver.idstringtrue(*)
Path Parameters:
ParameterTypeMandatoryDescriptionExample
templateNamestringtruenull
Query Parameters:
ParameterTypeMandatoryDescriptionExample
includeReferencersbooleanfalseOptional query parameter that controls whether the response should include referencers metadata.
When set to true, the response will contain an additional _referencers JSON node with information about entities that reference this entity (e.g. referrer template, attribute, count, etc.).
If this query parameter is not provided, a default behavior will be applied. The default value is configurable and may differ between environments.
Note: Enabling referencers information may impact performance, as additional data needs to be resolved and returned.

This API requires PROTECTED_API permission(s).

Path Params
string
required
Query Params
boolean

Optional query parameter that controls whether the response should include referencers metadata.
When set to true, the response will contain an additional _referencers JSON node with information about entities that reference this entity (e.g. referrer template, attribute, count, etc.).
If this query parameter is not provided, a default behavior will be applied. The default value is configurable and may differ between environments.
Note: Enabling referencers information may impact performance, as additional data needs to be resolved and returned.

Body Params
_name
object
required
string

A description, can be up to 5000 characters long

string

An email address in the RFC-5322 specification

string

A person's phone An E.164 formatted phone number

string

A person's locale Locale in the following format: {language-ISO639}-{countryCode-ISO3166} lowercase.

string
enum

A persons gender

Allowed:
string

A person's date of birth A UTC date in the ISO-8601 format

_address
object
_mfa
object
string
enum

What type of credentials is used when logging in to the system. Only one type can be used. Default:PASSWORD

Allowed:
string

An E.164 formatted phone number

string
length between 1 and 50

A person's national ID

boolean

Determine whether a patient has the ability to login to the system or not

_ownerOrganization
object
required
_caregiver
object
Headers
string
enum
Defaults to async

X-Execution-Mode — Optional header to control execution mode.

Use sync to make the API wait until all background operations complete before returning a response.

If omitted, the request is processed asynchronously (default).

Allowed:
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json