public class PV2 extends AbstractSegment
Represents an HL7 PV2 message segment (PV2 - patient visit - additional information segment). This segment has the following fields:
log
Constructor and Description |
---|
PV2(Group parent,
ModelClassFactory factory)
Creates a new PV2 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CE |
getAccommodationCode()
Returns
PV2-2: "Accommodation Code" - creates it if necessary
|
NM |
getActualLengthOfInpatientStay()
Returns
PV2-11: "Actual Length of Inpatient Stay" - creates it if necessary
|
CE |
getAdmitReason()
Returns
PV2-3: "Admit Reason" - creates it if necessary
|
ID |
getBabyDetainedIndicator()
Returns
PV2-37: "Baby Detained Indicator" - creates it if necessary
|
ID |
getBillingMediaCode()
Returns
PV2-32: "Billing Media Code" - creates it if necessary
|
XON[] |
getClinicOrganizationName()
Returns all repetitions of Clinic Organization Name (PV2-23).
|
XON |
getClinicOrganizationName(int rep)
Returns a specific repetition of
PV2-23: "Clinic Organization Name" - creates it if necessary
|
int |
getClinicOrganizationNameReps()
Returns a count of the current number of repetitions of Clinic Organization Name (PV2-23).
|
ID |
getEmploymentIllnessRelatedIndicator()
Returns
PV2-15: "Employment Illness Related Indicator" - creates it if necessary
|
NM |
getEstimatedLengthOfInpatientStay()
Returns
PV2-10: "Estimated Length of Inpatient Stay" - creates it if necessary
|
TS |
getExpectedAdmitDateTime()
Returns
PV2-8: "Expected Admit Date/Time" - creates it if necessary
|
TS |
getExpectedDischargeDateTime()
Returns
PV2-9: "Expected Discharge Date/Time" - creates it if necessary
|
IS |
getExpectedDischargeDisposition()
Returns
PV2-27: "Expected Discharge Disposition" - creates it if necessary
|
NM |
getExpectedNumberOfInsurancePlans()
Returns
PV2-20: "Expected Number of Insurance Plans" - creates it if necessary
|
TS |
getExpectedSurgeryDateTime()
Returns
PV2-33: "Expected Surgery Date & Time" - creates it if necessary
|
DT |
getFirstSimilarIllnessDate()
Returns
PV2-29: "First Similar Illness Date" - creates it if necessary
|
ID |
getMilitaryNonAvailabilityCode()
Returns
PV2-35: "Military Non-Availability Code" - creates it if necessary
|
ID |
getMilitaryPartnershipCode()
Returns
PV2-34: "Military Partnership Code" - creates it if necessary
|
ID |
getNewbornBabyIndicator()
Returns
PV2-36: "Newborn Baby Indicator" - creates it if necessary
|
CE |
getPatientChargeAdjustmentCode()
Returns
PV2-30: "Patient Charge Adjustment Code" - creates it if necessary
|
IS |
getPatientStatusCode()
Returns
PV2-24: "Patient Status Code" - creates it if necessary
|
ST[] |
getPatientValuables()
Returns all repetitions of Patient Valuables (PV2-5).
|
ST |
getPatientValuables(int rep)
Returns a specific repetition of
PV2-5: "Patient Valuables" - creates it if necessary
|
ST |
getPatientValuablesLocation()
Returns
PV2-6: "Patient Valuables Location" - creates it if necessary
|
int |
getPatientValuablesReps()
Returns a count of the current number of repetitions of Patient Valuables (PV2-5).
|
DT |
getPreviousServiceDate()
Returns
PV2-14: "Previous Service Date" - creates it if necessary
|
DT |
getPreviousTreatmentDate()
Returns
PV2-26: "Previous Treatment Date" - creates it if necessary
|
PL |
getPriorPendingLocation()
Returns
PV2-1: "Prior Pending Location" - creates it if necessary
|
IS |
getPurgeStatusCode()
Returns
PV2-16: "Purge Status Code" - creates it if necessary
|
DT |
getPurgeStatusDate()
Returns
PV2-17: "Purge Status Date" - creates it if necessary
|
PL |
getPv21_PriorPendingLocation()
Returns
PV2-1: "Prior Pending Location" - creates it if necessary
|
NM |
getPv210_EstimatedLengthOfInpatientStay()
Returns
PV2-10: "Estimated Length of Inpatient Stay" - creates it if necessary
|
NM |
getPv211_ActualLengthOfInpatientStay()
Returns
PV2-11: "Actual Length of Inpatient Stay" - creates it if necessary
|
ST |
getPv212_VisitDescription()
Returns
PV2-12: "Visit Description" - creates it if necessary
|
XCN[] |
getPv213_ReferralSourceCode()
Returns all repetitions of Referral Source Code (PV2-13).
|
XCN |
getPv213_ReferralSourceCode(int rep)
Returns a specific repetition of
PV2-13: "Referral Source Code" - creates it if necessary
|
int |
getPv213_ReferralSourceCodeReps()
Returns a count of the current number of repetitions of Referral Source Code (PV2-13).
|
DT |
getPv214_PreviousServiceDate()
Returns
PV2-14: "Previous Service Date" - creates it if necessary
|
ID |
getPv215_EmploymentIllnessRelatedIndicator()
Returns
PV2-15: "Employment Illness Related Indicator" - creates it if necessary
|
IS |
getPv216_PurgeStatusCode()
Returns
PV2-16: "Purge Status Code" - creates it if necessary
|
DT |
getPv217_PurgeStatusDate()
Returns
PV2-17: "Purge Status Date" - creates it if necessary
|
IS |
getPv218_SpecialProgramCode()
Returns
PV2-18: "Special Program Code" - creates it if necessary
|
ID |
getPv219_RetentionIndicator()
Returns
PV2-19: "Retention Indicator" - creates it if necessary
|
CE |
getPv22_AccommodationCode()
Returns
PV2-2: "Accommodation Code" - creates it if necessary
|
NM |
getPv220_ExpectedNumberOfInsurancePlans()
Returns
PV2-20: "Expected Number of Insurance Plans" - creates it if necessary
|
IS |
getPv221_VisitPublicityCode()
Returns
PV2-21: "Visit Publicity Code" - creates it if necessary
|
ID |
getPv222_VisitProtectionIndicator()
Returns
PV2-22: "Visit Protection Indicator" - creates it if necessary
|
XON[] |
getPv223_ClinicOrganizationName()
Returns all repetitions of Clinic Organization Name (PV2-23).
|
XON |
getPv223_ClinicOrganizationName(int rep)
Returns a specific repetition of
PV2-23: "Clinic Organization Name" - creates it if necessary
|
int |
getPv223_ClinicOrganizationNameReps()
Returns a count of the current number of repetitions of Clinic Organization Name (PV2-23).
|
IS |
getPv224_PatientStatusCode()
Returns
PV2-24: "Patient Status Code" - creates it if necessary
|
IS |
getPv225_VisitPriorityCode()
Returns
PV2-25: "Visit Priority Code" - creates it if necessary
|
DT |
getPv226_PreviousTreatmentDate()
Returns
PV2-26: "Previous Treatment Date" - creates it if necessary
|
IS |
getPv227_ExpectedDischargeDisposition()
Returns
PV2-27: "Expected Discharge Disposition" - creates it if necessary
|
DT |
getPv228_SignatureOnFileDate()
Returns
PV2-28: "Signature on File Date" - creates it if necessary
|
DT |
getPv229_FirstSimilarIllnessDate()
Returns
PV2-29: "First Similar Illness Date" - creates it if necessary
|
CE |
getPv23_AdmitReason()
Returns
PV2-3: "Admit Reason" - creates it if necessary
|
CE |
getPv230_PatientChargeAdjustmentCode()
Returns
PV2-30: "Patient Charge Adjustment Code" - creates it if necessary
|
IS |
getPv231_RecurringServiceCode()
Returns
PV2-31: "Recurring Service Code" - creates it if necessary
|
ID |
getPv232_BillingMediaCode()
Returns
PV2-32: "Billing Media Code" - creates it if necessary
|
TS |
getPv233_ExpectedSurgeryDateTime()
Returns
PV2-33: "Expected Surgery Date & Time" - creates it if necessary
|
ID |
getPv234_MilitaryPartnershipCode()
Returns
PV2-34: "Military Partnership Code" - creates it if necessary
|
ID |
getPv235_MilitaryNonAvailabilityCode()
Returns
PV2-35: "Military Non-Availability Code" - creates it if necessary
|
ID |
getPv236_NewbornBabyIndicator()
Returns
PV2-36: "Newborn Baby Indicator" - creates it if necessary
|
ID |
getPv237_BabyDetainedIndicator()
Returns
PV2-37: "Baby Detained Indicator" - creates it if necessary
|
CE |
getPv24_TransferReason()
Returns
PV2-4: "Transfer Reason" - creates it if necessary
|
ST[] |
getPv25_PatientValuables()
Returns all repetitions of Patient Valuables (PV2-5).
|
ST |
getPv25_PatientValuables(int rep)
Returns a specific repetition of
PV2-5: "Patient Valuables" - creates it if necessary
|
int |
getPv25_PatientValuablesReps()
Returns a count of the current number of repetitions of Patient Valuables (PV2-5).
|
ST |
getPv26_PatientValuablesLocation()
Returns
PV2-6: "Patient Valuables Location" - creates it if necessary
|
IS |
getPv27_VisitUserCode()
Returns
PV2-7: "Visit User Code" - creates it if necessary
|
TS |
getPv28_ExpectedAdmitDateTime()
Returns
PV2-8: "Expected Admit Date/Time" - creates it if necessary
|
TS |
getPv29_ExpectedDischargeDateTime()
Returns
PV2-9: "Expected Discharge Date/Time" - creates it if necessary
|
IS |
getRecurringServiceCode()
Returns
PV2-31: "Recurring Service Code" - creates it if necessary
|
XCN[] |
getReferralSourceCode()
Returns all repetitions of Referral Source Code (PV2-13).
|
XCN |
getReferralSourceCode(int rep)
Returns a specific repetition of
PV2-13: "Referral Source Code" - creates it if necessary
|
int |
getReferralSourceCodeReps()
Returns a count of the current number of repetitions of Referral Source Code (PV2-13).
|
ID |
getRetentionIndicator()
Returns
PV2-19: "Retention Indicator" - creates it if necessary
|
DT |
getSignatureOnFileDate()
Returns
PV2-28: "Signature on File Date" - creates it if necessary
|
IS |
getSpecialProgramCode()
Returns
PV2-18: "Special Program Code" - creates it if necessary
|
CE |
getTransferReason()
Returns
PV2-4: "Transfer Reason" - creates it if necessary
|
ST |
getVisitDescription()
Returns
PV2-12: "Visit Description" - creates it if necessary
|
IS |
getVisitPriorityCode()
Returns
PV2-25: "Visit Priority Code" - creates it if necessary
|
ID |
getVisitProtectionIndicator()
Returns
PV2-22: "Visit Protection Indicator" - creates it if necessary
|
IS |
getVisitPublicityCode()
Returns
PV2-21: "Visit Publicity Code" - creates it if necessary
|
IS |
getVisitUserCode()
Returns
PV2-7: "Visit User Code" - creates it if necessary
|
XON |
insertClinicOrganizationName(int rep)
Inserts a repetition of
PV2-23: "Clinic Organization Name" at a specific index
|
ST |
insertPatientValuables(int rep)
Inserts a repetition of
PV2-5: "Patient Valuables" at a specific index
|
XCN |
insertPv213_ReferralSourceCode(int rep)
Inserts a repetition of
PV2-13: "Referral Source Code" at a specific index
|
XON |
insertPv223_ClinicOrganizationName(int rep)
Inserts a repetition of
PV2-23: "Clinic Organization Name" at a specific index
|
ST |
insertPv25_PatientValuables(int rep)
Inserts a repetition of
PV2-5: "Patient Valuables" at a specific index
|
XCN |
insertReferralSourceCode(int rep)
Inserts a repetition of
PV2-13: "Referral Source Code" at a specific index
|
XON |
removeClinicOrganizationName(int rep)
Removes a repetition of
PV2-23: "Clinic Organization Name" at a specific index
|
ST |
removePatientValuables(int rep)
Removes a repetition of
PV2-5: "Patient Valuables" at a specific index
|
XCN |
removePv213_ReferralSourceCode(int rep)
Removes a repetition of
PV2-13: "Referral Source Code" at a specific index
|
XON |
removePv223_ClinicOrganizationName(int rep)
Removes a repetition of
PV2-23: "Clinic Organization Name" at a specific index
|
ST |
removePv25_PatientValuables(int rep)
Removes a repetition of
PV2-5: "Patient Valuables" at a specific index
|
XCN |
removeReferralSourceCode(int rep)
Removes a repetition of
PV2-13: "Referral Source Code" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public PV2(Group parent, ModelClassFactory factory)
public PL getPriorPendingLocation()
public PL getPv21_PriorPendingLocation()
public CE getAccommodationCode()
public CE getPv22_AccommodationCode()
public CE getAdmitReason()
public CE getPv23_AdmitReason()
public CE getTransferReason()
public CE getPv24_TransferReason()
public ST[] getPatientValuables()
public ST[] getPv25_PatientValuables()
public int getPatientValuablesReps()
public ST getPatientValuables(int rep)
rep
- The repetition index (0-indexed)public ST getPv25_PatientValuables(int rep)
rep
- The repetition index (0-indexed)public int getPv25_PatientValuablesReps()
public ST insertPatientValuables(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public ST insertPv25_PatientValuables(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public ST removePatientValuables(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public ST removePv25_PatientValuables(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public ST getPatientValuablesLocation()
public ST getPv26_PatientValuablesLocation()
public IS getVisitUserCode()
public IS getPv27_VisitUserCode()
public TS getExpectedAdmitDateTime()
public TS getPv28_ExpectedAdmitDateTime()
public TS getExpectedDischargeDateTime()
public TS getPv29_ExpectedDischargeDateTime()
public NM getEstimatedLengthOfInpatientStay()
public NM getPv210_EstimatedLengthOfInpatientStay()
public NM getActualLengthOfInpatientStay()
public NM getPv211_ActualLengthOfInpatientStay()
public ST getVisitDescription()
public ST getPv212_VisitDescription()
public XCN[] getReferralSourceCode()
public XCN[] getPv213_ReferralSourceCode()
public int getReferralSourceCodeReps()
public XCN getReferralSourceCode(int rep)
rep
- The repetition index (0-indexed)public XCN getPv213_ReferralSourceCode(int rep)
rep
- The repetition index (0-indexed)public int getPv213_ReferralSourceCodeReps()
public XCN insertReferralSourceCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public XCN insertPv213_ReferralSourceCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public XCN removeReferralSourceCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public XCN removePv213_ReferralSourceCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public DT getPreviousServiceDate()
public DT getPv214_PreviousServiceDate()
public ID getEmploymentIllnessRelatedIndicator()
public ID getPv215_EmploymentIllnessRelatedIndicator()
public IS getPurgeStatusCode()
public IS getPv216_PurgeStatusCode()
public DT getPurgeStatusDate()
public DT getPv217_PurgeStatusDate()
public IS getSpecialProgramCode()
public IS getPv218_SpecialProgramCode()
public ID getRetentionIndicator()
public ID getPv219_RetentionIndicator()
public NM getExpectedNumberOfInsurancePlans()
public NM getPv220_ExpectedNumberOfInsurancePlans()
public IS getVisitPublicityCode()
public IS getPv221_VisitPublicityCode()
public ID getVisitProtectionIndicator()
public ID getPv222_VisitProtectionIndicator()
public XON[] getClinicOrganizationName()
public XON[] getPv223_ClinicOrganizationName()
public int getClinicOrganizationNameReps()
public XON getClinicOrganizationName(int rep)
rep
- The repetition index (0-indexed)public XON getPv223_ClinicOrganizationName(int rep)
rep
- The repetition index (0-indexed)public int getPv223_ClinicOrganizationNameReps()
public XON insertClinicOrganizationName(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public XON insertPv223_ClinicOrganizationName(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public XON removeClinicOrganizationName(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public XON removePv223_ClinicOrganizationName(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public IS getPatientStatusCode()
public IS getPv224_PatientStatusCode()
public IS getVisitPriorityCode()
public IS getPv225_VisitPriorityCode()
public DT getPreviousTreatmentDate()
public DT getPv226_PreviousTreatmentDate()
public IS getExpectedDischargeDisposition()
public IS getPv227_ExpectedDischargeDisposition()
public DT getSignatureOnFileDate()
public DT getPv228_SignatureOnFileDate()
public DT getFirstSimilarIllnessDate()
public DT getPv229_FirstSimilarIllnessDate()
public CE getPatientChargeAdjustmentCode()
public CE getPv230_PatientChargeAdjustmentCode()
public IS getRecurringServiceCode()
public IS getPv231_RecurringServiceCode()
public ID getBillingMediaCode()
public ID getPv232_BillingMediaCode()
public TS getExpectedSurgeryDateTime()
public TS getPv233_ExpectedSurgeryDateTime()
public ID getMilitaryPartnershipCode()
public ID getPv234_MilitaryPartnershipCode()
public ID getMilitaryNonAvailabilityCode()
public ID getPv235_MilitaryNonAvailabilityCode()
public ID getNewbornBabyIndicator()
public ID getPv236_NewbornBabyIndicator()
public ID getBabyDetainedIndicator()
public ID getPv237_BabyDetainedIndicator()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.