C# Class gov.va.medora.mdo.dao.vista.VistaPharmacyDao

Inheritance: IPharmacyDao
Mostrar archivo Open project: OSEHRA/mdo

Public Methods

Method Description
VistaPharmacyDao ( gov.va.medora.mdo.dao.AbstractConnection cxn ) : System
buildGetImmunizationsRequest ( string dfn, string fromDate, string toDate, int nrpts ) : MdoQuery
discontinueMed ( string orderIen, string duz, string reasonIen ) : string
getAllMeds ( ) : Medication[]
getAllMeds ( string dfn ) : Medication[]
getAllMeds ( string dfn, string duz ) : Medication[]
getImmunizations ( string fromDate, string toDate, int nrpts ) : string
getImmunizations ( string dfn, string fromDate, string toDate, int nrpts ) : string
getInpatientForOutpatientMeds ( ) : Medication[]
getInpatientForOutpatientMeds ( string pid ) : Medication[]
getInpatientForOutpatientMeds ( string pid, string duz ) : Medication[]
getIvMeds ( ) : Medication[]
getIvMeds ( string dfn ) : Medication[]
getIvMeds ( string dfn, string duz ) : Medication[]
getIvMedsRdv ( ) : Medication[]
getIvMedsRdv ( string dfn ) : Medication[]
getMedicationDetail ( string ien ) : string
getMedicationDetail ( string dfn, string ien ) : string
getMedsAdminHx ( string fromDate, string toDate, int nrpts ) : string
getMedsAdminHx ( string dfn, string fromDate, string toDate, int nrpts ) : string
getMedsAdminLog ( string fromDate, string toDate, int nrpts ) : string
getMedsAdminLog ( string dfn, string fromDate, string toDate, int nrpts ) : string
getMedsWithFilter ( string dfn, string duz ) : Medication[]

Get a list of medications for the patient filtered by medication type

getOtherMeds ( ) : Medication[]
getOtherMeds ( string dfn ) : Medication[]
getOtherMeds ( string dfn, string duz ) : Medication[]
getOtherMedsRdv ( ) : Medication[]
getOtherMedsRdv ( string dfn ) : Medication[]
getOutpatientMeds ( ) : Medication[]
getOutpatientMeds ( string dfn ) : Medication[]
getOutpatientMeds ( string dfn, string duz ) : Medication[]
getOutpatientRxProfile ( ) : string
getOutpatientRxProfile ( string dfn ) : string
getUnitDoseMeds ( ) : Medication[]
getUnitDoseMeds ( string dfn ) : Medication[]
getUnitDoseMeds ( string dfn, string duz ) : Medication[]
getUnitDoseMedsRdv ( ) : Medication[]
getUnitDoseMedsRdv ( string dfn ) : Medication[]
getVaMeds ( ) : Medication[]
getVaMeds ( string dfn ) : Medication[]
refillPrescription ( string rxId ) : Medication

Private Methods

Method Description
buildGetIvMedsRdvRequest ( string dfn ) : MdoQuery
buildGetMedicationDetail ( string dfn, string ien ) : MdoQuery
buildGetMedsAdminHxRequest ( string dfn, string fromDate, string toDate, int nrpts ) : MdoQuery
buildGetMedsAdminLogRequest ( string dfn, string fromDate, string toDate, int nrpts ) : MdoQuery
buildGetMedsTabRequest ( string dfn, string duz ) : MdoQuery
buildGetOtherMedsRequestRdv ( string dfn ) : MdoQuery
buildGetOutpatientMedsRdvRequest ( string dfn ) : MdoQuery
buildGetOutpatientRxProfileRequest ( string dfn ) : MdoQuery
buildGetUnitDoseMedsRequestRdv ( string dfn ) : MdoQuery
buildGetVaMedsRequest ( string dfn ) : MdoQuery
getOutpatientMedsRdv ( ) : Medication[]
getOutpatientMedsRdv ( string dfn ) : Medication[]
matchUnitDose ( Medication ud, Medication list ) : Medication

Attempts to match a unit dose medication from the tab call to one from the rdv call

medsAsDictionary ( Medication meds ) : Medication>.Dictionary

returns a dictionary containing the medications indexed by Id

toInpatientForOutpatientMed ( string dfn, string fields, string textBlob ) : Medication

Construct a Inpatient For Outpatient Medication MDO from the CPRS Tab fields

toIvMed ( string dfn, string fields, string textBlob ) : Medication

Construct an IV Medication MDO from CPRS Tab

toIvMedsRdv ( string response ) : Medication[]
toMedsFromTab ( string dfn, string response, HashSet filter ) : Medication[]

Construct a list of requested medications base on the filter, it the filter is empty all meds will be returned * note at this time, since it is impossible to match other meds from the tab call to the rdv results, those meds will not be returned

toOtherMedsRdv ( string response ) : Medication[]
toOutpatientMed ( string fields, string textBlob, Medication>.Dictionary rdvSupplement ) : Medication

Construct an Outpatient Medication MDO from CPRS Meds Tab supplimented with RDV

toOutpatientMedsRdv ( string response ) : Medication[]
toUnitDoseMed ( string dfn, string fields, string textBlob, Medication rdvSupplement ) : Medication

Construct a UnitDose Medication MDO from the CPRS Tab fields supplemented with RDV

toUnitDoseMedsRdv ( string response ) : Medication[]
toVaMeds ( string response ) : Medication[]

Method Details

VistaPharmacyDao() public method

