gov.va.medora.mdws.PatientLib.issueConfidentialityBulletin C# (CSharp) Method

issueConfidentialityBulletin() public method

public issueConfidentialityBulletin ( ) : TaggedTextArray
return gov.va.medora.mdws.dto.TaggedTextArray
        public TaggedTextArray issueConfidentialityBulletin()
        {
            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
            {
                PatientApi api = new PatientApi();
                result = new TaggedTextArray(api.issueConfidentialityBulletin(mySession.ConnectionSet));
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
            }
            return result;
        }