public TaggedProstheticClaimArray getProstheticClaimsForPatient(string dfn)
{
TaggedProstheticClaimArray result = new TaggedProstheticClaimArray();
if (!mySession.ConnectionSet.IsAuthorized)
{
result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
}
if (result.fault != null)
{
return result;
}
try
{
ProstheticClaim[] claims = ProstheticClaim.getProstheticClaimsForPatient(mySession.ConnectionSet.BaseConnection, dfn);
result = new TaggedProstheticClaimArray(mySession.ConnectionSet.BaseConnection.DataSource.SiteId.Id, claims);
}
catch (Exception e)
{
result.fault = new FaultTO(e);
}
return result;
}