/** * Creates a RXO (Pharmacy/Treatment Order) segment object that belongs to the given * message. */ public RXO(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Requested Give Code"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Requested Give Amount - Minimum"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Requested Give Amount - Maximum"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Requested Give Units"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Requested Dosage Form"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Provider's Pharmacy/Treatment Instructions"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Provider's Administration Instructions"); this.add(typeof(LA1), false, 1, 200, new System.Object[]{message}, "Deliver-To Location"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 161}, "Allow Substitutions"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Requested Dispense Code"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Requested Dispense Amount"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Requested Dispense Units"); this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Number of Refills"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Ordering Provider's DEA Number"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Pharmacist/Treatment Supplier's Verifier ID"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Needs Human Review"); this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Requested Give Per (Time Unit)"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Requested Give Strength"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Requested Give Strength Units"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Indication"); this.add(typeof(ST), false, 1, 6, new System.Object[]{message}, "Requested Give Rate Amount"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Requested Give Rate Units"); this.add(typeof(CQ), false, 1, 10, new System.Object[]{message}, "Total Daily Dose"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Supplementary Code"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a UB1 (UB82 DATA) segment object that belongs to the given * message. */ public UB1(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), false, 1, 4, new System.Object[]{message}, "Set ID - UB82"); this.add(typeof(NM), false, 1, 1, new System.Object[]{message}, "Blood deductible (43)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Blood furnished pints of (40)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Blood replaced pints (41)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Blood not replaced pints (42)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Co-insurance days (25)"); this.add(typeof(ID), false, 5, 2, new System.Object[]{message, 43}, "Condition code (35-39)"); this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Covered days (23)"); this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Non-covered days (24)"); this.add(typeof(CM_UVC), false, 8, 12, new System.Object[]{message}, "Value amount and code (46-49)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Number of grace days (90)"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 0}, "Special program indicator (44)"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 0}, "PSRO / UR approval indicator (87)"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "PSRO / UR approved stay - from (88)"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "PSRO / UR approved stay - to (89)"); this.add(typeof(CM_OCD), false, 5, 20, new System.Object[]{message}, "Occurrence (28-32)"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 0}, "Occurrence span (33)"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Occurrence span start date (33)"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Occurrence span end date (33)"); this.add(typeof(ST), false, 1, 30, new System.Object[]{message}, "UB-82 locator 2"); this.add(typeof(ST), false, 1, 7, new System.Object[]{message}, "UB-82 locator 9"); this.add(typeof(ST), false, 1, 8, new System.Object[]{message}, "UB-82 locator 27"); this.add(typeof(ST), false, 1, 17, new System.Object[]{message}, "UB-82 locator 45"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a IN3 (Insurance Additional Information, Certification) segment object that belongs to the given * message. */ public IN3(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID - IN3"); this.add(typeof(CX), false, 1, 250, new System.Object[]{message}, "Certification Number"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Certified By"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Certification Required"); this.add(typeof(MOP), false, 1, 23, new System.Object[]{message}, "Penalty"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Certification Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Certification Modify Date/Time"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Operator"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Certification Begin Date"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Certification End Date"); this.add(typeof(DTN), false, 1, 6, new System.Object[]{message}, "Days"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Non-Concur Code/Description"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Non-Concur Effective Date/Time"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Physician Reviewer"); this.add(typeof(ST), false, 1, 48, new System.Object[]{message}, "Certification Contact"); this.add(typeof(XTN), false, 0, 250, new System.Object[]{message}, "Certification Contact Phone Number"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Appeal Reason"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Certification Agency"); this.add(typeof(XTN), false, 0, 250, new System.Object[]{message}, "Certification Agency Phone Number"); this.add(typeof(ICD), false, 0, 40, new System.Object[]{message}, "Pre-Certification Requirement"); this.add(typeof(ST), false, 1, 48, new System.Object[]{message}, "Case Manager"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Second Opinion Date"); this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 151}, "Second Opinion Status"); this.add(typeof(IS), false, 0, 1, new System.Object[]{message, 152}, "Second Opinion Documentation Received"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Second Opinion Physician"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a UB1 (UB82) segment object that belongs to the given * message. */ public UB1(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), false, 1, 4, new System.Object[]{message}, "Set ID - UB1"); this.add(typeof(NM), false, 1, 1, new System.Object[]{message}, "Blood Deductible (43)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Blood Furnished-Pints Of (40)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Blood Replaced-Pints (41)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Blood Not Replaced-Pints(42)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Co-Insurance Days (25)"); this.add(typeof(IS), false, 0, 14, new System.Object[]{message, 43}, "Condition Code (35-39)"); this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Covered Days - (23)"); this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Non Covered Days - (24)"); this.add(typeof(UVC), false, 0, 41, new System.Object[]{message}, "Value Amount and Code (46-49)"); this.add(typeof(NM), false, 1, 2, new System.Object[]{message}, "Number Of Grace Days (90)"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Special Program Indicator (44)"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "PSRO/UR Approval Indicator (87)"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "PSRO/UR Approved Stay-Fm (88)"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "PSRO/UR Approved Stay-To (89)"); this.add(typeof(OCD), false, 0, 259, new System.Object[]{message}, "Occurrence (28-32)"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Occurrence Span (33)"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Occur Span Start Date(33)"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Occur Span End Date (33)"); this.add(typeof(ST), false, 1, 30, new System.Object[]{message}, "UB-82 Locator 2"); this.add(typeof(ST), false, 1, 7, new System.Object[]{message}, "UB-82 Locator 9"); this.add(typeof(ST), false, 1, 8, new System.Object[]{message}, "UB-82 Locator 27"); this.add(typeof(ST), false, 1, 17, new System.Object[]{message}, "UB-82 Locator 45"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a MSH (Message Header) segment object that belongs to the given * message. */ public MSH(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(ST), true, 1, 1, new System.Object[]{message}, "Field Separator"); this.add(typeof(ST), true, 1, 4, new System.Object[]{message}, "Encoding Characters"); this.add(typeof(HD), false, 1, 227, new System.Object[]{message}, "Sending Application"); this.add(typeof(HD), false, 1, 227, new System.Object[]{message}, "Sending Facility"); this.add(typeof(HD), false, 1, 227, new System.Object[]{message}, "Receiving Application"); this.add(typeof(HD), false, 1, 227, new System.Object[]{message}, "Receiving Facility"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Date/Time Of Message"); this.add(typeof(ST), false, 1, 40, new System.Object[]{message}, "Security"); this.add(typeof(MSG), true, 1, 15, new System.Object[]{message}, "Message Type"); this.add(typeof(ST), true, 1, 20, new System.Object[]{message}, "Message Control ID"); this.add(typeof(PT), true, 1, 3, new System.Object[]{message}, "Processing ID"); this.add(typeof(VID), true, 1, 60, new System.Object[]{message}, "Version ID"); this.add(typeof(NM), false, 1, 15, new System.Object[]{message}, "Sequence Number"); this.add(typeof(ST), false, 1, 180, new System.Object[]{message}, "Continuation Pointer"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 155}, "Accept Acknowledgment Type"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 155}, "Application Acknowledgment Type"); this.add(typeof(ID), false, 1, 3, new System.Object[]{message, 399}, "Country Code"); this.add(typeof(ID), false, 0, 16, new System.Object[]{message, 211}, "Character Set"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Principal Language Of Message"); this.add(typeof(ID), false, 1, 20, new System.Object[]{message, 356}, "Alternate Character Set Handling Scheme"); this.add(typeof(EI), false, 0, 427, new System.Object[]{message}, "Message Profile Identifier"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
///<summary> /// initalize method for ADT_A05. This does the segment setup for the message. ///</summary> private void init(IModelClassFactory factory) { try { this.add(typeof(MSH), true, false); this.add(typeof(SFT), false, true); this.add(typeof(EVN), true, false); this.add(typeof(PID), true, false); this.add(typeof(PD1), false, false); this.add(typeof(ROL), false, true); this.add(typeof(NK1), false, true); this.add(typeof(PV1), true, false); this.add(typeof(PV2), false, false); this.add(typeof(ROL), false, true); this.add(typeof(DB1), false, true); this.add(typeof(OBX), false, true); this.add(typeof(AL1), false, true); this.add(typeof(DG1), false, true); this.add(typeof(DRG), false, false); this.add(typeof(ADT_A05_PROCEDURE), false, true); this.add(typeof(GT1), false, true); this.add(typeof(ADT_A05_INSURANCE), false, true); this.add(typeof(ACC), false, false); this.add(typeof(UB1), false, false); this.add(typeof(UB2), false, false); } catch(HL7Exception e) { HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error creating ADT_A05 - this is probably a bug in the source code generator.", e); } }
/** * Creates a SCH (Schedule Activity Information) segment object that belongs to the given * message. */ public SCH(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(EI), true, 1, 22, new System.Object[]{message}, "Placer Appointment ID"); this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "Filler Appointment ID"); this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "Occurrence Number"); this.add(typeof(EI), false, 1, 37, new System.Object[]{message}, "Placer Group Number"); this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Schedule ID"); this.add(typeof(CE), true, 1, 200, new System.Object[]{message}, "Event Reason"); this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Appointment Reason"); this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Appointment Type"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Appointment Duration"); this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Appointment Duration Units"); this.add(typeof(TQ), true, 0, 200, new System.Object[]{message}, "Appointment Timing Quantity"); this.add(typeof(XCN), false, 1, 48, new System.Object[]{message}, "Placer Contact Person"); this.add(typeof(XTN), false, 1, 40, new System.Object[]{message}, "Placer Contact Phone Number"); this.add(typeof(XAD), false, 1, 106, new System.Object[]{message}, "Placer Contact Address"); this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "Placer Contact Location"); this.add(typeof(XCN), true, 1, 38, new System.Object[]{message}, "Filler Contact Person"); this.add(typeof(XTN), false, 1, 40, new System.Object[]{message}, "Filler Contact Phone Number"); this.add(typeof(XAD), false, 1, 106, new System.Object[]{message}, "Filler Contact Address"); this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "Filler Contact Location"); this.add(typeof(XCN), true, 1, 48, new System.Object[]{message}, "Entered By Person"); this.add(typeof(XTN), false, 0, 40, new System.Object[]{message}, "Entered By Phone Number"); this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "Entered By Location"); this.add(typeof(EI), false, 1, 75, new System.Object[]{message}, "Parent Placer Appointment ID"); this.add(typeof(EI), false, 1, 75, new System.Object[]{message}, "Parent Filler Appointment ID"); this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Filler Status Code"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a GOL (Goal Detail) segment object that belongs to the given * message. */ public GOL(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(ID), true, 1, 2, new System.Object[]{message, 287}, "Action Code"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Action Date/Time"); this.add(typeof(CE), true, 1, 80, new System.Object[]{message}, "Goal ID"); this.add(typeof(EI), true, 1, 60, new System.Object[]{message}, "Goal Instance ID"); this.add(typeof(EI), false, 1, 60, new System.Object[]{message}, "Episode of Care ID"); this.add(typeof(NM), false, 1, 60, new System.Object[]{message}, "Goal List Priority"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Goal Established Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Expected Goal Achieve Date/Time"); this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Goal Classification"); this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Goal Management Discipline"); this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Current Goal Review Status"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Current Goal Review Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Next Goal Review Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Previous Goal Review Date/Time"); this.add(typeof(TQ), false, 1, 200, new System.Object[]{message}, "Goal Review Interval"); this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Goal Evaluation"); this.add(typeof(ST), false, 0, 300, new System.Object[]{message}, "Goal Evaluation Comment"); this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Goal Life Cycle Status"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Goal Life Cycle Status Date/Time"); this.add(typeof(CE), false, 0, 80, new System.Object[]{message}, "Goal Target Type"); this.add(typeof(XPN), false, 0, 80, new System.Object[]{message}, "Goal Target Name"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a DG1 (Diagnosis) segment object that belongs to the given * message. */ public DG1(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID - DG1"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 53}, "Diagnosis Coding Method"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Diagnosis Code - DG1"); this.add(typeof(ST), false, 1, 40, new System.Object[]{message}, "Diagnosis Description"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Diagnosis Date/Time"); this.add(typeof(IS), true, 1, 2, new System.Object[]{message, 52}, "Diagnosis Type"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Major Diagnostic Category"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Diagnostic Related Group"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "DRG Approval Indicator"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 56}, "DRG Grouper Review Code"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Outlier Type"); this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Outlier Days"); this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Outlier Cost"); this.add(typeof(ST), false, 1, 4, new System.Object[]{message}, "Grouper Version And Type"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 359}, "Diagnosis Priority"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Diagnosing Clinician"); this.add(typeof(IS), false, 1, 3, new System.Object[]{message, 228}, "Diagnosis Classification"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Confidential Indicator"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Attestation Date/Time"); this.add(typeof(EI), false, 1, 427, new System.Object[]{message}, "Diagnosis Identifier"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 206}, "Diagnosis Action Code"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a FT1 (Financial transaction) segment object that belongs to the given * message. */ public FT1(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), false, 1, 4, new System.Object[]{message}, "Set ID - Financial Transaction"); this.add(typeof(ST), false, 1, 12, new System.Object[]{message}, "Transaction ID"); this.add(typeof(ST), false, 1, 10, new System.Object[]{message}, "Transaction Batch ID"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Transaction Date"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Transaction Posting Date"); this.add(typeof(ID), true, 1, 8, new System.Object[]{message, 17}, "Transaction Type"); this.add(typeof(CE), true, 1, 80, new System.Object[]{message}, "Transaction Code"); this.add(typeof(ST), false, 1, 40, new System.Object[]{message}, "Transaction Description"); this.add(typeof(ST), false, 1, 40, new System.Object[]{message}, "Transaction Description - alternate"); this.add(typeof(NM), false, 1, 6, new System.Object[]{message}, "Transaction Quantity"); this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Transaction Amount - Extended"); this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Transaction Amount - Unit"); this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Department Code"); this.add(typeof(CE), false, 1, 8, new System.Object[]{message}, "Insurance Plan ID"); this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Insurance Amount"); this.add(typeof(PL), false, 1, 12, new System.Object[]{message}, "Assigned Patient Location"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 24}, "Fee Schedule"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 18}, "Patient Type"); this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Diagnosis Code"); this.add(typeof(XCN), false, 1, 120, new System.Object[]{message}, "Performed By Code"); this.add(typeof(XCN), false, 1, 120, new System.Object[]{message}, "Ordered By Code"); this.add(typeof(NM), false, 1, 12, new System.Object[]{message}, "Unit Cost"); this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "Filler Order Number"); this.add(typeof(XCN), false, 1, 120, new System.Object[]{message}, "Entered By Code"); this.add(typeof(CE), false, 1, 80, new System.Object[]{message}, "Procedure Code"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a RXA (Pharmacy administration segment) segment object that belongs to the given * message. */ public RXA(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(ID), true, 1, 4, new System.Object[]{message, 0}, "Give Sub-ID Counter"); this.add(typeof(NM), true, 1, 4, new System.Object[]{message}, "Administration Sub-ID Counter"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Date/Time Start of Administration"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Date/Time End of Administration"); this.add(typeof(CE), true, 1, 100, new System.Object[]{message}, "Administered Code"); this.add(typeof(NM), true, 1, 20, new System.Object[]{message}, "Administered Amount"); this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Administered Units"); this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Administered Dosage Form"); this.add(typeof(CE), false, 0, 200, new System.Object[]{message}, "Administration Notes"); this.add(typeof(XCN), false, 1, 200, new System.Object[]{message}, "Administering Provider"); this.add(typeof(CM_LA1), false, 1, 200, new System.Object[]{message}, "Administered-at Location"); this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Administered Per (Time Unit)"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Administered Strength"); this.add(typeof(CE), false, 1, 60, new System.Object[]{message}, "Administered Strength Units"); this.add(typeof(ST), false, 0, 20, new System.Object[]{message}, "Substance Lot Number"); this.add(typeof(TS), false, 0, 26, new System.Object[]{message}, "Substance Expiration Date"); this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Substance Manufacturer Name"); this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Substance Refusal Reason"); this.add(typeof(CE), false, 0, 200, new System.Object[]{message}, "Indication"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 322}, "Completion Status"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 323}, "Action Code-RXA"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "System Entry Date/Time"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
///<summary> /// Creates a new RSP_K23_QUERY_RESPONSE Group. ///</summary> public RSP_K23_QUERY_RESPONSE(IGroup parent, IModelClassFactory factory) : base(parent, factory){ try { this.add(typeof(PID), true, false); } catch(HL7Exception e) { HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error creating RSP_K23_QUERY_RESPONSE - this is probably a bug in the source code generator.", e); } }
/** * Creates a BPX (Blood product dispense status) segment object that belongs to the given * message. */ public BPX(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID _ BPX"); this.add(typeof(CWE), true, 1, 250, new System.Object[]{message}, "BP Dispense Status"); this.add(typeof(ID), true, 1, 1, new System.Object[]{message, 511}, "BP Status"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "BP Date/Time of Status"); this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "BC Donation ID"); this.add(typeof(CNE), false, 1, 250, new System.Object[]{message}, "BC Component"); this.add(typeof(CNE), false, 1, 250, new System.Object[]{message}, "BC Donation Type / Intended Use"); this.add(typeof(CWE), false, 1, 250, new System.Object[]{message}, "CP Commercial Product"); this.add(typeof(XON), false, 1, 250, new System.Object[]{message}, "CP Manufacturer"); this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "CP Lot Number"); this.add(typeof(CNE), false, 1, 250, new System.Object[]{message}, "BP Blood Group"); this.add(typeof(CNE), false, 0, 250, new System.Object[]{message}, "BC Special Testing"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "BP Expiration Date/Time"); this.add(typeof(NM), true, 1, 5, new System.Object[]{message}, "BP Quantity"); this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "BP Amount"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "BP Units"); this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "BP Unique ID"); this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "BP Actual Dispensed To Location"); this.add(typeof(XAD), false, 1, 250, new System.Object[]{message}, "BP Actual Dispensed To Address"); this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "BP Dispensed to Receiver"); this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "BP Dispensing Individual"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a IAM (Patient Adverse Reaction Information) segment object that belongs to the given * message. */ public IAM(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID - IAM"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Allergen Type Code"); this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Allergen Code/Mnemonic/Description"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Allergy Severity Code"); this.add(typeof(ST), false, 0, 15, new System.Object[]{message}, "Allergy Reaction Code"); this.add(typeof(CNE), true, 1, 250, new System.Object[]{message}, "Allergy Action Code"); this.add(typeof(EI), false, 1, 427, new System.Object[]{message}, "Allergy Unique Identifier"); this.add(typeof(ST), false, 1, 60, new System.Object[]{message}, "Action Reason"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Sensitivity to Causative Agent Code"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Allergen Group Code/Mnemonic/Description"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Onset Date"); this.add(typeof(ST), false, 1, 60, new System.Object[]{message}, "Onset Date Text"); this.add(typeof(TS), false, 1, 8, new System.Object[]{message}, "Reported Date/Time"); this.add(typeof(XPN), false, 1, 250, new System.Object[]{message}, "Reported By"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Relationship to Patient Code"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Alert Device Code"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Allergy Clinical Status Code"); this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "Statused by Person"); this.add(typeof(XON), false, 1, 250, new System.Object[]{message}, "Statused by Organization"); this.add(typeof(TS), false, 1, 8, new System.Object[]{message}, "Statused at Date/Time"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a PRC (Pricing) segment object that belongs to the given * message. */ public PRC(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Primary Key Value - PRC"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Facility ID - PRC"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Department"); this.add(typeof(IS), false, 0, 1, new System.Object[]{message, 4}, "Valid Patient Classes"); this.add(typeof(CP), false, 0, 12, new System.Object[]{message}, "Price"); this.add(typeof(ST), false, 0, 200, new System.Object[]{message}, "Formula"); this.add(typeof(NM), false, 1, 4, new System.Object[]{message}, "Minimum Quantity"); this.add(typeof(NM), false, 1, 4, new System.Object[]{message}, "Maximum Quantity"); this.add(typeof(MO), false, 1, 12, new System.Object[]{message}, "Minimum Price"); this.add(typeof(MO), false, 1, 12, new System.Object[]{message}, "Maximum Price"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Effective Start Date"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Effective End Date"); this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 268}, "Price Override Flag"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Billing Category"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Chargeable Flag"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 183}, "Active/Inactive Flag"); this.add(typeof(MO), false, 1, 12, new System.Object[]{message}, "Cost"); this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 269}, "Charge On Indicator"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a INV (Inventory Detail) segment object that belongs to the given * message. */ public INV(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Substance Identifier"); this.add(typeof(CE), true, 0, 250, new System.Object[]{message}, "Substance Status"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Substance Type"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Inventory Container Identifier"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Container Carrier Identifier"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Position on Carrier"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Initial Quantity"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Current Quantity"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Available Quantity"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Consumption Quantity"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Quantity Units"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Expiration Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "First Used Date/Time"); this.add(typeof(TQ), false, 1, 200, new System.Object[]{message}, "On Board Stability Duration"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Test/Fluid Identifier(s)"); this.add(typeof(ST), false, 1, 200, new System.Object[]{message}, "Manufacturer Lot Number"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Manufacturer Identifier"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Supplier Identifier"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
///<summary> /// Creates a new ORL_O36_OBSERVATION_REQUEST Group. ///</summary> public ORL_O36_OBSERVATION_REQUEST(IGroup parent, IModelClassFactory factory) : base(parent, factory){ try { this.add(typeof(OBR), true, false); } catch(HL7Exception e) { HapiLogFactory.GetHapiLog(GetType()).Error("Unexpected error creating ORL_O36_OBSERVATION_REQUEST - this is probably a bug in the source code generator.", e); } }
/** * Creates a PD1 (patient additional demographic) segment object that belongs to the given * message. */ public PD1(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(IS), false, 0, 2, new System.Object[]{message, 223}, "Living Dependency"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 220}, "Living Arrangement"); this.add(typeof(XON), false, 0, 250, new System.Object[]{message}, "Patient Primary Facility"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Patient Primary Care Provider Name and ID No."); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 231}, "Student Indicator"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 295}, "Handicap"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 315}, "Living Will Code"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 316}, "Organ Donor Code"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Separate Bill"); this.add(typeof(CX), false, 0, 250, new System.Object[]{message}, "Duplicate Patient"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Publicity Code"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Protection Indicator"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Protection Indicator Effective Date"); this.add(typeof(XON), false, 0, 250, new System.Object[]{message}, "Place of Worship"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Advance Directive Code"); this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 441}, "Immunization Registry Status"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Immunization Registry Status Effective Date"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Publicity Code Effective Date"); this.add(typeof(IS), false, 1, 5, new System.Object[]{message, 140}, "Military Branch"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 141}, "Military Rank/Grade"); this.add(typeof(IS), false, 1, 3, new System.Object[]{message, 142}, "Military Status"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a PCR (Possible Causal Relationship) segment object that belongs to the given * message. */ public PCR(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Implicated Product"); this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 249}, "Generic Product"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Product Class"); this.add(typeof(CQ), false, 1, 8, new System.Object[]{message}, "Total Duration Of Therapy"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Product Manufacture Date"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Product Expiration Date"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Product Implantation Date"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Product Explantation Date"); this.add(typeof(IS), false, 1, 8, new System.Object[]{message, 244}, "Single Use Device"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Indication For Product Use"); this.add(typeof(IS), false, 1, 8, new System.Object[]{message, 245}, "Product Problem"); this.add(typeof(ST), false, 3, 30, new System.Object[]{message}, "Product Serial/Lot Number"); this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 246}, "Product Available For Inspection"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Product Evaluation Performed"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Product Evaluation Status"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Product Evaluation Results"); this.add(typeof(ID), false, 1, 8, new System.Object[]{message, 248}, "Evaluated Product Source"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Date Product Returned To Manufacturer"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 242}, "Device Operator Qualifications"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 250}, "Relatedness Assessment"); this.add(typeof(ID), false, 6, 2, new System.Object[]{message, 251}, "Action Taken In Response To The Event"); this.add(typeof(ID), false, 6, 2, new System.Object[]{message, 252}, "Event Causality Observations"); this.add(typeof(ID), false, 3, 1, new System.Object[]{message, 253}, "Indirect Exposure Mechanism"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a PRB (Problem Details) segment object that belongs to the given * message. */ public PRB(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(ID), true, 1, 2, new System.Object[]{message, 287}, "Action Code"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Action Date/Time"); this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Problem ID"); this.add(typeof(EI), true, 1, 60, new System.Object[]{message}, "Problem Instance ID"); this.add(typeof(EI), false, 1, 60, new System.Object[]{message}, "Episode of Care ID"); this.add(typeof(NM), false, 1, 60, new System.Object[]{message}, "Problem List Priority"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Problem Established Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Anticipated Problem Resolution Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Actual Problem Resolution Date/Time"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Problem Classification"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Problem Management Discipline"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Problem Persistence"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Problem Confirmation Status"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Problem Life Cycle Status"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Problem Life Cycle Status Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Problem Date of Onset"); this.add(typeof(ST), false, 1, 80, new System.Object[]{message}, "Problem Onset Text"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Problem Ranking"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Certainty of Problem"); this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "Probability of Problem (0-1)"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Individual Awareness of Problem"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Problem Prognosis"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Individual Awareness of Prognosis"); this.add(typeof(ST), false, 1, 200, new System.Object[]{message}, "Family/Significant Other Awareness of Problem/Prognosis"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Security/Sensitivity"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a IN1 (Insurance) segment object that belongs to the given * message. */ public IN1(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID - IN1"); this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Insurance Plan ID"); this.add(typeof(CX), true, 0, 250, new System.Object[]{message}, "Insurance Company ID"); this.add(typeof(XON), false, 0, 250, new System.Object[]{message}, "Insurance Company Name"); this.add(typeof(XAD), false, 0, 250, new System.Object[]{message}, "Insurance Company Address"); this.add(typeof(XPN), false, 0, 250, new System.Object[]{message}, "Insurance Co Contact Person"); this.add(typeof(XTN), false, 0, 250, new System.Object[]{message}, "Insurance Co Phone Number"); this.add(typeof(ST), false, 1, 12, new System.Object[]{message}, "Group Number"); this.add(typeof(XON), false, 0, 250, new System.Object[]{message}, "Group Name"); this.add(typeof(CX), false, 0, 250, new System.Object[]{message}, "Insured's Group Emp ID"); this.add(typeof(XON), false, 0, 250, new System.Object[]{message}, "Insured's Group Emp Name"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Plan Effective Date"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Plan Expiration Date"); this.add(typeof(AUI), false, 1, 239, new System.Object[]{message}, "Authorization Information"); this.add(typeof(IS), false, 1, 3, new System.Object[]{message, 86}, "Plan Type"); this.add(typeof(XPN), false, 0, 250, new System.Object[]{message}, "Name Of Insured"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Insured's Relationship To Patient"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Insured's Date Of Birth"); this.add(typeof(XAD), false, 0, 250, new System.Object[]{message}, "Insured's Address"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 135}, "Assignment Of Benefits"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 173}, "Coordination Of Benefits"); this.add(typeof(ST), false, 1, 2, new System.Object[]{message}, "Coord Of Ben. Priority"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Notice Of Admission Flag"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Notice Of Admission Date"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Report Of Eligibility Flag"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Report Of Eligibility Date"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 93}, "Release Information Code"); this.add(typeof(ST), false, 1, 15, new System.Object[]{message}, "Pre-Admit Cert (PAC)"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Verification Date/Time"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Verification By"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 98}, "Type Of Agreement Code"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 22}, "Billing Status"); this.add(typeof(NM), false, 1, 4, new System.Object[]{message}, "Lifetime Reserve Days"); this.add(typeof(NM), false, 1, 4, new System.Object[]{message}, "Delay Before L.R. Day"); this.add(typeof(IS), false, 1, 8, new System.Object[]{message, 42}, "Company Plan Code"); this.add(typeof(ST), false, 1, 15, new System.Object[]{message}, "Policy Number"); this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Policy Deductible"); this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Policy Limit - Amount"); this.add(typeof(NM), false, 1, 4, new System.Object[]{message}, "Policy Limit - Days"); this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Room Rate - Semi-Private"); this.add(typeof(CP), false, 1, 12, new System.Object[]{message}, "Room Rate - Private"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Insured's Employment Status"); this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 1}, "Insured's Administrative Sex"); this.add(typeof(XAD), false, 0, 250, new System.Object[]{message}, "Insured's Employer's Address"); this.add(typeof(ST), false, 1, 2, new System.Object[]{message}, "Verification Status"); this.add(typeof(IS), false, 1, 8, new System.Object[]{message, 72}, "Prior Insurance Plan ID"); this.add(typeof(IS), false, 1, 3, new System.Object[]{message, 309}, "Coverage Type"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 295}, "Handicap"); this.add(typeof(CX), false, 0, 250, new System.Object[]{message}, "Insured's ID Number"); this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 535}, "Signature Code"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Signature Code Date"); this.add(typeof(ST), false, 1, 250, new System.Object[]{message}, "Insured's Birth Place"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 99}, "VIP Indicator"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a TXA (Document notification segment) segment object that belongs to the given * message. */ public TXA(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID- TXA"); this.add(typeof(IS), true, 1, 30, new System.Object[]{message, 270}, "Document Type"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 191}, "Document Content Presentation"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Activity Date/Time"); this.add(typeof(XCN), false, 1, 60, new System.Object[]{message}, "Primary Activity Provider Code/Name"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Origination Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Transcription Date/Time"); this.add(typeof(TS), false, 0, 26, new System.Object[]{message}, "Edit Date/Time"); this.add(typeof(XCN), false, 1, 60, new System.Object[]{message}, "Originator Code/Name"); this.add(typeof(XCN), false, 0, 60, new System.Object[]{message}, "Assigned Document Authenticator"); this.add(typeof(XCN), false, 1, 48, new System.Object[]{message}, "Transcriptionist Code/Name"); this.add(typeof(EI), true, 1, 30, new System.Object[]{message}, "Unique Document Number"); this.add(typeof(EI), false, 1, 30, new System.Object[]{message}, "Parent Document Number"); this.add(typeof(EI), false, 0, 22, new System.Object[]{message}, "Placer Order Number"); this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "Filler Order Number"); this.add(typeof(ST), false, 1, 30, new System.Object[]{message}, "Unique Document File Name"); this.add(typeof(ID), true, 0, 2, new System.Object[]{message, 271}, "Document Completion Status"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 272}, "Document Confidentiality Status"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 273}, "Document Availability Status"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 275}, "Document Storage Status"); this.add(typeof(ST), false, 1, 30, new System.Object[]{message}, "Document Change Reason"); this.add(typeof(PPN), false, 0, 60, new System.Object[]{message}, "Authentication Person, Time Stamp"); this.add(typeof(XCN), false, 0, 60, new System.Object[]{message}, "Distributed Copies (Code and Name of Recipients)"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a RXD (Pharmacy/Treatment Dispense) segment object that belongs to the given * message. */ public RXD(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(NM), true, 1, 4, new System.Object[]{message}, "Dispense Sub-ID Counter"); this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Dispense/Give Code"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Date/Time Dispensed"); this.add(typeof(NM), true, 1, 20, new System.Object[]{message}, "Actual Dispense Amount"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Actual Dispense Units"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Actual Dosage Form"); this.add(typeof(ST), true, 1, 20, new System.Object[]{message}, "Prescription Number"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Number of Refills Remaining"); this.add(typeof(ST), false, 0, 200, new System.Object[]{message}, "Dispense Notes"); this.add(typeof(XCN), false, 0, 200, new System.Object[]{message}, "Dispensing Provider"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 167}, "Substitution Status"); this.add(typeof(CQ), false, 1, 10, new System.Object[]{message}, "Total Daily Dose"); this.add(typeof(LA2), false, 1, 200, new System.Object[]{message}, "Dispense-To Location"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Needs Human Review"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Pharmacy/Treatment Supplier's Special Dispensing Instructions"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Actual Strength"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Actual Strength Unit"); this.add(typeof(ST), false, 0, 20, new System.Object[]{message}, "Substance Lot Number"); this.add(typeof(TS), false, 0, 26, new System.Object[]{message}, "Substance Expiration Date"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Substance Manufacturer Name"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Indication"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Dispense Package Size"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Dispense Package Size Unit"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 321}, "Dispense Package Method"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Supplementary Code"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Initiating Location"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Packaging/Assembly Location"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a RXG (Pharmacy/Treatment Give) segment object that belongs to the given * message. */ public RXG(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(NM), true, 1, 4, new System.Object[]{message}, "Give Sub-ID Counter"); this.add(typeof(NM), false, 1, 4, new System.Object[]{message}, "Dispense Sub-ID Counter"); this.add(typeof(TQ), false, 1, 200, new System.Object[]{message}, "Quantity/Timing"); this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Give Code"); this.add(typeof(NM), true, 1, 20, new System.Object[]{message}, "Give Amount - Minimum"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Give Amount - Maximum"); this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Give Units"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Give Dosage Form"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Administration Notes"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 167}, "Substitution Status"); this.add(typeof(LA2), false, 1, 200, new System.Object[]{message}, "Dispense-to Location"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Needs Human Review"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Pharmacy/Treatment Supplier's Special Administration Instructions"); this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Give Per (Time Unit)"); this.add(typeof(ST), false, 1, 6, new System.Object[]{message}, "Give Rate Amount"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Give Rate Units"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Give Strength"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Give Strength Units"); this.add(typeof(ST), false, 0, 20, new System.Object[]{message}, "Substance Lot Number"); this.add(typeof(TS), false, 0, 26, new System.Object[]{message}, "Substance Expiration Date"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Substance Manufacturer Name"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Indication"); this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "Give Drug Strength Volume"); this.add(typeof(CWE), false, 1, 250, new System.Object[]{message}, "Give Drug Strength Volume Units"); this.add(typeof(CWE), false, 1, 60, new System.Object[]{message}, "Give Barcode Identifier"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 480}, "Pharmacy Order Type"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a BTX (Blood Product Transfusion/Disposition) segment object that belongs to the given * message. */ public BTX(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), true, 1, 4, new System.Object[]{message}, "Set ID - BTX"); this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "BC Donation ID"); this.add(typeof(CNE), false, 1, 250, new System.Object[]{message}, "BC Component"); this.add(typeof(CNE), false, 1, 250, new System.Object[]{message}, "BC Blood Group"); this.add(typeof(CWE), false, 1, 250, new System.Object[]{message}, "CP Commercial Product"); this.add(typeof(XON), false, 1, 250, new System.Object[]{message}, "CP Manufacturer"); this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "CP Lot Number"); this.add(typeof(NM), true, 1, 5, new System.Object[]{message}, "BP Quantity"); this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "BP Amount"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "BP Units"); this.add(typeof(CWE), true, 1, 250, new System.Object[]{message}, "BP Transfusion/Disposition Status"); this.add(typeof(ID), true, 1, 1, new System.Object[]{message, 511}, "BP Message Status"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "BP Date/Time of Status"); this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "BP Administrator"); this.add(typeof(XCN), false, 1, 250, new System.Object[]{message}, "BP Verifier"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "BP Transfusion Start Date/Time of Status"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "BP Transfusion End Date/Time of Status"); this.add(typeof(CWE), false, 0, 250, new System.Object[]{message}, "BP Adverse Reaction Type"); this.add(typeof(CWE), false, 1, 250, new System.Object[]{message}, "BP Transfusion Interrupted Reason"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a OBX (Observation/Result) segment object that belongs to the given * message. */ public OBX(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), false, 1, 4, new System.Object[]{message}, "Set ID - OBX"); this.add(typeof(ID), false, 1, 2, new System.Object[]{message, 125}, "Value Type"); this.add(typeof(CE), true, 1, 250, new System.Object[]{message}, "Observation Identifier"); this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Observation Sub-ID"); this.add(typeof(Varies), false, 0, 99999, new System.Object[]{message}, "Observation Value"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Units"); this.add(typeof(ST), false, 1, 60, new System.Object[]{message}, "References Range"); this.add(typeof(IS), false, 0, 5, new System.Object[]{message, 78}, "Abnormal Flags"); this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "Probability"); this.add(typeof(ID), false, 0, 2, new System.Object[]{message, 80}, "Nature of Abnormal Test"); this.add(typeof(ID), true, 1, 1, new System.Object[]{message, 85}, "Observation Result Status"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Effective Date of Reference Range"); this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "User Defined Access Checks"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Date/Time of the Observation"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Producer's ID"); this.add(typeof(XCN), false, 0, 250, new System.Object[]{message}, "Responsible Observer"); this.add(typeof(CE), false, 0, 250, new System.Object[]{message}, "Observation Method"); this.add(typeof(EI), false, 0, 22, new System.Object[]{message}, "Equipment Instance Identifier"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Date/Time of the Analysis"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a ARQ (Appointment Request) segment object that belongs to the given * message. */ public ARQ(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(EI), true, 1, 75, new System.Object[]{message}, "Placer Appointment ID"); this.add(typeof(EI), false, 1, 75, new System.Object[]{message}, "Filler Appointment ID"); this.add(typeof(NM), false, 1, 5, new System.Object[]{message}, "Occurrence Number"); this.add(typeof(EI), false, 1, 22, new System.Object[]{message}, "Placer Group Number"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Schedule ID"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Request Event Reason"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Appointment Reason"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Appointment Type"); this.add(typeof(NM), false, 1, 20, new System.Object[]{message}, "Appointment Duration"); this.add(typeof(CE), false, 1, 250, new System.Object[]{message}, "Appointment Duration Units"); this.add(typeof(DR), false, 0, 53, new System.Object[]{message}, "Requested Start Date/Time Range"); this.add(typeof(ST), false, 1, 5, new System.Object[]{message}, "Priority-ARQ"); this.add(typeof(RI), false, 1, 100, new System.Object[]{message}, "Repeating Interval"); this.add(typeof(ST), false, 1, 5, new System.Object[]{message}, "Repeating Interval Duration"); this.add(typeof(XCN), true, 0, 250, new System.Object[]{message}, "Placer Contact Person"); this.add(typeof(XTN), false, 0, 250, new System.Object[]{message}, "Placer Contact Phone Number"); this.add(typeof(XAD), false, 0, 250, new System.Object[]{message}, "Placer Contact Address"); this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "Placer Contact Location"); this.add(typeof(XCN), true, 0, 250, new System.Object[]{message}, "Entered By Person"); this.add(typeof(XTN), false, 0, 250, new System.Object[]{message}, "Entered By Phone Number"); this.add(typeof(PL), false, 1, 80, new System.Object[]{message}, "Entered By Location"); this.add(typeof(EI), false, 1, 75, new System.Object[]{message}, "Parent Placer Appointment ID"); this.add(typeof(EI), false, 1, 75, new System.Object[]{message}, "Parent Filler Appointment ID"); this.add(typeof(EI), false, 0, 22, new System.Object[]{message}, "Placer Order Number"); this.add(typeof(EI), false, 0, 22, new System.Object[]{message}, "Filler Order Number"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a STF (Staff identification segment) segment object that belongs to the given * message. */ public STF(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(CE), true, 1, 60, new System.Object[]{message}, "STF - Primary Key Value"); this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Staff ID Code"); this.add(typeof(XPN), false, 1, 48, new System.Object[]{message}, "Staff Name"); this.add(typeof(ID), false, 0, 2, new System.Object[]{message, 182}, "Staff Type"); this.add(typeof(IS), false, 1, 1, new System.Object[]{message, 1}, "Sex"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Date of Birth"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 183}, "Active/Inactive Flag"); this.add(typeof(CE), false, 0, 200, new System.Object[]{message}, "Department"); this.add(typeof(CE), false, 0, 200, new System.Object[]{message}, "Service"); this.add(typeof(TN), false, 0, 40, new System.Object[]{message}, "Phone"); this.add(typeof(AD), false, 2, 106, new System.Object[]{message}, "Office/Home Address"); this.add(typeof(CM_DIN), false, 0, 26, new System.Object[]{message}, "Activation Date"); this.add(typeof(CM_DIN), false, 0, 26, new System.Object[]{message}, "Inactivation Date"); this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Backup Person ID"); this.add(typeof(ST), false, 0, 40, new System.Object[]{message}, "E-mail Address"); this.add(typeof(CE), false, 1, 200, new System.Object[]{message}, "Preferred Method of Contact"); this.add(typeof(IS), false, 0, 1, new System.Object[]{message, 2}, "Marital Status"); this.add(typeof(ST), false, 1, 20, new System.Object[]{message}, "Job Title"); this.add(typeof(JCC), false, 1, 20, new System.Object[]{message}, "Job Code/Class"); this.add(typeof(IS), false, 1, 2, new System.Object[]{message, 66}, "Employment Status"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Additional Insured on Auto"); this.add(typeof(DLN), false, 1, 25, new System.Object[]{message}, "Driver's License Number"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 136}, "Copy Auto Ins"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Auto Ins. Expires"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Date Last DMV Review"); this.add(typeof(DT), false, 1, 8, new System.Object[]{message}, "Date Next DMV Review"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a UB2 (UB92 Data) segment object that belongs to the given * message. */ public UB2(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(SI), false, 1, 4, new System.Object[]{message}, "Set ID - UB2"); this.add(typeof(ST), false, 1, 3, new System.Object[]{message}, "Co-Insurance Days (9)"); this.add(typeof(IS), false, 0, 2, new System.Object[]{message, 43}, "Condition Code (24-30)"); this.add(typeof(ST), false, 1, 3, new System.Object[]{message}, "Covered Days (7)"); this.add(typeof(ST), false, 1, 4, new System.Object[]{message}, "Non-Covered Days (8)"); this.add(typeof(UVC), false, 0, 41, new System.Object[]{message}, "Value Amount and Code"); this.add(typeof(OCD), false, 0, 259, new System.Object[]{message}, "Occurrence Code and Date (32-35)"); this.add(typeof(OSP), false, 0, 268, new System.Object[]{message}, "Occurrence Span Code/Dates (36)"); this.add(typeof(ST), false, 0, 29, new System.Object[]{message}, "UB92 Locator 2 (State)"); this.add(typeof(ST), false, 0, 12, new System.Object[]{message}, "UB92 Locator 11 (State)"); this.add(typeof(ST), false, 1, 5, new System.Object[]{message}, "UB92 Locator 31 (National)"); this.add(typeof(ST), false, 0, 23, new System.Object[]{message}, "Document Control Number"); this.add(typeof(ST), false, 0, 4, new System.Object[]{message}, "UB92 Locator 49 (National)"); this.add(typeof(ST), false, 0, 14, new System.Object[]{message}, "UB92 Locator 56 (State)"); this.add(typeof(ST), false, 1, 27, new System.Object[]{message}, "UB92 Locator 57 (National)"); this.add(typeof(ST), false, 0, 2, new System.Object[]{message}, "UB92 Locator 78 (State)"); this.add(typeof(NM), false, 1, 3, new System.Object[]{message}, "Special Visit Count"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
/** * Creates a PEO (Product Experience Observation) segment object that belongs to the given * message. */ public PEO(IGroup parent, IModelClassFactory factory) : base(parent,factory) { IMessage message = Message; try { this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Event Identifiers Used"); this.add(typeof(CE), false, 0, 60, new System.Object[]{message}, "Event Symptom/Diagnosis Code"); this.add(typeof(TS), true, 1, 26, new System.Object[]{message}, "Event Onset Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Event Exacerbation Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Event Improved Date/Time"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Event Ended Data/Time"); this.add(typeof(XAD), false, 1, 106, new System.Object[]{message}, "Event Location Occurred Address"); this.add(typeof(ID), false, 0, 1, new System.Object[]{message, 237}, "Event Qualification"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 238}, "Event Serious"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 239}, "Event Expected"); this.add(typeof(ID), false, 0, 1, new System.Object[]{message, 240}, "Event Outcome"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 241}, "Patient Outcome"); this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event Description From Others"); this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event From Original Reporter"); this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event Description From Patient"); this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event Description From Practitioner"); this.add(typeof(FT), false, 0, 600, new System.Object[]{message}, "Event Description From Autopsy"); this.add(typeof(CE), false, 0, 30, new System.Object[]{message}, "Cause Of Death"); this.add(typeof(XPN), false, 1, 46, new System.Object[]{message}, "Primary Observer Name"); this.add(typeof(XAD), false, 0, 106, new System.Object[]{message}, "Primary Observer Address"); this.add(typeof(XTN), false, 0, 40, new System.Object[]{message}, "Primary Observer Telephone"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 242}, "Primary Observer’s Qualification"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 242}, "Confirmation Provided By"); this.add(typeof(TS), false, 1, 26, new System.Object[]{message}, "Primary Observer Aware Date/Time"); this.add(typeof(ID), false, 1, 1, new System.Object[]{message, 243}, "Primary Observer’s Identity May Be Divulged"); } catch (HL7Exception he) { HapiLogFactory.GetHapiLog(GetType()).Error("Can't instantiate " + GetType().Name, he); } }
///<summary> /// Creates a new ORL_O22 Group with custom IModelClassFactory. ///</summary> public ORL_O22(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new ESR_U02 Group with custom IModelClassFactory. ///</summary> public ESR_U02(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new RRE_O12 Group with custom IModelClassFactory. ///</summary> public RRE_O12(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new ADT_A01 Group with custom IModelClassFactory. ///</summary> public ADT_A01(IModelClassFactory factory) : base(factory) { init(factory); }
/// <summary> Creates a new OSR_Q06 Group with custom IModelClassFactory. </summary> /// /// <param name="factory"> The factory. </param> public OSR_Q06(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new PMU_B03 Group with custom IModelClassFactory. ///</summary> public PMU_B03(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new RDS_O13 Group with custom IModelClassFactory. ///</summary> public RDS_O13(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new PPP_PCB Group with custom IModelClassFactory. ///</summary> public PPP_PCB(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new UDM_Q05 Group with custom IModelClassFactory. ///</summary> public UDM_Q05(IModelClassFactory factory) : base(factory){ init(factory); }
/// <summary> Creates a new RQP_I04 Group with custom IModelClassFactory. </summary> /// /// <param name="factory"> The factory. </param> public RQP_I04(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new MFN_M07 Group with custom IModelClassFactory. ///</summary> public MFN_M07(IModelClassFactory factory) : base(factory){ init(factory); }
/// <summary> Creates a new MDM_T07 Group with custom IModelClassFactory. </summary> /// /// <param name="factory"> The factory. </param> public MDM_T07(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new ORR_O02 Group with custom IModelClassFactory. ///</summary> public ORR_O02(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new QRY_R02 Group with custom IModelClassFactory. ///</summary> public QRY_R02(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new MFK_M01 Group with custom IModelClassFactory. ///</summary> public MFK_M01(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new SRR_S09 Group with custom IModelClassFactory. ///</summary> public SRR_S09(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new QBP_Q15 Group with custom IModelClassFactory. ///</summary> public QBP_Q15(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new QSB_Q16 Group with custom IModelClassFactory. ///</summary> public QSB_Q16(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new ORG_O20 Group with custom IModelClassFactory. ///</summary> public ORG_O20(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new MFR_M05 Group with custom IModelClassFactory. ///</summary> public MFR_M05(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new INR_U06 Group with custom IModelClassFactory. ///</summary> public INR_U06(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new RSP_Q11 Group with custom IModelClassFactory. ///</summary> public RSP_Q11(IModelClassFactory factory) : base(factory) { init(factory); }
/// <summary> Creates a new RAR_RAR Group with custom IModelClassFactory. </summary> /// /// <param name="factory"> The factory. </param> public RAR_RAR(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new SIU_S12 Group with custom IModelClassFactory. ///</summary> public SIU_S12(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new DFT_P03 Group with custom IModelClassFactory. ///</summary> public DFT_P03(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new OUL_R22 Group with custom IModelClassFactory. ///</summary> public OUL_R22(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new ORM_O01 Group with custom IModelClassFactory. ///</summary> public ORM_O01(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new OMI_O23 Group with custom IModelClassFactory. ///</summary> public OMI_O23(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new RQI_I02 Group with custom IModelClassFactory. ///</summary> public RQI_I02(IModelClassFactory factory) : base(factory) { init(factory); }
///<summary> /// Creates a new CRM_C01 Group with custom IModelClassFactory. ///</summary> public CRM_C01(IModelClassFactory factory) : base(factory) { init(factory); }