ca.uhn.hl7v2.model.v24.segment
Class PV1

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractSegment
      extended by ca.uhn.hl7v2.model.v24.segment.PV1
All Implemented Interfaces:
Segment, Structure, Serializable

public class PV1
extends AbstractSegment

Represents an HL7 PV1 message segment (Patient visit). This segment has the following fields:

See Also:
Serialized Form

Constructor Summary
PV1(Group parent, ModelClassFactory factory)
          Creates a new PV1 segment
 
Method Summary
protected  Type createNewTypeWithoutReflection(int field)
          
 IS getAccountStatus()
          Returns PV1-41: "Account Status" - creates it if necessary
 IS getAdmissionType()
          Returns PV1-4: "Admission Type" - creates it if necessary
 TS getAdmitDateTime()
          Returns PV1-44: "Admit Date/Time" - creates it if necessary
 IS getAdmitSource()
          Returns PV1-14: "Admit Source" - creates it if necessary
 XCN[] getAdmittingDoctor()
          Returns all repetitions of Admitting Doctor (PV1-17).
 XCN getAdmittingDoctor(int rep)
          Returns a specific repetition of PV1-17: "Admitting Doctor" - creates it if necessary
 int getAdmittingDoctorReps()
          Returns a count of the current number of repetitions of Admitting Doctor (PV1-17).
 CX getAlternateVisitID()
          Returns PV1-50: "Alternate Visit ID" - creates it if necessary
 IS[] getAmbulatoryStatus()
          Returns all repetitions of Ambulatory Status (PV1-15).
 IS getAmbulatoryStatus(int rep)
          Returns a specific repetition of PV1-15: "Ambulatory Status" - creates it if necessary
 int getAmbulatoryStatusReps()
          Returns a count of the current number of repetitions of Ambulatory Status (PV1-15).
 PL getAssignedPatientLocation()
          Returns PV1-3: "Assigned Patient Location" - creates it if necessary
 XCN[] getAttendingDoctor()
          Returns all repetitions of Attending Doctor (PV1-7).
 XCN getAttendingDoctor(int rep)
          Returns a specific repetition of PV1-7: "Attending Doctor" - creates it if necessary
 int getAttendingDoctorReps()
          Returns a count of the current number of repetitions of Attending Doctor (PV1-7).
 IS getBadDebtAgencyCode()
          Returns PV1-31: "Bad Debt Agency Code" - creates it if necessary
 NM getBadDebtRecoveryAmount()
          Returns PV1-33: "Bad Debt Recovery Amount" - creates it if necessary
 NM getBadDebtTransferAmount()
          Returns PV1-32: "Bad Debt Transfer Amount" - creates it if necessary
 IS getBedStatus()
          Returns PV1-40: "Bed Status" - creates it if necessary
 IS getChargePriceIndicator()
          Returns PV1-21: "Charge Price Indicator" - creates it if necessary
 XCN[] getConsultingDoctor()
          Returns all repetitions of Consulting Doctor (PV1-9).
 XCN getConsultingDoctor(int rep)
          Returns a specific repetition of PV1-9: "Consulting Doctor" - creates it if necessary
 int getConsultingDoctorReps()
          Returns a count of the current number of repetitions of Consulting Doctor (PV1-9).
 NM[] getContractAmount()
          Returns all repetitions of Contract Amount (PV1-26).
 NM getContractAmount(int rep)
          Returns a specific repetition of PV1-26: "Contract Amount" - creates it if necessary
 int getContractAmountReps()
          Returns a count of the current number of repetitions of Contract Amount (PV1-26).
 IS[] getContractCode()
          Returns all repetitions of Contract Code (PV1-24).
 IS getContractCode(int rep)
          Returns a specific repetition of PV1-24: "Contract Code" - creates it if necessary
 int getContractCodeReps()
          Returns a count of the current number of repetitions of Contract Code (PV1-24).
 DT[] getContractEffectiveDate()
          Returns all repetitions of Contract Effective Date (PV1-25).
 DT getContractEffectiveDate(int rep)
          Returns a specific repetition of PV1-25: "Contract Effective Date" - creates it if necessary
 int getContractEffectiveDateReps()
          Returns a count of the current number of repetitions of Contract Effective Date (PV1-25).
 NM[] getContractPeriod()
          Returns all repetitions of Contract Period (PV1-27).
 NM getContractPeriod(int rep)
          Returns a specific repetition of PV1-27: "Contract Period" - creates it if necessary
 int getContractPeriodReps()
          Returns a count of the current number of repetitions of Contract Period (PV1-27).
 IS getCourtesyCode()
          Returns PV1-22: "Courtesy Code" - creates it if necessary
 IS getCreditRating()
          Returns PV1-23: "Credit Rating" - creates it if necessary
 NM getCurrentPatientBalance()
          Returns PV1-46: "Current Patient Balance" - creates it if necessary
 DT getDeleteAccountDate()
          Returns PV1-35: "Delete Account Date" - creates it if necessary
 IS getDeleteAccountIndicator()
          Returns PV1-34: "Delete Account Indicator" - creates it if necessary
 CE getDietType()
          Returns PV1-38: "Diet Type" - creates it if necessary
 TS[] getDischargeDateTime()
          Returns all repetitions of Discharge Date/Time (PV1-45).
 TS getDischargeDateTime(int rep)
          Returns a specific repetition of PV1-45: "Discharge Date/Time" - creates it if necessary
 int getDischargeDateTimeReps()
          Returns a count of the current number of repetitions of Discharge Date/Time (PV1-45).
 IS getDischargeDisposition()
          Returns PV1-36: "Discharge Disposition" - creates it if necessary
 DLD getDischargedToLocation()
          Returns PV1-37: "Discharged to Location" - creates it if necessary
 FC[] getFinancialClass()
          Returns all repetitions of Financial Class (PV1-20).
 FC getFinancialClass(int rep)
          Returns a specific repetition of PV1-20: "Financial Class" - creates it if necessary
 int getFinancialClassReps()
          Returns a count of the current number of repetitions of Financial Class (PV1-20).
 IS getHospitalService()
          Returns PV1-10: "Hospital Service" - creates it if necessary
 IS getInterestCode()
          Returns PV1-28: "Interest Code" - creates it if necessary
 XCN[] getOtherHealthcareProvider()
          Returns all repetitions of Other Healthcare Provider (PV1-52).
 XCN getOtherHealthcareProvider(int rep)
          Returns a specific repetition of PV1-52: "Other Healthcare Provider" - creates it if necessary
 int getOtherHealthcareProviderReps()
          Returns a count of the current number of repetitions of Other Healthcare Provider (PV1-52).
 IS getPatientClass()
          Returns PV1-2: "Patient Class" - creates it if necessary
 IS getPatientType()
          Returns PV1-18: "Patient Type" - creates it if necessary
 PL getPendingLocation()
          Returns PV1-42: "Pending Location" - creates it if necessary
 CX getPreadmitNumber()
          Returns PV1-5: "Preadmit Number" - creates it if necessary
 IS getPreadmitTestIndicator()
          Returns PV1-12: "Preadmit Test Indicator" - creates it if necessary
 PL getPriorPatientLocation()
          Returns PV1-6: "Prior Patient Location" - creates it if necessary
 PL getPriorTemporaryLocation()
          Returns PV1-43: "Prior Temporary Location" - creates it if necessary
 SI getPv11_SetIDPV1()
          Returns PV1-1: "Set ID - PV1" - creates it if necessary
 IS getPv110_HospitalService()
          Returns PV1-10: "Hospital Service" - creates it if necessary
 PL getPv111_TemporaryLocation()
          Returns PV1-11: "Temporary Location" - creates it if necessary
 IS getPv112_PreadmitTestIndicator()
          Returns PV1-12: "Preadmit Test Indicator" - creates it if necessary
 IS getPv113_ReAdmissionIndicator()
          Returns PV1-13: "Re-admission Indicator" - creates it if necessary
 IS getPv114_AdmitSource()
          Returns PV1-14: "Admit Source" - creates it if necessary
 IS getPv115_AmbulatoryStatus(int rep)
          Returns a specific repetition of PV1-15: "Ambulatory Status" - creates it if necessary
 int getPv115_AmbulatoryStatusReps()
          Returns a count of the current number of repetitions of Ambulatory Status (PV1-15).
 IS getPv116_VIPIndicator()
          Returns PV1-16: "VIP Indicator" - creates it if necessary
 XCN getPv117_AdmittingDoctor(int rep)
          Returns a specific repetition of PV1-17: "Admitting Doctor" - creates it if necessary
 int getPv117_AdmittingDoctorReps()
          Returns a count of the current number of repetitions of Admitting Doctor (PV1-17).
 IS getPv118_PatientType()
          Returns PV1-18: "Patient Type" - creates it if necessary
 CX getPv119_VisitNumber()
          Returns PV1-19: "Visit Number" - creates it if necessary
 IS getPv12_PatientClass()
          Returns PV1-2: "Patient Class" - creates it if necessary
 FC getPv120_FinancialClass(int rep)
          Returns a specific repetition of PV1-20: "Financial Class" - creates it if necessary
 int getPv120_FinancialClassReps()
          Returns a count of the current number of repetitions of Financial Class (PV1-20).
 IS getPv121_ChargePriceIndicator()
          Returns PV1-21: "Charge Price Indicator" - creates it if necessary
 IS getPv122_CourtesyCode()
          Returns PV1-22: "Courtesy Code" - creates it if necessary
 IS getPv123_CreditRating()
          Returns PV1-23: "Credit Rating" - creates it if necessary
 IS getPv124_ContractCode(int rep)
          Returns a specific repetition of PV1-24: "Contract Code" - creates it if necessary
 int getPv124_ContractCodeReps()
          Returns a count of the current number of repetitions of Contract Code (PV1-24).
 DT getPv125_ContractEffectiveDate(int rep)
          Returns a specific repetition of PV1-25: "Contract Effective Date" - creates it if necessary
 int getPv125_ContractEffectiveDateReps()
          Returns a count of the current number of repetitions of Contract Effective Date (PV1-25).
 NM getPv126_ContractAmount(int rep)
          Returns a specific repetition of PV1-26: "Contract Amount" - creates it if necessary
 int getPv126_ContractAmountReps()
          Returns a count of the current number of repetitions of Contract Amount (PV1-26).
 NM getPv127_ContractPeriod(int rep)
          Returns a specific repetition of PV1-27: "Contract Period" - creates it if necessary
 int getPv127_ContractPeriodReps()
          Returns a count of the current number of repetitions of Contract Period (PV1-27).
 IS getPv128_InterestCode()
          Returns PV1-28: "Interest Code" - creates it if necessary
 IS getPv129_TransferToBadDebtCode()
          Returns PV1-29: "Transfer to Bad Debt Code" - creates it if necessary
 PL getPv13_AssignedPatientLocation()
          Returns PV1-3: "Assigned Patient Location" - creates it if necessary
 DT getPv130_TransferToBadDebtDate()
          Returns PV1-30: "Transfer to Bad Debt Date" - creates it if necessary
 IS getPv131_BadDebtAgencyCode()
          Returns PV1-31: "Bad Debt Agency Code" - creates it if necessary
 NM getPv132_BadDebtTransferAmount()
          Returns PV1-32: "Bad Debt Transfer Amount" - creates it if necessary
 NM getPv133_BadDebtRecoveryAmount()
          Returns PV1-33: "Bad Debt Recovery Amount" - creates it if necessary
 IS getPv134_DeleteAccountIndicator()
          Returns PV1-34: "Delete Account Indicator" - creates it if necessary
 DT getPv135_DeleteAccountDate()
          Returns PV1-35: "Delete Account Date" - creates it if necessary
 IS getPv136_DischargeDisposition()
          Returns PV1-36: "Discharge Disposition" - creates it if necessary
 DLD getPv137_DischargedToLocation()
          Returns PV1-37: "Discharged to Location" - creates it if necessary
 CE getPv138_DietType()
          Returns PV1-38: "Diet Type" - creates it if necessary
 IS getPv139_ServicingFacility()
          Returns PV1-39: "Servicing Facility" - creates it if necessary
 IS getPv14_AdmissionType()
          Returns PV1-4: "Admission Type" - creates it if necessary
 IS getPv140_BedStatus()
          Returns PV1-40: "Bed Status" - creates it if necessary
 IS getPv141_AccountStatus()
          Returns PV1-41: "Account Status" - creates it if necessary
 PL getPv142_PendingLocation()
          Returns PV1-42: "Pending Location" - creates it if necessary
 PL getPv143_PriorTemporaryLocation()
          Returns PV1-43: "Prior Temporary Location" - creates it if necessary
 TS getPv144_AdmitDateTime()
          Returns PV1-44: "Admit Date/Time" - creates it if necessary
 TS getPv145_DischargeDateTime(int rep)
          Returns a specific repetition of PV1-45: "Discharge Date/Time" - creates it if necessary
 int getPv145_DischargeDateTimeReps()
          Returns a count of the current number of repetitions of Discharge Date/Time (PV1-45).
 NM getPv146_CurrentPatientBalance()
          Returns PV1-46: "Current Patient Balance" - creates it if necessary
 NM getPv147_TotalCharges()
          Returns PV1-47: "Total Charges" - creates it if necessary
 NM getPv148_TotalAdjustments()
          Returns PV1-48: "Total Adjustments" - creates it if necessary
 NM getPv149_TotalPayments()
          Returns PV1-49: "Total Payments" - creates it if necessary
 CX getPv15_PreadmitNumber()
          Returns PV1-5: "Preadmit Number" - creates it if necessary
 CX getPv150_AlternateVisitID()
          Returns PV1-50: "Alternate Visit ID" - creates it if necessary
 IS getPv151_VisitIndicator()
          Returns PV1-51: "Visit Indicator" - creates it if necessary
 XCN getPv152_OtherHealthcareProvider(int rep)
          Returns a specific repetition of PV1-52: "Other Healthcare Provider" - creates it if necessary
 int getPv152_OtherHealthcareProviderReps()
          Returns a count of the current number of repetitions of Other Healthcare Provider (PV1-52).
 PL getPv16_PriorPatientLocation()
          Returns PV1-6: "Prior Patient Location" - creates it if necessary
 XCN getPv17_AttendingDoctor(int rep)
          Returns a specific repetition of PV1-7: "Attending Doctor" - creates it if necessary
 int getPv17_AttendingDoctorReps()
          Returns a count of the current number of repetitions of Attending Doctor (PV1-7).
 XCN getPv18_ReferringDoctor(int rep)
          Returns a specific repetition of PV1-8: "Referring Doctor" - creates it if necessary
 int getPv18_ReferringDoctorReps()
          Returns a count of the current number of repetitions of Referring Doctor (PV1-8).
 XCN getPv19_ConsultingDoctor(int rep)
          Returns a specific repetition of PV1-9: "Consulting Doctor" - creates it if necessary
 int getPv19_ConsultingDoctorReps()
          Returns a count of the current number of repetitions of Consulting Doctor (PV1-9).
 IS getReAdmissionIndicator()
          Returns PV1-13: "Re-admission Indicator" - creates it if necessary
 XCN[] getReferringDoctor()
          Returns all repetitions of Referring Doctor (PV1-8).
 XCN getReferringDoctor(int rep)
          Returns a specific repetition of PV1-8: "Referring Doctor" - creates it if necessary
 int getReferringDoctorReps()
          Returns a count of the current number of repetitions of Referring Doctor (PV1-8).
 IS getServicingFacility()
          Returns PV1-39: "Servicing Facility" - creates it if necessary
 SI getSetIDPV1()
          Returns PV1-1: "Set ID - PV1" - creates it if necessary
 PL getTemporaryLocation()
          Returns PV1-11: "Temporary Location" - creates it if necessary
 NM getTotalAdjustments()
          Returns PV1-48: "Total Adjustments" - creates it if necessary
 NM getTotalCharges()
          Returns PV1-47: "Total Charges" - creates it if necessary
 NM getTotalPayments()
          Returns PV1-49: "Total Payments" - creates it if necessary
 IS getTransferToBadDebtCode()
          Returns PV1-29: "Transfer to Bad Debt Code" - creates it if necessary
 DT getTransferToBadDebtDate()
          Returns PV1-30: "Transfer to Bad Debt Date" - creates it if necessary
 IS getVIPIndicator()
          Returns PV1-16: "VIP Indicator" - creates it if necessary
 IS getVisitIndicator()
          Returns PV1-51: "Visit Indicator" - creates it if necessary
 CX getVisitNumber()
          Returns PV1-19: "Visit Number" - creates it if necessary
 XCN insertAdmittingDoctor(int rep)
          Inserts a repetition of PV1-17: "Admitting Doctor" at a specific index
 IS insertAmbulatoryStatus(int rep)
          Inserts a repetition of PV1-15: "Ambulatory Status" at a specific index
 XCN insertAttendingDoctor(int rep)
          Inserts a repetition of PV1-7: "Attending Doctor" at a specific index
 XCN insertConsultingDoctor(int rep)
          Inserts a repetition of PV1-9: "Consulting Doctor" at a specific index
 NM insertContractAmount(int rep)
          Inserts a repetition of PV1-26: "Contract Amount" at a specific index
 IS insertContractCode(int rep)
          Inserts a repetition of PV1-24: "Contract Code" at a specific index
 DT insertContractEffectiveDate(int rep)
          Inserts a repetition of PV1-25: "Contract Effective Date" at a specific index
 NM insertContractPeriod(int rep)
          Inserts a repetition of PV1-27: "Contract Period" at a specific index
 TS insertDischargeDateTime(int rep)
          Inserts a repetition of PV1-45: "Discharge Date/Time" at a specific index
 FC insertFinancialClass(int rep)
          Inserts a repetition of PV1-20: "Financial Class" at a specific index
 XCN insertOtherHealthcareProvider(int rep)
          Inserts a repetition of PV1-52: "Other Healthcare Provider" at a specific index
 IS insertPv115_AmbulatoryStatus(int rep)
          Inserts a repetition of PV1-15: "Ambulatory Status" at a specific index
 XCN insertPv117_AdmittingDoctor(int rep)
          Inserts a repetition of PV1-17: "Admitting Doctor" at a specific index
 FC insertPv120_FinancialClass(int rep)
          Inserts a repetition of PV1-20: "Financial Class" at a specific index
 IS insertPv124_ContractCode(int rep)
          Inserts a repetition of PV1-24: "Contract Code" at a specific index
 DT insertPv125_ContractEffectiveDate(int rep)
          Inserts a repetition of PV1-25: "Contract Effective Date" at a specific index
 NM insertPv126_ContractAmount(int rep)
          Inserts a repetition of PV1-26: "Contract Amount" at a specific index
 NM insertPv127_ContractPeriod(int rep)
          Inserts a repetition of PV1-27: "Contract Period" at a specific index
 TS insertPv145_DischargeDateTime(int rep)
          Inserts a repetition of PV1-45: "Discharge Date/Time" at a specific index
 XCN insertPv152_OtherHealthcareProvider(int rep)
          Inserts a repetition of PV1-52: "Other Healthcare Provider" at a specific index
 XCN insertPv17_AttendingDoctor(int rep)
          Inserts a repetition of PV1-7: "Attending Doctor" at a specific index
 XCN insertPv18_ReferringDoctor(int rep)
          Inserts a repetition of PV1-8: "Referring Doctor" at a specific index
 XCN insertPv19_ConsultingDoctor(int rep)
          Inserts a repetition of PV1-9: "Consulting Doctor" at a specific index
 XCN insertReferringDoctor(int rep)
          Inserts a repetition of PV1-8: "Referring Doctor" at a specific index
 XCN removeAdmittingDoctor(int rep)
          Removes a repetition of PV1-17: "Admitting Doctor" at a specific index
 IS removeAmbulatoryStatus(int rep)
          Removes a repetition of PV1-15: "Ambulatory Status" at a specific index
 XCN removeAttendingDoctor(int rep)
          Removes a repetition of PV1-7: "Attending Doctor" at a specific index
 XCN removeConsultingDoctor(int rep)
          Removes a repetition of PV1-9: "Consulting Doctor" at a specific index
 NM removeContractAmount(int rep)
          Removes a repetition of PV1-26: "Contract Amount" at a specific index
 IS removeContractCode(int rep)
          Removes a repetition of PV1-24: "Contract Code" at a specific index
 DT removeContractEffectiveDate(int rep)
          Removes a repetition of PV1-25: "Contract Effective Date" at a specific index
 NM removeContractPeriod(int rep)
          Removes a repetition of PV1-27: "Contract Period" at a specific index
 TS removeDischargeDateTime(int rep)
          Removes a repetition of PV1-45: "Discharge Date/Time" at a specific index
 FC removeFinancialClass(int rep)
          Removes a repetition of PV1-20: "Financial Class" at a specific index
 XCN removeOtherHealthcareProvider(int rep)
          Removes a repetition of PV1-52: "Other Healthcare Provider" at a specific index
 IS removePv115_AmbulatoryStatus(int rep)
          Removes a repetition of PV1-15: "Ambulatory Status" at a specific index
 XCN removePv117_AdmittingDoctor(int rep)
          Removes a repetition of PV1-17: "Admitting Doctor" at a specific index
 FC removePv120_FinancialClass(int rep)
          Removes a repetition of PV1-20: "Financial Class" at a specific index
 IS removePv124_ContractCode(int rep)
          Removes a repetition of PV1-24: "Contract Code" at a specific index
 DT removePv125_ContractEffectiveDate(int rep)
          Removes a repetition of PV1-25: "Contract Effective Date" at a specific index
 NM removePv126_ContractAmount(int rep)
          Removes a repetition of PV1-26: "Contract Amount" at a specific index
 NM removePv127_ContractPeriod(int rep)
          Removes a repetition of PV1-27: "Contract Period" at a specific index
 TS removePv145_DischargeDateTime(int rep)
          Removes a repetition of PV1-45: "Discharge Date/Time" at a specific index
 XCN removePv152_OtherHealthcareProvider(int rep)
          Removes a repetition of PV1-52: "Other Healthcare Provider" at a specific index
 XCN removePv17_AttendingDoctor(int rep)
          Removes a repetition of PV1-7: "Attending Doctor" at a specific index
 XCN removePv18_ReferringDoctor(int rep)
          Removes a repetition of PV1-8: "Referring Doctor" at a specific index
 XCN removePv19_ConsultingDoctor(int rep)
          Removes a repetition of PV1-9: "Consulting Doctor" at a specific index
 XCN removeReferringDoctor(int rep)
          Removes a repetition of PV1-8: "Referring Doctor" at a specific index
 
Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PV1

