Skip to main content

Rules

None

Extracted 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

IssueDescriptionDecision
missing_test_datesTest dates (exam date and/or report date) are not presentrejected
invalid_test_datesTest dates are invalid or in incorrect formatrejected
invalid_waiting_periodTest dates do not meet required waiting periodrejected
missing_administratorAdministrator information is missing or incompleterejected
missing_test_resultTest result is not presentrejected
positive_test_resultTest result is positiverejected
indeterminate_test_resultTest result is unclear or indeterminaterejected
too_many_testsDocument contains more tests than expectedrejected
low_confidence_test_resultLow confidence in the extracted test resultflagged
indeterminate_test_typeTest type cannot be clearly determinedflagged