Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.vmdb.hl7
Class OBRSegment  view OBRSegment download OBRSegment.java

java.lang.Object
  extended byorg.vmdb.hl7.HL7Object
      extended byorg.vmdb.hl7.HL7Segment
          extended byorg.vmdb.hl7.OBRSegment

public class OBRSegment
extends HL7Segment

Observation Request (OBR) Segment.

Description: Network Connectivity For VMDB.

Copyright: Copyright (c) 2002-2003.

Company: M&M Informatics.

Now is the time

For VMDB reporting, the OBR defines the observations made during the patient visit. These fall into two general categories: physical observations about the patient and impressions concerning the patientŐs condition at the end of the visit. The values for these observations are reported in OBX segments, which are described below. There can be many OBXŐs per OBR, but only one OBR per PV1. Since all of the observations named in this segment are being reported after the fact for VMDB reporting, elements that are commonly used to track the status of an order as well as the specific filler and placer information are unneeded. Thus only a very few elements in this segment are needed by the ORU message. See HL7 Standard Chapter 4 for details.

Version:
1.0

Field Summary
private  java.lang.String sNm
           
private  java.lang.String sRl
           
 
Fields inherited from class org.vmdb.hl7.HL7Segment
iMaxFields, msgParent, slFields, sNextField, vFields
 
Fields inherited from class org.vmdb.hl7.HL7Object
COMP_SEP, ESC_SEP, FIELD_SEP, REP_SEP, sName, sRule, sSeparators, SUB_SEP
 
Constructor Summary
OBRSegment()
          Construct an empty OBR segment.
OBRSegment(HL7SegmentContainer msgParent)
          Construct an empty OBR segment, setting its containing message object.
 
Method Summary
 java.lang.String getObservationDateTime()
          Get the observation date/time as a string.
 java.lang.String getResultStatus()
          Get Result status code.
 CEElement getUniversalServiceId()
          Get the universal service identifier as the complete CEElement.
 java.lang.String getUniversalServiceIdText()
          Get just the text of the Universal Service Id.
 void setObservationDateTime(java.lang.String sDateTime)
          Set the observation date/time of the message to string formatted date/time.
 void setResultStatus(java.lang.String sStatus)
          Set the result status code.
 void setUniversalServiceId(CEElement ceServiceId)
          Set the coded universal service identifier.
 void setUniversalServiceId(java.lang.String sCode, java.lang.String sText, java.lang.String sCodeType)
          Set the coded universal service identifier from the individual components of a CE element.
 
Methods inherited from class org.vmdb.hl7.HL7Segment
addEmptyFields, addField, addField, clearField, fromString, getField, getFieldValue, initialize, iterator, listFields, processField, readString, segmentComplete, setField, setField, setField, setField, setField, setField, setField, setParent, toString, toXML
 
Methods inherited from class org.vmdb.hl7.HL7Object
getName, getRule, getSeparator, getSeparators, setName, setRule, setSeparators
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sNm

private java.lang.String sNm

sRl

private java.lang.String sRl
Constructor Detail

OBRSegment

public OBRSegment()
Construct an empty OBR segment.


OBRSegment

public OBRSegment(HL7SegmentContainer msgParent)
Construct an empty OBR segment, setting its containing message object.

Method Detail

setUniversalServiceId

public void setUniversalServiceId(java.lang.String sCode,
                                  java.lang.String sText,
                                  java.lang.String sCodeType)
Set the coded universal service identifier from the individual components of a CE element.


setUniversalServiceId

public void setUniversalServiceId(CEElement ceServiceId)
Set the coded universal service identifier. This version takes a preformed CE element


getUniversalServiceId

public CEElement getUniversalServiceId()
Get the universal service identifier as the complete CEElement.


getUniversalServiceIdText

public java.lang.String getUniversalServiceIdText()
Get just the text of the Universal Service Id.


setObservationDateTime

public void setObservationDateTime(java.lang.String sDateTime)
Set the observation date/time of the message to string formatted date/time.


getObservationDateTime

public java.lang.String getObservationDateTime()
Get the observation date/time as a string.


setResultStatus

public void setResultStatus(java.lang.String sStatus)
Set the result status code.


getResultStatus

public java.lang.String getResultStatus()
Get Result status code.