Beispiel #1
0
        //public IEnumerable<RFARequestCPTCode> getRFAReferralCPTCodesByReferralID(int _rfaReferralId)
        //{
        //    return _rfaReferralCPTCodeRepo.GetAll(hp => hp.RFAReferralID == _rfaReferralId);
        //}
        #endregion

        #region RFARecord Splitting
        public int addRFARecordSplitting(RFARecordSplitting _rfaRecordSplitting)
        {
            int _RFARecSpltID = _rfaRecordSplittingRepo.Add(_rfaRecordSplitting).RFARecSpltID;

            if (_rfaRecordSplitting.RFARequestID != null)
            {
                _rfaRecordSplitting.RFAReferralID = _rfaRequestRepo.GetById(_rfaRecordSplitting.RFARequestID.Value).RFAReferralID.Value;
                _rfaRecordSplitting.RFARecSpltID  = _RFARecSpltID;
                _rfaRecordSplittingRepo.Update(_rfaRecordSplitting, (rk => rk.RFAReferralID), (rk => rk.RFARecSpltID));
            }
            return(_RFARecSpltID);
        }
Beispiel #2
0
        public void addRFARecordSplitting()
        {
            RFARecordSplitting _rfaRecordSplitting = new RFARecordSplitting
            {
                AuthorName         = "AuthorName",
                DocumentCategoryID = 1,
                DocumentTypeID     = 1,
                PatientClaimID     = 168,
                RFAFileName        = "RFAFileName.pdf",
                RFARecDocumentDate = System.DateTime.Now,
                RFARecDocumentName = "RFARecDocumentName.pdf",
                RFARecPageEnd      = 1,
                RFARecPageStart    = 1,
                RFARecSpltSummary  = "RFARecSpltSummary",
                RFARequestID       = null,
                RFAUploadDate      = System.DateTime.Now,
                UserID             = 1
            };
            var data = _intakeRepository.addRFARecordSplitting(_rfaRecordSplitting);

            Assert.IsTrue(data != null, "failed");
        }
Beispiel #3
0
 public int udateRFARecordSplittingRecordForMedicalRec(RFARecordSplitting _rfaRecordSplitting)
 {
     return(_rfaRecordSplittingRepo.Update(_rfaRecordSplitting, hp => hp.DocumentTypeID, hp => hp.RFARecDocumentName, hp => hp.RFARecDocumentDate, hp => hp.RFARecSpltSummary, hp => hp.AuthorName));
 }
Beispiel #4
0
 public int udateRFARecordSplitting(RFARecordSplitting _rfaRecordSplitting)
 {
     return(_rfaRecordSplittingRepo.Update(_rfaRecordSplitting));
 }