gov.va.medora.mdws.ClinicalLib.getHealthSummary C# (CSharp) Method

getHealthSummary() public method

public getHealthSummary ( string healthSummaryId, string healthSummaryName ) : HealthSummaryTO
healthSummaryId string
healthSummaryName string
return HealthSummaryTO
        public HealthSummaryTO getHealthSummary(string healthSummaryId, string healthSummaryName)
        {
            HealthSummaryTO result = new HealthSummaryTO();
            if (string.IsNullOrEmpty(healthSummaryId) && string.IsNullOrEmpty(healthSummaryName))
            {
                result.fault = new FaultTO("Missing health summary Id OR health summary name. Please provide one of the parameters.");
                return result;
            }

            try
            {
                HealthSummary hs = ClinicalApi.getHealthSummary(mySession.ConnectionSet.BaseConnection, new MdoDocument(healthSummaryId, healthSummaryName));
                result.Init(hs);
            }
            catch (Exception e)
            {

                result.fault = new FaultTO(e.Message);
            }
            return result;
        }

Same methods

ClinicalLib::getHealthSummary ( string healthSummaryId, string healthSummaryName ) : TaggedHealthSummaryArray