Beispiel #1
0
        public SearchController(IPatientDetailsRepository patientsDetail)
        {
            this.PatientsDetail = patientsDetail;

            this.FhirSerializer = new FhirJsonSerializer(new ParserSettings {
                AcceptUnknownMembers = false
            });
        }
 public PatientsController(IPatientRepository patients,
                           IPatientDetailsRepository patientDetails,
                           IAllergyRepository allergies,
                           IMedicationRepository medications,
                           IDiagnosisRepository diagnoses,
                           IClinicalNoteRepository clinicalNotes,
                           IContactRepository contacts)
 {
     this.Patients       = patients;
     this.PatientDetails = patientDetails;
     this.Allergies      = allergies;
     this.Medications    = medications;
     this.Diagnoses      = diagnoses;
     this.ClinicalNotes  = clinicalNotes;
     this.Contacts       = contacts;
 }
Beispiel #3
0
 public SearchService(IPatientDetailsRepository patients)
 {
     this.Patients = patients;
 }