Class SCH

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class SCH extends AbstractSegment

Represents an HL7 SCH message segment (Scheduling Activity Information). This segment has the following fields:

  • SCH-1: Placer Appointment ID (EI) optional
  • SCH-2: Filler Appointment ID (EI) optional
  • SCH-3: Occurrence Number (NM) optional
  • SCH-4: Placer Group Number (EI) optional
  • SCH-5: Schedule ID (CE) optional
  • SCH-6: Event Reason (CE)
  • SCH-7: Appointment Reason (CE) optional
  • SCH-8: Appointment Type (CE) optional
  • SCH-9: Appointment Duration (NM) optional
  • SCH-10: Appointment Duration Units (CE) optional
  • SCH-11: Appointment Timing Quantity (TQ) repeating
  • SCH-12: Placer Contact Person (XCN) optional repeating
  • SCH-13: Placer Contact Phone Number (XTN) optional
  • SCH-14: Placer Contact Address (XAD) optional repeating
  • SCH-15: Placer Contact Location (PL) optional
  • SCH-16: Filler Contact Person (XCN) repeating
  • SCH-17: Filler Contact Phone Number (XTN) optional
  • SCH-18: Filler Contact Address (XAD) optional repeating
  • SCH-19: Filler Contact Location (PL) optional
  • SCH-20: Entered By Person (XCN) repeating
  • SCH-21: Entered By Phone Number (XTN) optional repeating
  • SCH-22: Entered by Location (PL) optional
  • SCH-23: Parent Placer Appointment ID (EI) optional
  • SCH-24: Parent Filler Appointment ID (EI) optional
  • SCH-25: Filler Status Code (CE) optional
  • SCH-26: Placer Order Number (EI) optional repeating
  • SCH-27: Filler Order Number (EI) optional repeating
