コード例 #1
0
ファイル: PTR_PCF_PATIENT.cs プロジェクト: nHapiNET/nHapi
        ///<summary>
        /// Returns  first repetition of PTR_PCF_PATHWAY (a Group object) - creates it if necessary
        ///</summary>
        public PTR_PCF_PATHWAY GetPATHWAY()
        {
            PTR_PCF_PATHWAY ret = null;

            try {
                ret = (PTR_PCF_PATHWAY)this.GetStructure("PATHWAY");
            } catch (HL7Exception e) {
                HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error accessing data - this is probably a bug in the source code generator.", e);
                throw new System.Exception("An unexpected error ocurred", e);
            }
            return(ret);
        }
コード例 #2
0
ファイル: PTR_PCF_PATIENT.cs プロジェクト: nHapiNET/nHapi
 ///<summary>
 ///Removes the given PTR_PCF_PATHWAY
 ///</summary>
 public void RemovePATHWAY(PTR_PCF_PATHWAY toRemove)
 {
     this.RemoveStructure("PATHWAY", toRemove);
 }