コード例 #1
0
ファイル: NDL.cs プロジェクト: RickIsWright/nHapi
	///<summary>
	/// Creates a NDL.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public NDL(IMessage message, string description) : base(message, description){
		data = new IType[11];
		data[0] = new CNN(message,"Name");
		data[1] = new TS(message,"Start Date/time");
		data[2] = new TS(message,"End Date/time");
		data[3] = new IS(message, 302,"Point of Care");
		data[4] = new IS(message, 303,"Room");
		data[5] = new IS(message, 304,"Bed");
		data[6] = new HD(message,"Facility");
		data[7] = new IS(message, 306,"Location Status");
		data[8] = new IS(message, 305,"Patient Location Type");
		data[9] = new IS(message, 307,"Building");
		data[10] = new IS(message, 308,"Floor");
	}
コード例 #2
0
ファイル: NDL.cs プロジェクト: erdemsarigh/nhapi
        /// <summary>   Creates a NDL. </summary>
        ///
        /// <param name="message">      The Message to which this Type belongs. </param>
        /// <param name="description">  The description of this type. </param>

        public NDL(IMessage message, string description) : base(message, description)
        {
            data     = new IType[11];
            data[0]  = new CNN(message, "Name");
            data[1]  = new TS(message, "Start Date/time");
            data[2]  = new TS(message, "End Date/time");
            data[3]  = new IS(message, 302, "Point of Care");
            data[4]  = new IS(message, 303, "Room");
            data[5]  = new IS(message, 304, "Bed");
            data[6]  = new HD(message, "Facility");
            data[7]  = new IS(message, 306, "Location Status");
            data[8]  = new IS(message, 305, "Patient Location Type");
            data[9]  = new IS(message, 307, "Building");
            data[10] = new IS(message, 308, "Floor");
        }