Beispiel #1
0
        public void X835_GetStatus_Unprocessed()
        {
            //Unprocessed => All ERA claims are one of the following; not attached, do not have financial information entered or are manually detached.
            _claimPrimaryJustinSmith.ClaimStatus      = "W";     //Other methods have entered payment already, spoof matched but not recieved claims.
            _x835.ListClaimsPaid[0].IsAttachedToClaim = true;
            _x835.ListClaimsPaid[0].ClaimNum          = _claimPrimaryJustinSmith.ClaimNum;
            _x835.ListClaimsPaid[1].IsAttachedToClaim = true;
            _x835.ListClaimsPaid[1].ClaimNum          = 0;
            _x835.ListClaimsPaid[2].IsAttachedToClaim = true;
            _x835.ListClaimsPaid[2].ClaimNum          = 0;
            List <Claim> listClaims = new List <Claim>()
            {
                _claimPrimaryJustinSmith, _claimPrimaryJacobJones, _claimPrimaryStephanieMayer
            };
            List <long> listPatNums = new List <long>()
            {
                _claimPrimaryJustinSmith.PatNum, _claimPrimaryJacobJones.PatNum, _claimPrimaryStephanieMayer.PatNum
            };
            X835Status status = _x835.GetStatus(listClaims, ClaimProcs.Refresh(listPatNums), _listEtrans835Attaches);

            _claimPrimaryJustinSmith.ClaimStatus = "R";          //Revert value back to what it was, this value was determined by TryEnterPayment(...)
            Assert.AreEqual(X835Status.Unprocessed, status);
        }