public class DPS extends Segment
The Technical Steward for the PM1 segment is Orders and Observations. For the payer defined in PM1-1 and the service provider defined in MFE-4: • When MFI-1 is MLCP (Medical Limited Coverage Process) this segment is identifing what is in limited coverage. • When MFI-1 is MACP (Medical Approved Coverage Process) this segment is identifing what is approved. This segment defines the tests that are approved for a given Diagnosis Code based on the Procedure Code.
Represents an HL7 DPS message segment. This segment has the following fields:
DPS-1: Diagnosis Code - MCP (CWE)Required
DPS-2: Procedure Code (CWE)Required
DPS-3: Effective Date/Time (DTM)Optional
DPS-4: Expiration Date/Time (DTM)Optional
DPS-5: Type of Limitation (CNE)Conditional
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 |
|---|
DPS()
Constructs the OMC segment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProcedureCode(CWE objProcedureCode)
Add the Procedure Code.
|
void |
addProcedureCode(java.lang.String strIdentifier,
java.lang.String strText,
java.lang.String strNameOfCodingSystem,
java.lang.String strAlternateIdentifier,
java.lang.String strAlternateText,
java.lang.String strNameOfAlternateCodingSystem,
java.lang.String strCodingSystemVersionID,
java.lang.String strAlternateCodingSystemVersionId,
java.lang.String strOriginalText,
java.lang.String strSecondAlternateIdentifier,
java.lang.String strSecondAlternateText,
java.lang.String strNameofSecondAlternateCodingSystem,
java.lang.String strSecondAlternateCodingSystemVersionID,
java.lang.String strCodingSystemOID,
java.lang.String strValueSetOID,
java.lang.String strValueSetVersionID,
java.lang.String strAlternateCodingSystemOID,
java.lang.String strAlternateValueSetOID,
java.lang.String strAlternateValueSetVersionID,
java.lang.String strSecondAlternateCodingSystemOID,
java.lang.String strSecondAlternateValueSetOID,
java.lang.String strSecondAlternateValueSetVersionID)
Add the Procedure Code.
|
CWE |
getDiagnosisCode_MCP()
Retrieves the Diagnosis Code - MCP.
|
DTM |
getEffectiveDateTime()
Retrieves the Effective Date/Time.
|
DTM |
getExpirationDateTime()
Retrieves the Expiration Date/Time.
|
ISingleCollection<CWE> |
getProcedureCode()
Retrieves the Procedure Code.
|
CNE |
getTypeOfLimitation()
Retrieves the Type of Limitation.
|
void |
setDiagnosisCode_MCP(CWE objDiagnosisCode_MCP)
Set the Diagnosis Code - MCP.
|
void |
setDiagnosisCode_MCP(java.lang.String strIdentifier,
java.lang.String strText,
java.lang.String strNameOfCodingSystem,
java.lang.String strAlternateIdentifier,
java.lang.String strAlternateText,
java.lang.String strNameOfAlternateCodingSystem,
java.lang.String strCodingSystemVersionID,
java.lang.String strAlternateCodingSystemVersionId,
java.lang.String strOriginalText,
java.lang.String strSecondAlternateIdentifier,
java.lang.String strSecondAlternateText,
java.lang.String strNameofSecondAlternateCodingSystem,
java.lang.String strSecondAlternateCodingSystemVersionID,
java.lang.String strCodingSystemOID,
java.lang.String strValueSetOID,
java.lang.String strValueSetVersionID,
java.lang.String strAlternateCodingSystemOID,
java.lang.String strAlternateValueSetOID,
java.lang.String strAlternateValueSetVersionID,
java.lang.String strSecondAlternateCodingSystemOID,
java.lang.String strSecondAlternateValueSetOID,
java.lang.String strSecondAlternateValueSetVersionID)
Set the Diagnosis Code - MCP.
|
void |
setEffectiveDateTime(DTM objEffectiveDateTime)
Set the Effective Date/Time.
|
void |
setEffectiveDateTime(java.lang.String strTime)
Set the Effective Date/Time.
|
void |
setExpirationDateTime(DTM ExpirationDateTime)
Set the Expiration Date/Time.
|
void |
setExpirationDateTime(java.lang.String strTime)
Set the Expiration Date/Time.
|
void |
setProcedureCode(ISingleCollection<CWE> objProcedureCodeList)
Set the Procedure Code.
|
void |
setTypeOfLimitation(CNE objTypeOfLimitation)
Set the Type of Limitation.
|
void |
setTypeOfLimitation(java.lang.String strIdentifier,
java.lang.String strText,
java.lang.String strNameOfCodingSystem,
java.lang.String strAlternateIdentifier,
java.lang.String strAlternateText,
java.lang.String strNameOfAlternateCodingSystem,
java.lang.String strCodingSystemVersionID,
java.lang.String strAlternateCodingSystemVersionID,
java.lang.String strOriginalText,
java.lang.String strSecondAlternateIdentifier,
java.lang.String strSecondAlternateText,
java.lang.String strNameOfSecondAltenateCodingSystem,
java.lang.String strSecondAlternateCodingSystemVersionID,
java.lang.String strCodingSystemOID,
java.lang.String strValueSetOID,
java.lang.String strValueSetVersionID,
java.lang.String strAlternateCodingSystemOID,
java.lang.String strAlternateValueSetOID,
java.lang.String strAlternateValueSetVersionID,
java.lang.String strSecondAlternateCodingSystemOID,
java.lang.String strSecondAlternateValueSetOID,
java.lang.String strSecondAlternateValueSetVersionID)
Set the Type of Limitation.
|
addUnRecognizedField, dumpSegment, getFields, getName, getUnrecognizedFields, moveToNextSegment, parse, removeDataElement, removeDataElement, serialize, setName, setUnRecognizedField, updateDataElement, updateDataElement, validate, writeToXMLpublic CWE getDiagnosisCode_MCP()
public void setDiagnosisCode_MCP(java.lang.String strIdentifier,
java.lang.String strText,
java.lang.String strNameOfCodingSystem,
java.lang.String strAlternateIdentifier,
java.lang.String strAlternateText,
java.lang.String strNameOfAlternateCodingSystem,
java.lang.String strCodingSystemVersionID,
java.lang.String strAlternateCodingSystemVersionId,
java.lang.String strOriginalText,
java.lang.String strSecondAlternateIdentifier,
java.lang.String strSecondAlternateText,
java.lang.String strNameofSecondAlternateCodingSystem,
java.lang.String strSecondAlternateCodingSystemVersionID,
java.lang.String strCodingSystemOID,
java.lang.String strValueSetOID,
java.lang.String strValueSetVersionID,
java.lang.String strAlternateCodingSystemOID,
java.lang.String strAlternateValueSetOID,
java.lang.String strAlternateValueSetVersionID,
java.lang.String strSecondAlternateCodingSystemOID,
java.lang.String strSecondAlternateValueSetOID,
java.lang.String strSecondAlternateValueSetVersionID)
strIdentifier - Specifies of characters (the code) that uniquely identifies the item being referenced.strText - Specifies The descriptive or textual name of the identifier, e.g., myocardial infarction.strNameOfCodingSystem - Identifies the coding scheme being used in the identifier component.strAlternateIdentifier - Specifies an alternate sequence of characters (the code) that uniquely identifies the item being referenced.strAlternateText - Specifies the descriptive or textual name of the alternate identifier. See usage note in section introduction.strNameOfAlternateCodingSystem - Identifies the coding scheme being used in the alternate identifier component.strCodingSystemVersionID - A sequence of characters that uniquely identifies a second alternate code.strAlternateCodingSystemVersionId - This component carries the version for the coding system identified by components 4-6.strOriginalText - The text as seen and/or selected by the user who entered the data.strSecondAlternateIdentifier - A sequence of characters that uniquely identifies a second alternate code.strSecondAlternateText - The descriptive or textual name of the alternate identifier.strNameofSecondAlternateCodingSystem - Identifies the coding scheme being used in the alternate identifier component.strSecondAlternateCodingSystemVersionID - This component carries the version for the coding system identified by components 10-12.strCodingSystemOID - This component contains the ISO Object Identifier (OID) for the coding system or value set named in CWE.3.strValueSetOID - This component contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CWE.1 is obtained.strValueSetVersionID - This component carries the version for the value set identified by CWE.15. The version is a date. The date is the date/time that the value set being used was published.strAlternateCodingSystemOID - This component contains the ISO Object Identifier (OID) for the coding system or value set named in CWE.6.strAlternateValueSetOID - This component contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CWE.4 is obtained.strAlternateValueSetVersionID - This component carries the version for the value set identified by CWE.18. The version is a date.strSecondAlternateCodingSystemOID - This component contains the ISO Object Identifier (OID) for the coding system or value set named in CWE.12.strSecondAlternateValueSetOID - This component contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CWE.10 is obtained.strSecondAlternateValueSetVersionID - This component carries the version for the value set identified by CWE.21. The version is a date.public void setDiagnosisCode_MCP(CWE objDiagnosisCode_MCP)
objDiagnosisCode_MCP - public ISingleCollection<CWE> getProcedureCode()
public void addProcedureCode(java.lang.String strIdentifier,
java.lang.String strText,
java.lang.String strNameOfCodingSystem,
java.lang.String strAlternateIdentifier,
java.lang.String strAlternateText,
java.lang.String strNameOfAlternateCodingSystem,
java.lang.String strCodingSystemVersionID,
java.lang.String strAlternateCodingSystemVersionId,
java.lang.String strOriginalText,
java.lang.String strSecondAlternateIdentifier,
java.lang.String strSecondAlternateText,
java.lang.String strNameofSecondAlternateCodingSystem,
java.lang.String strSecondAlternateCodingSystemVersionID,
java.lang.String strCodingSystemOID,
java.lang.String strValueSetOID,
java.lang.String strValueSetVersionID,
java.lang.String strAlternateCodingSystemOID,
java.lang.String strAlternateValueSetOID,
java.lang.String strAlternateValueSetVersionID,
java.lang.String strSecondAlternateCodingSystemOID,
java.lang.String strSecondAlternateValueSetOID,
java.lang.String strSecondAlternateValueSetVersionID)
strIdentifier - Specifies of characters (the code) that uniquely identifies the item being referenced.strText - Specifies The descriptive or textual name of the identifier, e.g., myocardial infarction.strNameOfCodingSystem - Identifies the coding scheme being used in the identifier component.strAlternateIdentifier - Specifies an alternate sequence of characters (the code) that uniquely identifies the item being referenced.strAlternateText - Specifies the descriptive or textual name of the alternate identifier. See usage note in section introduction.strNameOfAlternateCodingSystem - Identifies the coding scheme being used in the alternate identifier component.strCodingSystemVersionID - A sequence of characters that uniquely identifies a second alternate code.strAlternateCodingSystemVersionId - This component carries the version for the coding system identified by components 4-6.strOriginalText - The text as seen and/or selected by the user who entered the data.strSecondAlternateIdentifier - A sequence of characters that uniquely identifies a second alternate code.strSecondAlternateText - The descriptive or textual name of the alternate identifier.strNameofSecondAlternateCodingSystem - Identifies the coding scheme being used in the alternate identifier component.strSecondAlternateCodingSystemVersionID - This component carries the version for the coding system identified by components 10-12.strCodingSystemOID - This component contains the ISO Object Identifier (OID) for the coding system or value set named in CWE.3.strValueSetOID - This component contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CWE.1 is obtained.strValueSetVersionID - This component carries the version for the value set identified by CWE.15. The version is a date. The date is the date/time that the value set being used was published.strAlternateCodingSystemOID - This component contains the ISO Object Identifier (OID) for the coding system or value set named in CWE.6.strAlternateValueSetOID - This component contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CWE.4 is obtained.strAlternateValueSetVersionID - This component carries the version for the value set identified by CWE.18. The version is a date.strSecondAlternateCodingSystemOID - This component contains the ISO Object Identifier (OID) for the coding system or value set named in CWE.12.strSecondAlternateValueSetOID - This component contains the ISO Object Identifier (OID) to allow identification of the value set from which the value in CWE.10 is obtained.strSecondAlternateValueSetVersionID - This component carries the version for the value set identified by CWE.21. The version is a date.public void addProcedureCode(CWE objProcedureCode)
objProcedureCode - Object of Procedure Code.public void setProcedureCode(ISingleCollection<CWE> objProcedureCodeList)
objProcedureCodeList - List of Procedure Code.public DTM getEffectiveDateTime()
public void setEffectiveDateTime(java.lang.String strTime)
strTime - Specifies a point in time using a 24-hour clock notation.public void setEffectiveDateTime(DTM objEffectiveDateTime)
objEffectiveDateTime - Object of Effective Date/Time.public DTM getExpirationDateTime()
public void setExpirationDateTime(java.lang.String strTime)
strTime - Specifies a point in time using a 24-hour clock notation.public void setExpirationDateTime(DTM ExpirationDateTime)
ExpirationDateTime - Expiration Date/Time.public CNE getTypeOfLimitation()
public void setTypeOfLimitation(java.lang.String strIdentifier,
java.lang.String strText,
java.lang.String strNameOfCodingSystem,
java.lang.String strAlternateIdentifier,
java.lang.String strAlternateText,
java.lang.String strNameOfAlternateCodingSystem,
java.lang.String strCodingSystemVersionID,
java.lang.String strAlternateCodingSystemVersionID,
java.lang.String strOriginalText,
java.lang.String strSecondAlternateIdentifier,
java.lang.String strSecondAlternateText,
java.lang.String strNameOfSecondAltenateCodingSystem,
java.lang.String strSecondAlternateCodingSystemVersionID,
java.lang.String strCodingSystemOID,
java.lang.String strValueSetOID,
java.lang.String strValueSetVersionID,
java.lang.String strAlternateCodingSystemOID,
java.lang.String strAlternateValueSetOID,
java.lang.String strAlternateValueSetVersionID,
java.lang.String strSecondAlternateCodingSystemOID,
java.lang.String strSecondAlternateValueSetOID,
java.lang.String strSecondAlternateValueSetVersionID)
strIdentifier - Specifies sequence of characters (the code) that uniquely identifies
the item being referenced by the CNE.strText - Specifies descriptive or textual name of the identifier, e.g., myocardial infarctionstrNameOfCodingSystem - Specifies the coding scheme being used in the identifier component.strAlternateIdentifier - Specifies the local or user seen code as described.strAlternateText - Specifies descriptive or textual name of the alternate identifier.strNameOfAlternateCodingSystem - Specifies the coding scheme being used in the alternate identifier
component.strCodingSystemVersionID - Specifies the version ID for the coding system.strAlternateCodingSystemVersionID - Specifies the version ID for the coding system .strOriginalText - Specifies the original text that was available to an automated process or a human
before a specific code was assigned.strSecondAlternateIdentifier - Specifies a sequence of characters that uniquely identifies the second alternate codestrSecondAlternateText - Specifies a the textual information of the second alternate codestrNameOfSecondAltenateCodingSystem - Specifies the second coding scheme being used in the identifier component.strSecondAlternateCodingSystemVersionID - Specifies version ID of Second alternative coding system.strCodingSystemOID - contains the ISO Object identifier for the coding system.strValueSetOID - contains the value set from which CNE-1 is obtainedstrValueSetVersionID - contains the version of the value set identified by CNE-15.strAlternateCodingSystemOID - contains the ISO Object identifier for the alternate coding systemstrAlternateValueSetOID - contains the value set from which CNE-4 is obtainedstrAlternateValueSetVersionID - contains the version of the value set identified by CNE-18.strSecondAlternateCodingSystemOID - contains the value set from which CNE-12 is obtainedstrSecondAlternateValueSetOID - contains the value set from which CNE-10 is obtainedstrSecondAlternateValueSetVersionID - contains the version of the value set identified by CNE-21.public void setTypeOfLimitation(CNE objTypeOfLimitation)
objTypeOfLimitation - object of Type of Limitation.