public PV1(Group parent,
           ModelClassFactory factory)
Creates a new PV1 segment

Method Detail

getSetIDPV1

public SI getSetIDPV1()
Returns PV1-1: "Set ID - PV1" - creates it if necessary


getPv11_SetIDPV1

public SI getPv11_SetIDPV1()
Returns PV1-1: "Set ID - PV1" - creates it if necessary


getPatientClass

public IS getPatientClass()
Returns PV1-2: "Patient Class" - creates it if necessary


getPv12_PatientClass

public IS getPv12_PatientClass()
Returns PV1-2: "Patient Class" - creates it if necessary


getAssignedPatientLocation

public PL getAssignedPatientLocation()
Returns PV1-3: "Assigned Patient Location" - creates it if necessary


getPv13_AssignedPatientLocation

public PL getPv13_AssignedPatientLocation()
Returns PV1-3: "Assigned Patient Location" - creates it if necessary


getAdmissionType

public IS getAdmissionType()
Returns PV1-4: "Admission Type" - creates it if necessary


getPv14_AdmissionType

public IS getPv14_AdmissionType()
Returns PV1-4: "Admission Type" - creates it if necessary


getPreadmitNumber

public CX getPreadmitNumber()
Returns PV1-5: "Preadmit Number" - creates it if necessary


