예제 #1
0
파일: OSP.cs 프로젝트: nHapiNET/nHapi
 ///<summary>
 /// Creates a OSP.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public OSP(IMessage message, string description) : base(message, description)
 {
     data    = new IType[3];
     data[0] = new CNE(message, "Occurrence Span Code");
     data[1] = new DT(message, "Occurrence Span Start Date");
     data[2] = new DT(message, "Occurrence Span Stop Date");
 }
예제 #2
0
 ///<summary>
 /// Creates a OCD.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public OCD(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new CNE(message, "Occurrence Code");
     data[1] = new DT(message, "Occurrence Date");
 }