Package ca.uhn.hl7v2.model.v251.datatype
Class NDL
java.lang.Object
ca.uhn.hl7v2.model.AbstractType
ca.uhn.hl7v2.model.AbstractComposite
ca.uhn.hl7v2.model.v251.datatype.NDL
- All Implemented Interfaces:
Composite,Type,Visitable,Serializable
Represents an HL7 NDL (Name with Date and Location) data type. This type consists of the following components:
- Name (CNN)
- Start Date/time (TS)
- End Date/time (TS)
- Point of Care (IS)
- Room (IS)
- Bed (IS)
- Facility (HD)
- Location Status (IS)
- Patient Location Type (IS)
- Building (IS)
- Floor (IS)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBed()Returns Bed (component 6).Returns Building (component 10).getComponent(int number) Returns an individual data component.Type[]Returns an array containing the data elements.Returns End Date/time (component 3).Returns Facility (component 7).getFloor()Returns Floor (component 11).Returns Location Status (component 8).Returns Name (component 1).Returns Building (component 10).Returns Floor (component 11).Returns Start Date/time (component 2).Returns End Date/time (component 3).Returns Point of Care (component 4).Returns Room (component 5).Returns Bed (component 6).Returns Facility (component 7).Returns Location Status (component 8).Returns Patient Location Type (component 9).Returns Name (component 1).Returns Patient Location Type (component 9).Returns Point of Care (component 4).getRoom()Returns Room (component 5).Returns Start Date/time (component 2).Methods inherited from class ca.uhn.hl7v2.model.AbstractComposite
accept, clear, getTyped, isEmpty, provideLocationMethods inherited from class ca.uhn.hl7v2.model.AbstractType
encode, getExtraComponents, getMessage, getName, parse, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Type
encode, getExtraComponents, getMessage, getName, parse
-
Constructor Details
-
NDL
Creates a new NDL type
-
-
Method Details
-
getComponents
Returns an array containing the data elements. -
getComponent
Returns an individual data component.- Parameters:
number- The component number (0-indexed)- Throws:
DataTypeException- if the given element number is out of range.
-
getNDLName
Returns Name (component 1). This is a convenience method that saves you from casting and handling an exception. -
getNdl1_Name
Returns Name (component 1). This is a convenience method that saves you from casting and handling an exception. -
getStartDateTime
Returns Start Date/time (component 2). This is a convenience method that saves you from casting and handling an exception. -
getNdl2_StartDateTime
Returns Start Date/time (component 2). This is a convenience method that saves you from casting and handling an exception. -
getEndDateTime
Returns End Date/time (component 3). This is a convenience method that saves you from casting and handling an exception. -
getNdl3_EndDateTime
Returns End Date/time (component 3). This is a convenience method that saves you from casting and handling an exception. -
getPointOfCare
Returns Point of Care (component 4). This is a convenience method that saves you from casting and handling an exception. -
getNdl4_PointOfCare
Returns Point of Care (component 4). This is a convenience method that saves you from casting and handling an exception. -
getRoom
Returns Room (component 5). This is a convenience method that saves you from casting and handling an exception. -
getNdl5_Room
Returns Room (component 5). This is a convenience method that saves you from casting and handling an exception. -
getBed
Returns Bed (component 6). This is a convenience method that saves you from casting and handling an exception. -
getNdl6_Bed
Returns Bed (component 6). This is a convenience method that saves you from casting and handling an exception. -
getFacility
Returns Facility (component 7). This is a convenience method that saves you from casting and handling an exception. -
getNdl7_Facility
Returns Facility (component 7). This is a convenience method that saves you from casting and handling an exception. -
getLocationStatus
Returns Location Status (component 8). This is a convenience method that saves you from casting and handling an exception. -
getNdl8_LocationStatus
Returns Location Status (component 8). This is a convenience method that saves you from casting and handling an exception. -
getPatientLocationType
Returns Patient Location Type (component 9). This is a convenience method that saves you from casting and handling an exception. -
getNdl9_PatientLocationType
Returns Patient Location Type (component 9). This is a convenience method that saves you from casting and handling an exception. -
getBuilding
Returns Building (component 10). This is a convenience method that saves you from casting and handling an exception. -
getNdl10_Building
Returns Building (component 10). This is a convenience method that saves you from casting and handling an exception. -
getFloor
Returns Floor (component 11). This is a convenience method that saves you from casting and handling an exception. -
getNdl11_Floor
Returns Floor (component 11). This is a convenience method that saves you from casting and handling an exception.
-