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; }
public SearchService(IPatientDetailsRepository patients) { this.Patients = patients; }