use of org.hl7.gravity.refimpl.sdohexchange.dto.converter.PatientToDtoConverter in project Gravity-SDOH-Exchange-RI by FHIR.
the class ContextService method getPatient.
protected PatientDto getPatient() {
String patientId = SmartOnFhirContext.get().getPatient();
Assert.notNull(patientId, "Patient id cannot be null.");
return new PatientToDtoConverter().convert(patientInfoComposer.compose(patientId));
}
Aggregations