gov.lanl.Web
Class Immunize

java.lang.Object
  |
  +--gov.lanl.Web.Immunize
All Implemented Interfaces:
java.io.Serializable

public class Immunize
extends java.lang.Object
implements java.io.Serializable

Class to provide most of the "logic" for obtaining and displaying the immunization records of a patient.

Version:
$Revision: 1.9 $ $Date: 2002/08/23 17:21:17 $
Author:
$Author: dwokoun $
See Also:
Serialized Form

Constructor Summary
Immunize()
          Creates new Immunize
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 java.util.Vector getImmunizationRecords(COAS coas, Trait[] externalIds)
          Obtain the immunization records for all of the external ids and order them by vaccine group and date.
 java.lang.String getSampleProperty()
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void setSampleProperty(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Immunize

public Immunize()
Creates new Immunize

Method Detail

getImmunizationRecords

public java.util.Vector getImmunizationRecords(COAS coas,
                                               Trait[] externalIds)
Obtain the immunization records for all of the external ids and order them by vaccine group and date. (Most vaccine groups have single entries, but a few have multiple entries because the vaccine is a combined vaccine We currently display only the Vaccine Name, Date, Sequence Number and inferred facility The displayed names and inferred facilities are obtained from looking up the CVX code in a vaccine.properties file and looking up the facility based on the AssigningFacility field of the externalId

Parameters:
coas - immunization server
externalIds - an array of externalIds obtained from PIDS for this person
Returns:
a Vector of immunization events (each with a 4 vector)

getSampleProperty

public java.lang.String getSampleProperty()

setSampleProperty

public void setSampleProperty(java.lang.String value)

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)


Copyright © 2000 University of California. All Rights Reserved.