Use the NikoHealth External API to create a new patient record. You can see every endpoint below in Swagger.
Before You Start: Get the Location ID
Every patient must be assigned to an organization location. Set up locations in your NikoHealth environment first, then get their IDs:
GET /v1/organization/locations
{
"Count": 1,
"Items": [
{
"Id": "OL1aebcb00cc4ba87960b4a80d06c842d1",
"Npi": "1881144111",
"Name": "Example Medical Supply LLC",
"Address": "123 Main St, Birmingham, AL 35203"
}
]
}
💡 Check whether the patient already exists before creating one. Use GET /v1/patients with filters such as fullName, dateOfBirth.from / dateOfBirth.to, mrn or phoneNumber.
Create the Patient
POST /v1/patients
Required Fields
Field | Notes |
| From |
|
|
|
|
| YYYY-MM-DD |
|
|
| At least one contact, each with a |
| Requires |
| Requires |
Field Values
Field | Allowed values |
Contact |
|
| Same as contact |
|
|
|
|
|
|
|
|
Common optional fields: Mrn, General.Ssn, General.Height, General.Weight, TagIds (from GET /v1/patient-tags), EmergencyContact, ResponsibleContact, EmployerContact and CustomFields.
⚠️ Address verification: Patient and delivery addresses are verified automatically, and by default the verified address replaces the one you sent.
To keep your original address, set Addresses.UseSuggestedPatientAddress and/or Addresses.UseSuggestedDeliveryAddress to false.
To skip verification entirely, use SkipPatientAddressVerification and/or SkipDeliveryAddressVerification.
Example
POST /v1/patients
{
"LocationId": "OL1aebcb00cc4ba87960b4a80d06c842d1",
"Mrn": "MRN-000123",
"Status": {
"Status": "Active"
},
"General": {
"Name": { "FirstName": "Jane", "LastName": "Doe" },
"DateOfBirth": "1980-05-14",
"Gender": "Female",
"MaritalStatus": "Married"
},
"Contacts": {
"Contacts": [
{ "Type": "Cell", "Value": "2055551234", "CountryCode": "1" },
{ "Type": "Email", "Value": "jane.doe@example.com" }
],
"PreferredContactType": "Cell",
"PreferredCallTime": "Morning"
},
"Addresses": {
"Patient": {
"AddressLine": "123 Main St",
"City": "Birmingham",
"State": "AL",
"Zip": "35203"
},
"Delivery": {
"AddressLine": "123 Main St",
"City": "Birmingham",
"State": "AL",
"Zip": "35203"
},
"UseSuggestedPatientAddress": false,
"UseSuggestedDeliveryAddress": false
}
}
Response: 201 Created
{ "Id": "10000105" }
Save the returned Id. You’ll use it for every patient-level call that follows, such as insurances, documents, notes and eligibility.
Related Endpoints
Endpoint | Purpose |
| Search patients |
| Get one patient |
| Update a patient |
| Add insurance (see Adding Insurance to a Patient Record) |
Common Errors
Code | Meaning |
400 | Invalid request, such as a missing required field, a bad enum value or an invalid address |
401 | The token is missing, expired or invalid |
403 | You don’t have permission to access this resource |
429 | Too many requests |
