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

Quick Search    Search Deep

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

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

public class ORCSegment
extends HL7Segment

Order Common (ORC) Segment.

Description: HL7 Network Connectivity For VMDB.

Copyright: Copyright (c) 2002-2003.

Company: M&M Informatics.

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.

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
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
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

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.


getOrderControl

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