public class DMI extends Segment
The Clinical Study Schedule Master (DMI) contains the information about the scheduled time which points for study or phase-related treatment or evaluation events.
Represents an HL7 DMI message segment. This segment has the following fields:
DMI-1: Diagnostic Related Group (CNE)Optional
DMI-2: Major Diagnostic Category (CNE)Conditional
DMI-3: Lower and Upper Trim Points (NR)Conditional
DMI-4: Average Length of Stay (NM)Conditional
DMI-5: Relative Weight (NM)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 |
|---|
DMI()
Constructs the DMI segment.
|
| Modifier and Type | Method and Description |
|---|---|
NM |
getAverageLengthOfStay()
Retrieves the Average Length of Stay.
|
CNE |
getDiagnosticRelatedGroup()
Retrieves the Diagnostic Related Group .
|
NR |
getLowerAndUpperTrimPoints()
Retrieves the Lower and Upper Trim Points.
|
CNE |
getMajorDiagnosticCategoryGroup()
Get the Major Diagnostic Category.
|
NM |
getRelativeWeight()
Retrieves the Relative Weight.
|
void |
setAverageLengthOfStay(NM objRelativeWeight)
Set the Average Length of Stay.
|
void |
setAverageLengthOfStay(java.lang.String strAverageLengthOfStay)
Set the Average Length of Stay.
|
void |
setDiagnosticRelatedGroup(CNE objcne)
Set the Diagnostic Related Group .
|
void |
setDiagnosticRelatedGroup(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 Diagnostic Related Group .
|
void |
setLowerAndUpperTrimPoints(NM objLowValue,
NM objHighValue)
Set the Lower and Upper Trim Points.
|
void |
setLowerAndUpperTrimPoints(NR objLowerAndUpperTrimPoints)
Set the Lower and Upper Trim Points.
|
void |
setMajorDiagnosticCategory(CNE objcne)
Set the Major Diagnostic Category.
|
void |
setMajorDiagnosticCategory(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 Major Diagnostic Category.
|
void |
setRelativeWeight(NM objRelativeWeight)
Set the Relative Weight.
|
void |
setRelativeWeight(java.lang.String strRelativeWeight)
Set the Relative Weight.
|
addUnRecognizedField, dumpSegment, getFields, getName, getUnrecognizedFields, moveToNextSegment, parse, removeDataElement, removeDataElement, serialize, setName, setUnRecognizedField, updateDataElement, updateDataElement, validate, writeToXMLpublic CNE getDiagnosticRelatedGroup()
public void setDiagnosticRelatedGroup(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 setDiagnosticRelatedGroup(CNE objcne)
objcne - object of Diagnostic Related Group .public CNE getMajorDiagnosticCategoryGroup()
objcne - object of Major Diagnostic Category.public void setMajorDiagnosticCategory(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 setMajorDiagnosticCategory(CNE objcne)
objcne - object of Major Diagnostic Category.public NR getLowerAndUpperTrimPoints()
public void setLowerAndUpperTrimPoints(NM objLowValue, NM objHighValue)
objLowValue - Specifies Low valueobjHighValue - Specifies High Value.public void setLowerAndUpperTrimPoints(NR objLowerAndUpperTrimPoints)
objLowerAndUpperTrimPoints - object of Lower and Upper Trim Points.public NM getAverageLengthOfStay()
public void setAverageLengthOfStay(java.lang.String strAverageLengthOfStay)
strAverageLengthOfStay - String to be passed as Average Length of Staypublic void setAverageLengthOfStay(NM objRelativeWeight)
objRelativeWeight - Object of Average Length of Stay.public NM getRelativeWeight()
public void setRelativeWeight(java.lang.String strRelativeWeight)
strRelativeWeight - String to be passed as Relative Weightpublic void setRelativeWeight(NM objRelativeWeight)
objRelativeWeight - Object of Relative Weight.