Class EDU

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class EDU extends AbstractSegment

Represents an HL7 EDU message segment (Educational Detail). This segment has the following fields:

  • EDU-1: Set ID - EDU (SI)
  • EDU-2: Academic Degree (IS) optional
  • EDU-3: Academic Degree Program Date Range (DR) optional
  • EDU-4: Academic Degree Program Participation Date Range (DR) optional
  • EDU-5: Academic Degree Granted Date (DT) optional
  • EDU-6: School (XON) optional
  • EDU-7: School Type Code (CE) optional
  • EDU-8: School Address (XAD) optional
  • EDU-9: Major Field of Study (CWE) optional repeating
See Also:
  • Constructor Details

  • Method Details

    • getSetIDEDU

      public SI getSetIDEDU()
      Returns EDU-1: "Set ID - EDU" - creates it if necessary
    • getEdu1_SetIDEDU

      public SI getEdu1_SetIDEDU()
      Returns EDU-1: "Set ID - EDU" - creates it if necessary
    • getAcademicDegree

      Returns EDU-2: "Academic Degree" - creates it if necessary
    • getEdu2_AcademicDegree

      Returns EDU-2: "Academic Degree" - creates it if necessary
    • getAcademicDegreeProgramDateRange

      Returns EDU-3: "Academic Degree Program Date Range" - creates it if necessary
    • getEdu3_AcademicDegreeProgramDateRange

      Returns EDU-3: "Academic Degree Program Date Range" - creates it if necessary
    • getAcademicDegreeProgramParticipationDateRange

      Returns EDU-4: "Academic Degree Program Participation Date Range" - creates it if necessary
    • getEdu4_AcademicDegreeProgramParticipationDateRange

      Returns EDU-4: "Academic Degree Program Participation Date Range" - creates it if necessary
    • getAcademicDegreeGrantedDate

      Returns EDU-5: "Academic Degree Granted Date" - creates it if necessary
    • getEdu5_AcademicDegreeGrantedDate

      Returns EDU-5: "Academic Degree Granted Date" - creates it if necessary
    • getSchool

      public XON getSchool()
      Returns EDU-6: "School" - creates it if necessary
    • getEdu6_School

      public XON getEdu6_School()
      Returns EDU-6: "School" - creates it if necessary
    • getSchoolTypeCode

      Returns EDU-7: "School Type Code" - creates it if necessary
    • getEdu7_SchoolTypeCode

      Returns EDU-7: "School Type Code" - creates it if necessary
    • getSchoolAddress

      Returns EDU-8: "School Address" - creates it if necessary
    • getEdu8_SchoolAddress

      Returns EDU-8: "School Address" - creates it if necessary
    • getMajorFieldOfStudy

      Returns all repetitions of Major Field of Study (EDU-9).
    • getEdu9_MajorFieldOfStudy

      Returns all repetitions of Major Field of Study (EDU-9).
    • getMajorFieldOfStudyReps

      Returns a count of the current number of repetitions of Major Field of Study (EDU-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getMajorFieldOfStudy

      public CWE getMajorFieldOfStudy(int rep)
      Returns a specific repetition of EDU-9: "Major Field of Study" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getEdu9_MajorFieldOfStudy

      public CWE getEdu9_MajorFieldOfStudy(int rep)
      Returns a specific repetition of EDU-9: "Major Field of Study" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getEdu9_MajorFieldOfStudyReps

      Returns a count of the current number of repetitions of Major Field of Study (EDU-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertMajorFieldOfStudy

      public CWE insertMajorFieldOfStudy(int rep) throws HL7Exception
      Inserts a repetition of EDU-9: "Major Field of Study" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertEdu9_MajorFieldOfStudy

      Inserts a repetition of EDU-9: "Major Field of Study" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeMajorFieldOfStudy

      public CWE removeMajorFieldOfStudy(int rep) throws HL7Exception
      Removes a repetition of EDU-9: "Major Field of Study" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeEdu9_MajorFieldOfStudy

      Removes a repetition of EDU-9: "Major Field of Study" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • createNewTypeWithoutReflection

      protected Type createNewTypeWithoutReflection(int field)
      Overrides:
      createNewTypeWithoutReflection in class AbstractSegment