Exemple #1
0
            protected override object NextValue(EntityEntry entry)
            {
                using var context = new MVCHContext();

                var stringId = new StringBuilder();

                var idNumSequence = (context.Visits.Count() + 1).ToString();

                stringId.Append("VST-");
                stringId.Append($"{idNumSequence.PadLeft(6, '0')}");

                return(stringId.ToString());
            }
 public UnitEmployeeService(MVCHContext context)
 {
     _context = context;
 }
Exemple #3
0
 public VolunteerSpecialtyService(MVCHContext context)
 {
     _context = context;
 }
Exemple #4
0
 public EmployeeSpecialtyService(MVCHContext context)
 {
     _context = context;
 }
 public FacilityPhysicianService(MVCHContext context)
 {
     _context = context;
 }
Exemple #6
0
 public PatientOrderService(MVCHContext context)
 {
     _context = context;
 }
Exemple #7
0
 public ProcedureService(MVCHContext context)
 {
     _context = context;
 }
 public VolunteerService(MVCHContext context)
 {
     _context = context;
 }
Exemple #9
0
 public OrderServiceLayer(MVCHContext context)
 {
     _context = context;
 }
 public TreatmentService(MVCHContext context)
 {
     _context = context;
 }
Exemple #11
0
 public WorkUnitService(MVCHContext context)
 {
     _context = context;
 }
Exemple #12
0
 public VitalRecordService(MVCHContext context)
 {
     _context = context;
 }
Exemple #13
0
 public FacilityService(MVCHContext context)
 {
     _context = context;
 }
Exemple #14
0
 public ConditionService(MVCHContext context)
 {
     _context = context;
 }
Exemple #15
0
 public VendorService(MVCHContext context)
 {
     _context = context;
 }
 public ItemService(MVCHContext context)
 {
     _context = context;
 }
Exemple #17
0
 public OrderServiceService(MVCHContext context)
 {
     _context = context;
 }
Exemple #18
0
 public PersonService(MVCHContext context)
 {
     _context = context;
 }
Exemple #19
0
 public SpecialtyService(MVCHContext context)
 {
     _context = context;
 }
 public WardService(MVCHContext context)
 {
     _context = context;
 }
 public BedService(MVCHContext context)
 {
     _context = context;
 }
 public VitalService(MVCHContext context)
 {
     _context = context;
 }
 public DiagnosisService(MVCHContext context)
 {
     _context = context;
 }
 public WardEmployeeService(MVCHContext context)
 {
     _context = context;
 }
Exemple #25
0
 public JobClassService(MVCHContext context)
 {
     _context = context;
 }
 public VisitService(MVCHContext context)
 {
     _context = context;
 }
Exemple #27
0
 public PhysicianService(MVCHContext context)
 {
     _context = context;
 }