See Also:
  • Constructor Details

  • Method Details

    • getPlacerAppointmentID

      Returns SCH-1: "Placer Appointment ID" - creates it if necessary
    • getSch1_PlacerAppointmentID

      Returns SCH-1: "Placer Appointment ID" - creates it if necessary
    • getFillerAppointmentID

      Returns SCH-2: "Filler Appointment ID" - creates it if necessary
    • getSch2_FillerAppointmentID

      Returns SCH-2: "Filler Appointment ID" - creates it if necessary
    • getOccurrenceNumber

      Returns SCH-3: "Occurrence Number" - creates it if necessary
    • getSch3_OccurrenceNumber

      Returns SCH-3: "Occurrence Number" - creates it if necessary
    • getPlacerGroupNumber

      Returns SCH-4: "Placer Group Number" - creates it if necessary
    • getSch4_PlacerGroupNumber

      Returns SCH-4: "Placer Group Number" - creates it if necessary
    • getScheduleID

      public CE getScheduleID()
      Returns SCH-5: "Schedule ID" - creates it if necessary
    • getSch5_ScheduleID

      Returns SCH-5: "Schedule ID" - creates it if necessary
    • getEventReason

      public CE getEventReason()
      Returns SCH-6: "Event Reason" - creates it if necessary
    • getSch6_EventReason

      Returns SCH-6: "Event Reason" - creates it if necessary
    • getAppointmentReason

      Returns SCH-7: "Appointment Reason" - creates it if necessary
    • getSch7_AppointmentReason

      Returns SCH-7: "Appointment Reason" - creates it if necessary
    • getAppointmentType

      Returns SCH-8: "Appointment Type" - creates it if necessary
    • getSch8_AppointmentType

      Returns SCH-8: "Appointment Type" - creates it if necessary
    • getAppointmentDuration

      Returns SCH-9: "Appointment Duration" - creates it if necessary
    • getSch9_AppointmentDuration

      Returns SCH-9: "Appointment Duration" - creates it if necessary
    • getAppointmentDurationUnits

      Returns SCH-10: "Appointment Duration Units" - creates it if necessary
    • getSch10_AppointmentDurationUnits

      Returns SCH-10: "Appointment Duration Units" - creates it if necessary
    • getAppointmentTimingQuantity

      Returns all repetitions of Appointment Timing Quantity (SCH-11).
    • getSch11_AppointmentTimingQuantity

      Returns all repetitions of Appointment Timing Quantity (SCH-11).
    • getAppointmentTimingQuantityReps

      Returns a count of the current number of repetitions of Appointment Timing Quantity (SCH-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getAppointmentTimingQuantity

      public TQ getAppointmentTimingQuantity(int rep)
      Returns a specific repetition of SCH-11: "Appointment Timing Quantity" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch11_AppointmentTimingQuantity

      Returns a specific repetition of SCH-11: "Appointment Timing Quantity" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch11_AppointmentTimingQuantityReps

      Returns a count of the current number of repetitions of Appointment Timing Quantity (SCH-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertAppointmentTimingQuantity

      Inserts a repetition of SCH-11: "Appointment Timing Quantity" 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)
    • insertSch11_AppointmentTimingQuantity

      Inserts a repetition of SCH-11: "Appointment Timing Quantity" 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)
    • removeAppointmentTimingQuantity

      Removes a repetition of SCH-11: "Appointment Timing Quantity" 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)
    • removeSch11_AppointmentTimingQuantity

      Removes a repetition of SCH-11: "Appointment Timing Quantity" 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)
    • getPlacerContactPerson

      Returns all repetitions of Placer Contact Person (SCH-12).
    • getSch12_PlacerContactPerson

      Returns all repetitions of Placer Contact Person (SCH-12).
    • getPlacerContactPersonReps

      Returns a count of the current number of repetitions of Placer Contact Person (SCH-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getPlacerContactPerson

      public XCN getPlacerContactPerson(int rep)
      Returns a specific repetition of SCH-12: "Placer Contact Person" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch12_PlacerContactPerson

      Returns a specific repetition of SCH-12: "Placer Contact Person" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch12_PlacerContactPersonReps

      Returns a count of the current number of repetitions of Placer Contact Person (SCH-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertPlacerContactPerson

      public XCN insertPlacerContactPerson(int rep) throws HL7Exception
      Inserts a repetition of SCH-12: "Placer Contact Person" 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)
    • insertSch12_PlacerContactPerson

      Inserts a repetition of SCH-12: "Placer Contact Person" 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)
    • removePlacerContactPerson

      public XCN removePlacerContactPerson(int rep) throws HL7Exception
      Removes a repetition of SCH-12: "Placer Contact Person" 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)
    • removeSch12_PlacerContactPerson

      Removes a repetition of SCH-12: "Placer Contact Person" 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)
    • getPlacerContactPhoneNumber

      Returns SCH-13: "Placer Contact Phone Number" - creates it if necessary
    • getSch13_PlacerContactPhoneNumber

      Returns SCH-13: "Placer Contact Phone Number" - creates it if necessary
    • getPlacerContactAddress

      Returns all repetitions of Placer Contact Address (SCH-14).
    • getSch14_PlacerContactAddress

      Returns all repetitions of Placer Contact Address (SCH-14).
    • getPlacerContactAddressReps

      Returns a count of the current number of repetitions of Placer Contact Address (SCH-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getPlacerContactAddress

      public XAD getPlacerContactAddress(int rep)
      Returns a specific repetition of SCH-14: "Placer Contact Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch14_PlacerContactAddress

      Returns a specific repetition of SCH-14: "Placer Contact Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch14_PlacerContactAddressReps

      Returns a count of the current number of repetitions of Placer Contact Address (SCH-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertPlacerContactAddress

      public XAD insertPlacerContactAddress(int rep) throws HL7Exception
      Inserts a repetition of SCH-14: "Placer Contact Address" 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)
    • insertSch14_PlacerContactAddress

      Inserts a repetition of SCH-14: "Placer Contact Address" 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)
    • removePlacerContactAddress

      public XAD removePlacerContactAddress(int rep) throws HL7Exception
      Removes a repetition of SCH-14: "Placer Contact Address" 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)
    • removeSch14_PlacerContactAddress

      Removes a repetition of SCH-14: "Placer Contact Address" 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)
    • getPlacerContactLocation

      Returns SCH-15: "Placer Contact Location" - creates it if necessary
    • getSch15_PlacerContactLocation

      Returns SCH-15: "Placer Contact Location" - creates it if necessary
    • getFillerContactPerson

      Returns all repetitions of Filler Contact Person (SCH-16).
    • getSch16_FillerContactPerson

      Returns all repetitions of Filler Contact Person (SCH-16).
    • getFillerContactPersonReps

      Returns a count of the current number of repetitions of Filler Contact Person (SCH-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getFillerContactPerson

      public XCN getFillerContactPerson(int rep)
      Returns a specific repetition of SCH-16: "Filler Contact Person" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch16_FillerContactPerson

      Returns a specific repetition of SCH-16: "Filler Contact Person" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch16_FillerContactPersonReps

      Returns a count of the current number of repetitions of Filler Contact Person (SCH-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertFillerContactPerson

      public XCN insertFillerContactPerson(int rep) throws HL7Exception
      Inserts a repetition of SCH-16: "Filler Contact Person" 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)
    • insertSch16_FillerContactPerson

      Inserts a repetition of SCH-16: "Filler Contact Person" 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)
    • removeFillerContactPerson

      public XCN removeFillerContactPerson(int rep) throws HL7Exception
      Removes a repetition of SCH-16: "Filler Contact Person" 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)
    • removeSch16_FillerContactPerson

      Removes a repetition of SCH-16: "Filler Contact Person" 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)
    • getFillerContactPhoneNumber

      Returns SCH-17: "Filler Contact Phone Number" - creates it if necessary
    • getSch17_FillerContactPhoneNumber

      Returns SCH-17: "Filler Contact Phone Number" - creates it if necessary
    • getFillerContactAddress

      Returns all repetitions of Filler Contact Address (SCH-18).
    • getSch18_FillerContactAddress

      Returns all repetitions of Filler Contact Address (SCH-18).
    • getFillerContactAddressReps

      Returns a count of the current number of repetitions of Filler Contact Address (SCH-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getFillerContactAddress

      public XAD getFillerContactAddress(int rep)
      Returns a specific repetition of SCH-18: "Filler Contact Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch18_FillerContactAddress

      Returns a specific repetition of SCH-18: "Filler Contact Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch18_FillerContactAddressReps

      Returns a count of the current number of repetitions of Filler Contact Address (SCH-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertFillerContactAddress

      public XAD insertFillerContactAddress(int rep) throws HL7Exception
      Inserts a repetition of SCH-18: "Filler Contact Address" 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)
    • insertSch18_FillerContactAddress

      Inserts a repetition of SCH-18: "Filler Contact Address" 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)
    • removeFillerContactAddress

      public XAD removeFillerContactAddress(int rep) throws HL7Exception
      Removes a repetition of SCH-18: "Filler Contact Address" 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)
    • removeSch18_FillerContactAddress

      Removes a repetition of SCH-18: "Filler Contact Address" 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)
    • getFillerContactLocation

      Returns SCH-19: "Filler Contact Location" - creates it if necessary
    • getSch19_FillerContactLocation

      Returns SCH-19: "Filler Contact Location" - creates it if necessary
    • getEnteredByPerson

      public XCN[] getEnteredByPerson()
      Returns all repetitions of Entered By Person (SCH-20).
    • getSch20_EnteredByPerson

      Returns all repetitions of Entered By Person (SCH-20).
    • getEnteredByPersonReps

      public int getEnteredByPersonReps()
      Returns a count of the current number of repetitions of Entered By Person (SCH-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEnteredByPerson

      public XCN getEnteredByPerson(int rep)
      Returns a specific repetition of SCH-20: "Entered By Person" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch20_EnteredByPerson

      public XCN getSch20_EnteredByPerson(int rep)
      Returns a specific repetition of SCH-20: "Entered By Person" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch20_EnteredByPersonReps

      Returns a count of the current number of repetitions of Entered By Person (SCH-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEnteredByPerson

      public XCN insertEnteredByPerson(int rep) throws HL7Exception
      Inserts a repetition of SCH-20: "Entered By Person" 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)
    • insertSch20_EnteredByPerson

      public XCN insertSch20_EnteredByPerson(int rep) throws HL7Exception
      Inserts a repetition of SCH-20: "Entered By Person" 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)
    • removeEnteredByPerson

      public XCN removeEnteredByPerson(int rep) throws HL7Exception
      Removes a repetition of SCH-20: "Entered By Person" 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)
    • removeSch20_EnteredByPerson

      public XCN removeSch20_EnteredByPerson(int rep) throws HL7Exception
      Removes a repetition of SCH-20: "Entered By Person" 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)
    • getEnteredByPhoneNumber

      Returns all repetitions of Entered By Phone Number (SCH-21).
    • getSch21_EnteredByPhoneNumber

      Returns all repetitions of Entered By Phone Number (SCH-21).
    • getEnteredByPhoneNumberReps

      Returns a count of the current number of repetitions of Entered By Phone Number (SCH-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getEnteredByPhoneNumber

      public XTN getEnteredByPhoneNumber(int rep)
      Returns a specific repetition of SCH-21: "Entered By Phone Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch21_EnteredByPhoneNumber

      Returns a specific repetition of SCH-21: "Entered By Phone Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch21_EnteredByPhoneNumberReps

      Returns a count of the current number of repetitions of Entered By Phone Number (SCH-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertEnteredByPhoneNumber

      public XTN insertEnteredByPhoneNumber(int rep) throws HL7Exception
      Inserts a repetition of SCH-21: "Entered By Phone Number" 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)
    • insertSch21_EnteredByPhoneNumber

      Inserts a repetition of SCH-21: "Entered By Phone Number" 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)
    • removeEnteredByPhoneNumber

      public XTN removeEnteredByPhoneNumber(int rep) throws HL7Exception
      Removes a repetition of SCH-21: "Entered By Phone Number" 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)
    • removeSch21_EnteredByPhoneNumber

      Removes a repetition of SCH-21: "Entered By Phone Number" 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)
    • getEnteredByLocation

      Returns SCH-22: "Entered by Location" - creates it if necessary
    • getSch22_EnteredByLocation

      Returns SCH-22: "Entered by Location" - creates it if necessary
    • getParentPlacerAppointmentID

      Returns SCH-23: "Parent Placer Appointment ID" - creates it if necessary
    • getSch23_ParentPlacerAppointmentID

      Returns SCH-23: "Parent Placer Appointment ID" - creates it if necessary
    • getParentFillerAppointmentID

      Returns SCH-24: "Parent Filler Appointment ID" - creates it if necessary
    • getSch24_ParentFillerAppointmentID

      Returns SCH-24: "Parent Filler Appointment ID" - creates it if necessary
    • getFillerStatusCode

      Returns SCH-25: "Filler Status Code" - creates it if necessary
    • getSch25_FillerStatusCode

      Returns SCH-25: "Filler Status Code" - creates it if necessary
    • getPlacerOrderNumber

      Returns all repetitions of Placer Order Number (SCH-26).
    • getSch26_PlacerOrderNumber

      Returns all repetitions of Placer Order Number (SCH-26).
    • getPlacerOrderNumberReps

      Returns a count of the current number of repetitions of Placer Order Number (SCH-26). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getPlacerOrderNumber

      public EI getPlacerOrderNumber(int rep)
      Returns a specific repetition of SCH-26: "Placer Order Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch26_PlacerOrderNumber

      public EI getSch26_PlacerOrderNumber(int rep)
      Returns a specific repetition of SCH-26: "Placer Order Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch26_PlacerOrderNumberReps

      Returns a count of the current number of repetitions of Placer Order Number (SCH-26). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertPlacerOrderNumber

      public EI insertPlacerOrderNumber(int rep) throws HL7Exception
      Inserts a repetition of SCH-26: "Placer Order Number" 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)
    • insertSch26_PlacerOrderNumber

      Inserts a repetition of SCH-26: "Placer Order Number" 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)
    • removePlacerOrderNumber

      public EI removePlacerOrderNumber(int rep) throws HL7Exception
      Removes a repetition of SCH-26: "Placer Order Number" 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)
    • removeSch26_PlacerOrderNumber

      Removes a repetition of SCH-26: "Placer Order Number" 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)
    • getFillerOrderNumber

      Returns all repetitions of Filler Order Number (SCH-27).
    • getSch27_FillerOrderNumber

      Returns all repetitions of Filler Order Number (SCH-27).
    • getFillerOrderNumberReps

      Returns a count of the current number of repetitions of Filler Order Number (SCH-27). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getFillerOrderNumber

      public EI getFillerOrderNumber(int rep)
      Returns a specific repetition of SCH-27: "Filler Order Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch27_FillerOrderNumber

      public EI getSch27_FillerOrderNumber(int rep)
      Returns a specific repetition of SCH-27: "Filler Order Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getSch27_FillerOrderNumberReps

      Returns a count of the current number of repetitions of Filler Order Number (SCH-27). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertFillerOrderNumber

      public EI insertFillerOrderNumber(int rep) throws HL7Exception
      Inserts a repetition of SCH-27: "Filler Order Number" 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)
    • insertSch27_FillerOrderNumber

      Inserts a repetition of SCH-27: "Filler Order Number" 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)
    • removeFillerOrderNumber

      public EI removeFillerOrderNumber(int rep) throws HL7Exception
      Removes a repetition of SCH-27: "Filler Order Number" 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)
    • removeSch27_FillerOrderNumber

      Removes a repetition of SCH-27: "Filler Order Number" 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