public class NDL extends CompositeDataType
This class represents the data type NDL which, Specifies the name of the person performing a service, when the person performed the service and where the person performed the service.
Represents an HL7 NDL data type. This data type has the following attributes:
1. Name Of Person (CNN)Optional
2. Start Date/time (DTM)Optional
3. End Date/time (DTM)Optional
4. Point of Care (IS)Optional
5. Room (IS)Optional
6. Bed (IS)Optional
7. Facility (HD)Optional
8. Location Status (IS)Optional
9. Patient Location Type (IS)Optional
10. Building (IS)Optional
11. Floor (IS)Optional
This class provides accessors & mutators for the elements mentioned above. This class override the equal method, to check whether some other object is "equal to" this one.
User can also create Data Type through DataElementFactory
| Constructor and Description |
|---|
NDL()
Default Constructor for NDL
|
NDL(int iComponentType,
IDataTypeMap objIDataTypeMap)
Constructor for NDL class which takes two arguments and
sets the value in the respective member variable.
|
NDL(int iComponentType,
int iMinLength,
int iMaxLength,
java.lang.String strCLength,
IDataTypeMap objIDataTypeMap)
Constructor for NDL class which takes five arguments and
sets the value in the respective member variable.
|
NDL(int iComponentType,
int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int ITableNo,
IDataTypeMap objIDataTypeMap)
Constructor for NDL class which takes six arguments and
sets the value in the respective member variable.
|
NDL(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iComponentType)
Constructor for NDL class which takes four arguments and
sets the value in the respective member variable.
|
NDL(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iTableNo,
int iComponentType)
Constructor for NDL class which takes five arguments and
sets the value in the respective member variable.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object objObject)
This method checks the equality of Object.
|
IS |
getBed()
Returns Bed
|
IS |
getBuilding()
Returns Building
|
DTM |
getEndDatetime()
Returns End Date/time
|
HD |
getFacility()
Returns Facility
|
IS |
getFloor()
Returns Floor
|
IS |
getLocationStatus()
Returns Location Status
|
CNN |
getName()
Returns Name
|
IS |
getPatientLocationType()
Returns Patient Location Type
|
IS |
getPointOfCare()
Returns Point of Care
|
IS |
getRoom()
Returns Room
|
DTM |
getStartDatetime()
Returns Start Date/time
|
void |
setBed(IS objIS)
Sets the Bed.
|
void |
setBed(java.lang.String strBed)
Sets the Bed.
|
void |
setBuilding(IS objIS)
Sets the Building.
|
void |
setBuilding(java.lang.String strBuilding)
Sets the Building.
|
void |
setEndDateTime(DTM objEndDateTime)
Sets the EndDateTime.
|
void |
setEndDateTime(java.lang.String strEndDateTime)
Sets the EndDateTime.
|
void |
setFacility(HD objFacility)
Sets the Facility.
|
void |
setFloor(IS objIS)
Sets the Floor.
|
void |
setFloor(java.lang.String strFloor)
Sets the Floor.
|
void |
setLocationStatus(IS objIS)
Sets the LocationStatus.
|
void |
setLocationStatus(java.lang.String strLocationStatus)
Sets the LocationStatus.
|
void |
setName(CNN objName)
Sets the Name.
|
void |
setPatientLocationType(IS objIS)
Sets the PatientLocationType.
|
void |
setPatientLocationType(java.lang.String strPatientLocationType)
Sets the PatientLocationType.
|
void |
setPointOfCare(IS objIS)
Sets the PointOfCare.
|
void |
setPointOfCare(java.lang.String strPointOfCare)
Sets the PointOfCare.
|
void |
setRoom(IS objIS)
Sets the Room.
|
void |
setRoom(java.lang.String strRoom)
Sets the Room.
|
void |
setStartDateTime(DTM objStartDateTime)
Sets the StartDateTime.
|
void |
setStartDateTime(java.lang.String strStartDateTime)
Sets the StartDateTime.
|
copy, dumpDataType, getAttributes, getDataTypeName, getLength, getValue, isPrimitive, read, setValue, validate, write, writeToXMLpublic NDL()
public NDL(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iComponentType)
throws InvalidComponentTypeException
iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.iComponentType - The Type of the component i.e Component or a subcomponent.InvalidComponentTypeException - - if Component Type is not specified or valid.public NDL(int iMinLength,
int iMaxLength,
java.lang.String strCLength,
int iTableNo,
int iComponentType)
throws InvalidComponentTypeException
iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.iTableNo - The Table number to which the value for the component is specified.iComponentType - The Type of the component i.e Component or a subcomponent.InvalidComponentTypeException - - if Component Type is not specified or valid.public NDL(int iComponentType, IDataTypeMap objIDataTypeMap)
objIDataTypeMap - object of Data Type Map.iComponentType - The Type of the component i.e Component or a subcomponent.InvalidComponentTypeException - - if Component Type is not specified or valid.public NDL(int iComponentType, int iMinLength, int iMaxLength, java.lang.String strCLength, IDataTypeMap objIDataTypeMap)
objIDataTypeMap - object of Data Type Map.iComponentType - The Type of the component i.e Component or a subcomponent.iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.InvalidComponentTypeException - - if Component Type is not specified or valid.public NDL(int iComponentType, int iMinLength, int iMaxLength, java.lang.String strCLength, int ITableNo, IDataTypeMap objIDataTypeMap)
objIDataTypeMap - object of Data Type Map.iComponentType - The Type of the component i.e Component or a subcomponent.iMinLength - The Minimum length the DataType can have.iMaxLength - The Maximum length the DataType can have.iCLength - The Conformance length the DataType can have.iTableNo - The Table number to which the value for the component is specified.InvalidComponentTypeException - - if Component Type is not specified or valid.public void setName(CNN objName)
objName - Specifies the name of the person performing a service.public void setStartDateTime(java.lang.String strStartDateTime)
strStartDateTime - Specifies the starting date and time for when the person is performing the service.public void setStartDateTime(DTM objStartDateTime)
objStartDateTime - Specifies the starting date and time for when the person is performing the service.public void setEndDateTime(java.lang.String strEndDateTime)
strStartDateTime - Specifies the ending date and time for when the person is performing the service.public void setEndDateTime(DTM objEndDateTime)
objEndDateTime - Specifies the ending date and time for when the person is performing the service.public void setPointOfCare(java.lang.String strPointOfCare)
strPointOfCare - Specifies the code for the point where patient care is administered.public void setPointOfCare(IS objIS)
objString - Specifies the code for the point where patient care is administered.public void setRoom(java.lang.String strRoom)
strRoom - Specifies most general location designation.public void setRoom(IS objIS)
objIS - Specifies most general location designation.public void setBed(java.lang.String strBed)
strBed - Specifies the code for the patient's bed.public void setBed(IS objIS)
objIS - Specifies the code for the patient's bed.public void setFacility(HD objFacility)
objFacility - Specifies site interpretation but generally describes the
highest level physical designation of an institution, medical center or enterprise.public void setLocationStatus(java.lang.String strLocationStatus)
strLocationStatus - Specifies the code for the status or availability of the location.public void setLocationStatus(IS objIS)
objIS - Specifies the code for the status or availability of the location.public void setPatientLocationType(java.lang.String strPatientLocationType)
strPatientLocationType - Specifies the categorization of the location defined by facility, building, floor, point of care, room or bed.public void setPatientLocationType(IS objIS)
objIS - Specifies the categorization of the location defined by facility, building, floor, point of care, room or bed.public void setBuilding(java.lang.String strBuilding)
strBuilding - Specifies the code for the building where the person is located.public void setBuilding(IS objIS)
objIS - Specifies the code for the building where the person is located.public void setFloor(java.lang.String strFloor)
strFloor - Specifies the code for the floor where the person is located.public void setFloor(IS objIS)
objIS - Specifies the code for the floor where the person is located.public CNN getName()
public DTM getStartDatetime()
public DTM getEndDatetime()
public IS getPointOfCare()
public IS getRoom()
public IS getBed()
public HD getFacility()
public IS getLocationStatus()
public IS getPatientLocationType()
public IS getBuilding()
public IS getFloor()
public boolean equals(java.lang.Object objObject)
equals in class java.lang.ObjectobjObject - object of Object class.