Package ca.uhn.hl7v2.model.v251.segment
Class PV2
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.PV2
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PV2 message segment (Patient Visit - Additional Information). This segment has the following fields:
- PV2-1: Prior Pending Location (PL) optional
- PV2-2: Accommodation Code (CE) optional
- PV2-3: Admit Reason (CE) optional
- PV2-4: Transfer Reason (CE) optional
- PV2-5: Patient Valuables (ST) optional repeating
- PV2-6: Patient Valuables Location (ST) optional
- PV2-7: Visit User Code (IS) optional repeating
- PV2-8: Expected Admit Date/Time (TS) optional
- PV2-9: Expected Discharge Date/Time (TS) optional
- PV2-10: Estimated Length of Inpatient Stay (NM) optional
- PV2-11: Actual Length of Inpatient Stay (NM) optional
- PV2-12: Visit Description (ST) optional
- PV2-13: Referral Source Code (XCN) optional repeating
- PV2-14: Previous Service Date (DT) optional
- PV2-15: Employment Illness Related Indicator (ID) optional
- PV2-16: Purge Status Code (IS) optional
- PV2-17: Purge Status Date (DT) optional
- PV2-18: Special Program Code (IS) optional
- PV2-19: Retention Indicator (ID) optional
- PV2-20: Expected Number of Insurance Plans (NM) optional
- PV2-21: Visit Publicity Code (IS) optional
- PV2-22: Visit Protection Indicator (ID) optional
- PV2-23: Clinic Organization Name (XON) optional repeating
- PV2-24: Patient Status Code (IS) optional
- PV2-25: Visit Priority Code (IS) optional
- PV2-26: Previous Treatment Date (DT) optional
- PV2-27: Expected Discharge Disposition (IS) optional
- PV2-28: Signature on File Date (DT) optional
- PV2-29: First Similar Illness Date (DT) optional
- PV2-30: Patient Charge Adjustment Code (CE) optional
- PV2-31: Recurring Service Code (IS) optional
- PV2-32: Billing Media Code (ID) optional
- PV2-33: Expected Surgery Date and Time (TS) optional
- PV2-34: Military Partnership Code (ID) optional
- PV2-35: Military Non-Availability Code (ID) optional
- PV2-36: Newborn Baby Indicator (ID) optional
- PV2-37: Baby Detained Indicator (ID) optional
- PV2-38: Mode of Arrival Code (CE) optional
- PV2-39: Recreational Drug Use Code (CE) optional repeating
- PV2-40: Admission Level of Care Code (CE) optional
- PV2-41: Precaution Code (CE) optional repeating
- PV2-42: Patient Condition Code (CE) optional
- PV2-43: Living Will Code (IS) optional
- PV2-44: Organ Donor Code (IS) optional
- PV2-45: Advance Directive Code (CE) optional repeating
- PV2-46: Patient Status Effective Date (DT) optional
- PV2-47: Expected LOA Return Date/Time (TS) optional
- PV2-48: Expected Pre-admission Testing Date/Time (TS) optional
- PV2-49: Notify Clergy Code (IS) 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 PV2-2: "Accommodation Code" - creates it if necessaryReturns PV2-11: "Actual Length of Inpatient Stay" - creates it if necessaryReturns PV2-40: "Admission Level of Care Code" - creates it if necessaryReturns PV2-3: "Admit Reason" - creates it if necessaryCE[]Returns all repetitions of Advance Directive Code (PV2-45).getAdvanceDirectiveCode(int rep) Returns a specific repetition of PV2-45: "Advance Directive Code" - creates it if necessaryintReturns a count of the current number of repetitions of Advance Directive Code (PV2-45).Returns PV2-37: "Baby Detained Indicator" - creates it if necessaryReturns PV2-32: "Billing Media Code" - creates it if necessaryXON[]Returns all repetitions of Clinic Organization Name (PV2-23).getClinicOrganizationName(int rep) Returns a specific repetition of PV2-23: "Clinic Organization Name" - creates it if necessaryintReturns a count of the current number of repetitions of Clinic Organization Name (PV2-23).Returns PV2-15: "Employment Illness Related Indicator" - creates it if necessaryReturns PV2-10: "Estimated Length of Inpatient Stay" - creates it if necessaryReturns PV2-8: "Expected Admit Date/Time" - creates it if necessaryReturns PV2-9: "Expected Discharge Date/Time" - creates it if necessaryReturns PV2-27: "Expected Discharge Disposition" - creates it if necessaryReturns PV2-47: "Expected LOA Return Date/Time" - creates it if necessaryReturns PV2-20: "Expected Number of Insurance Plans" - creates it if necessaryReturns PV2-48: "Expected Pre-admission Testing Date/Time" - creates it if necessaryReturns PV2-33: "Expected Surgery Date and Time" - creates it if necessaryReturns PV2-29: "First Similar Illness Date" - creates it if necessaryReturns PV2-43: "Living Will Code" - creates it if necessaryReturns PV2-35: "Military Non-Availability Code" - creates it if necessaryReturns PV2-34: "Military Partnership Code" - creates it if necessaryReturns PV2-38: "Mode of Arrival Code" - creates it if necessaryReturns PV2-36: "Newborn Baby Indicator" - creates it if necessaryIS[]Returns all repetitions of Notify Clergy Code (PV2-49).getNotifyClergyCode(int rep) Returns a specific repetition of PV2-49: "Notify Clergy Code" - creates it if necessaryintReturns a count of the current number of repetitions of Notify Clergy Code (PV2-49).Returns PV2-44: "Organ Donor Code" - creates it if necessaryReturns PV2-30: "Patient Charge Adjustment Code" - creates it if necessaryReturns PV2-42: "Patient Condition Code" - creates it if necessaryReturns PV2-24: "Patient Status Code" - creates it if necessaryReturns PV2-46: "Patient Status Effective Date" - creates it if necessaryST[]Returns all repetitions of Patient Valuables (PV2-5).getPatientValuables(int rep) Returns a specific repetition of PV2-5: "Patient Valuables" - creates it if necessaryReturns PV2-6: "Patient Valuables Location" - creates it if necessaryintReturns a count of the current number of repetitions of Patient Valuables (PV2-5).CE[]Returns all repetitions of Precaution Code (PV2-41).getPrecautionCode(int rep) Returns a specific repetition of PV2-41: "Precaution Code" - creates it if necessaryintReturns a count of the current number of repetitions of Precaution Code (PV2-41).Returns PV2-14: "Previous Service Date" - creates it if necessaryReturns PV2-26: "Previous Treatment Date" - creates it if necessaryReturns PV2-1: "Prior Pending Location" - creates it if necessaryReturns PV2-16: "Purge Status Code" - creates it if necessaryReturns PV2-17: "Purge Status Date" - creates it if necessaryReturns PV2-1: "Prior Pending Location" - creates it if necessaryReturns PV2-10: "Estimated Length of Inpatient Stay" - creates it if necessaryReturns PV2-11: "Actual Length of Inpatient Stay" - creates it if necessaryReturns PV2-12: "Visit Description" - creates it if necessaryXCN[]Returns all repetitions of Referral Source Code (PV2-13).getPv213_ReferralSourceCode(int rep) Returns a specific repetition of PV2-13: "Referral Source Code" - creates it if necessaryintReturns a count of the current number of repetitions of Referral Source Code (PV2-13).Returns PV2-14: "Previous Service Date" - creates it if necessaryReturns PV2-15: "Employment Illness Related Indicator" - creates it if necessaryReturns PV2-16: "Purge Status Code" - creates it if necessaryReturns PV2-17: "Purge Status Date" - creates it if necessaryReturns PV2-18: "Special Program Code" - creates it if necessaryReturns PV2-19: "Retention Indicator" - creates it if necessaryReturns PV2-2: "Accommodation Code" - creates it if necessaryReturns PV2-20: "Expected Number of Insurance Plans" - creates it if necessaryReturns PV2-21: "Visit Publicity Code" - creates it if necessaryReturns PV2-22: "Visit Protection Indicator" - creates it if necessaryXON[]Returns all repetitions of Clinic Organization Name (PV2-23).getPv223_ClinicOrganizationName(int rep) Returns a specific repetition of PV2-23: "Clinic Organization Name" - creates it if necessaryintReturns a count of the current number of repetitions of Clinic Organization Name (PV2-23).Returns PV2-24: "Patient Status Code" - creates it if necessaryReturns PV2-25: "Visit Priority Code" - creates it if necessaryReturns PV2-26: "Previous Treatment Date" - creates it if necessaryReturns PV2-27: "Expected Discharge Disposition" - creates it if necessaryReturns PV2-28: "Signature on File Date" - creates it if necessaryReturns PV2-29: "First Similar Illness Date" - creates it if necessaryReturns PV2-3: "Admit Reason" - creates it if necessaryReturns PV2-30: "Patient Charge Adjustment Code" - creates it if necessaryReturns PV2-31: "Recurring Service Code" - creates it if necessaryReturns PV2-32: "Billing Media Code" - creates it if necessaryReturns PV2-33: "Expected Surgery Date and Time" - creates it if necessaryReturns PV2-34: "Military Partnership Code" - creates it if necessaryReturns PV2-35: "Military Non-Availability Code" - creates it if necessaryReturns PV2-36: "Newborn Baby Indicator" - creates it if necessaryReturns PV2-37: "Baby Detained Indicator" - creates it if necessaryReturns PV2-38: "Mode of Arrival Code" - creates it if necessaryCE[]Returns all repetitions of Recreational Drug Use Code (PV2-39).getPv239_RecreationalDrugUseCode(int rep) Returns a specific repetition of PV2-39: "Recreational Drug Use Code" - creates it if necessaryintReturns a count of the current number of repetitions of Recreational Drug Use Code (PV2-39).Returns PV2-4: "Transfer Reason" - creates it if necessaryReturns PV2-40: "Admission Level of Care Code" - creates it if necessaryCE[]Returns all repetitions of Precaution Code (PV2-41).getPv241_PrecautionCode(int rep) Returns a specific repetition of PV2-41: "Precaution Code" - creates it if necessaryintReturns a count of the current number of repetitions of Precaution Code (PV2-41).Returns PV2-42: "Patient Condition Code" - creates it if necessaryReturns PV2-43: "Living Will Code" - creates it if necessaryReturns PV2-44: "Organ Donor Code" - creates it if necessaryCE[]Returns all repetitions of Advance Directive Code (PV2-45).getPv245_AdvanceDirectiveCode(int rep) Returns a specific repetition of PV2-45: "Advance Directive Code" - creates it if necessaryintReturns a count of the current number of repetitions of Advance Directive Code (PV2-45).Returns PV2-46: "Patient Status Effective Date" - creates it if necessaryReturns PV2-47: "Expected LOA Return Date/Time" - creates it if necessaryReturns PV2-48: "Expected Pre-admission Testing Date/Time" - creates it if necessaryIS[]Returns all repetitions of Notify Clergy Code (PV2-49).getPv249_NotifyClergyCode(int rep) Returns a specific repetition of PV2-49: "Notify Clergy Code" - creates it if necessaryintReturns a count of the current number of repetitions of Notify Clergy Code (PV2-49).ST[]Returns all repetitions of Patient Valuables (PV2-5).getPv25_PatientValuables(int rep) Returns a specific repetition of PV2-5: "Patient Valuables" - creates it if necessaryintReturns a count of the current number of repetitions of Patient Valuables (PV2-5).Returns PV2-6: "Patient Valuables Location" - creates it if necessaryIS[]Returns all repetitions of Visit User Code (PV2-7).getPv27_VisitUserCode(int rep) Returns a specific repetition of PV2-7: "Visit User Code" - creates it if necessaryintReturns a count of the current number of repetitions of Visit User Code (PV2-7).Returns PV2-8: "Expected Admit Date/Time" - creates it if necessaryReturns PV2-9: "Expected Discharge Date/Time" - creates it if necessaryCE[]Returns all repetitions of Recreational Drug Use Code (PV2-39).getRecreationalDrugUseCode(int rep) Returns a specific repetition of PV2-39: "Recreational Drug Use Code" - creates it if necessaryintReturns a count of the current number of repetitions of Recreational Drug Use Code (PV2-39).Returns PV2-31: "Recurring Service Code" - creates it if necessaryXCN[]Returns all repetitions of Referral Source Code (PV2-13).getReferralSourceCode(int rep) Returns a specific repetition of PV2-13: "Referral Source Code" - creates it if necessaryintReturns a count of the current number of repetitions of Referral Source Code (PV2-13).Returns PV2-19: "Retention Indicator" - creates it if necessaryReturns PV2-28: "Signature on File Date" - creates it if necessaryReturns PV2-18: "Special Program Code" - creates it if necessaryReturns PV2-4: "Transfer Reason" - creates it if necessaryReturns PV2-12: "Visit Description" - creates it if necessaryReturns PV2-25: "Visit Priority Code" - creates it if necessaryReturns PV2-22: "Visit Protection Indicator" - creates it if necessaryReturns PV2-21: "Visit Publicity Code" - creates it if necessaryIS[]Returns all repetitions of Visit User Code (PV2-7).getVisitUserCode(int rep) Returns a specific repetition of PV2-7: "Visit User Code" - creates it if necessaryintReturns a count of the current number of repetitions of Visit User Code (PV2-7).insertAdvanceDirectiveCode(int rep) Inserts a repetition of PV2-45: "Advance Directive Code" at a specific indexinsertClinicOrganizationName(int rep) Inserts a repetition of PV2-23: "Clinic Organization Name" at a specific indexinsertNotifyClergyCode(int rep) Inserts a repetition of PV2-49: "Notify Clergy Code" at a specific indexinsertPatientValuables(int rep) Inserts a repetition of PV2-5: "Patient Valuables" at a specific indexinsertPrecautionCode(int rep) Inserts a repetition of PV2-41: "Precaution Code" at a specific indexinsertPv213_ReferralSourceCode(int rep) Inserts a repetition of PV2-13: "Referral Source Code" at a specific indexinsertPv223_ClinicOrganizationName(int rep) Inserts a repetition of PV2-23: "Clinic Organization Name" at a specific indexinsertPv239_RecreationalDrugUseCode(int rep) Inserts a repetition of PV2-39: "Recreational Drug Use Code" at a specific indexinsertPv241_PrecautionCode(int rep) Inserts a repetition of PV2-41: "Precaution Code" at a specific indexinsertPv245_AdvanceDirectiveCode(int rep) Inserts a repetition of PV2-45: "Advance Directive Code" at a specific indexinsertPv249_NotifyClergyCode(int rep) Inserts a repetition of PV2-49: "Notify Clergy Code" at a specific indexinsertPv25_PatientValuables(int rep) Inserts a repetition of PV2-5: "Patient Valuables" at a specific indexinsertPv27_VisitUserCode(int rep) Inserts a repetition of PV2-7: "Visit User Code" at a specific indexinsertRecreationalDrugUseCode(int rep) Inserts a repetition of PV2-39: "Recreational Drug Use Code" at a specific indexinsertReferralSourceCode(int rep) Inserts a repetition of PV2-13: "Referral Source Code" at a specific indexinsertVisitUserCode(int rep) Inserts a repetition of PV2-7: "Visit User Code" at a specific indexremoveAdvanceDirectiveCode(int rep) Removes a repetition of PV2-45: "Advance Directive Code" at a specific indexremoveClinicOrganizationName(int rep) Removes a repetition of PV2-23: "Clinic Organization Name" at a specific indexremoveNotifyClergyCode(int rep) Removes a repetition of PV2-49: "Notify Clergy Code" at a specific indexremovePatientValuables(int rep) Removes a repetition of PV2-5: "Patient Valuables" at a specific indexremovePrecautionCode(int rep) Removes a repetition of PV2-41: "Precaution Code" at a specific indexremovePv213_ReferralSourceCode(int rep) Removes a repetition of PV2-13: "Referral Source Code" at a specific indexremovePv223_ClinicOrganizationName(int rep) Removes a repetition of PV2-23: "Clinic Organization Name" at a specific indexremovePv239_RecreationalDrugUseCode(int rep) Removes a repetition of PV2-39: "Recreational Drug Use Code" at a specific indexremovePv241_PrecautionCode(int rep) Removes a repetition of PV2-41: "Precaution Code" at a specific indexremovePv245_AdvanceDirectiveCode(int rep) Removes a repetition of PV2-45: "Advance Directive Code" at a specific indexremovePv249_NotifyClergyCode(int rep) Removes a repetition of PV2-49: "Notify Clergy Code" at a specific indexremovePv25_PatientValuables(int rep) Removes a repetition of PV2-5: "Patient Valuables" at a specific indexremovePv27_VisitUserCode(int rep) Removes a repetition of PV2-7: "Visit User Code" at a specific indexremoveRecreationalDrugUseCode(int rep) Removes a repetition of PV2-39: "Recreational Drug Use Code" at a specific indexremoveReferralSourceCode(int rep) Removes a repetition of PV2-13: "Referral Source Code" at a specific indexremoveVisitUserCode(int rep) Removes a repetition of PV2-7: "Visit User Code" 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
-
PV2
Creates a new PV2 segment
-
-
Method Details
-
getPriorPendingLocation
Returns PV2-1: "Prior Pending Location" - creates it if necessary -
getPv21_PriorPendingLocation
Returns PV2-1: "Prior Pending Location" - creates it if necessary -
getAccommodationCode
Returns PV2-2: "Accommodation Code" - creates it if necessary -
getPv22_AccommodationCode
Returns PV2-2: "Accommodation Code" - creates it if necessary -
getAdmitReason
Returns PV2-3: "Admit Reason" - creates it if necessary -
getPv23_AdmitReason
Returns PV2-3: "Admit Reason" - creates it if necessary -
getTransferReason
Returns PV2-4: "Transfer Reason" - creates it if necessary -
getPv24_TransferReason
Returns PV2-4: "Transfer Reason" - creates it if necessary -
getPatientValuables
Returns all repetitions of Patient Valuables (PV2-5). -
getPv25_PatientValuables
Returns all repetitions of Patient Valuables (PV2-5). -
getPatientValuablesReps
Returns a count of the current number of repetitions of Patient Valuables (PV2-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPatientValuables
Returns a specific repetition of PV2-5: "Patient Valuables" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv25_PatientValuables
Returns a specific repetition of PV2-5: "Patient Valuables" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv25_PatientValuablesReps
Returns a count of the current number of repetitions of Patient Valuables (PV2-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPatientValuables
Inserts a repetition of PV2-5: "Patient Valuables" 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)
-
insertPv25_PatientValuables
Inserts a repetition of PV2-5: "Patient Valuables" 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)
-
removePatientValuables
Removes a repetition of PV2-5: "Patient Valuables" 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)
-
removePv25_PatientValuables
Removes a repetition of PV2-5: "Patient Valuables" 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)
-
getPatientValuablesLocation
Returns PV2-6: "Patient Valuables Location" - creates it if necessary -
getPv26_PatientValuablesLocation
Returns PV2-6: "Patient Valuables Location" - creates it if necessary -
getVisitUserCode
Returns all repetitions of Visit User Code (PV2-7). -
getPv27_VisitUserCode
Returns all repetitions of Visit User Code (PV2-7). -
getVisitUserCodeReps
Returns a count of the current number of repetitions of Visit User Code (PV2-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getVisitUserCode
Returns a specific repetition of PV2-7: "Visit User Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv27_VisitUserCode
Returns a specific repetition of PV2-7: "Visit User Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv27_VisitUserCodeReps
Returns a count of the current number of repetitions of Visit User Code (PV2-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertVisitUserCode
Inserts a repetition of PV2-7: "Visit User Code" 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)
-
insertPv27_VisitUserCode
Inserts a repetition of PV2-7: "Visit User Code" 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)
-
removeVisitUserCode
Removes a repetition of PV2-7: "Visit User Code" 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)
-
removePv27_VisitUserCode
Removes a repetition of PV2-7: "Visit User Code" 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)
-
getExpectedAdmitDateTime
Returns PV2-8: "Expected Admit Date/Time" - creates it if necessary -
getPv28_ExpectedAdmitDateTime
Returns PV2-8: "Expected Admit Date/Time" - creates it if necessary -
getExpectedDischargeDateTime
Returns PV2-9: "Expected Discharge Date/Time" - creates it if necessary -
getPv29_ExpectedDischargeDateTime
Returns PV2-9: "Expected Discharge Date/Time" - creates it if necessary -
getEstimatedLengthOfInpatientStay
Returns PV2-10: "Estimated Length of Inpatient Stay" - creates it if necessary -
getPv210_EstimatedLengthOfInpatientStay
Returns PV2-10: "Estimated Length of Inpatient Stay" - creates it if necessary -
getActualLengthOfInpatientStay
Returns PV2-11: "Actual Length of Inpatient Stay" - creates it if necessary -
getPv211_ActualLengthOfInpatientStay
Returns PV2-11: "Actual Length of Inpatient Stay" - creates it if necessary -
getVisitDescription
Returns PV2-12: "Visit Description" - creates it if necessary -
getPv212_VisitDescription
Returns PV2-12: "Visit Description" - creates it if necessary -
getReferralSourceCode
Returns all repetitions of Referral Source Code (PV2-13). -
getPv213_ReferralSourceCode
Returns all repetitions of Referral Source Code (PV2-13). -
getReferralSourceCodeReps
Returns a count of the current number of repetitions of Referral Source Code (PV2-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getReferralSourceCode
Returns a specific repetition of PV2-13: "Referral Source Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv213_ReferralSourceCode
Returns a specific repetition of PV2-13: "Referral Source Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv213_ReferralSourceCodeReps
Returns a count of the current number of repetitions of Referral Source Code (PV2-13). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertReferralSourceCode
Inserts a repetition of PV2-13: "Referral Source Code" 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)
-
insertPv213_ReferralSourceCode
Inserts a repetition of PV2-13: "Referral Source Code" 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)
-
removeReferralSourceCode
Removes a repetition of PV2-13: "Referral Source Code" 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)
-
removePv213_ReferralSourceCode
Removes a repetition of PV2-13: "Referral Source Code" 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)
-
getPreviousServiceDate
Returns PV2-14: "Previous Service Date" - creates it if necessary -
getPv214_PreviousServiceDate
Returns PV2-14: "Previous Service Date" - creates it if necessary -
getEmploymentIllnessRelatedIndicator
Returns PV2-15: "Employment Illness Related Indicator" - creates it if necessary -
getPv215_EmploymentIllnessRelatedIndicator
Returns PV2-15: "Employment Illness Related Indicator" - creates it if necessary -
getPurgeStatusCode
Returns PV2-16: "Purge Status Code" - creates it if necessary -
getPv216_PurgeStatusCode
Returns PV2-16: "Purge Status Code" - creates it if necessary -
getPurgeStatusDate
Returns PV2-17: "Purge Status Date" - creates it if necessary -
getPv217_PurgeStatusDate
Returns PV2-17: "Purge Status Date" - creates it if necessary -
getSpecialProgramCode
Returns PV2-18: "Special Program Code" - creates it if necessary -
getPv218_SpecialProgramCode
Returns PV2-18: "Special Program Code" - creates it if necessary -
getRetentionIndicator
Returns PV2-19: "Retention Indicator" - creates it if necessary -
getPv219_RetentionIndicator
Returns PV2-19: "Retention Indicator" - creates it if necessary -
getExpectedNumberOfInsurancePlans
Returns PV2-20: "Expected Number of Insurance Plans" - creates it if necessary -
getPv220_ExpectedNumberOfInsurancePlans
Returns PV2-20: "Expected Number of Insurance Plans" - creates it if necessary -
getVisitPublicityCode
Returns PV2-21: "Visit Publicity Code" - creates it if necessary -
getPv221_VisitPublicityCode
Returns PV2-21: "Visit Publicity Code" - creates it if necessary -
getVisitProtectionIndicator
Returns PV2-22: "Visit Protection Indicator" - creates it if necessary -
getPv222_VisitProtectionIndicator
Returns PV2-22: "Visit Protection Indicator" - creates it if necessary -
getClinicOrganizationName
Returns all repetitions of Clinic Organization Name (PV2-23). -
getPv223_ClinicOrganizationName
Returns all repetitions of Clinic Organization Name (PV2-23). -
getClinicOrganizationNameReps
Returns a count of the current number of repetitions of Clinic Organization Name (PV2-23). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getClinicOrganizationName
Returns a specific repetition of PV2-23: "Clinic Organization Name" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv223_ClinicOrganizationName
Returns a specific repetition of PV2-23: "Clinic Organization Name" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv223_ClinicOrganizationNameReps
Returns a count of the current number of repetitions of Clinic Organization Name (PV2-23). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertClinicOrganizationName
Inserts a repetition of PV2-23: "Clinic Organization 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)
-
insertPv223_ClinicOrganizationName
Inserts a repetition of PV2-23: "Clinic Organization 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)
-
removeClinicOrganizationName
Removes a repetition of PV2-23: "Clinic Organization 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)
-
removePv223_ClinicOrganizationName
Removes a repetition of PV2-23: "Clinic Organization 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)
-
getPatientStatusCode
Returns PV2-24: "Patient Status Code" - creates it if necessary -
getPv224_PatientStatusCode
Returns PV2-24: "Patient Status Code" - creates it if necessary -
getVisitPriorityCode
Returns PV2-25: "Visit Priority Code" - creates it if necessary -
getPv225_VisitPriorityCode
Returns PV2-25: "Visit Priority Code" - creates it if necessary -
getPreviousTreatmentDate
Returns PV2-26: "Previous Treatment Date" - creates it if necessary -
getPv226_PreviousTreatmentDate
Returns PV2-26: "Previous Treatment Date" - creates it if necessary -
getExpectedDischargeDisposition
Returns PV2-27: "Expected Discharge Disposition" - creates it if necessary -
getPv227_ExpectedDischargeDisposition
Returns PV2-27: "Expected Discharge Disposition" - creates it if necessary -
getSignatureOnFileDate
Returns PV2-28: "Signature on File Date" - creates it if necessary -
getPv228_SignatureOnFileDate
Returns PV2-28: "Signature on File Date" - creates it if necessary -
getFirstSimilarIllnessDate
Returns PV2-29: "First Similar Illness Date" - creates it if necessary -
getPv229_FirstSimilarIllnessDate
Returns PV2-29: "First Similar Illness Date" - creates it if necessary -
getPatientChargeAdjustmentCode
Returns PV2-30: "Patient Charge Adjustment Code" - creates it if necessary -
getPv230_PatientChargeAdjustmentCode
Returns PV2-30: "Patient Charge Adjustment Code" - creates it if necessary -
getRecurringServiceCode
Returns PV2-31: "Recurring Service Code" - creates it if necessary -
getPv231_RecurringServiceCode
Returns PV2-31: "Recurring Service Code" - creates it if necessary -
getBillingMediaCode
Returns PV2-32: "Billing Media Code" - creates it if necessary -
getPv232_BillingMediaCode
Returns PV2-32: "Billing Media Code" - creates it if necessary -
getExpectedSurgeryDateAndTime
Returns PV2-33: "Expected Surgery Date and Time" - creates it if necessary -
getPv233_ExpectedSurgeryDateAndTime
Returns PV2-33: "Expected Surgery Date and Time" - creates it if necessary -
getMilitaryPartnershipCode
Returns PV2-34: "Military Partnership Code" - creates it if necessary -
getPv234_MilitaryPartnershipCode
Returns PV2-34: "Military Partnership Code" - creates it if necessary -
getMilitaryNonAvailabilityCode
Returns PV2-35: "Military Non-Availability Code" - creates it if necessary -
getPv235_MilitaryNonAvailabilityCode
Returns PV2-35: "Military Non-Availability Code" - creates it if necessary -
getNewbornBabyIndicator
Returns PV2-36: "Newborn Baby Indicator" - creates it if necessary -
getPv236_NewbornBabyIndicator
Returns PV2-36: "Newborn Baby Indicator" - creates it if necessary -
getBabyDetainedIndicator
Returns PV2-37: "Baby Detained Indicator" - creates it if necessary -
getPv237_BabyDetainedIndicator
Returns PV2-37: "Baby Detained Indicator" - creates it if necessary -
getModeOfArrivalCode
Returns PV2-38: "Mode of Arrival Code" - creates it if necessary -
getPv238_ModeOfArrivalCode
Returns PV2-38: "Mode of Arrival Code" - creates it if necessary -
getRecreationalDrugUseCode
Returns all repetitions of Recreational Drug Use Code (PV2-39). -
getPv239_RecreationalDrugUseCode
Returns all repetitions of Recreational Drug Use Code (PV2-39). -
getRecreationalDrugUseCodeReps
Returns a count of the current number of repetitions of Recreational Drug Use Code (PV2-39). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getRecreationalDrugUseCode
Returns a specific repetition of PV2-39: "Recreational Drug Use Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv239_RecreationalDrugUseCode
Returns a specific repetition of PV2-39: "Recreational Drug Use Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv239_RecreationalDrugUseCodeReps
Returns a count of the current number of repetitions of Recreational Drug Use Code (PV2-39). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertRecreationalDrugUseCode
Inserts a repetition of PV2-39: "Recreational Drug Use Code" 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)
-
insertPv239_RecreationalDrugUseCode
Inserts a repetition of PV2-39: "Recreational Drug Use Code" 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)
-
removeRecreationalDrugUseCode
Removes a repetition of PV2-39: "Recreational Drug Use Code" 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)
-
removePv239_RecreationalDrugUseCode
Removes a repetition of PV2-39: "Recreational Drug Use Code" 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)
-
getAdmissionLevelOfCareCode
Returns PV2-40: "Admission Level of Care Code" - creates it if necessary -
getPv240_AdmissionLevelOfCareCode
Returns PV2-40: "Admission Level of Care Code" - creates it if necessary -
getPrecautionCode
Returns all repetitions of Precaution Code (PV2-41). -
getPv241_PrecautionCode
Returns all repetitions of Precaution Code (PV2-41). -
getPrecautionCodeReps
Returns a count of the current number of repetitions of Precaution Code (PV2-41). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPrecautionCode
Returns a specific repetition of PV2-41: "Precaution Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv241_PrecautionCode
Returns a specific repetition of PV2-41: "Precaution Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv241_PrecautionCodeReps
Returns a count of the current number of repetitions of Precaution Code (PV2-41). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPrecautionCode
Inserts a repetition of PV2-41: "Precaution Code" 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)
-
insertPv241_PrecautionCode
Inserts a repetition of PV2-41: "Precaution Code" 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)
-
removePrecautionCode
Removes a repetition of PV2-41: "Precaution Code" 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)
-
removePv241_PrecautionCode
Removes a repetition of PV2-41: "Precaution Code" 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)
-
getPatientConditionCode
Returns PV2-42: "Patient Condition Code" - creates it if necessary -
getPv242_PatientConditionCode
Returns PV2-42: "Patient Condition Code" - creates it if necessary -
getLivingWillCode
Returns PV2-43: "Living Will Code" - creates it if necessary -
getPv243_LivingWillCode
Returns PV2-43: "Living Will Code" - creates it if necessary -
getOrganDonorCode
Returns PV2-44: "Organ Donor Code" - creates it if necessary -
getPv244_OrganDonorCode
Returns PV2-44: "Organ Donor Code" - creates it if necessary -
getAdvanceDirectiveCode
Returns all repetitions of Advance Directive Code (PV2-45). -
getPv245_AdvanceDirectiveCode
Returns all repetitions of Advance Directive Code (PV2-45). -
getAdvanceDirectiveCodeReps
Returns a count of the current number of repetitions of Advance Directive Code (PV2-45). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getAdvanceDirectiveCode
Returns a specific repetition of PV2-45: "Advance Directive Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv245_AdvanceDirectiveCode
Returns a specific repetition of PV2-45: "Advance Directive Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv245_AdvanceDirectiveCodeReps
Returns a count of the current number of repetitions of Advance Directive Code (PV2-45). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertAdvanceDirectiveCode
Inserts a repetition of PV2-45: "Advance Directive Code" 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)
-
insertPv245_AdvanceDirectiveCode
Inserts a repetition of PV2-45: "Advance Directive Code" 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)
-
removeAdvanceDirectiveCode
Removes a repetition of PV2-45: "Advance Directive Code" 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)
-
removePv245_AdvanceDirectiveCode
Removes a repetition of PV2-45: "Advance Directive Code" 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)
-
getPatientStatusEffectiveDate
Returns PV2-46: "Patient Status Effective Date" - creates it if necessary -
getPv246_PatientStatusEffectiveDate
Returns PV2-46: "Patient Status Effective Date" - creates it if necessary -
getExpectedLOAReturnDateTime
Returns PV2-47: "Expected LOA Return Date/Time" - creates it if necessary -
getPv247_ExpectedLOAReturnDateTime
Returns PV2-47: "Expected LOA Return Date/Time" - creates it if necessary -
getExpectedPreAdmissionTestingDateTime
Returns PV2-48: "Expected Pre-admission Testing Date/Time" - creates it if necessary -
getPv248_ExpectedPreAdmissionTestingDateTime
Returns PV2-48: "Expected Pre-admission Testing Date/Time" - creates it if necessary -
getNotifyClergyCode
Returns all repetitions of Notify Clergy Code (PV2-49). -
getPv249_NotifyClergyCode
Returns all repetitions of Notify Clergy Code (PV2-49). -
getNotifyClergyCodeReps
Returns a count of the current number of repetitions of Notify Clergy Code (PV2-49). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getNotifyClergyCode
Returns a specific repetition of PV2-49: "Notify Clergy Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv249_NotifyClergyCode
Returns a specific repetition of PV2-49: "Notify Clergy Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPv249_NotifyClergyCodeReps
Returns a count of the current number of repetitions of Notify Clergy Code (PV2-49). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertNotifyClergyCode
Inserts a repetition of PV2-49: "Notify Clergy Code" 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)
-
insertPv249_NotifyClergyCode
Inserts a repetition of PV2-49: "Notify Clergy Code" 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)
-
removeNotifyClergyCode
Removes a repetition of PV2-49: "Notify Clergy Code" 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)
-
removePv249_NotifyClergyCode
Removes a repetition of PV2-49: "Notify Clergy Code" 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
-