Spaces:
Sleeping
Sleeping
KevinIsInCoding
feat: structured eligibility assessment with per-criterion verdicts (#14)
e15864e unverified | { | |
| "type": "object", | |
| "required": ["assessments", "missing_data_keys"], | |
| "properties": { | |
| "assessments": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "required": ["criterion_key", "verdict", "reason", "confidence", "raw_criteria"], | |
| "properties": { | |
| "criterion_key": { "type": "string" }, | |
| "verdict": { "enum": ["pass", "fail", "unknown"] }, | |
| "reason": { "type": "string" }, | |
| "patient_value": { "type": ["string", "null"] }, | |
| "confidence": { "enum": ["medium", "low"] }, | |
| "raw_criteria": { "type": "string" } | |
| } | |
| } | |
| }, | |
| "missing_data_keys": { | |
| "type": "array", | |
| "items": { "type": "string" } | |
| } | |
| } | |
| } | |