Find Similar Patient Document
Perform Find Similar Patient Document through GenHealth.
genhealth_find_similar_documentwrite
Use in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "GenHealth",
"params": {
"min_shingles": 50,
"lookback_days": 14,
"duplicate_threshold": 0.85,
"containment_threshold": 0.9
},
"handler": "genhealth_find_similar_document"
}Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Lookback Days
lookback_daysnumberOptional numeric value.
Default:
14 - Duplicate Threshold
duplicate_thresholdnumberOptional numeric value.
Default:
0.85 - Containment Threshold
containment_thresholdnumberOptional numeric value.
Default:
0.9 - Min Shingles
min_shinglesnumberOptional numeric value.
Default:
50
Outputs
successSuccessdocument_idDocument IddecisionDecisionreasonReasonis_duplicateIs Duplicateneeds_reviewNeeds Revieworiginal_document_idOriginal Document IdjaccardJaccardincoming_containmentIncoming Containmentcandidates_comparedCandidates ComparederrorError
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"
},
"min_shingles": {
"type": "number",
"default": 50,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"lookback_days": {
"type": "number",
"default": 14,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"duplicate_threshold": {
"type": "number",
"default": 0.85,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"containment_threshold": {
"type": "number",
"default": 0.9,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"reason": {},
"jaccard": {},
"success": {},
"decision": {},
"document_id": {},
"is_duplicate": {},
"needs_review": {},
"candidates_compared": {},
"incoming_containment": {},
"original_document_id": {}
},
"additionalProperties": true
}