Class URD

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class URD extends AbstractSegment

Represents an HL7 URD message segment (RESULTS/UPDATE DEFINITION). This segment has the following fields:

  • URD-1: R/U date / time (TS) optional
  • URD-2: Report Priority (ID) optional
  • URD-3: R/U Who Subject Definition (ST) repeating
  • URD-4: R/U What Subject Definition (ID) optional repeating
  • URD-5: R/U What Department Code (ST) optional repeating
  • URD-6: R/U display / print locations (ST) optional repeating
  • URD-7: R/U Results Level (ID) optional
See Also:
  • Constructor Details

  • Method Details

    • getRUDateTime

      public TS getRUDateTime()
      Returns URD-1: "R/U date / time" - creates it if necessary
    • getUrd1_RUDateTime

      Returns URD-1: "R/U date / time" - creates it if necessary
    • getReportPriority

      Returns URD-2: "Report Priority" - creates it if necessary
    • getUrd2_ReportPriority

      Returns URD-2: "Report Priority" - creates it if necessary
    • getRUWhoSubjectDefinition

      Returns all repetitions of R/U Who Subject Definition (URD-3).
    • getUrd3_RUWhoSubjectDefinition

      Returns all repetitions of R/U Who Subject Definition (URD-3).
    • getRUWhoSubjectDefinitionReps

      Returns a count of the current number of repetitions of R/U Who Subject Definition (URD-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getRUWhoSubjectDefinition

      public ST getRUWhoSubjectDefinition(int rep)
      Returns a specific repetition of URD-3: "R/U Who Subject Definition" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getUrd3_RUWhoSubjectDefinition

      Returns a specific repetition of URD-3: "R/U Who Subject Definition" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getUrd3_RUWhoSubjectDefinitionReps

      Returns a count of the current number of repetitions of R/U Who Subject Definition (URD-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertRUWhoSubjectDefinition

      public ST insertRUWhoSubjectDefinition(int rep) throws HL7Exception
      Inserts a repetition of URD-3: "R/U Who Subject Definition" 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)
    • insertUrd3_RUWhoSubjectDefinition

      Inserts a repetition of URD-3: "R/U Who Subject Definition" 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)
    • removeRUWhoSubjectDefinition

      public ST removeRUWhoSubjectDefinition(int rep) throws HL7Exception
      Removes a repetition of URD-3: "R/U Who Subject Definition" 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)
    • removeUrd3_RUWhoSubjectDefinition

      Removes a repetition of URD-3: "R/U Who Subject Definition" 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)
    • getRUWhatSubjectDefinition

      Returns all repetitions of R/U What Subject Definition (URD-4).
    • getUrd4_RUWhatSubjectDefinition

      Returns all repetitions of R/U What Subject Definition (URD-4).
    • getRUWhatSubjectDefinitionReps

      Returns a count of the current number of repetitions of R/U What Subject Definition (URD-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getRUWhatSubjectDefinition

      public ID getRUWhatSubjectDefinition(int rep)
      Returns a specific repetition of URD-4: "R/U What Subject Definition" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getUrd4_RUWhatSubjectDefinition

      Returns a specific repetition of URD-4: "R/U What Subject Definition" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getUrd4_RUWhatSubjectDefinitionReps

      Returns a count of the current number of repetitions of R/U What Subject Definition (URD-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertRUWhatSubjectDefinition

      Inserts a repetition of URD-4: "R/U What Subject Definition" 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)
    • insertUrd4_RUWhatSubjectDefinition

      Inserts a repetition of URD-4: "R/U What Subject Definition" 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)
    • removeRUWhatSubjectDefinition

      Removes a repetition of URD-4: "R/U What Subject Definition" 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)
    • removeUrd4_RUWhatSubjectDefinition

      Removes a repetition of URD-4: "R/U What Subject Definition" 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)
    • getRUWhatDepartmentCode

      Returns all repetitions of R/U What Department Code (URD-5).
    • getUrd5_RUWhatDepartmentCode

      Returns all repetitions of R/U What Department Code (URD-5).
    • getRUWhatDepartmentCodeReps

      Returns a count of the current number of repetitions of R/U What Department Code (URD-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getRUWhatDepartmentCode

      public ST getRUWhatDepartmentCode(int rep)
      Returns a specific repetition of URD-5: "R/U What Department Code" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getUrd5_RUWhatDepartmentCode

      public ST getUrd5_RUWhatDepartmentCode(int rep)
      Returns a specific repetition of URD-5: "R/U What Department Code" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getUrd5_RUWhatDepartmentCodeReps

      Returns a count of the current number of repetitions of R/U What Department Code (URD-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertRUWhatDepartmentCode

      public ST insertRUWhatDepartmentCode(int rep) throws HL7Exception
      Inserts a repetition of URD-5: "R/U What Department Code" 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)
    • insertUrd5_RUWhatDepartmentCode

      Inserts a repetition of URD-5: "R/U What Department Code" 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)
    • removeRUWhatDepartmentCode

      public ST removeRUWhatDepartmentCode(int rep) throws HL7Exception
      Removes a repetition of URD-5: "R/U What Department Code" 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)
    • removeUrd5_RUWhatDepartmentCode

      Removes a repetition of URD-5: "R/U What Department Code" 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)
    • getRUDisplayPrintLocations

      Returns all repetitions of R/U display / print locations (URD-6).
    • getUrd6_RUDisplayPrintLocations

      Returns all repetitions of R/U display / print locations (URD-6).
    • getRUDisplayPrintLocationsReps

      Returns a count of the current number of repetitions of R/U display / print locations (URD-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getRUDisplayPrintLocations

      public ST getRUDisplayPrintLocations(int rep)
      Returns a specific repetition of URD-6: "R/U display / print locations" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getUrd6_RUDisplayPrintLocations

      Returns a specific repetition of URD-6: "R/U display / print locations" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getUrd6_RUDisplayPrintLocationsReps

      Returns a count of the current number of repetitions of R/U display / print locations (URD-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertRUDisplayPrintLocations

      Inserts a repetition of URD-6: "R/U display / print locations" 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)
    • insertUrd6_RUDisplayPrintLocations

      Inserts a repetition of URD-6: "R/U display / print locations" 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)
    • removeRUDisplayPrintLocations

      Removes a repetition of URD-6: "R/U display / print locations" 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)
    • removeUrd6_RUDisplayPrintLocations

      Removes a repetition of URD-6: "R/U display / print locations" 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)
    • getRUResultsLevel

      Returns URD-7: "R/U Results Level" - creates it if necessary
    • getUrd7_RUResultsLevel

      Returns URD-7: "R/U Results Level" - creates it if necessary
    • createNewTypeWithoutReflection

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