public VistaPharmacyDao ( gov.va.medora.mdo.dao.AbstractConnection cxn ) : System
cxn gov.va.medora.mdo.dao.AbstractConnection
return System

buildGetImmunizationsRequest() public method

public buildGetImmunizationsRequest ( string dfn, string fromDate, string toDate, int nrpts ) : MdoQuery
dfn string
fromDate string
toDate string
nrpts int
return MdoQuery

discontinueMed() public method

public discontinueMed ( string orderIen, string duz, string reasonIen ) : string
orderIen string
duz string
reasonIen string
return string

getAllMeds() public method

public getAllMeds ( ) : Medication[]
return Medication[]

getAllMeds() public method

public getAllMeds ( string dfn ) : Medication[]
dfn string
return Medication[]

getAllMeds() public method

public getAllMeds ( string dfn, string duz ) : Medication[]
dfn string
duz string
return Medication[]

getImmunizations() public method

public getImmunizations ( string fromDate, string toDate, int nrpts ) : string
fromDate string
toDate string
nrpts int
return string

getImmunizations() public method

public getImmunizations ( string dfn, string fromDate, string toDate, int nrpts ) : string
dfn string
fromDate string
toDate string
nrpts int
return string

getInpatientForOutpatientMeds() public method

public getInpatientForOutpatientMeds ( ) : Medication[]
return Medication[]

getInpatientForOutpatientMeds() public method

public getInpatientForOutpatientMeds ( string pid ) : Medication[]
pid string
return Medication[]

getInpatientForOutpatientMeds() public method

public getInpatientForOutpatientMeds ( string pid, string duz ) : Medication[]
pid string
duz string
return Medication[]

getIvMeds() public method

public getIvMeds ( ) : Medication[]
return Medication[]

getIvMeds() public method

public getIvMeds ( string dfn ) : Medication[]
dfn string
return Medication[]

getIvMeds() public method

public getIvMeds ( string dfn, string duz ) : Medication[]
dfn string
duz string
return Medication[]

getIvMedsRdv() public method

public getIvMedsRdv ( ) : Medication[]
return Medication[]

getIvMedsRdv() public method

public getIvMedsRdv ( string dfn ) : Medication[]
dfn string
return Medication[]

getMedicationDetail() public method

public getMedicationDetail ( string ien ) : string
ien string
return string

getMedicationDetail() public method

public getMedicationDetail ( string dfn, string ien ) : string
dfn string
ien string
return string

getMedsAdminHx() public method

public getMedsAdminHx ( string fromDate, string toDate, int nrpts ) : string
fromDate string
toDate string
nrpts int
return string

getMedsAdminHx() public method

public getMedsAdminHx ( string dfn, string fromDate, string toDate, int nrpts ) : string
dfn string
fromDate string
toDate string
nrpts int
return string

getMedsAdminLog() public method

public getMedsAdminLog ( string fromDate, string toDate, int nrpts ) : string
fromDate string
toDate string
nrpts int
return string

getMedsAdminLog() public method

public getMedsAdminLog ( string dfn, string fromDate, string toDate, int nrpts ) : string
dfn string
fromDate string
toDate string
nrpts int
return string

getMedsWithFilter() public method

Get a list of medications for the patient filtered by medication type
public getMedsWithFilter ( string dfn, string duz ) : Medication[]
dfn string
duz string
return Medication[]

getOtherMeds() public method

public getOtherMeds ( ) : Medication[]
return Medication[]

getOtherMeds() public method

public getOtherMeds ( string dfn ) : Medication[]
dfn string
return Medication[]

getOtherMeds() public method

public getOtherMeds ( string dfn, string duz ) : Medication[]
dfn string
duz string
return Medication[]

getOtherMedsRdv() public method

public getOtherMedsRdv ( ) : Medication[]
return Medication[]

getOtherMedsRdv() public method

public getOtherMedsRdv ( string dfn ) : Medication[]
dfn string
return Medication[]

getOutpatientMeds() public method

public getOutpatientMeds ( ) : Medication[]
return Medication[]

getOutpatientMeds() public method

public getOutpatientMeds ( string dfn ) : Medication[]
dfn string
return Medication[]

getOutpatientMeds() public method

public getOutpatientMeds ( string dfn, string duz ) : Medication[]
dfn string
duz string
return Medication[]

getOutpatientRxProfile() public method

public getOutpatientRxProfile ( ) : string
return string

getOutpatientRxProfile() public method

public getOutpatientRxProfile ( string dfn ) : string
dfn string
return string

getUnitDoseMeds() public method

public getUnitDoseMeds ( ) : Medication[]
return Medication[]

getUnitDoseMeds() public method

public getUnitDoseMeds ( string dfn ) : Medication[]
dfn string
return Medication[]

getUnitDoseMeds() public method

public getUnitDoseMeds ( string dfn, string duz ) : Medication[]
dfn string
duz string
return Medication[]

getUnitDoseMedsRdv() public method

public getUnitDoseMedsRdv ( ) : Medication[]
return Medication[]

getUnitDoseMedsRdv() public method

public getUnitDoseMedsRdv ( string dfn ) : Medication[]
dfn string
return Medication[]

getVaMeds() public method

public getVaMeds ( ) : Medication[]
return Medication[]

getVaMeds() public method

public getVaMeds ( string dfn ) : Medication[]
dfn string
return Medication[]

refillPrescription() public method

public refillPrescription ( string rxId ) : Medication
rxId string
return Medication