{
try {
String cdaString = getCda(query);
Document cda = DocumentHelper.parseText(cdaString);
final CdaSettings cdaSettings = new CdaSettings(cda, "cda1", null);
log.debug("Doing query on Cda - Initializing CdaEngine");
final CdaEngine engine = CdaEngine.getInstance();
final QueryOptions queryOptions = new QueryOptions();
queryOptions.setDataAccessId("1");