Check Patient Document Exists
Perform Check Patient Document Exists through NikoHealth.
nikohealth_check_patient_document_existswritenikohealth
Inputs
- Patient Id
patient_idexpressionrequiredRequired literal value or workflow expression.
- Document Type
document_typeexpressionrequiredRequired literal value or workflow expression.
- Filename Prefix
filename_prefixexpressionrequiredRequired literal value or workflow expression.
- Include Previous Versions
include_previous_versionsbooleanOptional true-or-false value.
Default:
true - Pseudonymized Filename Template
pseudonymized_filename_templateexpressionOptional literal value or workflow expression.
- Pseudonymization Purpose
pseudonymization_purposeexpressionOptional literal value or workflow expression.
Outputs
successSuccessstatusStatusfoundFoundmatched_document_idMatched Document Idmatched_formatMatched Formatmatched_legacy_formatMatched Legacy FormaterrorError
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": [
"patient_id",
"document_type",
"filename_prefix"
],
"properties": {
"patient_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"document_type": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"filename_prefix": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"pseudonymization_purpose": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"include_previous_versions": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"pseudonymized_filename_template": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"found": {},
"status": {},
"success": {},
"matched_format": {},
"matched_document_id": {},
"matched_legacy_format": {}
},
"additionalProperties": true
}