public TaggedClaimArray(string tag, Claim mdo) { this.tag = tag; if (mdo == null) { this.count = 0; return; } this.claims = new ClaimTO[1]; this.claims[0] = new ClaimTO(mdo); this.count = 1; }
public TaggedClaimArray(string tag, Claim[] mdos) { this.tag = tag; if (mdos == null) { this.count = 0; return; } this.claims = new ClaimTO[mdos.Length]; for (int i = 0; i < mdos.Length; i++) { this.claims[i] = new ClaimTO(mdos[i]); } this.count = claims.Length; }
public ClaimTO(Claim mdo) { this.id = mdo.Id; this.patientId = mdo.PatientId; this.patientName = mdo.PatientName; this.patientSsn = mdo.PatientSSN; this.episodeDate = mdo.EpisodeDate; this.timestamp = mdo.Timestamp; this.lastEditTimestamp = mdo.LastEditTimestamp; this.insuranceName = mdo.InsuranceName; this.cost = mdo.Cost; this.billableStatus = mdo.BillableStatus; this.condition = mdo.Condition; this.serviceConnectedPercent = mdo.ServiceConnectedPercent; this.consultId = mdo.ConsultId; this.comment = mdo.Comment; }