Class ORC

All Implemented Interfaces:
Segment, Structure, Visitable, Serializable

public class ORC extends AbstractSegment

Represents an HL7 ORC message segment (Common Order). This segment has the following fields:

  • ORC-1: Order Control (ID)
  • ORC-2: Placer Order Number (EI) optional
  • ORC-3: Filler Order Number (EI) optional
  • ORC-4: Placer Group Number (EI) optional
  • ORC-5: Order Status (ID) optional
  • ORC-6: Response Flag (ID) optional
  • ORC-7: Quantity/Timing (TQ) optional repeating
  • ORC-8: Parent (EIP) optional
  • ORC-9: Date/Time of Transaction (TS) optional
  • ORC-10: Entered By (XCN) optional repeating
  • ORC-11: Verified By (XCN) optional repeating
  • ORC-12: Ordering Provider (XCN) optional repeating
  • ORC-13: Enterer's Location (PL) optional
  • ORC-14: Call Back Phone Number (XTN) optional repeating
  • ORC-15: Order Effective Date/Time (TS) optional
  • ORC-16: Order Control Code Reason (CE) optional
  • ORC-17: Entering Organization (CE) optional
  • ORC-18: Entering Device (CE) optional
  • ORC-19: Action By (XCN) optional repeating
  • ORC-20: Advanced Beneficiary Notice Code (CE) optional
  • ORC-21: Ordering Facility Name (XON) optional repeating
  • ORC-22: Ordering Facility Address (XAD) optional repeating
  • ORC-23: Ordering Facility Phone Number (XTN) optional repeating
  • ORC-24: Ordering Provider Address (XAD) optional repeating
  • ORC-25: Order Status Modifier (CWE) optional
  • ORC-26: Advanced Beneficiary Notice Override Reason (CWE) optional
  • ORC-27: Filler's Expected Availability Date/Time (TS) optional
  • ORC-28: Confidentiality Code (CWE) optional
  • ORC-29: Order Type (CWE) optional
  • ORC-30: Enterer Authorization Mode (CNE) optional
  • ORC-31: Parent Universal Service Identifier (CWE) optional
