Class OM1

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class OM1 extends AbstractSegment

Represents an HL7 OM1 message segment (GENERAL - fields that apply to most observations). This segment has the following fields:

  • OM1-1: Segment Type ID (ST) optional
  • OM1-2: Sequence Number - Test/ Observation Master File (NM) optional
  • OM1-3: Producer's test / observation ID (CE)
  • OM1-4: Permitted Data Types (ID) optional repeating
  • OM1-5: Specimen Required (ID)
  • OM1-6: Producer ID (CE)
  • OM1-7: Observation Description (TX) optional
  • OM1-8: Other test / observation IDs for the observation (CE) optional
  • OM1-9: Other Names (ST) repeating
  • OM1-10: Preferred Report Name for the Observation (ST) optional
  • OM1-11: Preferred Short Name or Mnemonic for Observation (ST) optional
  • OM1-12: Preferred Long Name for the Observation (ST) optional
  • OM1-13: Orderability (ID) optional
  • OM1-14: Identity of instrument used to perform this study (CE) optional repeating
  • OM1-15: Coded Representation of Method (CE) optional repeating
  • OM1-16: Portable (ID) optional
  • OM1-17: Observation producing department / section (ID) optional repeating
  • OM1-18: Telephone Number of Section (TN) optional
  • OM1-19: Nature of test / observation (ID)
  • OM1-20: Report Subheader (CE) optional
  • OM1-21: Report Display Order (ST) optional
  • OM1-22: Date / time stamp for any change in definition for obs (TS)
  • OM1-23: Effective date / time of change (TS) optional
  • OM1-24: Typical Turn-around Time (NM) optional
  • OM1-25: Processing Time (NM) optional
  • OM1-26: Processing Priority (ID) optional repeating
  • OM1-27: Reporting Priority (ID) optional
  • OM1-28: Outside Site(s) Where Observation may be Performed (CE) optional repeating
  • OM1-29: Address of Outside Site(s) (AD) optional repeating
  • OM1-30: Phone Number of Outside Site (TN) optional repeating
  • OM1-31: Confidentiality Code (ID) optional
  • OM1-32: Observations required to interpret the observation (CE) optional repeating
  • OM1-33: Interpretation of Observations (TX) optional
  • OM1-34: Contraindications to Observations (CE) optional repeating
  • OM1-35: Reflex tests / observations (CE) optional repeating
  • OM1-36: Rules that Trigger Reflex Testing (ST) optional
  • OM1-37: Fixed Canned Message (CE) optional repeating
  • OM1-38: Patient Preparation (TX) optional
  • OM1-39: Procedure Medication (CE) optional
  • OM1-40: Factors that may affect the observation (TX) optional
  • OM1-41: Test / observation performance schedule (ST) optional repeating
  • OM1-42: Description of Test Methods (TX) optional