getPv15_PreadmitNumber

public CX getPv15_PreadmitNumber()
Returns PV1-5: "Preadmit Number" - creates it if necessary


getPriorPatientLocation

public PL getPriorPatientLocation()
Returns PV1-6: "Prior Patient Location" - creates it if necessary


getPv16_PriorPatientLocation

public PL getPv16_PriorPatientLocation()
Returns PV1-6: "Prior Patient Location" - creates it if necessary


getAttendingDoctor

public XCN[] getAttendingDoctor()
Returns all repetitions of Attending Doctor (PV1-7).


getAttendingDoctorReps

public int getAttendingDoctorReps()
Returns a count of the current number of repetitions of Attending Doctor (PV1-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getAttendingDoctor

public XCN getAttendingDoctor(int rep)
Returns a specific repetition of PV1-7: "Attending Doctor" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv17_AttendingDoctor

public XCN getPv17_AttendingDoctor(int rep)
Returns a specific repetition of PV1-7: "Attending Doctor" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv17_AttendingDoctorReps

public int getPv17_AttendingDoctorReps()
Returns a count of the current number of repetitions of Attending Doctor (PV1-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertAttendingDoctor

public XCN insertAttendingDoctor(int rep)
                          throws HL7Exception
Inserts a repetition of PV1-7: "Attending Doctor" 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)

insertPv17_AttendingDoctor

public XCN insertPv17_AttendingDoctor(int rep)
                               throws HL7Exception
Inserts a repetition of PV1-7: "Attending Doctor" 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)

