private EMKServise.DiagnosisInfo ConvertDiagnosisInfo(DiagnosisInfo c) { if ((object)c != null) { EMKServise.DiagnosisInfo edi = new EMKServise.DiagnosisInfo(); if (c.Comment != "") { edi.Comment = c.Comment; } if (c.DiagnosedDate != DateTime.MinValue) { edi.DiagnosedDate = c.DiagnosedDate; } edi.DiagnosisChangeReason = c.DiagnosisChangeReason; edi.DiagnosisStage = c.DiagnosisStage; edi.IdDiagnosisType = c.IdDiagnosisType; edi.IdDiseaseType = c.IdDiseaseType; edi.IdDispensaryState = c.IdDispensaryState; edi.IdTraumaType = c.IdTraumaType; edi.MedicalStandard = c.MedicalStandard; edi.MESImplementationFeature = c.MESImplementationFeature; edi.MkbCode = c.MkbCode; return(edi); } else { return(null); } }
private EMKServise.DiagnosisInfo ConvertDiagnosisInfo(DiagnosisInfo c) { if ((object)c != null) { EMKServise.DiagnosisInfo edi = new EMKServise.DiagnosisInfo(); if (c.Comment != "") edi.Comment = c.Comment; if (c.DiagnosedDate != DateTime.MinValue) edi.DiagnosedDate = c.DiagnosedDate; edi.DiagnosisChangeReason = c.DiagnosisChangeReason; edi.DiagnosisStage = c.DiagnosisStage; edi.IdDiagnosisType = c.IdDiagnosisType; edi.IdDiseaseType = c.IdDiseaseType; edi.IdDispensaryState = c.IdDispensaryState; edi.IdTraumaType = c.IdTraumaType; edi.MedicalStandard = c.MedicalStandard; edi.MESImplementationFeature = c.MESImplementationFeature; edi.MkbCode = c.MkbCode; return edi; } else return null; }