See Also:
  • Constructor Details

  • Method Details

    • getSegmentTypeID

      public ST getSegmentTypeID()
      Returns OM1-1: "Segment Type ID" - creates it if necessary
    • getOm11_SegmentTypeID

      Returns OM1-1: "Segment Type ID" - creates it if necessary
    • getSequenceNumberTestObservationMasterFile

      Returns OM1-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary
    • getOm12_SequenceNumberTestObservationMasterFile

      Returns OM1-2: "Sequence Number - Test/ Observation Master File" - creates it if necessary
    • getProducerSTestObservationID

      Returns OM1-3: "Producer's test / observation ID" - creates it if necessary
    • getOm13_ProducerSTestObservationID

      Returns OM1-3: "Producer's test / observation ID" - creates it if necessary
    • getPermittedDataTypes

      Returns all repetitions of Permitted Data Types (OM1-4).
    • getOm14_PermittedDataTypes

      Returns all repetitions of Permitted Data Types (OM1-4).
    • getPermittedDataTypesReps

      Returns a count of the current number of repetitions of Permitted Data Types (OM1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getPermittedDataTypes

      public ID getPermittedDataTypes(int rep)
      Returns a specific repetition of OM1-4: "Permitted Data Types" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm14_PermittedDataTypes

      public ID getOm14_PermittedDataTypes(int rep)
      Returns a specific repetition of OM1-4: "Permitted Data Types" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm14_PermittedDataTypesReps

      Returns a count of the current number of repetitions of Permitted Data Types (OM1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertPermittedDataTypes

      public ID insertPermittedDataTypes(int rep) throws HL7Exception
      Inserts a repetition of OM1-4: "Permitted Data Types" 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)
    • insertOm14_PermittedDataTypes

      Inserts a repetition of OM1-4: "Permitted Data Types" 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)
    • removePermittedDataTypes

      public ID removePermittedDataTypes(int rep) throws HL7Exception
      Removes a repetition of OM1-4: "Permitted Data Types" 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)
    • removeOm14_PermittedDataTypes

      Removes a repetition of OM1-4: "Permitted Data Types" 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)
    • getSpecimenRequired

      Returns OM1-5: "Specimen Required" - creates it if necessary
    • getOm15_SpecimenRequired

      Returns OM1-5: "Specimen Required" - creates it if necessary
    • getProducerID

      public CE getProducerID()
      Returns OM1-6: "Producer ID" - creates it if necessary
    • getOm16_ProducerID

      Returns OM1-6: "Producer ID" - creates it if necessary
    • getObservationDescription

      Returns OM1-7: "Observation Description" - creates it if necessary
    • getOm17_ObservationDescription

      Returns OM1-7: "Observation Description" - creates it if necessary
    • getOtherTestObservationIDsForTheObservation

      Returns OM1-8: "Other test / observation IDs for the observation" - creates it if necessary
    • getOm18_OtherTestObservationIDsForTheObservation

      Returns OM1-8: "Other test / observation IDs for the observation" - creates it if necessary
    • getOtherNames

      public ST[] getOtherNames()
      Returns all repetitions of Other Names (OM1-9).
    • getOm19_OtherNames

      public ST[] getOm19_OtherNames()
      Returns all repetitions of Other Names (OM1-9).
    • getOtherNamesReps

      public int getOtherNamesReps()
      Returns a count of the current number of repetitions of Other Names (OM1-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getOtherNames

      public ST getOtherNames(int rep)
      Returns a specific repetition of OM1-9: "Other Names" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm19_OtherNames

      public ST getOm19_OtherNames(int rep)
      Returns a specific repetition of OM1-9: "Other Names" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm19_OtherNamesReps

      public int getOm19_OtherNamesReps()
      Returns a count of the current number of repetitions of Other Names (OM1-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertOtherNames

      public ST insertOtherNames(int rep) throws HL7Exception
      Inserts a repetition of OM1-9: "Other Names" 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)
    • insertOm19_OtherNames

      public ST insertOm19_OtherNames(int rep) throws HL7Exception
      Inserts a repetition of OM1-9: "Other Names" 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)
    • removeOtherNames

      public ST removeOtherNames(int rep) throws HL7Exception
      Removes a repetition of OM1-9: "Other Names" 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)
    • removeOm19_OtherNames

      public ST removeOm19_OtherNames(int rep) throws HL7Exception
      Removes a repetition of OM1-9: "Other Names" 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)
    • getPreferredReportNameForTheObservation

      Returns OM1-10: "Preferred Report Name for the Observation" - creates it if necessary
    • getOm110_PreferredReportNameForTheObservation

      Returns OM1-10: "Preferred Report Name for the Observation" - creates it if necessary
    • getPreferredShortNameOrMnemonicForObservation

      Returns OM1-11: "Preferred Short Name or Mnemonic for Observation" - creates it if necessary
    • getOm111_PreferredShortNameOrMnemonicForObservation

      Returns OM1-11: "Preferred Short Name or Mnemonic for Observation" - creates it if necessary
    • getPreferredLongNameForTheObservation

      Returns OM1-12: "Preferred Long Name for the Observation" - creates it if necessary
    • getOm112_PreferredLongNameForTheObservation

      Returns OM1-12: "Preferred Long Name for the Observation" - creates it if necessary
    • getOrderability

      public ID getOrderability()
      Returns OM1-13: "Orderability" - creates it if necessary
    • getOm113_Orderability

      Returns OM1-13: "Orderability" - creates it if necessary
    • getIdentityOfInstrumentUsedToPerformThisStudy

      Returns all repetitions of Identity of instrument used to perform this study (OM1-14).
    • getOm114_IdentityOfInstrumentUsedToPerformThisStudy

      Returns all repetitions of Identity of instrument used to perform this study (OM1-14).
    • getIdentityOfInstrumentUsedToPerformThisStudyReps

      Returns a count of the current number of repetitions of Identity of instrument used to perform this study (OM1-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getIdentityOfInstrumentUsedToPerformThisStudy

      Returns a specific repetition of OM1-14: "Identity of instrument used to perform this study" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm114_IdentityOfInstrumentUsedToPerformThisStudy

      Returns a specific repetition of OM1-14: "Identity of instrument used to perform this study" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm114_IdentityOfInstrumentUsedToPerformThisStudyReps

      Returns a count of the current number of repetitions of Identity of instrument used to perform this study (OM1-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertIdentityOfInstrumentUsedToPerformThisStudy

      Inserts a repetition of OM1-14: "Identity of instrument used to perform this 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)
    • insertOm114_IdentityOfInstrumentUsedToPerformThisStudy

      Inserts a repetition of OM1-14: "Identity of instrument used to perform this 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)
    • removeIdentityOfInstrumentUsedToPerformThisStudy

      Removes a repetition of OM1-14: "Identity of instrument used to perform this 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)
    • removeOm114_IdentityOfInstrumentUsedToPerformThisStudy

      Removes a repetition of OM1-14: "Identity of instrument used to perform this 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)
    • getCodedRepresentationOfMethod

      Returns all repetitions of Coded Representation of Method (OM1-15).
    • getOm115_CodedRepresentationOfMethod

      Returns all repetitions of Coded Representation of Method (OM1-15).
    • getCodedRepresentationOfMethodReps

      Returns a count of the current number of repetitions of Coded Representation of Method (OM1-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getCodedRepresentationOfMethod

      Returns a specific repetition of OM1-15: "Coded Representation of Method" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm115_CodedRepresentationOfMethod

      Returns a specific repetition of OM1-15: "Coded Representation of Method" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm115_CodedRepresentationOfMethodReps

      Returns a count of the current number of repetitions of Coded Representation of Method (OM1-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertCodedRepresentationOfMethod

      Inserts a repetition of OM1-15: "Coded Representation of Method" 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)
    • insertOm115_CodedRepresentationOfMethod

      Inserts a repetition of OM1-15: "Coded Representation of Method" 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)
    • removeCodedRepresentationOfMethod

      Removes a repetition of OM1-15: "Coded Representation of Method" 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)
    • removeOm115_CodedRepresentationOfMethod

      Removes a repetition of OM1-15: "Coded Representation of Method" 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)
    • getPortable

      public ID getPortable()
      Returns OM1-16: "Portable" - creates it if necessary
    • getOm116_Portable

      Returns OM1-16: "Portable" - creates it if necessary
    • getObservationProducingDepartmentSection

      Returns all repetitions of Observation producing department / section (OM1-17).
    • getOm117_ObservationProducingDepartmentSection

      Returns all repetitions of Observation producing department / section (OM1-17).
    • getObservationProducingDepartmentSectionReps

      Returns a count of the current number of repetitions of Observation producing department / section (OM1-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getObservationProducingDepartmentSection

      Returns a specific repetition of OM1-17: "Observation producing department / section" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm117_ObservationProducingDepartmentSection

      Returns a specific repetition of OM1-17: "Observation producing department / section" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm117_ObservationProducingDepartmentSectionReps

      Returns a count of the current number of repetitions of Observation producing department / section (OM1-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertObservationProducingDepartmentSection

      Inserts a repetition of OM1-17: "Observation producing department / section" 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)
    • insertOm117_ObservationProducingDepartmentSection

      Inserts a repetition of OM1-17: "Observation producing department / section" 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)
    • removeObservationProducingDepartmentSection

      Removes a repetition of OM1-17: "Observation producing department / section" 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)
    • removeOm117_ObservationProducingDepartmentSection

      Removes a repetition of OM1-17: "Observation producing department / section" 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)
    • getTelephoneNumberOfSection

      Returns OM1-18: "Telephone Number of Section" - creates it if necessary
    • getOm118_TelephoneNumberOfSection

      Returns OM1-18: "Telephone Number of Section" - creates it if necessary
    • getNatureOfTestObservation

      Returns OM1-19: "Nature of test / observation" - creates it if necessary
    • getOm119_NatureOfTestObservation

      Returns OM1-19: "Nature of test / observation" - creates it if necessary
    • getReportSubheader

      Returns OM1-20: "Report Subheader" - creates it if necessary
    • getOm120_ReportSubheader

      Returns OM1-20: "Report Subheader" - creates it if necessary
    • getReportDisplayOrder

      Returns OM1-21: "Report Display Order" - creates it if necessary
    • getOm121_ReportDisplayOrder

      Returns OM1-21: "Report Display Order" - creates it if necessary
    • getDateTimeStampForAnyChangeInDefinitionForObs

      Returns OM1-22: "Date / time stamp for any change in definition for obs" - creates it if necessary
    • getOm122_DateTimeStampForAnyChangeInDefinitionForObs

      Returns OM1-22: "Date / time stamp for any change in definition for obs" - creates it if necessary
    • getEffectiveDateTimeOfChange

      Returns OM1-23: "Effective date / time of change" - creates it if necessary
    • getOm123_EffectiveDateTimeOfChange

      Returns OM1-23: "Effective date / time of change" - creates it if necessary
    • getTypicalTurnAroundTime

      Returns OM1-24: "Typical Turn-around Time" - creates it if necessary
    • getOm124_TypicalTurnAroundTime

      Returns OM1-24: "Typical Turn-around Time" - creates it if necessary
    • getProcessingTime

      Returns OM1-25: "Processing Time" - creates it if necessary
    • getOm125_ProcessingTime

      Returns OM1-25: "Processing Time" - creates it if necessary
    • getProcessingPriority

      Returns all repetitions of Processing Priority (OM1-26).
    • getOm126_ProcessingPriority

      Returns all repetitions of Processing Priority (OM1-26).
    • getProcessingPriorityReps

      Returns a count of the current number of repetitions of Processing Priority (OM1-26). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getProcessingPriority

      public ID getProcessingPriority(int rep)
      Returns a specific repetition of OM1-26: "Processing Priority" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm126_ProcessingPriority

      public ID getOm126_ProcessingPriority(int rep)
      Returns a specific repetition of OM1-26: "Processing Priority" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm126_ProcessingPriorityReps

      Returns a count of the current number of repetitions of Processing Priority (OM1-26). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertProcessingPriority

      public ID insertProcessingPriority(int rep) throws HL7Exception
      Inserts a repetition of OM1-26: "Processing Priority" 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)
    • insertOm126_ProcessingPriority

      Inserts a repetition of OM1-26: "Processing Priority" 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)
    • removeProcessingPriority

      public ID removeProcessingPriority(int rep) throws HL7Exception
      Removes a repetition of OM1-26: "Processing Priority" 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)
    • removeOm126_ProcessingPriority

      Removes a repetition of OM1-26: "Processing Priority" 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)
    • getReportingPriority

      Returns OM1-27: "Reporting Priority" - creates it if necessary
    • getOm127_ReportingPriority

      Returns OM1-27: "Reporting Priority" - creates it if necessary
    • getOutsideSiteSWhereObservationMayBePerformed

      Returns all repetitions of Outside Site(s) Where Observation may be Performed (OM1-28).
    • getOm128_OutsideSiteSWhereObservationMayBePerformed

      Returns all repetitions of Outside Site(s) Where Observation may be Performed (OM1-28).
    • getOutsideSiteSWhereObservationMayBePerformedReps

      Returns a count of the current number of repetitions of Outside Site(s) Where Observation may be Performed (OM1-28). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getOutsideSiteSWhereObservationMayBePerformed

      Returns a specific repetition of OM1-28: "Outside Site(s) Where Observation may be Performed" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm128_OutsideSiteSWhereObservationMayBePerformed

      Returns a specific repetition of OM1-28: "Outside Site(s) Where Observation may be Performed" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm128_OutsideSiteSWhereObservationMayBePerformedReps

      Returns a count of the current number of repetitions of Outside Site(s) Where Observation may be Performed (OM1-28). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertOutsideSiteSWhereObservationMayBePerformed

      Inserts a repetition of OM1-28: "Outside Site(s) Where Observation may be Performed" 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)
    • insertOm128_OutsideSiteSWhereObservationMayBePerformed

      Inserts a repetition of OM1-28: "Outside Site(s) Where Observation may be Performed" 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)
    • removeOutsideSiteSWhereObservationMayBePerformed

      Removes a repetition of OM1-28: "Outside Site(s) Where Observation may be Performed" 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)
    • removeOm128_OutsideSiteSWhereObservationMayBePerformed

      Removes a repetition of OM1-28: "Outside Site(s) Where Observation may be Performed" 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)
    • getAddressOfOutsideSiteS

      Returns all repetitions of Address of Outside Site(s) (OM1-29).
    • getOm129_AddressOfOutsideSiteS

      Returns all repetitions of Address of Outside Site(s) (OM1-29).
    • getAddressOfOutsideSiteSReps

      Returns a count of the current number of repetitions of Address of Outside Site(s) (OM1-29). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getAddressOfOutsideSiteS

      public AD getAddressOfOutsideSiteS(int rep)
      Returns a specific repetition of OM1-29: "Address of Outside Site(s)" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm129_AddressOfOutsideSiteS

      Returns a specific repetition of OM1-29: "Address of Outside Site(s)" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm129_AddressOfOutsideSiteSReps

      Returns a count of the current number of repetitions of Address of Outside Site(s) (OM1-29). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertAddressOfOutsideSiteS

      public AD insertAddressOfOutsideSiteS(int rep) throws HL7Exception
      Inserts a repetition of OM1-29: "Address of Outside Site(s)" 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)
    • insertOm129_AddressOfOutsideSiteS

      Inserts a repetition of OM1-29: "Address of Outside Site(s)" 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)
    • removeAddressOfOutsideSiteS

      public AD removeAddressOfOutsideSiteS(int rep) throws HL7Exception
      Removes a repetition of OM1-29: "Address of Outside Site(s)" 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)
    • removeOm129_AddressOfOutsideSiteS

      Removes a repetition of OM1-29: "Address of Outside Site(s)" 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)
    • getPhoneNumberOfOutsideSite

      Returns all repetitions of Phone Number of Outside Site (OM1-30).
    • getOm130_PhoneNumberOfOutsideSite

      Returns all repetitions of Phone Number of Outside Site (OM1-30).
    • getPhoneNumberOfOutsideSiteReps

      Returns a count of the current number of repetitions of Phone Number of Outside Site (OM1-30). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getPhoneNumberOfOutsideSite

      public TN getPhoneNumberOfOutsideSite(int rep)
      Returns a specific repetition of OM1-30: "Phone Number of Outside Site" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm130_PhoneNumberOfOutsideSite

      Returns a specific repetition of OM1-30: "Phone Number of Outside Site" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm130_PhoneNumberOfOutsideSiteReps

      Returns a count of the current number of repetitions of Phone Number of Outside Site (OM1-30). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertPhoneNumberOfOutsideSite

      Inserts a repetition of OM1-30: "Phone Number of Outside Site" 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)
    • insertOm130_PhoneNumberOfOutsideSite

      Inserts a repetition of OM1-30: "Phone Number of Outside Site" 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)
    • removePhoneNumberOfOutsideSite

      Removes a repetition of OM1-30: "Phone Number of Outside Site" 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)
    • removeOm130_PhoneNumberOfOutsideSite

      Removes a repetition of OM1-30: "Phone Number of Outside Site" 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)
    • getConfidentialityCode

      Returns OM1-31: "Confidentiality Code" - creates it if necessary
    • getOm131_ConfidentialityCode

      Returns OM1-31: "Confidentiality Code" - creates it if necessary
    • getObservationsRequiredToInterpretTheObservation

      Returns all repetitions of Observations required to interpret the observation (OM1-32).
    • getOm132_ObservationsRequiredToInterpretTheObservation

      Returns all repetitions of Observations required to interpret the observation (OM1-32).
    • getObservationsRequiredToInterpretTheObservationReps

      Returns a count of the current number of repetitions of Observations required to interpret the observation (OM1-32). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getObservationsRequiredToInterpretTheObservation

      Returns a specific repetition of OM1-32: "Observations required to interpret the observation" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm132_ObservationsRequiredToInterpretTheObservation

      Returns a specific repetition of OM1-32: "Observations required to interpret the observation" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm132_ObservationsRequiredToInterpretTheObservationReps

      Returns a count of the current number of repetitions of Observations required to interpret the observation (OM1-32). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertObservationsRequiredToInterpretTheObservation

      Inserts a repetition of OM1-32: "Observations required to interpret the observation" 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)
    • insertOm132_ObservationsRequiredToInterpretTheObservation

      Inserts a repetition of OM1-32: "Observations required to interpret the observation" 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)
    • removeObservationsRequiredToInterpretTheObservation

      Removes a repetition of OM1-32: "Observations required to interpret the observation" 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)
    • removeOm132_ObservationsRequiredToInterpretTheObservation

      Removes a repetition of OM1-32: "Observations required to interpret the observation" 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)
    • getInterpretationOfObservations

      Returns OM1-33: "Interpretation of Observations" - creates it if necessary
    • getOm133_InterpretationOfObservations

      Returns OM1-33: "Interpretation of Observations" - creates it if necessary
    • getContraindicationsToObservations

      Returns all repetitions of Contraindications to Observations (OM1-34).
    • getOm134_ContraindicationsToObservations

      Returns all repetitions of Contraindications to Observations (OM1-34).
    • getContraindicationsToObservationsReps

      Returns a count of the current number of repetitions of Contraindications to Observations (OM1-34). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getContraindicationsToObservations

      Returns a specific repetition of OM1-34: "Contraindications to Observations" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm134_ContraindicationsToObservations

      Returns a specific repetition of OM1-34: "Contraindications to Observations" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm134_ContraindicationsToObservationsReps

      Returns a count of the current number of repetitions of Contraindications to Observations (OM1-34). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertContraindicationsToObservations

      Inserts a repetition of OM1-34: "Contraindications to Observations" 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)
    • insertOm134_ContraindicationsToObservations

      Inserts a repetition of OM1-34: "Contraindications to Observations" 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)
    • removeContraindicationsToObservations

      Removes a repetition of OM1-34: "Contraindications to Observations" 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)
    • removeOm134_ContraindicationsToObservations

      Removes a repetition of OM1-34: "Contraindications to Observations" 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)
    • getReflexTestsObservations

      Returns all repetitions of Reflex tests / observations (OM1-35).
    • getOm135_ReflexTestsObservations

      Returns all repetitions of Reflex tests / observations (OM1-35).
    • getReflexTestsObservationsReps

      Returns a count of the current number of repetitions of Reflex tests / observations (OM1-35). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getReflexTestsObservations

      public CE getReflexTestsObservations(int rep)
      Returns a specific repetition of OM1-35: "Reflex tests / observations" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm135_ReflexTestsObservations

      Returns a specific repetition of OM1-35: "Reflex tests / observations" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm135_ReflexTestsObservationsReps

      Returns a count of the current number of repetitions of Reflex tests / observations (OM1-35). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertReflexTestsObservations

      Inserts a repetition of OM1-35: "Reflex tests / observations" 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)
    • insertOm135_ReflexTestsObservations

      Inserts a repetition of OM1-35: "Reflex tests / observations" 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)
    • removeReflexTestsObservations

      Removes a repetition of OM1-35: "Reflex tests / observations" 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)
    • removeOm135_ReflexTestsObservations

      Removes a repetition of OM1-35: "Reflex tests / observations" 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)
    • getRulesThatTriggerReflexTesting

      Returns OM1-36: "Rules that Trigger Reflex Testing" - creates it if necessary
    • getOm136_RulesThatTriggerReflexTesting

      Returns OM1-36: "Rules that Trigger Reflex Testing" - creates it if necessary
    • getFixedCannedMessage

      Returns all repetitions of Fixed Canned Message (OM1-37).
    • getOm137_FixedCannedMessage

      Returns all repetitions of Fixed Canned Message (OM1-37).
    • getFixedCannedMessageReps

      Returns a count of the current number of repetitions of Fixed Canned Message (OM1-37). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getFixedCannedMessage

      public CE getFixedCannedMessage(int rep)
      Returns a specific repetition of OM1-37: "Fixed Canned Message" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm137_FixedCannedMessage

      public CE getOm137_FixedCannedMessage(int rep)
      Returns a specific repetition of OM1-37: "Fixed Canned Message" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm137_FixedCannedMessageReps

      Returns a count of the current number of repetitions of Fixed Canned Message (OM1-37). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertFixedCannedMessage

      public CE insertFixedCannedMessage(int rep) throws HL7Exception
      Inserts a repetition of OM1-37: "Fixed Canned Message" 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)
    • insertOm137_FixedCannedMessage

      Inserts a repetition of OM1-37: "Fixed Canned Message" 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)
    • removeFixedCannedMessage

      public CE removeFixedCannedMessage(int rep) throws HL7Exception
      Removes a repetition of OM1-37: "Fixed Canned Message" 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)
    • removeOm137_FixedCannedMessage

      Removes a repetition of OM1-37: "Fixed Canned Message" 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)
    • getPatientPreparation

      Returns OM1-38: "Patient Preparation" - creates it if necessary
    • getOm138_PatientPreparation

      Returns OM1-38: "Patient Preparation" - creates it if necessary
    • getProcedureMedication

      Returns OM1-39: "Procedure Medication" - creates it if necessary
    • getOm139_ProcedureMedication

      Returns OM1-39: "Procedure Medication" - creates it if necessary
    • getFactorsThatMayAffectTheObservation

      Returns OM1-40: "Factors that may affect the observation" - creates it if necessary
    • getOm140_FactorsThatMayAffectTheObservation

      Returns OM1-40: "Factors that may affect the observation" - creates it if necessary
    • getTestObservationPerformanceSchedule

      Returns all repetitions of Test / observation performance schedule (OM1-41).
    • getOm141_TestObservationPerformanceSchedule

      Returns all repetitions of Test / observation performance schedule (OM1-41).
    • getTestObservationPerformanceScheduleReps

      Returns a count of the current number of repetitions of Test / observation performance schedule (OM1-41). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getTestObservationPerformanceSchedule

      Returns a specific repetition of OM1-41: "Test / observation performance schedule" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm141_TestObservationPerformanceSchedule

      Returns a specific repetition of OM1-41: "Test / observation performance schedule" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm141_TestObservationPerformanceScheduleReps

      Returns a count of the current number of repetitions of Test / observation performance schedule (OM1-41). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertTestObservationPerformanceSchedule

      Inserts a repetition of OM1-41: "Test / observation performance schedule" 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)
    • insertOm141_TestObservationPerformanceSchedule

      Inserts a repetition of OM1-41: "Test / observation performance schedule" 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)
    • removeTestObservationPerformanceSchedule

      Removes a repetition of OM1-41: "Test / observation performance schedule" 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)
    • removeOm141_TestObservationPerformanceSchedule

      Removes a repetition of OM1-41: "Test / observation performance schedule" 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)
    • getDescriptionOfTestMethods

      Returns OM1-42: "Description of Test Methods" - creates it if necessary
    • getOm142_DescriptionOfTestMethods

      Returns OM1-42: "Description of Test Methods" - creates it if necessary
    • createNewTypeWithoutReflection

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