/// <summary>
 ///   Initializes a new instance of the <see cref="HealthCareClaim837Professional" /> class.
 /// </summary>
 /// <param name="claimBatch"> The claim batch. </param>
 /// <param name="document"> The document. </param>
 protected internal HealthCareClaim837Professional(ClaimBatch claimBatch, byte[] document)
 {
     Check.IsNotNull(claimBatch, () => ClaimBatch);
     Check.IsNotNull(document, () => Document);
     ClaimBatch = claimBatch;
     Document   = document;
 }
 /// <summary>
 ///   Initializes a new instance of the <see cref="HealthCareClaim837Professional" /> class.
 /// </summary>
 /// <param name="claimBatch"> The claim batch. </param>
 /// <param name="document"> The document. </param>
 protected internal HealthCareClaim837Professional( ClaimBatch claimBatch, byte[] document )
 {
     Check.IsNotNull ( claimBatch, () => ClaimBatch );
     Check.IsNotNull ( document, () => Document );
     ClaimBatch = claimBatch;
     Document = document;
 }
        /// <summary>
        ///   Creates the health care claim837 professional.
        /// </summary>
        /// <param name="claimBatch"> The claim batch. </param>
        /// <param name="document"> The document. </param>
        /// <returns> The Health Care Claim 837 Professional.</returns>
        public HealthCareClaim837Professional CreateHealthCareClaim837Professional(ClaimBatch claimBatch, byte[] document)
        {
            Check.IsNotNull(claimBatch, "Claim Batch is required.");
            Check.IsNotNull(document, "Document is required.");

            var healthCareClaim837Professional = new HealthCareClaim837Professional(claimBatch, document);

            _healthCareClaim837ProfessionalRepository.MakePersistent(healthCareClaim837Professional);

            return(healthCareClaim837Professional);
        }
        /// <summary>
        ///   Creates the health care claim837 professional.
        /// </summary>
        /// <param name="claimBatch"> The claim batch. </param>
        /// <param name="document"> The document. </param>
        /// <returns> The Health Care Claim 837 Professional.</returns>
        public HealthCareClaim837Professional CreateHealthCareClaim837Professional( ClaimBatch claimBatch, byte[] document )
        {
            Check.IsNotNull ( claimBatch, "Claim Batch is required." );
            Check.IsNotNull ( document, "Document is required." );

            var healthCareClaim837Professional = new HealthCareClaim837Professional ( claimBatch, document );

            _healthCareClaim837ProfessionalRepository.MakePersistent ( healthCareClaim837Professional );

            return healthCareClaim837Professional;
        }
Exemplo n.º 5
0
        /// <summary>
        ///   Creates the claim batch.
        /// </summary>
        /// <param name="chargeAmount"> The charge amount. </param>
        /// <param name="payorType"> The payor. </param>
        /// <returns> Claim Batch </returns>
        public ClaimBatch CreateClaimBatch(Money chargeAmount, PayorType payorType)
        {
            Check.IsNotNull(chargeAmount, "Charge Amount is required.");
            Check.IsNotNull(payorType, "Payor Type is required.");

            var claimBatchBatch = new ClaimBatch(chargeAmount, payorType);

            _claimBatchRepository.MakePersistent(claimBatchBatch);

            return(claimBatchBatch);
        }
Exemplo n.º 6
0
 /// <summary>
 ///   Revises the claim batch.
 /// </summary>
 /// <param name="claimBatch"> The claim batch. </param>
 public virtual void ReviseClaimBatch(ClaimBatch claimBatch)
 {
     Check.IsNotNull(claimBatch, () => ClaimBatch);
     ClaimBatch = claimBatch;
 }
Exemplo n.º 7
0
 /// <summary>
 ///   Revises the claim batch.
 /// </summary>
 /// <param name="claimBatch"> The claim batch. </param>
 public virtual void ReviseClaimBatch(ClaimBatch claimBatch)
 {
     Check.IsNotNull ( claimBatch, () => ClaimBatch );
     ClaimBatch = claimBatch;
 }
Exemplo n.º 8
0
 /// <summary>
 ///   Destroys the clinical case.
 /// </summary>
 /// <param name="claimBatch"> The ClaimBatch. </param>
 public void DestroyClinicalCase(ClaimBatch claimBatch)
 {
     _claimBatchRepository.MakeTransient(claimBatch);
 }