public PatientInvasiveDeviceShortVoCollection listCurrentPatientInvasiveDevice(CareContextRefVo careContext) { return PatientInvasiveDeviceShortVoAssembler.createPatientInvasiveDeviceShortVoCollectionFromPatientInvasiveDevice( getDomainFactory().find("from PatientInvasiveDevice dsp where dsp.removalDateTime is null and dsp.careContext.id = :CARE_CONTEXT", new String[] {"CARE_CONTEXT"}, new Object[] {careContext.getID_CareContext()})); }
public PatientInvasiveDeviceShortVoCollection listHistoricPatientInvasiveDevice(CareContextRefVo careContext) { return PatientInvasiveDeviceShortVoAssembler.createPatientInvasiveDeviceShortVoCollectionFromPatientInvasiveDevice( getDomainFactory().find("from PatientInvasiveDevice dsp where dsp.removalDateTime is not null and dsp.careContext.id = :CARE_CONTEXT", new String[] {"CARE_CONTEXT"}, new Object[] {careContext.getID_CareContext()})); }