Patient Matching Middleware API