Package ca.uhn.hl7v2.model.v22.segment
Class ORC
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.ORC
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 ORC message segment (COMMOM ORDER). This segment has the following fields:
- ORC-1: Order Control (ID)
- ORC-2: Placer Order Number (CM_PLACER) optional
- ORC-3: Filler Order Number (CM_FILLER) optional
- ORC-4: Placer Group Number (CM_GROUP_ID) optional
- ORC-5: Order Status (ID) optional
- ORC-6: Response Flag (ID) optional
- ORC-7: Quantity / timing (TQ) optional repeating
- ORC-8: Parent Order (CM_EIP) optional
- ORC-9: Date / time of transaction (TS) optional
- ORC-10: Entered By (CN) optional
- ORC-11: Verified By (CN) optional
- ORC-12: Ordering Provider (CN) optional
- ORC-13: Enterer's Location (CM_PARENT_RESULT) optional
- ORC-14: Call Back Phone Number (TN) 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 (CN) 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 necessaryTN[]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 necessaryReturns ORC-12: "Ordering Provider" - creates it if necessaryReturns ORC-13: "Enterer's Location" - creates it if necessaryTN[]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 necessaryReturns ORC-2: "Placer Order Number" - creates it if necessaryReturns 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 necessaryTQ[]Returns all repetitions of Quantity / timing (ORC-7).getOrc7_QuantityTiming(int rep) Returns a specific repetition of ORC-7: "Quantity / timing" - creates it if necessaryintReturns a count of the current number of repetitions of Quantity / timing (ORC-7).Returns 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 necessaryReturns ORC-12: "Ordering Provider" - creates it if necessaryReturns ORC-5: "Order Status" - creates it if necessaryReturns ORC-8: "Parent Order" - creates it if necessaryReturns ORC-4: "Placer Group Number" - creates it if necessaryReturns ORC-2: "Placer Order Number" - creates it if necessaryTQ[]Returns all repetitions of Quantity / timing (ORC-7).getQuantityTiming(int rep) Returns a specific repetition of ORC-7: "Quantity / timing" - creates it if necessaryintReturns a count of the current number of repetitions of Quantity / timing (ORC-7).Returns 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 indexinsertOrc14_CallBackPhoneNumber(int rep) Inserts a repetition of ORC-14: "Call Back Phone Number" at a specific indexinsertOrc7_QuantityTiming(int rep) Inserts a repetition of ORC-7: "Quantity / timing" at a specific indexinsertQuantityTiming(int rep) Inserts a repetition of ORC-7: "Quantity / timing" at a specific indexremoveCallBackPhoneNumber(int rep) Removes a repetition of ORC-14: "Call Back Phone Number" at a specific indexremoveOrc14_CallBackPhoneNumber(int rep) Removes a repetition of ORC-14: "Call Back Phone Number" at a specific indexremoveOrc7_QuantityTiming(int rep) Removes a repetition of ORC-7: "Quantity / timing" at a specific indexremoveQuantityTiming(int rep) Removes a repetition of ORC-7: "Quantity / timing" 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 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
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 all repetitions of Quantity / timing (ORC-7). -
getOrc7_QuantityTiming
Returns all repetitions of Quantity / timing (ORC-7). -
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
Returns a specific repetition of ORC-7: "Quantity / timing" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getOrc7_QuantityTiming
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
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
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
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
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)
-
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 ORC-12: "Ordering Provider" - creates it if necessary -
getOrc12_OrderingProvider
Returns ORC-12: "Ordering Provider" - creates it if necessary -
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
-