C# Class gov.va.medora.mdo.Medication

ファイルを表示 Open project: OSEHRA/mdo Class Usage Examples

Public Methods

Method Description
Medication ( ) : System
ToString ( ) : string

Create a string representation of the Medication object using a few of the unique properties

getAllMeds ( ConnectionSet cxns ) : IndexedHashtable
getDiscontinueReasons ( ConnectionSet cxns ) : IndexedHashtable
getImmunizations ( ConnectionSet cxns, string fromDate, string toDate, int nrpts ) : IndexedHashtable
getImoMeds ( ConnectionSet cxns ) : IndexedHashtable
getIvMeds ( ConnectionSet cxns ) : IndexedHashtable
getMedicationDetail ( gov.va.medora.mdo.dao.AbstractConnection cxn, string medId ) : string
getMedsAdminHx ( ConnectionSet cxns, string fromDate, string toDate, int nrpts ) : IndexedHashtable
getMedsAdminLog ( ConnectionSet cxns, string fromDate, string toDate, int nrpts ) : IndexedHashtable
getOtherMeds ( ConnectionSet cxns ) : IndexedHashtable
getOutpatientMeds ( ConnectionSet cxns ) : IndexedHashtable
getOutpatientRxProfile ( ConnectionSet cxns ) : IndexedHashtable
getUnitDoseMeds ( ConnectionSet cxns ) : IndexedHashtable
toStructuredProductType ( Medication med, string units, string form, string unitsPerDose ) : StructuredProductType

Convert a MDO Medication object to a CCR StructuredProductType. Since there is not a 1 to 1 mapping between the two objects' properties, the additional arguments should be supplied

Private Methods

Method Description
getDao ( gov.va.medora.mdo.dao.AbstractConnection cxn ) : IPharmacyDao

Method Details

Medication() public method

public Medication ( ) : System
return System

ToString() public method

Create a string representation of the Medication object using a few of the unique properties
public ToString ( ) : string
return string

getAllMeds() public static method

public static getAllMeds ( ConnectionSet cxns ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
return IndexedHashtable

getDiscontinueReasons() public method

public getDiscontinueReasons ( ConnectionSet cxns ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
return IndexedHashtable

getImmunizations() public static method

public static getImmunizations ( ConnectionSet cxns, string fromDate, string toDate, int nrpts ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
fromDate string
toDate string
nrpts int
return IndexedHashtable

getImoMeds() public static method

public static getImoMeds ( ConnectionSet cxns ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
return IndexedHashtable

getIvMeds() public static method

public static getIvMeds ( ConnectionSet cxns ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
return IndexedHashtable

getMedicationDetail() public static method

public static getMedicationDetail ( gov.va.medora.mdo.dao.AbstractConnection cxn, string medId ) : string
cxn gov.va.medora.mdo.dao.AbstractConnection
medId string
return string

getMedsAdminHx() public static method

public static getMedsAdminHx ( ConnectionSet cxns, string fromDate, string toDate, int nrpts ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
fromDate string
toDate string
nrpts int
return IndexedHashtable

getMedsAdminLog() public static method

public static getMedsAdminLog ( ConnectionSet cxns, string fromDate, string toDate, int nrpts ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
fromDate string
toDate string
nrpts int
return IndexedHashtable

getOtherMeds() public static method

public static getOtherMeds ( ConnectionSet cxns ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
return IndexedHashtable

getOutpatientMeds() public static method

public static getOutpatientMeds ( ConnectionSet cxns ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
return IndexedHashtable

getOutpatientRxProfile() public static method

public static getOutpatientRxProfile ( ConnectionSet cxns ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
return IndexedHashtable

getUnitDoseMeds() public static method

public static getUnitDoseMeds ( ConnectionSet cxns ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
return IndexedHashtable

toStructuredProductType() public method

Convert a MDO Medication object to a CCR StructuredProductType. Since there is not a 1 to 1 mapping between the two objects' properties, the additional arguments should be supplied
public toStructuredProductType ( Medication med, string units, string form, string unitsPerDose ) : StructuredProductType
med Medication
units string
form string
unitsPerDose string
return gov.va.medora.mdo.domain.ccd.StructuredProductType