/** * Returns all repetitions of Contract Organization (CDM-12). */ public XON[] getContractOrganization() { XON[] ret = null; try { Type[] t = this.getField(12); ret = new XON[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (XON)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> /// Returns all repetitions of Approving Regulatory Agency (ITM-16). ///</summary> public XON[] GetApprovingRegulatoryAgency() { XON[] ret = null; try { IType[] t = this.GetField(16); ret = new XON[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (XON)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> Returns all repetitions of Manufacturer/Distributor (PDC-1).</summary> public virtual XON[] getManufacturerDistributor() { XON[] ret = null; try { Type[] t = this.getField(1); ret = new XON[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (XON)t[i]; } } catch (System.InvalidCastException) { throw new Exception(); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
/// <summary> Returns all repetitions of Organizational Location Relationship Value (LRL-5).</summary> public virtual XON[] getOrganizationalLocationRelationshipValue() { XON[] ret = null; try { Type[] t = this.getField(5); ret = new XON[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (XON)t[i]; } } catch (System.InvalidCastException) { throw new Exception(); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
/// <summary> Returns all repetitions of Insured's Group Emp Name (IN1-11).</summary> public virtual XON[] getInsuredSGroupEmpName() { XON[] ret = null; try { Type[] t = this.getField(11); ret = new XON[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (XON)t[i]; } } catch (System.InvalidCastException) { throw new Exception(); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
/// <summary> Returns all repetitions of Patient Primary Facility (PD1-3).</summary> public virtual XON[] getPatientPrimaryFacility() { XON[] ret = null; try { Type[] t = this.getField(3); ret = new XON[t.Length]; for (int i = 0; i < ret.Length; i++) { ret[i] = (XON)t[i]; } } catch (System.InvalidCastException) { throw new Exception(); } catch (NuGenHL7Exception) { throw new Exception(); } return(ret); }
public XdsOrganization(string organization) { _organization = DataType.Parse(new XON(), organization); }
public XdsOrganization(XON organization) { _organization = organization; }
/// <summary> /// Converts an <see cref="CX"/> instance to an <see cref="EntityIdentifier"/> instance. /// </summary> /// <param name="identifier">The identifier to be converted.</param> /// <returns>Returns the converted identifier.</returns> public static EntityIdentifier ToModel(this XON identifier) { return(new XON[] { identifier }.ToModel().FirstOrDefault()); }