Class AIS

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class AIS extends AbstractSegment

Represents an HL7 AIS message segment (Appointment Information - Service). This segment has the following fields:

  • AIS-1: Set ID - AIS (SI)
  • AIS-2: Segment Action Code (ID) optional
  • AIS-3: Universal Service Identifier (CE)
  • AIS-4: Start Date/Time (TS) optional
  • AIS-5: Start Date/Time Offset (NM) optional
  • AIS-6: Start Date/Time Offset Units (CE) optional
  • AIS-7: Duration (NM) optional
  • AIS-8: Duration Units (CE) optional
  • AIS-9: Allow Substitution Code (IS) optional
  • AIS-10: Filler Status Code (CE) optional
  • AIS-11: Placer Supplemental Service Information (CE) optional repeating
  • AIS-12: Filler Supplemental Service Information (CE) optional repeating
See Also:
  • Constructor Details

  • Method Details

    • getSetIDAIS

      public SI getSetIDAIS()
      Returns AIS-1: "Set ID - AIS" - creates it if necessary
    • getAis1_SetIDAIS

      public SI getAis1_SetIDAIS()
      Returns AIS-1: "Set ID - AIS" - creates it if necessary
    • getSegmentActionCode

      Returns AIS-2: "Segment Action Code" - creates it if necessary
    • getAis2_SegmentActionCode

      Returns AIS-2: "Segment Action Code" - creates it if necessary
    • getUniversalServiceIdentifier

      Returns AIS-3: "Universal Service Identifier" - creates it if necessary
    • getAis3_UniversalServiceIdentifier

      Returns AIS-3: "Universal Service Identifier" - creates it if necessary
    • getStartDateTime

      public TS getStartDateTime()
      Returns AIS-4: "Start Date/Time" - creates it if necessary
    • getAis4_StartDateTime

      Returns AIS-4: "Start Date/Time" - creates it if necessary
    • getStartDateTimeOffset

      Returns AIS-5: "Start Date/Time Offset" - creates it if necessary
    • getAis5_StartDateTimeOffset

      Returns AIS-5: "Start Date/Time Offset" - creates it if necessary
    • getStartDateTimeOffsetUnits

      Returns AIS-6: "Start Date/Time Offset Units" - creates it if necessary
    • getAis6_StartDateTimeOffsetUnits

      Returns AIS-6: "Start Date/Time Offset Units" - creates it if necessary
    • getDuration

      public NM getDuration()
      Returns AIS-7: "Duration" - creates it if necessary
    • getAis7_Duration

      public NM getAis7_Duration()
      Returns AIS-7: "Duration" - creates it if necessary
    • getDurationUnits

      public CE getDurationUnits()
      Returns AIS-8: "Duration Units" - creates it if necessary
    • getAis8_DurationUnits

      Returns AIS-8: "Duration Units" - creates it if necessary
    • getAllowSubstitutionCode

      Returns AIS-9: "Allow Substitution Code" - creates it if necessary
    • getAis9_AllowSubstitutionCode

      Returns AIS-9: "Allow Substitution Code" - creates it if necessary
    • getFillerStatusCode

      Returns AIS-10: "Filler Status Code" - creates it if necessary
    • getAis10_FillerStatusCode

      Returns AIS-10: "Filler Status Code" - creates it if necessary
    • getPlacerSupplementalServiceInformation

      Returns all repetitions of Placer Supplemental Service Information (AIS-11).
    • getAis11_PlacerSupplementalServiceInformation

      Returns all repetitions of Placer Supplemental Service Information (AIS-11).
    • getPlacerSupplementalServiceInformationReps

      Returns a count of the current number of repetitions of Placer Supplemental Service Information (AIS-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getPlacerSupplementalServiceInformation

      Returns a specific repetition of AIS-11: "Placer Supplemental Service Information" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getAis11_PlacerSupplementalServiceInformation

      Returns a specific repetition of AIS-11: "Placer Supplemental Service Information" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getAis11_PlacerSupplementalServiceInformationReps

      Returns a count of the current number of repetitions of Placer Supplemental Service Information (AIS-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertPlacerSupplementalServiceInformation

      Inserts a repetition of AIS-11: "Placer Supplemental Service Information" 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)
    • insertAis11_PlacerSupplementalServiceInformation

      Inserts a repetition of AIS-11: "Placer Supplemental Service Information" 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)
    • removePlacerSupplementalServiceInformation

      Removes a repetition of AIS-11: "Placer Supplemental Service Information" 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)
    • removeAis11_PlacerSupplementalServiceInformation

      Removes a repetition of AIS-11: "Placer Supplemental Service Information" 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)
    • getFillerSupplementalServiceInformation

      Returns all repetitions of Filler Supplemental Service Information (AIS-12).
    • getAis12_FillerSupplementalServiceInformation

      Returns all repetitions of Filler Supplemental Service Information (AIS-12).
    • getFillerSupplementalServiceInformationReps

      Returns a count of the current number of repetitions of Filler Supplemental Service Information (AIS-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getFillerSupplementalServiceInformation

      Returns a specific repetition of AIS-12: "Filler Supplemental Service Information" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getAis12_FillerSupplementalServiceInformation

      Returns a specific repetition of AIS-12: "Filler Supplemental Service Information" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getAis12_FillerSupplementalServiceInformationReps

      Returns a count of the current number of repetitions of Filler Supplemental Service Information (AIS-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertFillerSupplementalServiceInformation

      Inserts a repetition of AIS-12: "Filler Supplemental Service Information" 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)
    • insertAis12_FillerSupplementalServiceInformation

      Inserts a repetition of AIS-12: "Filler Supplemental Service Information" 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)
    • removeFillerSupplementalServiceInformation

      Removes a repetition of AIS-12: "Filler Supplemental Service Information" 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)
    • removeAis12_FillerSupplementalServiceInformation

      Removes a repetition of AIS-12: "Filler Supplemental Service Information" 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