org.openmrs.module.ipd.api.service.ReferenceService 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.service;
import org.openmrs.api.APIException;
import org.openmrs.api.OpenmrsService;
import org.openmrs.api.db.DAOException;
import org.openmrs.module.ipd.api.model.Reference;
import org.openmrs.module.ipd.api.model.Slot;
import org.springframework.stereotype.Service;
import java.util.Optional;
public interface ReferenceService extends OpenmrsService {
// @Authorized({ PrivilegeConstants.EDIT_IPD_SCHEDULES })
Optional getReferenceByTypeAndTargetUUID(String type, String targetUuid) throws APIException;
// @Authorized({ PrivilegeConstants.EDIT_IPD_SCHEDULES })
Reference saveReference(Reference reference) throws APIException;
}