Files
csharpcode/patientman/PatientMan/Classes/clsArvStatus.cs
2025-08-02 05:20:17 +07:00

57 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PatientMan
{
class ArvStatus
{
public string PatientId { get; set; }
public int month { get; set; }
public int remonth { get; set; }
public string ExamDes { get; set; }
public string ArvDes { get; set; }
public string OtherStatus { get; set; }
public string CD4 { get; set; }
public string Regimenid { get; set; }
public string EndReason { get; set; }
private int _col;
public string getArvDes()
{
if (ArvDes == string.Empty)
return "KK";
else return ArvDes;
}
public int getCol()
{
if (month==0) return 13;
if (month % 6 == 0 && month!=0)
{
_col = 13+ month + month / 6 - 1;
}
else
{
_col = 13 + month + month / 6;
}
return _col;
}
}
class prevArvStatus
{
public int quarter { get; set; }
public int year { get; set; }
public string PreArvDes { get; set; }
public string OtherStatus { get;set; }
public int col { get; set; }
public string CD4 { get; set; }
}
}