removeAttendingDoctor

public XCN removeAttendingDoctor(int rep)
                          throws HL7Exception
Removes a repetition of PV1-7: "Attending Doctor" 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)

removePv17_AttendingDoctor

public XCN removePv17_AttendingDoctor(int rep)
                               throws HL7Exception
Removes a repetition of PV1-7: "Attending Doctor" 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)

getReferringDoctor

public XCN[] getReferringDoctor()
Returns all repetitions of Referring Doctor (PV1-8).


getReferringDoctorReps

public int getReferringDoctorReps()
Returns a count of the current number of repetitions of Referring Doctor (PV1-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getReferringDoctor

public XCN getReferringDoctor(int rep)
Returns a specific repetition of PV1-8: "Referring Doctor" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv18_ReferringDoctor

public XCN getPv18_ReferringDoctor(int rep)
Returns a specific repetition of PV1-8: "Referring Doctor" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv18_ReferringDoctorReps

public int getPv18_ReferringDoctorReps()
Returns a count of the current number of repetitions of Referring Doctor (PV1-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertReferringDoctor

public XCN insertReferringDoctor(int rep)
                          throws HL7Exception
Inserts a repetition of PV1-8: "Referring Doctor" 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)

insertPv18_ReferringDoctor

public XCN insertPv18_ReferringDoctor(int rep)
                               throws HL7Exception
Inserts a repetition of PV1-8: "Referring Doctor" 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)

