Class OM1

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class OM1 extends AbstractSegment

Represents an HL7 OM1 message segment (General Segment). This segment has the following fields:

  • OM1-1: Sequence Number - Test/ Observation Master File (NM)
  • OM1-2: Producer's Service/Test/Observation ID (CE)
  • OM1-3: Permitted Data Types (ID) optional repeating
  • OM1-4: Specimen Required (ID)
  • OM1-5: Producer ID (CE)
  • OM1-6: Observation Description (TX) optional
  • OM1-7: Other Service/Test/Observation IDs for the Observation (CE) optional
  • OM1-8: Other Names (ST) repeating
  • OM1-9: Preferred Report Name for the Observation (ST) optional
  • OM1-10: Preferred Short Name or Mnemonic for Observation (ST) optional
  • OM1-11: Preferred Long Name for the Observation (ST) optional
  • OM1-12: Orderability (ID) optional
  • OM1-13: Identity of Instrument Used to Perform this Study (CE) optional repeating
  • OM1-14: Coded Representation of Method (CE) optional repeating
  • OM1-15: Portable Device Indicator (ID) optional
  • OM1-16: Observation Producing Department/Section (CE) optional repeating
  • OM1-17: Telephone Number of Section (XTN) optional
  • OM1-18: Nature of Service/Test/Observation (IS)
  • OM1-19: Report Subheader (CE) optional
  • OM1-20: Report Display Order (ST) optional
  • OM1-21: Date/Time Stamp for any change in Definition for the Observation (TS) optional
  • OM1-22: Effective Date/Time of Change (TS) optional
  • OM1-23: Typical Turn-Around Time (NM) optional
  • OM1-24: Processing Time (NM) optional
  • OM1-25: Processing Priority (ID) optional repeating
  • OM1-26: Reporting Priority (ID) optional
  • OM1-27: Outside Site(s) Where Observation may be Performed (CE) optional repeating
  • OM1-28: Address of Outside Site(s) (XAD) optional repeating
  • OM1-29: Phone Number of Outside Site (XTN) optional
  • OM1-30: Confidentiality Code (IS) optional
  • OM1-31: Observations Required to Interpret the Observation (CE) optional
  • OM1-32: Interpretation of Observations (TX) optional
  • OM1-33: Contraindications to Observations (CE) optional
  • OM1-34: Reflex Tests/Observations (CE) optional repeating
  • OM1-35: Rules that Trigger Reflex Testing (TX) optional
  • OM1-36: Fixed Canned Message (CE) optional
  • OM1-37: Patient Preparation (TX) optional
  • OM1-38: Procedure Medication (CE) optional
  • OM1-39: Factors that may Affect Affect the Observation (TX) optional
  • OM1-40: Service/Test/Observation Performance Schedule (ST) optional repeating
  • OM1-41: Description of Test Methods (TX) optional
  • OM1-42: Kind of Quantity Observed (CE) optional
  • OM1-43: Point Versus Interval (CE) optional
  • OM1-44: Challenge Information (TX) optional
  • OM1-45: Relationship Modifier (CE) optional
  • OM1-46: Target Anatomic Site Of Test (CE) optional
  • OM1-47: Modality Of Imaging Measurement (CE) optional
