public ObservationController(IFhirService fhirService, IObservationService observationService, IConverter <Observation, ObservationDto> observationToDtoConverter, IConverter <IList <Observation>, IList <ObservationDto> > observationsToDtoConverter) { _observationService = observationService; _observationToDtoConverter = observationToDtoConverter; _observationsToDtoConverter = observationsToDtoConverter; fhirService.Initialize(); }
public PatientController(IFhirService fhirService, IPatientService patientService, IConverter <Patient, PatientDetailDto> patientToDtoConverter, IConverter <IList <Patient>, IList <PatientDetailDto> > patientsToDtoConverter, IValidator <IList <PatientCsv> > patientsCsvValidator) { _patientService = patientService; _patientToDtoConverter = patientToDtoConverter; _patientsToDtoConverter = patientsToDtoConverter; _patientsCsvValidator = patientsCsvValidator; fhirService.Initialize(); }
public PatientService(IFhirService fhirService, ICitizenshipService citizenshipService, IConverter <PatientCsv, Patient> patientCsvToPatientConverter, IConverter <PatientDto, Patient> patientDtoToPatientConverter) { _citizenshipService = citizenshipService; _patientCsvToPatientConverter = patientCsvToPatientConverter; _patientDtoToPatientConverter = patientDtoToPatientConverter; fhirService.Initialize(); _fhirClient = fhirService.Client; }
public OrganizationController(IFhirService fhirService, IOrganizationService organizationService) { _organizationService = organizationService; fhirService.Initialize(); }
public OrganizationService(IFhirService fhirService) { fhirService.Initialize(); _fhirClient = fhirService.Client; }
public MedicationController(IFhirService fhirService, IMedicationService medicationService) { _medicationService = medicationService; fhirService.Initialize(); }
public ObservationService(IFhirService fhirService, IOptions <FhirOptions> fhirOptions) { _fhirOptions = fhirOptions.Value; fhirService.Initialize(); _fhirClient = fhirService.Client; }
public MedicationService(IFhirService fhirService) { fhirService.Initialize(); _client = fhirService.Client; }