removeReferringDoctor

public XCN removeReferringDoctor(int rep)
                          throws HL7Exception
Removes a repetition of PV1-8: "Referring Doctor" 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)

removePv18_ReferringDoctor

public XCN removePv18_ReferringDoctor(int rep)
                               throws HL7Exception
Removes a repetition of PV1-8: "Referring Doctor" 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)

getConsultingDoctor

public XCN[] getConsultingDoctor()
Returns all repetitions of Consulting Doctor (PV1-9).


getConsultingDoctorReps

public int getConsultingDoctorReps()
Returns a count of the current number of repetitions of Consulting Doctor (PV1-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getConsultingDoctor

public XCN getConsultingDoctor(int rep)
Returns a specific repetition of PV1-9: "Consulting Doctor" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv19_ConsultingDoctor

public XCN getPv19_ConsultingDoctor(int rep)
Returns a specific repetition of PV1-9: "Consulting Doctor" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv19_ConsultingDoctorReps

public int getPv19_ConsultingDoctorReps()
Returns a count of the current number of repetitions of Consulting Doctor (PV1-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertConsultingDoctor

public XCN insertConsultingDoctor(int rep)
                           throws HL7Exception
Inserts a repetition of PV1-9: "Consulting Doctor" 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)

insertPv19_ConsultingDoctor

public XCN insertPv19_ConsultingDoctor(int rep)
                                throws HL7Exception
Inserts a repetition of PV1-9: "Consulting Doctor" 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)

removeConsultingDoctor

public XCN removeConsultingDoctor(int rep)
                           throws HL7Exception
Removes a repetition of PV1-9: "Consulting Doctor" 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)

removePv19_ConsultingDoctor

public XCN removePv19_ConsultingDoctor(int rep)
                                throws HL7Exception
Removes a repetition of PV1-9: "Consulting Doctor" 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)

getHospitalService

public IS getHospitalService()
Returns PV1-10: "Hospital Service" - creates it if necessary


getPv110_HospitalService

public IS getPv110_HospitalService()
Returns PV1-10: "Hospital Service" - creates it if necessary


getTemporaryLocation

public PL getTemporaryLocation()
Returns PV1-11: "Temporary Location" - creates it if necessary


getPv111_TemporaryLocation

public PL getPv111_TemporaryLocation()
Returns PV1-11: "Temporary Location" - creates it if necessary


getPreadmitTestIndicator

public IS getPreadmitTestIndicator()
Returns PV1-12: "Preadmit Test Indicator" - creates it if necessary


getPv112_PreadmitTestIndicator

public IS getPv112_PreadmitTestIndicator()
Returns PV1-12: "Preadmit Test Indicator" - creates it if necessary


getReAdmissionIndicator

public IS getReAdmissionIndicator()
Returns PV1-13: "Re-admission Indicator" - creates it if necessary


getPv113_ReAdmissionIndicator

public IS getPv113_ReAdmissionIndicator()
Returns PV1-13: "Re-admission Indicator" - creates it if necessary


getAdmitSource

public IS getAdmitSource()
Returns PV1-14: "Admit Source" - creates it if necessary


getPv114_AdmitSource

public IS getPv114_AdmitSource()
Returns PV1-14: "Admit Source" - creates it if necessary


getAmbulatoryStatus

public IS[] getAmbulatoryStatus()
Returns all repetitions of Ambulatory Status (PV1-15).


getAmbulatoryStatusReps

public int getAmbulatoryStatusReps()
Returns a count of the current number of repetitions of Ambulatory Status (PV1-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getAmbulatoryStatus

public IS getAmbulatoryStatus(int rep)
Returns a specific repetition of PV1-15: "Ambulatory Status" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv115_AmbulatoryStatus

public IS getPv115_AmbulatoryStatus(int rep)
Returns a specific repetition of PV1-15: "Ambulatory Status" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv115_AmbulatoryStatusReps

public int getPv115_AmbulatoryStatusReps()
Returns a count of the current number of repetitions of Ambulatory Status (PV1-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertAmbulatoryStatus

public IS insertAmbulatoryStatus(int rep)
                          throws HL7Exception
Inserts a repetition of PV1-15: "Ambulatory Status" 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)

insertPv115_AmbulatoryStatus

public IS insertPv115_AmbulatoryStatus(int rep)
                                throws HL7Exception
Inserts a repetition of PV1-15: "Ambulatory Status" 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)

removeAmbulatoryStatus

public IS removeAmbulatoryStatus(int rep)
                          throws HL7Exception
Removes a repetition of PV1-15: "Ambulatory Status" 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)

removePv115_AmbulatoryStatus

public IS removePv115_AmbulatoryStatus(int rep)
                                throws HL7Exception
Removes a repetition of PV1-15: "Ambulatory Status" 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)

getVIPIndicator

public IS getVIPIndicator()
Returns PV1-16: "VIP Indicator" - creates it if necessary


getPv116_VIPIndicator

