コード例 #1
0
ファイル: CM_NDL.cs プロジェクト: hongweichang/nHapi
 ///<summary>
 /// Creates a CM_NDL.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CM_NDL(IMessage message, string description) : base(message, description)
 {
     data     = new IType[11];
     data[0]  = new CN(message, "Name");
     data[1]  = new TS(message, "Start date/time");
     data[2]  = new TS(message, "End date/time");
     data[3]  = new IS(message, 0, "Point of care (IS)");
     data[4]  = new IS(message, 0, "Room");
     data[5]  = new IS(message, 0, "Bed");
     data[6]  = new HD(message, "Facility (HD)");
     data[7]  = new IS(message, 0, "Location status");
     data[8]  = new IS(message, 0, "Person location type");
     data[9]  = new IS(message, 0, "Building");
     data[10] = new ST(message, "Floor");
 }
コード例 #2
0
ファイル: CM_NDL.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a CM_NDL.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CM_NDL(IMessage message, string description)
     : base(message, description)
 {
     data = new IType[11];
     data[0] = new CN(message,"Name");
     data[1] = new TS(message,"Start date/time");
     data[2] = new TS(message,"End date/time");
     data[3] = new IS(message, 0,"Point of care (IS)");
     data[4] = new IS(message, 0,"Room");
     data[5] = new IS(message, 0,"Bed");
     data[6] = new HD(message,"Facility (HD)");
     data[7] = new IS(message, 0,"Location status");
     data[8] = new IS(message, 0,"Person location type");
     data[9] = new IS(message, 0,"Building");
     data[10] = new ST(message,"Floor");
 }