/** * Returns * DG1-1: "Set ID - DG1" - creates it if necessary */ public SI getSetIDDG1() { SI retVal = this.getTypedField(1, 0); return retVal; }
/** * Returns * ABS-9: "Case Category Code" - creates it if necessary */ public CE getCaseCategoryCode() { CE retVal = this.getTypedField(9, 0); return retVal; }
/** * Returns * ACC-7: "Entered By" - creates it if necessary */ public XCN getAcc7_EnteredBy() { XCN retVal = this.getTypedField(7, 0); return retVal; }
/** * Returns * AIS-6: "Start Date/Time Offset Units" - creates it if necessary */ public CE getAis6_StartDateTimeOffsetUnits() { CE retVal = this.getTypedField(6, 0); return retVal; }
/** * Returns a count of the current number of repetitions of Diagnosing Clinician (DG1-16). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getDiagnosingClinicianReps() { return this.getReps(16); }
/** * Returns * DRG-6: "Outlier Days" - creates it if necessary */ public NM getOutlierDays() { NM retVal = this.getTypedField(6, 0); return retVal; }
/** * Returns all repetitions of Resource Selection Criteria (APR-2). */ public SCV[] getApr2_ResourceSelectionCriteria() { SCV[] retVal = this.getTypedField(2, new SCV[0]); return retVal; }
/** * Returns a specific repetition of * ARQ-20: "Entered By Phone Number" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XTN getArq20_EnteredByPhoneNumber(int rep) { XTN retVal = this.getTypedField(20, rep); return retVal; }
/** * Returns a count of the current number of repetitions of Filler Order Number (ARQ-25). * This method does not create a repetition, so if no repetitions have currently been defined or accessed, * it will return zero. */ public int getArq25_FillerOrderNumberReps() { return this.getReps(25); }
} else if ( ack instanceof ca.uhn.hl7v2.model.v251.message.ACK ) { ca.uhn.hl7v2.model.v251.message.ACK mod = (ca.uhn.hl7v2.model.v251.message.ACK) ack; mod.getMSH().getSendingApplication().getNamespaceID().setValue( APPNAME ); mod.getMSH().getSendingFacility().getNamespaceID().setValue( APPNAME ); ackMessage = mod.encode(); } else if ( ack instanceof ca.uhn.hl7v2.model.v26.message.ACK ) {
} else if ( structure instanceof ca.uhn.hl7v2.model.v251.segment.MSH ) { messageType = ( (ca.uhn.hl7v2.model.v251.segment.MSH) structure ).getMessageType().getMessageStructure().getValue(); } else if ( structure instanceof ca.uhn.hl7v2.model.v26.segment.MSH ) { messageType =
/** * Returns * DG1-2: "Diagnosis Coding Method" - creates it if necessary */ public ID getDg12_DiagnosisCodingMethod() { ID retVal = this.getTypedField(2, 0); return retVal; }
/** * Returns * ABS-12: "Gestation Period - Weeks" - creates it if necessary */ public NM getAbs12_GestationPeriodWeeks() { NM retVal = this.getTypedField(12, 0); return retVal; }
/** * Returns * ACC-10: "Police Notified Indicator" - creates it if necessary */ public ID getPoliceNotifiedIndicator() { ID retVal = this.getTypedField(10, 0); return retVal; }
/** * Returns * AIS-8: "Duration Units" - creates it if necessary */ public CE getDurationUnits() { CE retVal = this.getTypedField(8, 0); return retVal; }
/** * Returns * DG1-3: "Diagnosis Code - DG1" - creates it if necessary */ public CE getDiagnosisCodeDG1() { CE retVal = this.getTypedField(3, 0); return retVal; }
/** * Returns * ABS-13: "Newborn Code" - creates it if necessary */ public CE getNewbornCode() { CE retVal = this.getTypedField(13, 0); return retVal; }
/** * Returns a specific repetition of * DG1-16: "Diagnosing Clinician" - creates it if necessary * * @param rep The repetition index (0-indexed) */ public XCN getDiagnosingClinician(int rep) { XCN retVal = this.getTypedField(16, rep); return retVal; }
/** * Returns * ABS-14: "Stillborn Indicator" - creates it if necessary */ public ID getAbs14_StillbornIndicator() { ID retVal = this.getTypedField(14, 0); return retVal; }
/** * Returns * DG1-21: "Diagnosis Action Code" - creates it if necessary */ public ID getDg121_DiagnosisActionCode() { ID retVal = this.getTypedField(21, 0); return retVal; }