public IS getPv116_VIPIndicator()
Returns PV1-16: "VIP Indicator" - creates it if necessary


getAdmittingDoctor

public XCN[] getAdmittingDoctor()
Returns all repetitions of Admitting Doctor (PV1-17).


getAdmittingDoctorReps

public int getAdmittingDoctorReps()
Returns a count of the current number of repetitions of Admitting Doctor (PV1-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getAdmittingDoctor

public XCN getAdmittingDoctor(int rep)
Returns a specific repetition of PV1-17: "Admitting Doctor" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv117_AdmittingDoctor

public XCN getPv117_AdmittingDoctor(int rep)
Returns a specific repetition of PV1-17: "Admitting Doctor" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv117_AdmittingDoctorReps

public int getPv117_AdmittingDoctorReps()
Returns a count of the current number of repetitions of Admitting Doctor (PV1-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertAdmittingDoctor

public XCN insertAdmittingDoctor(int rep)
                          throws HL7Exception
Inserts a repetition of PV1-17: "Admitting Doctor" 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)

insertPv117_AdmittingDoctor

public XCN insertPv117_AdmittingDoctor(int rep)
                                throws HL7Exception
Inserts a repetition of PV1-17: "Admitting Doctor" 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)

removeAdmittingDoctor

public XCN removeAdmittingDoctor(int rep)
                          throws HL7Exception
Removes a repetition of PV1-17: "Admitting Doctor" 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)

removePv117_AdmittingDoctor

public XCN removePv117_AdmittingDoctor(int rep)
                                throws HL7Exception
Removes a repetition of PV1-17: "Admitting Doctor" 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)

getPatientType

public IS getPatientType()
Returns PV1-18: "Patient Type" - creates it if necessary


getPv118_PatientType

public IS getPv118_PatientType()
Returns PV1-18: "Patient Type" - creates it if necessary


getVisitNumber

public CX getVisitNumber()
Returns PV1-19: "Visit Number" - creates it if necessary


getPv119_VisitNumber

public CX getPv119_VisitNumber()
Returns PV1-19: "Visit Number" - creates it if necessary


getFinancialClass

public FC[] getFinancialClass()
Returns all repetitions of Financial Class (PV1-20).


getFinancialClassReps

public int getFinancialClassReps()
Returns a count of the current number of repetitions of Financial Class (PV1-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getFinancialClass

public FC getFinancialClass(int rep)
Returns a specific repetition of PV1-20: "Financial Class" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv120_FinancialClass

public FC getPv120_FinancialClass(int rep)
Returns a specific repetition of PV1-20: "Financial Class" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv120_FinancialClassReps

public int getPv120_FinancialClassReps()
Returns a count of the current number of repetitions of Financial Class (PV1-20). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertFinancialClass

public FC insertFinancialClass(int rep)
                        throws HL7Exception
Inserts a repetition of PV1-20: "Financial Class" 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)

insertPv120_FinancialClass

public FC insertPv120_FinancialClass(int rep)
                              throws HL7Exception
Inserts a repetition of PV1-20: "Financial Class" 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)

removeFinancialClass

public FC removeFinancialClass(int rep)
                        throws HL7Exception
Removes a repetition of PV1-20: "Financial Class" 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)

removePv120_FinancialClass

public FC removePv120_FinancialClass(int rep)
                              throws HL7Exception
Removes a repetition of PV1-20: "Financial Class" 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)

getChargePriceIndicator

public IS getChargePriceIndicator()
Returns PV1-21: "Charge Price Indicator" - creates it if necessary


getPv121_ChargePriceIndicator

public IS getPv121_ChargePriceIndicator()
Returns PV1-21: "Charge Price Indicator" - creates it if necessary


getCourtesyCode

public IS getCourtesyCode()
Returns PV1-22: "Courtesy Code" - creates it if necessary


getPv122_CourtesyCode

public IS getPv122_CourtesyCode()
Returns PV1-22: "Courtesy Code" - creates it if necessary


getCreditRating

public IS getCreditRating()
Returns PV1-23: "Credit Rating" - creates it if necessary


getPv123_CreditRating

public IS getPv123_CreditRating()
Returns PV1-23: "Credit Rating" - creates it if necessary


getContractCode

public IS[] getContractCode()
Returns all repetitions of Contract Code (PV1-24).


getContractCodeReps

public int getContractCodeReps()
Returns a count of the current number of repetitions of Contract Code (PV1-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getContractCode

public IS getContractCode(int rep)
Returns a specific repetition of PV1-24: "Contract Code" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv124_ContractCode

public IS getPv124_ContractCode(int rep)
Returns a specific repetition of PV1-24: "Contract Code" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv124_ContractCodeReps

public int getPv124_ContractCodeReps()
Returns a count of the current number of repetitions of Contract Code (PV1-24). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertContractCode

public IS insertContractCode(int rep)
                      throws HL7Exception
Inserts a repetition of PV1-24: "Contract 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)

insertPv124_ContractCode

public IS insertPv124_ContractCode(int rep)
                            throws HL7Exception
Inserts a repetition of PV1-24: "Contract 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)

removeContractCode

public IS removeContractCode(int rep)
                      throws HL7Exception
Removes a repetition of PV1-24: "Contract 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)

removePv124_ContractCode

public IS removePv124_ContractCode(int rep)
                            throws HL7Exception
Removes a repetition of PV1-24: "Contract 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)

getContractEffectiveDate

public DT[] getContractEffectiveDate()
Returns all repetitions of Contract Effective Date (PV1-25).


getContractEffectiveDateReps

public int getContractEffectiveDateReps()
Returns a count of the current number of repetitions of Contract Effective Date (PV1-25). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getContractEffectiveDate

public DT getContractEffectiveDate(int rep)
Returns a specific repetition of PV1-25: "Contract Effective Date" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv125_ContractEffectiveDate

public DT getPv125_ContractEffectiveDate(int rep)
Returns a specific repetition of PV1-25: "Contract Effective Date" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv125_ContractEffectiveDateReps

public int getPv125_ContractEffectiveDateReps()
Returns a count of the current number of repetitions of Contract Effective Date (PV1-25). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertContractEffectiveDate

public DT insertContractEffectiveDate(int rep)
                               throws HL7Exception
Inserts a repetition of PV1-25: "Contract Effective Date" 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)

insertPv125_ContractEffectiveDate

public DT insertPv125_ContractEffectiveDate(int rep)
                                     throws HL7Exception
