예제 #1
0
        /// <summary>
        /// Creates the claim.
        /// </summary>
        /// <param name="encounter">The encounter.</param>
        /// <param name="payor">The payor.</param>
        /// <param name="chargeAmount">The charge amount.</param>
        /// <param name="patientAccount">The patient account.</param>
        /// <param name="placeOfService">The place of service.</param>
        /// <param name="serviceDate">The service date.</param>
        /// <returns>
        /// A claim object.
        /// </returns>
        public Claim CreateClaim(Encounter encounter, Payor payor, Money chargeAmount, PatientAccount patientAccount, Location placeOfService, DateTime serviceDate )
        {
            var claim = new Claim (encounter, payor, chargeAmount, patientAccount, placeOfService, serviceDate );

            _claimRepository.MakePersistent ( claim );

            return claim;
        }
예제 #2
0
 /// <summary>
 /// Revises the claim.
 /// </summary>
 /// <param name="claim">The claim.</param>
 public virtual void ReviseClaim(Claim claim)
 {
     Check.IsNotNull(claim, () => Claim);
     Claim = claim;
 }
예제 #3
0
 /// <summary>
 ///   Removes the claim.
 /// </summary>
 /// <param name="claim"> The claim. </param>
 public virtual void RemoveClaim(Claim claim)
 {
     Check.IsNotNull ( claim, "Claim is required." );
     _claims.Remove ( claim );
     NotifyItemRemoved ( () => Claims, claim );
 }
예제 #4
0
 /// <summary>
 ///   Adds the claim.
 /// </summary>
 /// <param name="claim"> The claim. </param>
 public virtual void AddClaim(Claim claim)
 {
     Check.IsNotNull ( claim, "Claim is required." );
     claim.ReviseClaimBatch ( this );
     _claims.Add ( claim );
     NotifyItemAdded ( () => Claims, claim );
 }
예제 #5
0
 /// <summary>
 ///   Destroys the clinical case.
 /// </summary>
 /// <param name="claim"> The claim. </param>
 public void DestroyClinicalCase( Claim claim )
 {
     _claimRepository.MakeTransient ( claim );
 }