Package ca.uhn.hl7v2.model.v23.segment
Class RF1
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.RF1
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 RF1 message segment (Referral Information Segment). This segment has the following fields:
- RF1-1: Referral Status (CE) optional
- RF1-2: Referral Priority (CE) optional
- RF1-3: Referral Type (CE) optional
- RF1-4: Referral Disposition (CE) optional repeating
- RF1-5: Referral Category (CE) optional
- RF1-6: Originating Referral Identifier (EI)
- RF1-7: Effective Date (TS) optional
- RF1-8: Expiration Date (TS) optional
- RF1-9: Process Date (TS) optional
- RF1-10: Referral Reason (CE) optional repeating
- RF1-11: External Referral Identifier (EI) optional repeating
- 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 RF1-7: "Effective Date" - creates it if necessaryReturns RF1-8: "Expiration Date" - creates it if necessaryEI[]Returns all repetitions of External Referral Identifier (RF1-11).getExternalReferralIdentifier(int rep) Returns a specific repetition of RF1-11: "External Referral Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of External Referral Identifier (RF1-11).Returns RF1-6: "Originating Referral Identifier" - creates it if necessaryReturns RF1-9: "Process Date" - creates it if necessaryReturns RF1-5: "Referral Category" - creates it if necessaryCE[]Returns all repetitions of Referral Disposition (RF1-4).getReferralDisposition(int rep) Returns a specific repetition of RF1-4: "Referral Disposition" - creates it if necessaryintReturns a count of the current number of repetitions of Referral Disposition (RF1-4).Returns RF1-2: "Referral Priority" - creates it if necessaryCE[]Returns all repetitions of Referral Reason (RF1-10).getReferralReason(int rep) Returns a specific repetition of RF1-10: "Referral Reason" - creates it if necessaryintReturns a count of the current number of repetitions of Referral Reason (RF1-10).Returns RF1-1: "Referral Status" - creates it if necessaryReturns RF1-3: "Referral Type" - creates it if necessaryReturns RF1-1: "Referral Status" - creates it if necessaryCE[]Returns all repetitions of Referral Reason (RF1-10).getRf110_ReferralReason(int rep) Returns a specific repetition of RF1-10: "Referral Reason" - creates it if necessaryintReturns a count of the current number of repetitions of Referral Reason (RF1-10).EI[]Returns all repetitions of External Referral Identifier (RF1-11).getRf111_ExternalReferralIdentifier(int rep) Returns a specific repetition of RF1-11: "External Referral Identifier" - creates it if necessaryintReturns a count of the current number of repetitions of External Referral Identifier (RF1-11).Returns RF1-2: "Referral Priority" - creates it if necessaryReturns RF1-3: "Referral Type" - creates it if necessaryCE[]Returns all repetitions of Referral Disposition (RF1-4).getRf14_ReferralDisposition(int rep) Returns a specific repetition of RF1-4: "Referral Disposition" - creates it if necessaryintReturns a count of the current number of repetitions of Referral Disposition (RF1-4).Returns RF1-5: "Referral Category" - creates it if necessaryReturns RF1-6: "Originating Referral Identifier" - creates it if necessaryReturns RF1-7: "Effective Date" - creates it if necessaryReturns RF1-8: "Expiration Date" - creates it if necessaryReturns RF1-9: "Process Date" - creates it if necessaryinsertExternalReferralIdentifier(int rep) Inserts a repetition of RF1-11: "External Referral Identifier" at a specific indexinsertReferralDisposition(int rep) Inserts a repetition of RF1-4: "Referral Disposition" at a specific indexinsertReferralReason(int rep) Inserts a repetition of RF1-10: "Referral Reason" at a specific indexinsertRf110_ReferralReason(int rep) Inserts a repetition of RF1-10: "Referral Reason" at a specific indexInserts a repetition of RF1-11: "External Referral Identifier" at a specific indexinsertRf14_ReferralDisposition(int rep) Inserts a repetition of RF1-4: "Referral Disposition" at a specific indexremoveExternalReferralIdentifier(int rep) Removes a repetition of RF1-11: "External Referral Identifier" at a specific indexremoveReferralDisposition(int rep) Removes a repetition of RF1-4: "Referral Disposition" at a specific indexremoveReferralReason(int rep) Removes a repetition of RF1-10: "Referral Reason" at a specific indexremoveRf110_ReferralReason(int rep) Removes a repetition of RF1-10: "Referral Reason" at a specific indexRemoves a repetition of RF1-11: "External Referral Identifier" at a specific indexremoveRf14_ReferralDisposition(int rep) Removes a repetition of RF1-4: "Referral Disposition" 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
-
RF1
Creates a new RF1 segment
-
-
Method Details
-
getReferralStatus
Returns RF1-1: "Referral Status" - creates it if necessary -
getRf11_ReferralStatus
Returns RF1-1: "Referral Status" - creates it if necessary -
getReferralPriority
Returns RF1-2: "Referral Priority" - creates it if necessary -
getRf12_ReferralPriority
Returns RF1-2: "Referral Priority" - creates it if necessary -
getReferralType
Returns RF1-3: "Referral Type" - creates it if necessary -
getRf13_ReferralType
Returns RF1-3: "Referral Type" - creates it if necessary -
getReferralDisposition
Returns all repetitions of Referral Disposition (RF1-4). -
getRf14_ReferralDisposition
Returns all repetitions of Referral Disposition (RF1-4). -
getReferralDispositionReps
Returns a count of the current number of repetitions of Referral Disposition (RF1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getReferralDisposition
Returns a specific repetition of RF1-4: "Referral Disposition" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRf14_ReferralDisposition
Returns a specific repetition of RF1-4: "Referral Disposition" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRf14_ReferralDispositionReps
Returns a count of the current number of repetitions of Referral Disposition (RF1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertReferralDisposition
Inserts a repetition of RF1-4: "Referral Disposition" 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)
-
insertRf14_ReferralDisposition
Inserts a repetition of RF1-4: "Referral Disposition" 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)
-
removeReferralDisposition
Removes a repetition of RF1-4: "Referral Disposition" 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)
-
removeRf14_ReferralDisposition
Removes a repetition of RF1-4: "Referral Disposition" 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)
-
getReferralCategory
Returns RF1-5: "Referral Category" - creates it if necessary -
getRf15_ReferralCategory
Returns RF1-5: "Referral Category" - creates it if necessary -
getOriginatingReferralIdentifier
Returns RF1-6: "Originating Referral Identifier" - creates it if necessary -
getRf16_OriginatingReferralIdentifier
Returns RF1-6: "Originating Referral Identifier" - creates it if necessary -
getEffectiveDate
Returns RF1-7: "Effective Date" - creates it if necessary -
getRf17_EffectiveDate
Returns RF1-7: "Effective Date" - creates it if necessary -
getExpirationDate
Returns RF1-8: "Expiration Date" - creates it if necessary -
getRf18_ExpirationDate
Returns RF1-8: "Expiration Date" - creates it if necessary -
getProcessDate
Returns RF1-9: "Process Date" - creates it if necessary -
getRf19_ProcessDate
Returns RF1-9: "Process Date" - creates it if necessary -
getReferralReason
Returns all repetitions of Referral Reason (RF1-10). -
getRf110_ReferralReason
Returns all repetitions of Referral Reason (RF1-10). -
getReferralReasonReps
Returns a count of the current number of repetitions of Referral Reason (RF1-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getReferralReason
Returns a specific repetition of RF1-10: "Referral Reason" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRf110_ReferralReason
Returns a specific repetition of RF1-10: "Referral Reason" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRf110_ReferralReasonReps
Returns a count of the current number of repetitions of Referral Reason (RF1-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertReferralReason
Inserts a repetition of RF1-10: "Referral Reason" 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)
-
insertRf110_ReferralReason
Inserts a repetition of RF1-10: "Referral Reason" 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)
-
removeReferralReason
Removes a repetition of RF1-10: "Referral Reason" 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)
-
removeRf110_ReferralReason
Removes a repetition of RF1-10: "Referral Reason" 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)
-
getExternalReferralIdentifier
Returns all repetitions of External Referral Identifier (RF1-11). -
getRf111_ExternalReferralIdentifier
Returns all repetitions of External Referral Identifier (RF1-11). -
getExternalReferralIdentifierReps
Returns a count of the current number of repetitions of External Referral Identifier (RF1-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getExternalReferralIdentifier
Returns a specific repetition of RF1-11: "External Referral Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRf111_ExternalReferralIdentifier
Returns a specific repetition of RF1-11: "External Referral Identifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRf111_ExternalReferralIdentifierReps
Returns a count of the current number of repetitions of External Referral Identifier (RF1-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertExternalReferralIdentifier
Inserts a repetition of RF1-11: "External Referral Identifier" 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)
-
insertRf111_ExternalReferralIdentifier
Inserts a repetition of RF1-11: "External Referral Identifier" 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)
-
removeExternalReferralIdentifier
Removes a repetition of RF1-11: "External Referral Identifier" 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)
-
removeRf111_ExternalReferralIdentifier
Removes a repetition of RF1-11: "External Referral Identifier" 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)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-