org.openmrs.module.ipd.api.dao.ReferenceDAO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bahmni-ipd-api Show documentation
Show all versions of bahmni-ipd-api Show documentation
Bahmni IPD API contains all backend APIs for IPD
package org.openmrs.module.ipd.api.dao;
import org.openmrs.api.db.DAOException;
import org.openmrs.module.ipd.api.model.Reference;
import org.springframework.stereotype.Repository;
import java.util.Optional;
public interface ReferenceDAO {
Optional getReferenceByTypeAndTargetUUID(String type, String targetUUID) throws DAOException;
Reference saveReference(Reference reference) throws DAOException;
}