/**
*
*/
package org.ihtsdo.otf.snomed.service;
import java.util.Map;
import java.util.Set;
import org.ihtsdo.otf.refset.exception.EntityNotFoundException;
import org.ihtsdo.otf.snomed.domain.Concept;
import org.ihtsdo.otf.snomed.exception.ConceptServiceException;
/**
* @author Episteme Partners
*
*/
public interface ConceptLookupService {
/**Method to get {@link Map} of supplied concept ids
* and their details {@link Concept}s
* @param page
* @param size
* @return
* @throws ConceptServiceException
*/
public Map<String, Concept> getConcepts(Set<String> conceptIds) throws ConceptServiceException ;
/**Method to retrieve {@link Concept} details for given concept id.
* @param refsetId
* @return
* @throws ConceptServiceException
*/
public Concept getConcept(String conceptId) throws ConceptServiceException, EntityNotFoundException ;
/**Method to retrieve list of {@link Concept} details for given concept id.
* @param refsetId
* @return
* @throws ConceptServiceException
*/
public Set<String> getConceptIds(int offset, int limit) throws ConceptServiceException ;
/**Gets first 100 child name and their ids in SNOMED database
* @param parentId
* @return
* @throws ConceptServiceException
*/
public Map<String, String> getTypes(String parentId) throws ConceptServiceException ;
}