function(doc) {
    if (doc.type === "child" && doc.scan_status !== 'scan_complete' && doc.domain === "uth-rhd") {
        emit([doc.domain, 'VH014466XK', doc.exam_number, doc.scan_time], doc._id);
    }
}

function(doc) {
    if (doc.type === "child" && doc.scan_status !== 'scan_complete' && doc.domain === "uth-rhd") {
        emit([doc.domain, doc.scanner_serial, doc.exam_number], doc._id);
    }
}

Add scanner serial to view
Add scanner serial to view
