{"message":"IPD Billing Validation System","version":"1.0.0","endpoints":{"validate_billing_get":"GET /api/validate-billing?TenantID={tenant_id}&BILLID={bill_id} (BILLID required, TenantID optional)","validate_billing_post":"POST /api/validate-billing (with JSON body: {\"TenantID\": \"...\", \"BILLID\": \"...\", \"selectedRules\": [...]} - BILLID required)","available_rules":"GET /api/available-rules (returns list of available validation rules)"},"data_source":"API (https://histestapi.relyhealtherp.com/api/patient/ipbill) + Database Cross-Validation","features":["Fetch billing data from API using TenantID and BILLID","Cross-validate with database tables","DOA/DOD validation from database","Charges validation from IPBILLDTL table","OT Notes validation from PatientClinicalLOG","Rules engine from BillRuleMaster table","Selective rule validation - validate only selected rules"]}