public static string AsString(ProphSubsection s) { switch (s) { case ProphSubsection.Stage1: return("I этап диспансеризации"); case ProphSubsection.Stage2: return("II этап диспансеризации"); case ProphSubsection.Prophylaxis: return("профилактика"); case ProphSubsection.DispChildrenTight: return("диспансеризация несовершеннолетних в трудной жизненной ситуации"); case ProphSubsection.DispChildrenAdopted: return("диспансеризация детей-сирот"); case ProphSubsection.ProphChildren: return("профосмотры несовершеннолетних"); default: return(string.Empty); } }
public static string GetCode(ProphSubsection s) { switch (s) { case ProphSubsection.Stage1: return("P"); case ProphSubsection.Stage2: return("V"); case ProphSubsection.Prophylaxis: return("O"); case ProphSubsection.DispChildrenTight: return("S"); case ProphSubsection.DispChildrenAdopted: return("U"); case ProphSubsection.ProphChildren: return("F"); default: return(string.Empty); } }
public static string AsString(OrderSection section, ProphSubsection subsection) { switch (section) { case OrderSection.D1: return("с лечебной целью"); case OrderSection.D2: return("ВМП"); case OrderSection.D3: return("профилактики и диспансеризации (" + ProphSubsectionHelper.AsString(subsection) + ")"); case OrderSection.D4: return("онкологии"); } return(string.Empty); }