public MedicineRepository(
     ICSVStream <Medicine> stream,
     ICSVStream <Equipment> equipmentStream,
     ICSVStream <MedicalConsumables> medicalConsumablesStream,
     ICSVStream <Medicine> medicineStream,
     LongSequencer sequencer
     ) : base(stream, equipmentStream, medicalConsumablesStream, medicineStream, sequencer)
 {
 }
Exemple #2
0
 public PatientRepository(
     ICSVStream <Patient> stream,
     ICSVStream <Patient> patientStream,
     ICSVStream <Doctor> doctorStream,
     ICSVStream <Secretary> secretaryStream,
     IAddressRepository addressRepository,
     LongSequencer sequencer
     ) : base(stream, patientStream, doctorStream, secretaryStream, sequencer)
 {
     _addressRepository = addressRepository;
 }
Exemple #3
0
 public ReferralCSVRepository(
     ICSVStream <E> stream,
     ICSVStream <Model.Referral> admitionReferralStream,
     ICSVStream <Model.Referral> operationReferralStream,
     ICSVStream <Model.Referral> examReferralStream,
     LongSequencer sequencer
     )
 {
     _stream = stream;
     _admitionReferralStream  = admitionReferralStream;
     _operationReferralStream = operationReferralStream;
     _examReferralStream      = examReferralStream;
     _sequencer = sequencer;
     InitializeId();
 }
Exemple #4
0
 public ItemCSVRepository(
     ICSVStream <E> stream,
     ICSVStream <Equipment> equipmentStream,
     ICSVStream <MedicalConsumables> medicalConsumablesStream,
     ICSVStream <Medicine> medicineStream,
     LongSequencer sequencer
     )
 {
     _stream                   = stream;
     _equipmentStream          = equipmentStream;
     _medicalConsumablesStream = medicalConsumablesStream;
     _medicineStream           = medicineStream;
     _sequencer                = sequencer;
     InitializeId();
 }
Exemple #5
0
 public UserCSVRepository(
     ICSVStream <E> stream,
     ICSVStream <Patient> patientStream,
     ICSVStream <Doctor> doctorStream,
     ICSVStream <Secretary> secretaryStream,
     LongSequencer sequencer
     )
 {
     _stream          = stream;
     _patientStream   = patientStream;
     _doctorStream    = doctorStream;
     _secretaryStream = secretaryStream;
     _sequencer       = sequencer;
     InitializeId();
 }