Find or Create Patient
Perform Find or Create Patient through NikoHealth.
nikohealth_find_or_create_patientInputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Location Id
location_idexpressionOptional literal value or workflow expression.
- Location Id Select
location_id_selectselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Auto Update Existing Patient Fields
auto_update_existing_patient_fieldsbooleanOptional true-or-false value.
Default:
false - Append Missing Phone Contacts
append_missing_phone_contactsbooleanOptional true-or-false value.
Default:
false - Duplicate Match Mode
duplicate_match_modeselectOptional selected identifier or value.
Default:
"strict"Options: Strict ("strict"), Exact First Name, Last Name, and DOB ("exact_identity"), Review Near Matches ("review_near_matches"), Match on Available Identifiers (name-only when no DOB) ("available_identifiers")
- Patient Genhealth Tag Id
patient_genhealth_tag_idtextOptional text value.
- Patient Genhealth Tag Id Select
patient_genhealth_tag_id_selectselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Mark Signature On File
mark_signature_on_filebooleanOptional true-or-false value.
Default:
false - Existing Patient Signature Date
existing_patient_signature_datedateOptional date in YYYY-MM-DD format.
- Overwrite Existing Signature Date
overwrite_existing_signature_datebooleanOptional true-or-false value.
Default:
true - Set Responsible Contact To Self
set_responsible_contact_to_selfbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccesspatient_idPatient Idfirst_nameFirst Namelast_nameLast NamebirthdayBirthdayis_new_patientIs New Patientdocument_idDocument Idapplied_patient_tag_idsApplied Patient Tag Idspatient_tag_writeback_statusPatient Tag Writeback Statuspatient_tag_warningPatient Tag Warningpatient_check_statusPatient Check Statusambiguous_patient_matchAmbiguous Patient Matchambiguous_patient_match_tag_idAmbiguous Patient Match Tag Idresponsible_contact_updatedResponsible Contact UpdatederrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"document_id"
],
"properties": {
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"location_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"location_id_select": {
"type": "string",
"description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "select"
},
"duplicate_match_mode": {
"enum": [
"strict",
"exact_identity",
"review_near_matches",
"available_identifiers"
],
"type": "string",
"default": "strict",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"mark_signature_on_file": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"patient_genhealth_tag_id": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"append_missing_phone_contacts": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"existing_patient_signature_date": {
"type": "string",
"format": "date",
"description": "Optional date in YYYY-MM-DD format.",
"x-workflow-field-type": "date"
},
"patient_genhealth_tag_id_select": {
"type": "string",
"description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "select"
},
"set_responsible_contact_to_self": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"overwrite_existing_signature_date": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"auto_update_existing_patient_fields": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"birthday": {},
"last_name": {},
"first_name": {},
"patient_id": {},
"document_id": {},
"is_new_patient": {},
"patient_tag_warning": {},
"patient_check_status": {},
"ambiguous_patient_match": {},
"applied_patient_tag_ids": {},
"responsible_contact_updated": {},
"patient_tag_writeback_status": {},
"ambiguous_patient_match_tag_id": {}
},
"additionalProperties": true
}