com.medsphere.ovid.domain.ov
Class PatientAllergyRepository

java.lang.Object
  extended by com.medsphere.ovid.domain.ov.OvidSecureRepository
      extended by com.medsphere.ovid.domain.ov.PatientAllergyRepository

public class PatientAllergyRepository
extends OvidSecureRepository


Field Summary
static java.lang.String ORCONTEXT
           
 
Constructor Summary
PatientAllergyRepository(com.medsphere.vistarpc.RPCConnection connection)
           
 
Method Summary
 void addAllergy(FMPatientAllergies allergy)
           
 void addAllergy(FMPatientAllergies allergy, java.util.Date reactDate, java.lang.Integer severityCode)
           
 java.util.Collection<FMPatientAllergies> getAllAllergyEntries()
           
 java.util.Collection<FMPatientAllergies> getAllergiesByIEN(java.util.Collection<java.lang.String> allergyIENs, boolean internal)
           
 java.util.Collection<FMPatientAllergies> getAllergiesForPatientIEN(java.lang.String patientIEN, boolean internal)
           
static void main(java.lang.String[] args)
           
 void setReactant(FMPatientAllergies allergy, AllergyAgent agent)
           
 void updateAllergy(FMPatientAllergies allergy)
           
 
Methods inherited from class com.medsphere.ovid.domain.ov.OvidSecureRepository
dispose, getConnection, getContext, getDUZForLastConnection, getServerConnection, isEmptyResult, obtainServerRPCAdapter, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORCONTEXT

public static final java.lang.String ORCONTEXT
See Also:
Constant Field Values
Constructor Detail

PatientAllergyRepository

public PatientAllergyRepository(com.medsphere.vistarpc.RPCConnection connection)
Method Detail

getAllAllergyEntries

public java.util.Collection<FMPatientAllergies> getAllAllergyEntries()
                                                              throws OvidDomainException
Throws:
OvidDomainException

getAllergiesForPatientIEN

public java.util.Collection<FMPatientAllergies> getAllergiesForPatientIEN(java.lang.String patientIEN,
                                                                          boolean internal)
                                                                   throws OvidDomainException
Throws:
OvidDomainException

getAllergiesByIEN

public java.util.Collection<FMPatientAllergies> getAllergiesByIEN(java.util.Collection<java.lang.String> allergyIENs,
                                                                  boolean internal)
                                                           throws OvidDomainException
Throws:
OvidDomainException

addAllergy

public void addAllergy(FMPatientAllergies allergy)
                throws OvidDomainException,
                       InsertFileManRecordException
Throws:
OvidDomainException
InsertFileManRecordException

setReactant

public void setReactant(FMPatientAllergies allergy,
                        AllergyAgent agent)
                 throws ModifiedKeyFileManFieldException
Throws:
ModifiedKeyFileManFieldException

addAllergy

public void addAllergy(FMPatientAllergies allergy,
                       java.util.Date reactDate,
                       java.lang.Integer severityCode)
                throws OvidDomainException,
                       InsertFileManRecordException
Throws:
OvidDomainException
InsertFileManRecordException

updateAllergy

public void updateAllergy(FMPatientAllergies allergy)
                   throws OvidDomainException
Throws:
OvidDomainException

main

public static void main(java.lang.String[] args)
                 throws OvidDomainException,
                        com.medsphere.common.cache.GenericCacheException
Throws:
OvidDomainException
com.medsphere.common.cache.GenericCacheException