

package gov.va.med.cds.rpc.ejb;


//@Local
public interface ClinicalDataServiceRpcSessionLocal
{

    /**
     * 
     * @see gov.va.med.cds.client.ClinicalDataServiceInterface#isAlive()
     */
    public boolean isAlive( );


    /**
     * 
     *
     * @param templateId ID of the template for which the filter request applies
     * @param filterRequest Filter request specified in xml format according to the CDS filter schema
     * @param filterId ID of the named (canned) filter. The filterId may be null if no canned filter is referenced
     * @param requestId Client specified unique request Id
     * @return Results of the read returned in XML according to the CDS read results schema
     */
    public String readData( String templateId, String filterRequest, String filterId, String requestId );
    
    public String createData( String createXml, String templateId, String requestId );
}