Inserts a repetition of PV1-25: "Contract Effective Date" 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)

removeContractEffectiveDate

public DT removeContractEffectiveDate(int rep)
                               throws HL7Exception
Removes a repetition of PV1-25: "Contract Effective Date" 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)

removePv125_ContractEffectiveDate

public DT removePv125_ContractEffectiveDate(int rep)
                                     throws HL7Exception
Removes a repetition of PV1-25: "Contract Effective Date" 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)

getContractAmount

public NM[] getContractAmount()
Returns all repetitions of Contract Amount (PV1-26).


getContractAmountReps

public int getContractAmountReps()
Returns a count of the current number of repetitions of Contract Amount (PV1-26). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getContractAmount

public NM getContractAmount(int rep)
Returns a specific repetition of PV1-26: "Contract Amount" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv126_ContractAmount

public NM getPv126_ContractAmount(int rep)
Returns a specific repetition of PV1-26: "Contract Amount" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv126_ContractAmountReps

public int getPv126_ContractAmountReps()
Returns a count of the current number of repetitions of Contract Amount (PV1-26). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertContractAmount

public NM insertContractAmount(int rep)
                        throws HL7Exception
Inserts a repetition of PV1-26: "Contract Amount" 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)

insertPv126_ContractAmount

public NM insertPv126_ContractAmount(int rep)
                              throws HL7Exception
Inserts a repetition of PV1-26: "Contract Amount" 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)

removeContractAmount

public NM removeContractAmount(int rep)
                        throws HL7Exception
Removes a repetition of PV1-26: "Contract Amount" 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)

removePv126_ContractAmount

public NM removePv126_ContractAmount(int rep)
                              throws HL7Exception
Removes a repetition of PV1-26: "Contract Amount" 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)

getContractPeriod

public NM[] getContractPeriod()
Returns all repetitions of Contract Period (PV1-27).


getContractPeriodReps

public int getContractPeriodReps()
Returns a count of the current number of repetitions of Contract Period (PV1-27). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getContractPeriod

public NM getContractPeriod(int rep)
Returns a specific repetition of PV1-27: "Contract Period" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv127_ContractPeriod

public NM getPv127_ContractPeriod(int rep)
Returns a specific repetition of PV1-27: "Contract Period" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv127_ContractPeriodReps

public int getPv127_ContractPeriodReps()
Returns a count of the current number of repetitions of Contract Period (PV1-27). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertContractPeriod

public NM insertContractPeriod(int rep)
                        throws HL7Exception
Inserts a repetition of PV1-27: "Contract Period" 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)

insertPv127_ContractPeriod

public NM insertPv127_ContractPeriod(int rep)
                              throws HL7Exception
Inserts a repetition of PV1-27: "Contract Period" 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)

removeContractPeriod

public NM removeContractPeriod(int rep)
                        throws HL7Exception
Removes a repetition of PV1-27: "Contract Period" 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)

removePv127_ContractPeriod

public NM removePv127_ContractPeriod(int rep)
                              throws HL7Exception
Removes a repetition of PV1-27: "Contract Period" 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)

getInterestCode

public IS getInterestCode()
Returns PV1-28: "Interest Code" - creates it if necessary


getPv128_InterestCode

public IS getPv128_InterestCode()
Returns PV1-28: "Interest Code" - creates it if necessary


getTransferToBadDebtCode

public IS getTransferToBadDebtCode()
Returns PV1-29: "Transfer to Bad Debt Code" - creates it if necessary


getPv129_TransferToBadDebtCode

public IS getPv129_TransferToBadDebtCode()
Returns PV1-29: "Transfer to Bad Debt Code" - creates it if necessary


getTransferToBadDebtDate

public DT getTransferToBadDebtDate()
Returns PV1-30: "Transfer to Bad Debt Date" - creates it if necessary


getPv130_TransferToBadDebtDate

public DT getPv130_TransferToBadDebtDate()
Returns PV1-30: "Transfer to Bad Debt Date" - creates it if necessary


getBadDebtAgencyCode

public IS getBadDebtAgencyCode()
Returns PV1-31: "Bad Debt Agency Code" - creates it if necessary


getPv131_BadDebtAgencyCode

public IS getPv131_BadDebtAgencyCode()
Returns PV1-31: "Bad Debt Agency Code" - creates it if necessary


getBadDebtTransferAmount

public NM getBadDebtTransferAmount()
Returns PV1-32: "Bad Debt Transfer Amount" - creates it if necessary


getPv132_BadDebtTransferAmount

public NM getPv132_BadDebtTransferAmount()
Returns PV1-32: "Bad Debt Transfer Amount" - creates it if necessary


getBadDebtRecoveryAmount

public NM getBadDebtRecoveryAmount()
Returns PV1-33: "Bad Debt Recovery Amount" - creates it if necessary


getPv133_BadDebtRecoveryAmount

public NM getPv133_BadDebtRecoveryAmount()
Returns PV1-33: "Bad Debt Recovery Amount" - creates it if necessary


getDeleteAccountIndicator

public IS getDeleteAccountIndicator()
Returns PV1-34: "Delete Account Indicator" - creates it if necessary


getPv134_DeleteAccountIndicator

public IS getPv134_DeleteAccountIndicator()
Returns PV1-34: "Delete Account Indicator" - creates it if necessary


getDeleteAccountDate

public DT getDeleteAccountDate()
Returns PV1-35: "Delete Account Date" - creates it if necessary


getPv135_DeleteAccountDate

public DT getPv135_DeleteAccountDate()
Returns PV1-35: "Delete Account Date" - creates it if necessary


getDischargeDisposition

public IS getDischargeDisposition()
Returns PV1-36: "Discharge Disposition" - creates it if necessary


getPv136_DischargeDisposition

public IS getPv136_DischargeDisposition()
Returns PV1-36: "Discharge Disposition" - creates it if necessary


getDischargedToLocation

public DLD getDischargedToLocation()
Returns PV1-37: "Discharged to Location" - creates it if necessary


getPv137_DischargedToLocation

public DLD getPv137_DischargedToLocation()
Returns PV1-37: "Discharged to Location" - creates it if necessary


getDietType

public CE getDietType()
Returns PV1-38: "Diet Type" - creates it if necessary


getPv138_DietType

public CE getPv138_DietType()
Returns PV1-38: "Diet Type" - creates it if necessary


getServicingFacility

public IS getServicingFacility()
Returns PV1-39: "Servicing Facility" - creates it if necessary


