Package ca.uhn.hl7v2.model.v23.segment
Class ORC
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.ORC
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 ORC message segment (Common order segment). This segment has the following fields:
- ORC-1: Order Control (ID)
- ORC-2: Placer Order Number (EI) optional repeating
- 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)
- ORC-8: Parent Order (CM_EIP) optional
- ORC-9: Date/Time of Transaction (TS) optional
- ORC-10: Entered By (XCN) optional
- ORC-11: Verified By (XCN) optional
- 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
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns ORC-19: "Action By" - creates it if necessaryXTN[]Returns all repetitions of Call Back Phone Number (ORC-14).getCallBackPhoneNumber(int rep) Returns a specific repetition of ORC-14: "Call Back Phone Number" - creates it if necessaryintReturns a count of the current number of repetitions of Call Back Phone Number (ORC-14).Returns ORC-9: "Date/Time of Transaction" - creates it if necessaryReturns ORC-10: "Entered By" - creates it if necessaryReturns ORC-13: "Enterer's Location" - creates it if necessaryReturns ORC-18: "Entering Device" - creates it if necessaryReturns ORC-17: "Entering Organization" - creates it if necessaryReturns ORC-3: "Filler Order Number" - creates it if necessaryReturns ORC-1: "Order Control" - creates it if necessaryReturns ORC-10: "Entered By" - creates it if necessaryReturns ORC-11: "Verified By" - creates it if necessaryXCN[]Returns all repetitions of Ordering Provider (ORC-12).getOrc12_OrderingProvider(int rep) Returns a specific repetition of ORC-12: "Ordering Provider" - creates it if necessaryintReturns a count of the current number of repetitions of Ordering Provider (ORC-12).Returns ORC-13: "Enterer's Location" - creates it if necessaryXTN[]Returns all repetitions of Call Back Phone Number (ORC-14).getOrc14_CallBackPhoneNumber(int rep) Returns a specific repetition of ORC-14: "Call Back Phone Number" - creates it if necessaryintReturns a count of the current number of repetitions of Call Back Phone Number (ORC-14).Returns ORC-15: "Order Effective Date/Time" - creates it if necessaryReturns ORC-16: "Order Control Code Reason" - creates it if necessaryReturns ORC-17: "Entering Organization" - creates it if necessaryReturns ORC-18: "Entering Device" - creates it if necessaryReturns ORC-19: "Action By" - creates it if necessaryEI[]Returns all repetitions of Placer Order Number (ORC-2).getOrc2_PlacerOrderNumber(int rep) Returns a specific repetition of ORC-2: "Placer Order Number" - creates it if necessaryintReturns a count of the current number of repetitions of Placer Order Number (ORC-2).Returns ORC-3: "Filler Order Number" - creates it if necessaryReturns ORC-4: "Placer Group Number" - creates it if necessaryReturns ORC-5: "Order Status" - creates it if necessaryReturns ORC-6: "Response Flag" - creates it if necessaryReturns ORC-7: "Quantity/Timing" - creates it if necessaryReturns ORC-8: "Parent Order" - creates it if necessaryReturns ORC-9: "Date/Time of Transaction" - creates it if necessaryReturns ORC-1: "Order Control" - creates it if necessaryReturns ORC-16: "Order Control Code Reason" - creates it if necessaryReturns ORC-15: "Order Effective Date/Time" - creates it if necessaryXCN[]Returns all repetitions of Ordering Provider (ORC-12).getOrderingProvider(int rep) Returns a specific repetition of ORC-12: "Ordering Provider" - creates it if necessaryintReturns a count of the current number of repetitions of Ordering Provider (ORC-12).Returns ORC-5: "Order Status" - creates it if necessaryReturns ORC-8: "Parent Order" - creates it if necessaryReturns ORC-4: "Placer Group Number" - creates it if necessaryEI[]Returns all repetitions of Placer Order Number (ORC-2).getPlacerOrderNumber(int rep) Returns a specific repetition of ORC-2: "Placer Order Number" - creates it if necessaryintReturns a count of the current number of repetitions of Placer Order Number (ORC-2).Returns ORC-7: "Quantity/Timing" - creates it if necessaryReturns ORC-6: "Response Flag" - creates it if necessaryReturns ORC-11: "Verified By" - creates it if necessaryinsertCallBackPhoneNumber(int rep) Inserts a repetition of ORC-14: "Call Back Phone Number" at a specific indexinsertOrc12_OrderingProvider(int rep) Inserts a repetition of ORC-12: "Ordering Provider" at a specific indexinsertOrc14_CallBackPhoneNumber(int rep) Inserts a repetition of ORC-14: "Call Back Phone Number" at a specific indexinsertOrc2_PlacerOrderNumber(int rep) Inserts a repetition of ORC-2: "Placer Order Number" at a specific indexinsertOrderingProvider(int rep) Inserts a repetition of ORC-12: "Ordering Provider" at a specific indexinsertPlacerOrderNumber(int rep) Inserts a repetition of ORC-2: "Placer Order Number" at a specific indexremoveCallBackPhoneNumber(int rep) Removes a repetition of ORC-14: "Call Back Phone Number" at a specific indexremoveOrc12_OrderingProvider(int rep) Removes a repetition of ORC-12: "Ordering Provider" at a specific indexremoveOrc14_CallBackPhoneNumber(int rep) Removes a repetition of ORC-14: "Call Back Phone Number" at a specific indexremoveOrc2_PlacerOrderNumber(int rep) Removes a repetition of ORC-2: "Placer Order Number" at a specific indexremoveOrderingProvider(int rep) Removes a repetition of ORC-12: "Ordering Provider" at a specific indexremovePlacerOrderNumber(int rep) Removes a repetition of ORC-2: "Placer Order Number" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
ORC
Creates a new ORC segment
-
-
Method Details
-
getOrderControl
Returns ORC-1: "Order Control" - creates it if necessary -
getOrc1_OrderControl
Returns ORC-1: "Order Control" - creates it if necessary -
getPlacerOrderNumber
Returns all repetitions of Placer Order Number (ORC-2). -
getOrc2_PlacerOrderNumber
Returns all repetitions of Placer Order Number (ORC-2). -
getPlacerOrderNumberReps
Returns a count of the current number of repetitions of Placer Order Number (ORC-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPlacerOrderNumber
Returns a specific repetition of ORC-2: "Placer Order Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOrc2_PlacerOrderNumber
Returns a specific repetition of ORC-2: "Placer Order Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOrc2_PlacerOrderNumberReps
Returns a count of the current number of repetitions of Placer Order Number (ORC-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPlacerOrderNumber
Inserts a repetition of ORC-2: "Placer Order 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)
-
insertOrc2_PlacerOrderNumber
Inserts a repetition of ORC-2: "Placer Order 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)
-
removePlacerOrderNumber
Removes a repetition of ORC-2: "Placer Order 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)
-
removeOrc2_PlacerOrderNumber
Removes a repetition of ORC-2: "Placer Order 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)
-
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
Returns ORC-5: "Order Status" - creates it if necessary -
getOrc5_OrderStatus
Returns ORC-5: "Order Status" - creates it if necessary -
getResponseFlag
Returns ORC-6: "Response Flag" - creates it if necessary -
getOrc6_ResponseFlag
Returns ORC-6: "Response Flag" - creates it if necessary -
getQuantityTiming
Returns ORC-7: "Quantity/Timing" - creates it if necessary -
getOrc7_QuantityTiming
Returns ORC-7: "Quantity/Timing" - creates it if necessary -
getParentOrder
Returns ORC-8: "Parent Order" - creates it if necessary -
getOrc8_ParentOrder
Returns ORC-8: "Parent Order" - 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
Returns ORC-10: "Entered By" - creates it if necessary -
getOrc10_EnteredBy
Returns ORC-10: "Entered By" - creates it if necessary -
getVerifiedBy
Returns ORC-11: "Verified By" - creates it if necessary -
getOrc11_VerifiedBy
Returns ORC-11: "Verified By" - creates it if necessary -
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
Returns a specific repetition of ORC-12: "Ordering Provider" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOrc12_OrderingProvider
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
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
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
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
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
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
Returns ORC-19: "Action By" - creates it if necessary -
getOrc19_ActionBy
Returns ORC-19: "Action By" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-