public class PSS extends Segment
Represents an HL7 PSS message segment. This segment has the following fields:
PSS-1 : Provider Product/Service Section Number(EI)Required
PSS-2 : Payer Product/Service Section Number(EI)Optional
PSS-3 : Product/Service Section Sequence Number(SI)Required
PSS-4 : Billed Amount(CP)Required
PSS-5 : Section Description or Heading(ST)Required
This class provides mechanism to validate message against HL7 v 2.8.2 standard.
The class provides accessors & mutators for the elements mentioned above.
The class has validate method which validates Message against HL7 v 2.8.2 standard.
User can also create Segment through SegmentFactory
| Constructor and Description |
|---|
PSS()
Constructs the PSS segment.
|
| Modifier and Type | Method and Description |
|---|---|
CP |
getBilledAmount()
Retrieve Billed Amount(CP)
|
EI |
getPayerProductOrServiceSectionNumber()
Retrieve Payer Product/Service Section Number(EI)
|
SI |
getProductOrServiceSectionSequenceNumber()
Retrieve Product Or Service Section Sequence Number(SI)
|
EI |
getProviderProductOrServiceSectionNumber()
Retrieve Provider Product/Service Section Number
|
ST |
getSectionDescriptionOrHeading()
Retrieve Section Description or Heading(ST)
|
void |
setBilledAmount(CP objBilledAmount)
Set Billed Amount (CP)
This field gives Sum of all Product/Service Billed Amounts for all Product/Service Line Items for this Product/Service Section.
|
void |
setBilledAmount(MO objPrice,
java.lang.String strPriceType,
java.lang.String strFormValue,
java.lang.String strToValue,
CWE objRangeUnits,
java.lang.String strRangeType)
Set Billed Amount (CP)
This field gives Sum of all Product/Service Billed Amounts for all Product/Service Line Items for this Product/Service Section.
|
void |
setPayerProductOrServiceSectionNumber(EI objPayerProductOrServiceSectionNumber)
Set Payer Product Or Service Section Number (EI)
This Field is Unique Product/Service Section Number assigned by the Payer Application.
|
void |
setPayerProductOrServiceSectionNumber(java.lang.String strEntityIdentifier,
java.lang.String strNamespaceID,
java.lang.String strUniversalID,
java.lang.String strUniversalIDType)
Set Payer Product/Service Section Number (EI)
This Field Contain unique Product/Service Section Number assigned by the Provider Application.
|
void |
setProductOrServiceSectionSequenceNumber(SI objProductOrServiceSectionSequenceNumber)
Set Product/Service Section Sequence Number (SI)
This field is Unique sequence number for the Product/Service Section (3) – starts with 1, then 2, etc.
|
void |
setProductOrServiceSectionSequenceNumber(java.lang.String strSequenceID)
Set Product/Service Section Sequence Number (SI)
This field is Unique sequence number for the Product/Service Section (3) – starts with 1, then 2, etc.
|
void |
setProviderProductOrServiceSectionNumber(EI objProviderProductOrServiceSectionNumber)
Set Provider Product/Service Section Number(EI)
This Field Contain unique Product/Service Section Number assigned by the Provider Application.
|
void |
setProviderProductOrServiceSectionNumber(java.lang.String strEntityIdentifier,
java.lang.String strNamespaceID,
java.lang.String strUniversalID,
java.lang.String strUniversalIDType)
Set Provider Product/Service Section Number(EI)
This Field Contain unique Product/Service Section Number assigned by the Provider Application.
|
void |
setSectionDescriptionOrheading(ST objSectionDescriptionOrheading)
Section Description or Heading (ST)
This Field describe about Section description or heading.
|
void |
setSectionDescriptionOrheading(java.lang.String strSectionDescriptionOrHeading)
Section Description or Heading (ST)
This Field describe about Section description or heading.
|
boolean |
validate()
Validates HL7 Message objects .
|
addUnRecognizedField, dumpSegment, getFields, getName, getUnrecognizedFields, moveToNextSegment, parse, removeDataElement, removeDataElement, serialize, setName, setUnRecognizedField, updateDataElement, updateDataElement, writeToXMLpublic EI getProviderProductOrServiceSectionNumber()
public EI getPayerProductOrServiceSectionNumber()
public SI getProductOrServiceSectionSequenceNumber()
public CP getBilledAmount()
public ST getSectionDescriptionOrHeading()
public void setProviderProductOrServiceSectionNumber(java.lang.String strEntityIdentifier,
java.lang.String strNamespaceID,
java.lang.String strUniversalID,
java.lang.String strUniversalIDType)
strEntityIdentifier - - string of character use to identify the entity.strNamespaceID - - Use to identify the name space id..strUniversalID - - Use to identify the name space identity.strUniversalIDType - - String of characters describe Universal Id Type.public void setProviderProductOrServiceSectionNumber(EI objProviderProductOrServiceSectionNumber)
objProviderProductOrServiceSectionNumber - - object of Provider Product Or Service Section Number.public void setPayerProductOrServiceSectionNumber(java.lang.String strEntityIdentifier,
java.lang.String strNamespaceID,
java.lang.String strUniversalID,
java.lang.String strUniversalIDType)
strEntityIdentifier - - string of character use to identify the entity.strNamespaceID - - Use to identify the name space id..strUniversalID - - Use to identify the name space identity.strUniversalIDType - - String of characters describe Universal Id Type.public void setPayerProductOrServiceSectionNumber(EI objPayerProductOrServiceSectionNumber)
objPayerProductOrServiceSectionNumber - object of Payer Product Or Service Section Numberpublic void setProductOrServiceSectionSequenceNumber(java.lang.String strSequenceID)
strSequenceID - - string of character which gives Sequence Id.public void setProductOrServiceSectionSequenceNumber(SI objProductOrServiceSectionSequenceNumber)
objProductOrServiceSectionSequenceNumber - - object of Product Or Service Section Sequence Number which gives Sequence Id.public void setBilledAmount(MO objPrice, java.lang.String strPriceType, java.lang.String strFormValue, java.lang.String strToValue, CWE objRangeUnits, java.lang.String strRangeType)
objPrice - - Gives information about the Price.strPriceType - - Gives information about Type of Price.strFormValue - - Gives information about Form Value.strToValue - - Tell about the To value.objRangeUnits - - Specifies about the range of the units.strRangeType - - Specifies obut the Type of range.public void setBilledAmount(CP objBilledAmount)
objBilledAmount - - Gives information about the billed Amount.public void setSectionDescriptionOrheading(java.lang.String strSectionDescriptionOrHeading)
strSectiondescriptionOrheading. - - string of section of description or heading.public void setSectionDescriptionOrheading(ST objSectionDescriptionOrheading)
objSectiondescriptionOrheading. - - object of section of description or heading.public boolean validate()
throws InvalidSegmentException
validate in interface ISegmentvalidate in class SegmentInvalidSegmentException - Throws when Segment Validation fails.