public TaggedAllergyArrays getAllergies()
{
TaggedAllergyArrays result = new TaggedAllergyArrays();
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.getAllergies(mySession.ConnectionSet);
result = new TaggedAllergyArrays(t);
}
catch (Exception e)
{
result.fault = new FaultTO(e);
}
return result;
}