Upload to server
uploading
This commit is contained in:
56
patientman/PatientMan/Classes/clsArvStatus.cs
Normal file
56
patientman/PatientMan/Classes/clsArvStatus.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
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; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user