getPv139_ServicingFacility

public IS getPv139_ServicingFacility()
Returns PV1-39: "Servicing Facility" - creates it if necessary


getBedStatus

public IS getBedStatus()
Returns PV1-40: "Bed Status" - creates it if necessary


getPv140_BedStatus

public IS getPv140_BedStatus()
Returns PV1-40: "Bed Status" - creates it if necessary


getAccountStatus

public IS getAccountStatus()
Returns PV1-41: "Account Status" - creates it if necessary


getPv141_AccountStatus

public IS getPv141_AccountStatus()
Returns PV1-41: "Account Status" - creates it if necessary


getPendingLocation

public PL getPendingLocation()
Returns PV1-42: "Pending Location" - creates it if necessary


getPv142_PendingLocation

public PL getPv142_PendingLocation()
Returns PV1-42: "Pending Location" - creates it if necessary


getPriorTemporaryLocation

public PL getPriorTemporaryLocation()
Returns PV1-43: "Prior Temporary Location" - creates it if necessary


getPv143_PriorTemporaryLocation

public PL getPv143_PriorTemporaryLocation()
Returns PV1-43: "Prior Temporary Location" - creates it if necessary


getAdmitDateTime

public TS getAdmitDateTime()
Returns PV1-44: "Admit Date/Time" - creates it if necessary


getPv144_AdmitDateTime

public TS getPv144_AdmitDateTime()
Returns PV1-44: "Admit Date/Time" - creates it if necessary


getDischargeDateTime

public TS[] getDischargeDateTime()
Returns all repetitions of Discharge Date/Time (PV1-45).


getDischargeDateTimeReps

public int getDischargeDateTimeReps()
Returns a count of the current number of repetitions of Discharge Date/Time (PV1-45). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getDischargeDateTime

public TS getDischargeDateTime(int rep)
Returns a specific repetition of PV1-45: "Discharge Date/Time" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv145_DischargeDateTime

public TS getPv145_DischargeDateTime(int rep)
Returns a specific repetition of PV1-45: "Discharge Date/Time" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv145_DischargeDateTimeReps

public int getPv145_DischargeDateTimeReps()
Returns a count of the current number of repetitions of Discharge Date/Time (PV1-45). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertDischargeDateTime

public TS insertDischargeDateTime(int rep)
                           throws HL7Exception
Inserts a repetition of PV1-45: "Discharge Date/Time" 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)

insertPv145_DischargeDateTime

public TS insertPv145_DischargeDateTime(int rep)
                                 throws HL7Exception
Inserts a repetition of PV1-45: "Discharge Date/Time" 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)

removeDischargeDateTime

public TS removeDischargeDateTime(int rep)
                           throws HL7Exception
Removes a repetition of PV1-45: "Discharge Date/Time" 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)

removePv145_DischargeDateTime

public TS removePv145_DischargeDateTime(int rep)
                                 throws HL7Exception
Removes a repetition of PV1-45: "Discharge Date/Time" 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)

getCurrentPatientBalance

public NM getCurrentPatientBalance()
Returns PV1-46: "Current Patient Balance" - creates it if necessary


getPv146_CurrentPatientBalance

public NM getPv146_CurrentPatientBalance()
Returns PV1-46: "Current Patient Balance" - creates it if necessary


getTotalCharges

public NM getTotalCharges()
Returns PV1-47: "Total Charges" - creates it if necessary


getPv147_TotalCharges

public NM getPv147_TotalCharges()
Returns PV1-47: "Total Charges" - creates it if necessary


getTotalAdjustments

public NM getTotalAdjustments()
Returns PV1-48: "Total Adjustments" - creates it if necessary


getPv148_TotalAdjustments

public NM getPv148_TotalAdjustments()
Returns PV1-48: "Total Adjustments" - creates it if necessary


getTotalPayments

public NM getTotalPayments()
Returns PV1-49: "Total Payments" - creates it if necessary


getPv149_TotalPayments

public NM getPv149_TotalPayments()
Returns PV1-49: "Total Payments" - creates it if necessary


getAlternateVisitID

public CX getAlternateVisitID()
Returns PV1-50: "Alternate Visit ID" - creates it if necessary


getPv150_AlternateVisitID

public CX getPv150_AlternateVisitID()
Returns PV1-50: "Alternate Visit ID" - creates it if necessary


getVisitIndicator

public IS getVisitIndicator()
Returns PV1-51: "Visit Indicator" - creates it if necessary


getPv151_VisitIndicator

public IS getPv151_VisitIndicator()
Returns PV1-51: "Visit Indicator" - creates it if necessary


getOtherHealthcareProvider

public XCN[] getOtherHealthcareProvider()
Returns all repetitions of Other Healthcare Provider (PV1-52).


getOtherHealthcareProviderReps

public int getOtherHealthcareProviderReps()
Returns a count of the current number of repetitions of Other Healthcare Provider (PV1-52). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getOtherHealthcareProvider

public XCN getOtherHealthcareProvider(int rep)
Returns a specific repetition of PV1-52: "Other Healthcare Provider" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv152_OtherHealthcareProvider

public XCN getPv152_OtherHealthcareProvider(int rep)
Returns a specific repetition of PV1-52: "Other Healthcare Provider" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getPv152_OtherHealthcareProviderReps

public int getPv152_OtherHealthcareProviderReps()
Returns a count of the current number of repetitions of Other Healthcare Provider (PV1-52). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertOtherHealthcareProvider

public XCN insertOtherHealthcareProvider(int rep)
                                  throws HL7Exception
Inserts a repetition of PV1-52: "Other Healthcare 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)

insertPv152_OtherHealthcareProvider

public XCN insertPv152_OtherHealthcareProvider(int rep)
                                        throws HL7Exception
Inserts a repetition of PV1-52: "Other Healthcare 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)

removeOtherHealthcareProvider

public XCN removeOtherHealthcareProvider(int rep)
                                  throws HL7Exception
Removes a repetition of PV1-52: "Other Healthcare 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)

removePv152_OtherHealthcareProvider

public XCN removePv152_OtherHealthcareProvider(int rep)
                                        throws HL7Exception
Removes a repetition of PV1-52: "Other Healthcare 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)

createNewTypeWithoutReflection

protected Type createNewTypeWithoutReflection(int field)

Overrides:
createNewTypeWithoutReflection in class AbstractSegment


Copyright © 2001-2011 University Health Network. All Rights Reserved.