See Also:
  • Constructor Details

  • Method Details

    • getOrderControl

      public ID getOrderControl()
      Returns ORC-1: "Order Control" - creates it if necessary
    • getOrc1_OrderControl

      Returns ORC-1: "Order Control" - creates it if necessary
    • getPlacerOrderNumber

      Returns ORC-2: "Placer Order Number" - creates it if necessary
    • getOrc2_PlacerOrderNumber

      Returns ORC-2: "Placer Order Number" - creates it if necessary
    • getFillerOrderNumber

      Returns ORC-3: "Filler Order Number" - creates it if necessary
    • getOrc3_FillerOrderNumber

      Returns ORC-3: "Filler Order Number" - creates it if necessary
    • getPlacerGroupNumber

      Returns ORC-4: "Placer Group Number" - creates it if necessary
    • getOrc4_PlacerGroupNumber

      Returns ORC-4: "Placer Group Number" - creates it if necessary
    • getOrderStatus

      public ID getOrderStatus()
      Returns ORC-5: "Order Status" - creates it if necessary
    • getOrc5_OrderStatus

      Returns ORC-5: "Order Status" - creates it if necessary
    • getResponseFlag

      public ID getResponseFlag()
      Returns ORC-6: "Response Flag" - creates it if necessary
    • getOrc6_ResponseFlag

      Returns ORC-6: "Response Flag" - creates it if necessary
    • getQuantityTiming

      public TQ[] getQuantityTiming()
      Returns all repetitions of Quantity/Timing (ORC-7).
    • getOrc7_QuantityTiming

      Returns all repetitions of Quantity/Timing (ORC-7).
    • getQuantityTimingReps

      public int getQuantityTimingReps()
      Returns a count of the current number of repetitions of Quantity/Timing (ORC-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getQuantityTiming

      public TQ getQuantityTiming(int rep)
      Returns a specific repetition of ORC-7: "Quantity/Timing" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc7_QuantityTiming

      public TQ getOrc7_QuantityTiming(int rep)
      Returns a specific repetition of ORC-7: "Quantity/Timing" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc7_QuantityTimingReps

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

      public TQ insertQuantityTiming(int rep) throws HL7Exception
      Inserts a repetition of ORC-7: "Quantity/Timing" 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)
    • insertOrc7_QuantityTiming

      public TQ insertOrc7_QuantityTiming(int rep) throws HL7Exception
      Inserts a repetition of ORC-7: "Quantity/Timing" 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)
    • removeQuantityTiming

      public TQ removeQuantityTiming(int rep) throws HL7Exception
      Removes a repetition of ORC-7: "Quantity/Timing" 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)
    • removeOrc7_QuantityTiming

      public TQ removeOrc7_QuantityTiming(int rep) throws HL7Exception
      Removes a repetition of ORC-7: "Quantity/Timing" 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)
    • getORCParent

      public EIP getORCParent()
      Returns ORC-8: "Parent" - creates it if necessary
    • getOrc8_Parent

      public EIP getOrc8_Parent()
      Returns ORC-8: "Parent" - creates it if necessary
    • getDateTimeOfTransaction

      Returns ORC-9: "Date/Time of Transaction" - creates it if necessary
    • getOrc9_DateTimeOfTransaction

      Returns ORC-9: "Date/Time of Transaction" - creates it if necessary
    • getEnteredBy

      public XCN[] getEnteredBy()
      Returns all repetitions of Entered By (ORC-10).
    • getOrc10_EnteredBy

      public XCN[] getOrc10_EnteredBy()
      Returns all repetitions of Entered By (ORC-10).
    • getEnteredByReps

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

      public XCN getEnteredBy(int rep)
      Returns a specific repetition of ORC-10: "Entered By" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc10_EnteredBy

      public XCN getOrc10_EnteredBy(int rep)
      Returns a specific repetition of ORC-10: "Entered By" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc10_EnteredByReps

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

      public XCN insertEnteredBy(int rep) throws HL7Exception
      Inserts a repetition of ORC-10: "Entered By" 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)
    • insertOrc10_EnteredBy

      public XCN insertOrc10_EnteredBy(int rep) throws HL7Exception
      Inserts a repetition of ORC-10: "Entered By" 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)
    • removeEnteredBy

      public XCN removeEnteredBy(int rep) throws HL7Exception
      Removes a repetition of ORC-10: "Entered By" 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)
    • removeOrc10_EnteredBy

      public XCN removeOrc10_EnteredBy(int rep) throws HL7Exception
      Removes a repetition of ORC-10: "Entered By" 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)
    • getVerifiedBy

      public XCN[] getVerifiedBy()
      Returns all repetitions of Verified By (ORC-11).
    • getOrc11_VerifiedBy

      Returns all repetitions of Verified By (ORC-11).
    • getVerifiedByReps

      public int getVerifiedByReps()
      Returns a count of the current number of repetitions of Verified By (ORC-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getVerifiedBy

      public XCN getVerifiedBy(int rep)
      Returns a specific repetition of ORC-11: "Verified By" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc11_VerifiedBy

      public XCN getOrc11_VerifiedBy(int rep)
      Returns a specific repetition of ORC-11: "Verified By" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc11_VerifiedByReps

      Returns a count of the current number of repetitions of Verified By (ORC-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertVerifiedBy

      public XCN insertVerifiedBy(int rep) throws HL7Exception
      Inserts a repetition of ORC-11: "Verified By" 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)
    • insertOrc11_VerifiedBy

      public XCN insertOrc11_VerifiedBy(int rep) throws HL7Exception
      Inserts a repetition of ORC-11: "Verified By" 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)
    • removeVerifiedBy

      public XCN removeVerifiedBy(int rep) throws HL7Exception
      Removes a repetition of ORC-11: "Verified By" 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)
    • removeOrc11_VerifiedBy

      public XCN removeOrc11_VerifiedBy(int rep) throws HL7Exception
      Removes a repetition of ORC-11: "Verified By" 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)
    • getOrderingProvider

      Returns all repetitions of Ordering Provider (ORC-12).
    • getOrc12_OrderingProvider

      Returns all repetitions of Ordering Provider (ORC-12).
    • getOrderingProviderReps

      Returns a count of the current number of repetitions of Ordering Provider (ORC-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getOrderingProvider

      public XCN getOrderingProvider(int rep)
      Returns a specific repetition of ORC-12: "Ordering Provider" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc12_OrderingProvider

      public XCN getOrc12_OrderingProvider(int rep)
      Returns a specific repetition of ORC-12: "Ordering Provider" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc12_OrderingProviderReps

      Returns a count of the current number of repetitions of Ordering Provider (ORC-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertOrderingProvider

      public XCN insertOrderingProvider(int rep) throws HL7Exception
      Inserts a repetition of ORC-12: "Ordering Provider" 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)
    • insertOrc12_OrderingProvider

      Inserts a repetition of ORC-12: "Ordering Provider" 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)
    • removeOrderingProvider

      public XCN removeOrderingProvider(int rep) throws HL7Exception
      Removes a repetition of ORC-12: "Ordering Provider" 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)
    • removeOrc12_OrderingProvider

      Removes a repetition of ORC-12: "Ordering Provider" 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)
    • getEntererSLocation

      Returns ORC-13: "Enterer's Location" - creates it if necessary
    • getOrc13_EntererSLocation

      Returns ORC-13: "Enterer's Location" - creates it if necessary
    • getCallBackPhoneNumber

      Returns all repetitions of Call Back Phone Number (ORC-14).
    • getOrc14_CallBackPhoneNumber

      Returns all repetitions of Call Back Phone Number (ORC-14).
    • getCallBackPhoneNumberReps

      Returns a count of the current number of repetitions of Call Back Phone Number (ORC-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getCallBackPhoneNumber

      public XTN getCallBackPhoneNumber(int rep)
      Returns a specific repetition of ORC-14: "Call Back Phone Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc14_CallBackPhoneNumber

      Returns a specific repetition of ORC-14: "Call Back Phone Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc14_CallBackPhoneNumberReps

      Returns a count of the current number of repetitions of Call Back Phone Number (ORC-14). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertCallBackPhoneNumber

      public XTN insertCallBackPhoneNumber(int rep) throws HL7Exception
      Inserts a repetition of ORC-14: "Call Back Phone Number" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertOrc14_CallBackPhoneNumber

      Inserts a repetition of ORC-14: "Call Back Phone Number" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeCallBackPhoneNumber

      public XTN removeCallBackPhoneNumber(int rep) throws HL7Exception
      Removes a repetition of ORC-14: "Call Back Phone Number" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeOrc14_CallBackPhoneNumber

      Removes a repetition of ORC-14: "Call Back Phone Number" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getOrderEffectiveDateTime

      Returns ORC-15: "Order Effective Date/Time" - creates it if necessary
    • getOrc15_OrderEffectiveDateTime

      Returns ORC-15: "Order Effective Date/Time" - creates it if necessary
    • getOrderControlCodeReason

      Returns ORC-16: "Order Control Code Reason" - creates it if necessary
    • getOrc16_OrderControlCodeReason

      Returns ORC-16: "Order Control Code Reason" - creates it if necessary
    • getEnteringOrganization

      Returns ORC-17: "Entering Organization" - creates it if necessary
    • getOrc17_EnteringOrganization

      Returns ORC-17: "Entering Organization" - creates it if necessary
    • getEnteringDevice

      Returns ORC-18: "Entering Device" - creates it if necessary
    • getOrc18_EnteringDevice

      Returns ORC-18: "Entering Device" - creates it if necessary
    • getActionBy

      public XCN[] getActionBy()
      Returns all repetitions of Action By (ORC-19).
    • getOrc19_ActionBy

      public XCN[] getOrc19_ActionBy()
      Returns all repetitions of Action By (ORC-19).
    • getActionByReps

      public int getActionByReps()
      Returns a count of the current number of repetitions of Action By (ORC-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getActionBy

      public XCN getActionBy(int rep)
      Returns a specific repetition of ORC-19: "Action By" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc19_ActionBy

      public XCN getOrc19_ActionBy(int rep)
      Returns a specific repetition of ORC-19: "Action By" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc19_ActionByReps

      public int getOrc19_ActionByReps()
      Returns a count of the current number of repetitions of Action By (ORC-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertActionBy

      public XCN insertActionBy(int rep) throws HL7Exception
      Inserts a repetition of ORC-19: "Action By" 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)
    • insertOrc19_ActionBy

      public XCN insertOrc19_ActionBy(int rep) throws HL7Exception
      Inserts a repetition of ORC-19: "Action By" 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)
    • removeActionBy

      public XCN removeActionBy(int rep) throws HL7Exception
      Removes a repetition of ORC-19: "Action By" 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)
    • removeOrc19_ActionBy

      public XCN removeOrc19_ActionBy(int rep) throws HL7Exception
      Removes a repetition of ORC-19: "Action By" 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)
    • getAdvancedBeneficiaryNoticeCode

      Returns ORC-20: "Advanced Beneficiary Notice Code" - creates it if necessary
    • getOrc20_AdvancedBeneficiaryNoticeCode

      Returns ORC-20: "Advanced Beneficiary Notice Code" - creates it if necessary
    • getOrderingFacilityName

      Returns all repetitions of Ordering Facility Name (ORC-21).
    • getOrc21_OrderingFacilityName

      Returns all repetitions of Ordering Facility Name (ORC-21).
    • getOrderingFacilityNameReps

      Returns a count of the current number of repetitions of Ordering Facility Name (ORC-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getOrderingFacilityName

      public XON getOrderingFacilityName(int rep)
      Returns a specific repetition of ORC-21: "Ordering Facility Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc21_OrderingFacilityName

      Returns a specific repetition of ORC-21: "Ordering Facility Name" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc21_OrderingFacilityNameReps

      Returns a count of the current number of repetitions of Ordering Facility Name (ORC-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertOrderingFacilityName

      public XON insertOrderingFacilityName(int rep) throws HL7Exception
      Inserts a repetition of ORC-21: "Ordering Facility Name" 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)
    • insertOrc21_OrderingFacilityName

      Inserts a repetition of ORC-21: "Ordering Facility Name" 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)
    • removeOrderingFacilityName

      public XON removeOrderingFacilityName(int rep) throws HL7Exception
      Removes a repetition of ORC-21: "Ordering Facility Name" 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)
    • removeOrc21_OrderingFacilityName

      Removes a repetition of ORC-21: "Ordering Facility Name" 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)
    • getOrderingFacilityAddress

      Returns all repetitions of Ordering Facility Address (ORC-22).
    • getOrc22_OrderingFacilityAddress

      Returns all repetitions of Ordering Facility Address (ORC-22).
    • getOrderingFacilityAddressReps

      Returns a count of the current number of repetitions of Ordering Facility Address (ORC-22). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getOrderingFacilityAddress

      public XAD getOrderingFacilityAddress(int rep)
      Returns a specific repetition of ORC-22: "Ordering Facility Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc22_OrderingFacilityAddress

      Returns a specific repetition of ORC-22: "Ordering Facility Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc22_OrderingFacilityAddressReps

      Returns a count of the current number of repetitions of Ordering Facility Address (ORC-22). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertOrderingFacilityAddress

      Inserts a repetition of ORC-22: "Ordering Facility Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertOrc22_OrderingFacilityAddress

      Inserts a repetition of ORC-22: "Ordering Facility Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeOrderingFacilityAddress

      Removes a repetition of ORC-22: "Ordering Facility Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeOrc22_OrderingFacilityAddress

      Removes a repetition of ORC-22: "Ordering Facility Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getOrderingFacilityPhoneNumber

      Returns all repetitions of Ordering Facility Phone Number (ORC-23).
    • getOrc23_OrderingFacilityPhoneNumber

      Returns all repetitions of Ordering Facility Phone Number (ORC-23).
    • getOrderingFacilityPhoneNumberReps

      Returns a count of the current number of repetitions of Ordering Facility Phone Number (ORC-23). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getOrderingFacilityPhoneNumber

      Returns a specific repetition of ORC-23: "Ordering Facility Phone Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc23_OrderingFacilityPhoneNumber

      Returns a specific repetition of ORC-23: "Ordering Facility Phone Number" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc23_OrderingFacilityPhoneNumberReps

      Returns a count of the current number of repetitions of Ordering Facility Phone Number (ORC-23). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertOrderingFacilityPhoneNumber

      Inserts a repetition of ORC-23: "Ordering Facility Phone Number" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertOrc23_OrderingFacilityPhoneNumber

      Inserts a repetition of ORC-23: "Ordering Facility Phone Number" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeOrderingFacilityPhoneNumber

      Removes a repetition of ORC-23: "Ordering Facility Phone Number" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeOrc23_OrderingFacilityPhoneNumber

      Removes a repetition of ORC-23: "Ordering Facility Phone Number" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getOrderingProviderAddress

      Returns all repetitions of Ordering Provider Address (ORC-24).
    • getOrc24_OrderingProviderAddress

      Returns all repetitions of Ordering Provider Address (ORC-24).
    • getOrderingProviderAddressReps

      Returns a count of the current number of repetitions of Ordering Provider Address (ORC-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • getOrderingProviderAddress

      public XAD getOrderingProviderAddress(int rep)
      Returns a specific repetition of ORC-24: "Ordering Provider Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc24_OrderingProviderAddress

      Returns a specific repetition of ORC-24: "Ordering Provider Address" - creates it if necessary
      Parameters:
      rep - The repetition index (0-indexed)
    • getOrc24_OrderingProviderAddressReps

      Returns a count of the current number of repetitions of Ordering Provider Address (ORC-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.
    • insertOrderingProviderAddress

      Inserts a repetition of ORC-24: "Ordering Provider Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • insertOrc24_OrderingProviderAddress

      Inserts a repetition of ORC-24: "Ordering Provider Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeOrderingProviderAddress

      Removes a repetition of ORC-24: "Ordering Provider Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • removeOrc24_OrderingProviderAddress

      Removes a repetition of ORC-24: "Ordering Provider Address" at a specific index
      Parameters:
      rep - The repetition index (0-indexed)
      Throws:
      HL7Exception - If the rep is invalid (below 0, or too high for the allowable repetitions)
    • getOrderStatusModifier

      Returns ORC-25: "Order Status Modifier" - creates it if necessary
    • getOrc25_OrderStatusModifier

      Returns ORC-25: "Order Status Modifier" - creates it if necessary
    • getAdvancedBeneficiaryNoticeOverrideReason

      Returns ORC-26: "Advanced Beneficiary Notice Override Reason" - creates it if necessary
    • getOrc26_AdvancedBeneficiaryNoticeOverrideReason

      Returns ORC-26: "Advanced Beneficiary Notice Override Reason" - creates it if necessary
    • getFillerSExpectedAvailabilityDateTime

      Returns ORC-27: "Filler's Expected Availability Date/Time" - creates it if necessary
    • getOrc27_FillerSExpectedAvailabilityDateTime

      Returns ORC-27: "Filler's Expected Availability Date/Time" - creates it if necessary
    • getConfidentialityCode

      Returns ORC-28: "Confidentiality Code" - creates it if necessary
    • getOrc28_ConfidentialityCode

      Returns ORC-28: "Confidentiality Code" - creates it if necessary
    • getOrderType

      public CWE getOrderType()
      Returns ORC-29: "Order Type" - creates it if necessary
    • getOrc29_OrderType

      Returns ORC-29: "Order Type" - creates it if necessary
    • getEntererAuthorizationMode

      Returns ORC-30: "Enterer Authorization Mode" - creates it if necessary
    • getOrc30_EntererAuthorizationMode

      Returns ORC-30: "Enterer Authorization Mode" - creates it if necessary
    • getParentUniversalServiceIdentifier

      Returns ORC-31: "Parent Universal Service Identifier" - creates it if necessary
    • getOrc31_ParentUniversalServiceIdentifier

      Returns ORC-31: "Parent Universal Service Identifier" - creates it if necessary
    • createNewTypeWithoutReflection

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