org.vmdb.hl7
Class ORCSegment

java.lang.Object
  |
  +--org.vmdb.hl7.HL7Object
        |
        +--org.vmdb.hl7.HL7Segment
              |
              +--org.vmdb.hl7.ORCSegment

public class ORCSegment
extends HL7Segment

Order Common (ORC) Segment.

Description: HL7 Network Connectivity For VMDB.

Copyright: Copyright (c) 2002-2003.

Company: Veterinary Medical Database (VMDB).

The Common Order segment (ORC) is used to transmit fields that are common to all orders (all types of services that are requested). The premise of the VMDB message is that there is a standing order with all participating facilties to provide visit summary information to the VMDB. Thus, changes to visit information submitted to VMDB is, in fact, a change to the results of the standing order. While this segment is optional for initial transmission of visit summary information to the VMDB, it is required for updates and deletions of previously transmitted messages.

The process defined by VMDB for updating a visit is for the original visit information to be deleted from the VMDB database and replaced with the contents of the replacement visit message. For this to be accomplished, only the first field of the ORC is necessary.

Use of this process has not yet been implemented in high level code. See HL7 Standard Chapter 4 for details.


Constructor Summary
ORCSegment()
           
ORCSegment(HL7SegmentContainer msgParent)
           
 
Method Summary
 java.lang.String getOrderControl()
          Get order control code.
 void setOrderControl(java.lang.String sControl)
          Set the order control as new, cancel, replace or replacement.
 
Methods inherited from class org.vmdb.hl7.HL7Segment
clearField, getField, getFieldValue, iterator, listFields, setField, setField, setField, setField, setField, setField, setField, toString, toXML
 
Methods inherited from class org.vmdb.hl7.HL7Object
getRule
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ORCSegment

public ORCSegment()

ORCSegment

public ORCSegment(HL7SegmentContainer msgParent)
Method Detail

setOrderControl

public void setOrderControl(java.lang.String sControl)
Set the order control as new, cancel, replace or replacement.

Parameters:
sControl - String with NW new, CA cancel, RP replace, or RO replacement order. Note RO should follow RP. This breaks my model of searching for the first loop.

getOrderControl

public java.lang.String getOrderControl()
Get order control code.

Returns:
String with order control code

SourceForge.net Logo