コード例 #1
0
ファイル: CM_PRACTITIONER.cs プロジェクト: snosrap/nhapi
 ///<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
ファイル: CM_NDL.cs プロジェクト: henriquetomaz/nhapi-1
 ///<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");
 }