Rules
NoneExtracted data
person: {
name: {
source: string | null;
extracted: string | null;
status: 'match' | 'mismatch' | 'not_present';
},
dob: {
source: string | null;
extracted: string | null;
status: 'match' | 'mismatch' | 'not_present';
}
},
tests: {
type: 'skin' | 'blood' | 'xray';
result: 'negative' | 'positive';
exam_date: string | null; // YYYY-MM-DD
report_date: string | null; // YYYY-MM-DD
administrator: {
name: string | null;
facility: string | null;
phone: string | null;
address: string | null;
signature: 'present' | 'not_present';
}
}[]
Issues
| Issue | Description | Decision |
|---|---|---|
missing_test_dates | Test dates (exam date and/or report date) are not present | rejected |
invalid_test_dates | Test dates are invalid or in incorrect format | rejected |
invalid_waiting_period | Test dates do not meet required waiting period | rejected |
missing_administrator | Administrator information is missing or incomplete | rejected |
missing_test_result | Test result is not present | rejected |
positive_test_result | Test result is positive | rejected |
indeterminate_test_result | Test result is unclear or indeterminate | rejected |
too_many_tests | Document contains more tests than expected | rejected |
low_confidence_test_result | Low confidence in the extracted test result | flagged |
indeterminate_test_type | Test type cannot be clearly determined | flagged |