See Also:
  • Constructor Details

  • Method Details

    • getSequenceNumberTestObservationMasterFile

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

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

      Returns OM1-2: "Producer's Service/Test/Observation ID" - creates it if necessary
    • getOm12_ProducerSServiceTestObservationID

      Returns OM1-2: "Producer's Service/Test/Observation ID" - creates it if necessary
    • getPermittedDataTypes

      Returns all repetitions of Permitted Data Types (OM1-3).
    • getOm13_PermittedDataTypes

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

      Returns a count of the current number of repetitions of Permitted Data Types (OM1-3). 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-3: "Permitted Data Types" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm13_PermittedDataTypes

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

      Returns a count of the current number of repetitions of Permitted Data Types (OM1-3). 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-3: "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)
    • insertOm13_PermittedDataTypes

      Inserts a repetition of OM1-3: "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-3: "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)
    • removeOm13_PermittedDataTypes

      Removes a repetition of OM1-3: "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-4: "Specimen Required" - creates it if necessary
    • getOm14_SpecimenRequired

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

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

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

      Returns OM1-6: "Observation Description" - creates it if necessary
    • getOm16_ObservationDescription

      Returns OM1-6: "Observation Description" - creates it if necessary
    • getOtherServiceTestObservationIDsForTheObservation

      Returns OM1-7: "Other Service/Test/Observation IDs for the Observation" - creates it if necessary
    • getOm17_OtherServiceTestObservationIDsForTheObservation

      Returns OM1-7: "Other Service/Test/Observation IDs for the Observation" - creates it if necessary
    • getOtherNames

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

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

      public int getOtherNamesReps()
      Returns a count of the current number of repetitions of Other Names (OM1-8). 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-8: "Other Names" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm18_OtherNames

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

      public int getOm18_OtherNamesReps()
      Returns a count of the current number of repetitions of Other Names (OM1-8). 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-8: "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)
    • insertOm18_OtherNames

      public ST insertOm18_OtherNames(int rep) throws HL7Exception
      Inserts a repetition of OM1-8: "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-8: "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)
    • removeOm18_OtherNames

      public ST removeOm18_OtherNames(int rep) throws HL7Exception
      Removes a repetition of OM1-8: "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-9: "Preferred Report Name for the Observation" - creates it if necessary
    • getOm19_PreferredReportNameForTheObservation

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

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

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

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

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

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

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

      Returns all repetitions of Identity of Instrument Used to Perform this Study (OM1-13).
    • getOm113_IdentityOfInstrumentUsedToPerformThisStudy

      Returns all repetitions of Identity of Instrument Used to Perform this Study (OM1-13).
    • getIdentityOfInstrumentUsedToPerformThisStudyReps

      Returns a count of the current number of repetitions of Identity of Instrument Used to Perform this Study (OM1-13). 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-13: "Identity of Instrument Used to Perform this Study" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm113_IdentityOfInstrumentUsedToPerformThisStudy

      Returns a specific repetition of OM1-13: "Identity of Instrument Used to Perform this Study" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm113_IdentityOfInstrumentUsedToPerformThisStudyReps

      Returns a count of the current number of repetitions of Identity of Instrument Used to Perform this Study (OM1-13). 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-13: "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)
    • insertOm113_IdentityOfInstrumentUsedToPerformThisStudy

      Inserts a repetition of OM1-13: "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-13: "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)
    • removeOm113_IdentityOfInstrumentUsedToPerformThisStudy

      Removes a repetition of OM1-13: "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-14).
    • getOm114_CodedRepresentationOfMethod

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

      Returns a count of the current number of repetitions of Coded Representation of Method (OM1-14). 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-14: "Coded Representation of Method" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm114_CodedRepresentationOfMethod

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

      Returns a count of the current number of repetitions of Coded Representation of Method (OM1-14). 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-14: "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)
    • insertOm114_CodedRepresentationOfMethod

      Inserts a repetition of OM1-14: "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-14: "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)
    • removeOm114_CodedRepresentationOfMethod

      Removes a repetition of OM1-14: "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)
    • getPortableDeviceIndicator

      Returns OM1-15: "Portable Device Indicator" - creates it if necessary
    • getOm115_PortableDeviceIndicator

      Returns OM1-15: "Portable Device Indicator" - creates it if necessary
    • getObservationProducingDepartmentSection

      Returns all repetitions of Observation Producing Department/Section (OM1-16).
    • getOm116_ObservationProducingDepartmentSection

      Returns all repetitions of Observation Producing Department/Section (OM1-16).
    • getObservationProducingDepartmentSectionReps

      Returns a count of the current number of repetitions of Observation Producing Department/Section (OM1-16). 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-16: "Observation Producing Department/Section" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm116_ObservationProducingDepartmentSection

      Returns a specific repetition of OM1-16: "Observation Producing Department/Section" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm116_ObservationProducingDepartmentSectionReps

      Returns a count of the current number of repetitions of Observation Producing Department/Section (OM1-16). 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-16: "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)
    • insertOm116_ObservationProducingDepartmentSection

      Inserts a repetition of OM1-16: "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-16: "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)
    • removeOm116_ObservationProducingDepartmentSection

      Removes a repetition of OM1-16: "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-17: "Telephone Number of Section" - creates it if necessary
    • getOm117_TelephoneNumberOfSection

      Returns OM1-17: "Telephone Number of Section" - creates it if necessary
    • getNatureOfServiceTestObservation

      Returns OM1-18: "Nature of Service/Test/Observation" - creates it if necessary
    • getOm118_NatureOfServiceTestObservation

      Returns OM1-18: "Nature of Service/Test/Observation" - creates it if necessary
    • getReportSubheader

      Returns OM1-19: "Report Subheader" - creates it if necessary
    • getOm119_ReportSubheader

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

      Returns OM1-20: "Report Display Order" - creates it if necessary
    • getOm120_ReportDisplayOrder

      Returns OM1-20: "Report Display Order" - creates it if necessary
    • getDateTimeStampForAnyChangeInDefinitionForTheObservation

      Returns OM1-21: "Date/Time Stamp for any change in Definition for the Observation" - creates it if necessary
    • getOm121_DateTimeStampForAnyChangeInDefinitionForTheObservation

      Returns OM1-21: "Date/Time Stamp for any change in Definition for the Observation" - creates it if necessary
    • getEffectiveDateTimeOfChange

      Returns OM1-22: "Effective Date/Time of Change" - creates it if necessary
    • getOm122_EffectiveDateTimeOfChange

      Returns OM1-22: "Effective Date/Time of Change" - creates it if necessary
    • getTypicalTurnAroundTime

      Returns OM1-23: "Typical Turn-Around Time" - creates it if necessary
    • getOm123_TypicalTurnAroundTime

      Returns OM1-23: "Typical Turn-Around Time" - creates it if necessary
    • getProcessingTime

      Returns OM1-24: "Processing Time" - creates it if necessary
    • getOm124_ProcessingTime

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

      Returns all repetitions of Processing Priority (OM1-25).
    • getOm125_ProcessingPriority

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

      Returns a count of the current number of repetitions of Processing Priority (OM1-25). 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-25: "Processing Priority" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm125_ProcessingPriority

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

      Returns a count of the current number of repetitions of Processing Priority (OM1-25). 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-25: "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)
    • insertOm125_ProcessingPriority

      Inserts a repetition of OM1-25: "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-25: "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)
    • removeOm125_ProcessingPriority

      Removes a repetition of OM1-25: "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-26: "Reporting Priority" - creates it if necessary
    • getOm126_ReportingPriority

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

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

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

      Returns a count of the current number of repetitions of Outside Site(s) Where Observation may be Performed (OM1-27). 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-27: "Outside Site(s) Where Observation may be Performed" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm127_OutsideSiteSWhereObservationMayBePerformed

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

      Returns a count of the current number of repetitions of Outside Site(s) Where Observation may be Performed (OM1-27). 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-27: "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)
    • insertOm127_OutsideSiteSWhereObservationMayBePerformed

      Inserts a repetition of OM1-27: "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-27: "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)
    • removeOm127_OutsideSiteSWhereObservationMayBePerformed

      Removes a repetition of OM1-27: "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-28).
    • getOm128_AddressOfOutsideSiteS

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

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

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

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

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

      public XAD insertAddressOfOutsideSiteS(int rep) throws HL7Exception
      Inserts a repetition of OM1-28: "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)
    • insertOm128_AddressOfOutsideSiteS

      Inserts a repetition of OM1-28: "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 XAD removeAddressOfOutsideSiteS(int rep) throws HL7Exception
      Removes a repetition of OM1-28: "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)
    • removeOm128_AddressOfOutsideSiteS

      Removes a repetition of OM1-28: "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 OM1-29: "Phone Number of Outside Site" - creates it if necessary
    • getOm129_PhoneNumberOfOutsideSite

      Returns OM1-29: "Phone Number of Outside Site" - creates it if necessary
    • getConfidentialityCode

      Returns OM1-30: "Confidentiality Code" - creates it if necessary
    • getOm130_ConfidentialityCode

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

      Returns OM1-31: "Observations Required to Interpret the Observation" - creates it if necessary
    • getOm131_ObservationsRequiredToInterpretTheObservation

      Returns OM1-31: "Observations Required to Interpret the Observation" - creates it if necessary
    • getInterpretationOfObservations

      Returns OM1-32: "Interpretation of Observations" - creates it if necessary
    • getOm132_InterpretationOfObservations

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

      Returns OM1-33: "Contraindications to Observations" - creates it if necessary
    • getOm133_ContraindicationsToObservations

      Returns OM1-33: "Contraindications to Observations" - creates it if necessary
    • getReflexTestsObservations

      Returns all repetitions of Reflex Tests/Observations (OM1-34).
    • getOm134_ReflexTestsObservations

      Returns all repetitions of Reflex Tests/Observations (OM1-34).
    • getReflexTestsObservationsReps

      Returns a count of the current number of repetitions of Reflex Tests/Observations (OM1-34). 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-34: "Reflex Tests/Observations" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm134_ReflexTestsObservations

      Returns a specific repetition of OM1-34: "Reflex Tests/Observations" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm134_ReflexTestsObservationsReps

      Returns a count of the current number of repetitions of Reflex Tests/Observations (OM1-34). 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-34: "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)
    • insertOm134_ReflexTestsObservations

      Inserts a repetition of OM1-34: "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-34: "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)
    • removeOm134_ReflexTestsObservations

      Removes a repetition of OM1-34: "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-35: "Rules that Trigger Reflex Testing" - creates it if necessary
    • getOm135_RulesThatTriggerReflexTesting

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

      Returns OM1-36: "Fixed Canned Message" - creates it if necessary
    • getOm136_FixedCannedMessage

      Returns OM1-36: "Fixed Canned Message" - creates it if necessary
    • getPatientPreparation

      Returns OM1-37: "Patient Preparation" - creates it if necessary
    • getOm137_PatientPreparation

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

      Returns OM1-38: "Procedure Medication" - creates it if necessary
    • getOm138_ProcedureMedication

      Returns OM1-38: "Procedure Medication" - creates it if necessary
    • getFactorsThatMayAffectAffectTheObservation

      Returns OM1-39: "Factors that may Affect Affect the Observation" - creates it if necessary
    • getOm139_FactorsThatMayAffectAffectTheObservation

      Returns OM1-39: "Factors that may Affect Affect the Observation" - creates it if necessary
    • getServiceTestObservationPerformanceSchedule

      Returns all repetitions of Service/Test/Observation Performance Schedule (OM1-40).
    • getOm140_ServiceTestObservationPerformanceSchedule

      Returns all repetitions of Service/Test/Observation Performance Schedule (OM1-40).
    • getServiceTestObservationPerformanceScheduleReps

      Returns a count of the current number of repetitions of Service/Test/Observation Performance Schedule (OM1-40). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getServiceTestObservationPerformanceSchedule

      Returns a specific repetition of OM1-40: "Service/Test/Observation Performance Schedule" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm140_ServiceTestObservationPerformanceSchedule

      Returns a specific repetition of OM1-40: "Service/Test/Observation Performance Schedule" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOm140_ServiceTestObservationPerformanceScheduleReps

      Returns a count of the current number of repetitions of Service/Test/Observation Performance Schedule (OM1-40). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertServiceTestObservationPerformanceSchedule

      Inserts a repetition of OM1-40: "Service/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)
    • insertOm140_ServiceTestObservationPerformanceSchedule

      Inserts a repetition of OM1-40: "Service/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)
    • removeServiceTestObservationPerformanceSchedule

      Removes a repetition of OM1-40: "Service/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)
    • removeOm140_ServiceTestObservationPerformanceSchedule

      Removes a repetition of OM1-40: "Service/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-41: "Description of Test Methods" - creates it if necessary
    • getOm141_DescriptionOfTestMethods

      Returns OM1-41: "Description of Test Methods" - creates it if necessary
    • getKindOfQuantityObserved

      Returns OM1-42: "Kind of Quantity Observed" - creates it if necessary
    • getOm142_KindOfQuantityObserved

      Returns OM1-42: "Kind of Quantity Observed" - creates it if necessary
    • getPointVersusInterval

      Returns OM1-43: "Point Versus Interval" - creates it if necessary
    • getOm143_PointVersusInterval

      Returns OM1-43: "Point Versus Interval" - creates it if necessary
    • getChallengeInformation

      Returns OM1-44: "Challenge Information" - creates it if necessary
    • getOm144_ChallengeInformation

      Returns OM1-44: "Challenge Information" - creates it if necessary
    • getRelationshipModifier

      Returns OM1-45: "Relationship Modifier" - creates it if necessary
    • getOm145_RelationshipModifier

      Returns OM1-45: "Relationship Modifier" - creates it if necessary
    • getTargetAnatomicSiteOfTest

      Returns OM1-46: "Target Anatomic Site Of Test" - creates it if necessary
    • getOm146_TargetAnatomicSiteOfTest

      Returns OM1-46: "Target Anatomic Site Of Test" - creates it if necessary
    • getModalityOfImagingMeasurement

      Returns OM1-47: "Modality Of Imaging Measurement" - creates it if necessary
    • getOm147_ModalityOfImagingMeasurement

      Returns OM1-47: "Modality Of Imaging Measurement" - creates it if necessary
    • createNewTypeWithoutReflection

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