예제 #1
0
 ///<summary>
 /// Creates a CM_PRACTITIONER.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_PRACTITIONER(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new CN_PERSON(message,"Procedure Practitioner  ID");
     data[1] = new ID(message, 0,"Procedure practitioner type");
 }
예제 #2
0
 ///<summary>
 /// Creates a CM_NDL.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_NDL(Message message, string description) : base(message, description)
 {
     data    = new Type[4];
     data[0] = new CN_PERSON(message, "Interpreter / technician");
     data[1] = new TS(message, "Start date/time");
     data[2] = new TS(message, "End date/time");
     data[3] = new CM_INTERNAL_LOCATION(message, "Location");
 }
예제 #3
0
파일: CM_NDL.cs 프로젝트: snosrap/nhapi
 ///<summary>
 /// Creates a CM_NDL.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_NDL(Message message, string description)
     : base(message, description)
 {
     data = new Type[4];
     data[0] = new CN_PERSON(message,"Interpreter / technician");
     data[1] = new TS(message,"Start date/time");
     data[2] = new TS(message,"End date/time");
     data[3] = new CM_INTERNAL_LOCATION(message,"Location");
 }
예제 #4
0
파일: OBR.cs 프로젝트: snosrap/nhapi
 /**
    * Returns all repetitions of Result Copies To (OBR-28).
    */
 public CN_PERSON[] getResultCopiesTo()
 {
     CN_PERSON[] ret = null;
     try {
     Type[] t = this.getField(28);
     ret = new CN_PERSON[t.Length];
     for (int i = 0; i < ret.Length; i++) {
     ret[i] = (CN_PERSON)t[i];
     }
     } catch (HL7Exception he) {
     HapiLogFactory.getHapiLog(this.GetType()).error("Unexpected problem obtaining field value.  This is a bug.", he);
     throw new System.Exception("An unexpected error ocurred", he);
     } catch (System.Exception cce) {
     HapiLogFactory.getHapiLog(GetType()).error("Unexpected problem obtaining field value.  This is a bug.", cce);
     throw new System.Exception("An unexpected error ocurred", cce);
       }
      return ret;
 }
예제 #5
0
 ///<summary>
 /// Creates a CM_PRACTITIONER.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_PRACTITIONER(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new CN_PERSON(message, "Procedure Practitioner  ID");
     data[1] = new ID(message, 0, "Procedure practitioner type");
 }