///<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"); }
///<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"); }
///<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"); }
/** * 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; }
///<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"); }