public TaggedTextArray getNhinData(string types)
{
TaggedTextArray result = new TaggedTextArray();
if (!mySession.ConnectionSet.IsAuthorized)
{
result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
}
if (result.fault != null)
{
return result;
}
try
{
IndexedHashtable t = ClinicalApi.getNhinData(mySession.ConnectionSet, types,
mySession.MdwsConfiguration.AllConfigs[conf.MdwsConfigConstants.MDWS_CONFIG_SECTION][conf.MdwsConfigConstants.NHIN_TYPES]);
result = new TaggedTextArray(t);
}
catch (Exception e)
{
result.fault = new FaultTO(e);
}
return result;
}