Search in sources :

Example 1 with PatientToDtoConverter

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));
}
Also used : PatientToDtoConverter(org.hl7.gravity.refimpl.sdohexchange.dto.converter.PatientToDtoConverter)

Aggregations

PatientToDtoConverter (org.hl7.gravity.refimpl.sdohexchange.dto.converter.PatientToDtoConverter)1