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

Inheritance: IOrdersDao
Mostrar archivo Open project: OSEHRA/mdo Class Usage Examples

Public Methods

Method Description
VistaOrdersDao ( AbstractConnection cxn ) : System
decodeOrderStatus ( string statusCode ) : string
getDiscontinueReasons ( ) : StringDictionary
getDisplayGroups ( ) : string[]
getLatestOrders ( string fromOrderIEN ) : Order[]
getOrder ( string orderIen ) : Order
getOrderDetail ( string orderIen, string dfn ) : string
getOrderDialog ( string dlgIen ) : OrderDialog
getOrderDialogItems ( string dialogId ) : List
getOrderDialogsForDisplayGroup ( string displayGroupId ) : OrderedDictionary
getOrderIdsForPatient ( string dfn ) : IndexedHashtable
getOrderNamesForPrefix ( string prefix ) : string[]
getOrderSet ( string orderDlgIen ) : string
getOrderStatusForPatient ( string dfn, string orderableItemId ) : string
getOrderableItemsByName ( string name ) : OrderedDictionary
getOrders ( string dfn ) : Order[]
getOrders1 ( string dfn ) : IndexedHashtable
getOrdersForPatient ( ) : Order[]
getOrdersForPatient ( string dfn ) : Order[]
getPatientOrderEvents ( ) : string

Get order events for connection's selected patient Executes: OREVNTX PAT

getPatientOrderEvents ( string dfn ) : string

Get order events for patient Executes: OREVNTX PAT

releaseOrderByPolicy ( string dfn, String duz, String locIen, String esig, Order order ) : void
sendOrderByPolicy ( string dfn, string locIen, string esig, Order order ) : void
writeSimpleOrderByPolicy ( Patient patient, String duz, String esig, String locationIen, String orderIen, DateTime startDate ) : Order
writeSimpleOrderByPolicy ( Patient patient, String duz, String esig, String locationIen, String orderIen, DateTime startDate, string reason ) : Order

Private Methods

Method Description
bldQRSP ( Patient patient, string duz, String locationIen, String orderIen, String eventStr, String keyVars, string isimo, string encloc ) : OrderDialog
bldQrsp ( Patient patient, string duz, string locationIen, string dlgIen, string eventStr, string keyVars ) : OrderDialog
buildBldQrspRequest ( Patient patient, String duz, String locationIen, String orderIen, String eventStr, String keyVars, string isimo, string encloc ) : MdoQuery
buildBldQrspRequest ( Patient patient, string duz, string locationIen, string dlgIen, string eventStr, string keyVars ) : MdoQuery
buildCheckReleaseOrderRequest ( Order order, string dfn ) : MdoQuery
buildGetDisabledMsgRequest ( string dlgIen ) : MdoQuery
buildGetDiscontinueReasonsRequest ( ) : MdoQuery
buildGetDisplayGroupsQuery ( ) : DdrLister
buildGetLatestOrdersQuery ( string fromOrderIEN ) : DdrLister
buildGetNewDlgIenRequest ( string type, string locationIen ) : MdoQuery
buildGetOrderDetailRequest ( string orderIen, string dfn ) : MdoQuery
buildGetOrderDialogItemsRequest ( string dialogId ) : MdoQuery
buildGetOrderDialogNameRequest ( string orderIen ) : MdoQuery
buildGetOrderDialogRequest ( string dlgIen ) : MdoQuery
buildGetOrderDialogsForDisplayGroupRequest ( string displayGroupId ) : MdoQuery
buildGetOrderIdsForPatientRequest ( string dfn ) : MdoQuery
buildGetOrderRequest ( string orderIen ) : MdoQuery
buildGetOrderResponsesRequest ( string responseIen ) : MdoQuery
buildGetOrderStatusForPatient ( string dfn, string orderableItemId ) : MdoQuery
buildGetOrderTypeRequest ( ) : MdoQuery
buildGetOrderableItemsByNameRequest ( string name ) : MdoQuery
buildGetOrdersForPatientRequest ( IndexedHashtable orders ) : MdoQuery
buildGetOrdersRequest ( IndexedHashtable t ) : MdoQuery
buildGetOrdersRequest1 ( string dfn ) : MdoQuery
buildIsIvQuickOrderRequest ( string orderIen ) : MdoQuery
buildIsQuickOrderGrpRequest ( string orderIen ) : MdoQuery
buildIsUnitDoseQuickOrderRequest ( string orderIen ) : MdoQuery
buildPatientOrderEventsResponse ( string response ) : string
buildSaveOrderRequest ( string pid, string duz, string locationIEN, string dlgBaseName, OrderDialog dlg, string orderIEN, string startDate ) : MdoQuery
buildSendOrderByPolicyRequest ( string dfn, string locIen, string esig, Order order ) : MdoQuery
buildSupplementOrdersQuery ( string orderId ) : DdrLister
buildUnlockOrdersForPatientRequest ( string dfn ) : MdoQuery
checkReleaseOrder ( Order order ) : string
checkReleaseOrder ( Order order, string dfn ) : string
completeOrders ( IndexedHashtable t, string response ) : Order[]
decodeSignatureStatus ( string statusCode ) : string
dialogItemsToMdo ( string response ) : List
getComplexOrderMsg ( string ien ) : string
getDialogList ( string loc ) : string[]
getDisabledMsg ( string dlgIen ) : string
getDlgIen ( string dlgName ) : string
getMenu ( string ien ) : string[]
getNewDlgIen ( string type, string locationIen ) : string
getOrderChecks ( string dfn, string dlgType ) : string[]
getOrderDialogName ( string orderIen ) : OrderDialogName
getOrderDialogNode0 ( string dlgIen ) : string
getOrderResponses ( string responseIen ) : OrderResponse[]
getOrderTypes ( ) : OrderType>.Dictionary
isIvQuickOrder ( string orderIen ) : bool
isOrderCheckingEnabled ( ) : bool
isQuickOrderGrp ( string orderIen ) : bool
isUnitDoseQuickOrder ( string orderIen ) : bool
killExpiredMedsAlert ( ) : string
killUnsignedOrdersAlert ( ) : string
killUnverifiedMedsAlert ( ) : string
killUnverifiedOrdersAlert ( ) : string
lockOrder ( string ien ) : string
lockOrdersForPatient ( ) : bool
lockOrdersForPatient ( string dfn ) : bool
orderDialogsToMdo ( string response ) : OrderedDictionary
orderableItemsToMdo ( string response ) : OrderedDictionary
releaseOrder ( String duz, String locIen, String esig, Order order ) : void
releaseOrders ( String duz, String locIen, String esig, Order orders ) : void
saveOrder ( string pid, string duz, string locationIEN, string dlgBaseName, OrderDialog dlg, string orderIEN, string startDate ) : Order
sendOrder ( String locIen, String esig, Order order ) : void
sendOrders ( String providerId, String locIen, String esig, Order orders ) : void
setPropertiesForReleasedOrder ( Order order, string response ) : void
supplementOrders ( Order orders ) : void
toDcReasons ( string response ) : StringDictionary
toNewDlgIen ( string response ) : string
toOrder ( string response ) : Order
toOrderByIfn ( string response ) : Order
toOrderDialog ( string response ) : OrderDialog
toOrderDialogName ( string response ) : OrderDialogName
toOrderHashtable ( string response ) : IndexedHashtable
toOrderResponses ( string response ) : OrderResponse[]
toOrderTypes ( string response ) : OrderType>.Dictionary
toOrders ( string response ) : Order[]
toQrsp ( string response ) : OrderDialog
unlockOrder ( string ien ) : bool
unlockOrdersForPatient ( ) : bool
unlockOrdersForPatient ( string dfn ) : bool
validateOrderActionNature ( string ien, string action, string encounterProviderIen, string nature ) : string

Method Details

VistaOrdersDao() public method

public VistaOrdersDao ( AbstractConnection cxn ) : System
cxn AbstractConnection
return System

decodeOrderStatus() public static method

public static decodeOrderStatus ( string statusCode ) : string
statusCode string
return string

getDiscontinueReasons() public method

public getDiscontinueReasons ( ) : StringDictionary
return System.Collections.Specialized.StringDictionary

getDisplayGroups() public method

public getDisplayGroups ( ) : string[]
return string[]

getLatestOrders() public method

public getLatestOrders ( string fromOrderIEN ) : Order[]
fromOrderIEN string
return Order[]

getOrder() public method

public getOrder ( string orderIen ) : Order
orderIen string
return Order

getOrderDetail() public method

public getOrderDetail ( string orderIen, string dfn ) : string
orderIen string
dfn string
return string

getOrderDialog() public method

public getOrderDialog ( string dlgIen ) : OrderDialog
dlgIen string
return OrderDialog

getOrderDialogItems() public method

public getOrderDialogItems ( string dialogId ) : List
dialogId string
return List

getOrderDialogsForDisplayGroup() public method

public getOrderDialogsForDisplayGroup ( string displayGroupId ) : OrderedDictionary
displayGroupId string
return System.Collections.Specialized.OrderedDictionary

getOrderIdsForPatient() public method

public getOrderIdsForPatient ( string dfn ) : IndexedHashtable
dfn string
return IndexedHashtable

getOrderNamesForPrefix() public method

public getOrderNamesForPrefix ( string prefix ) : string[]
prefix string
return string[]

getOrderSet() public method

public getOrderSet ( string orderDlgIen ) : string
orderDlgIen string
return string

getOrderStatusForPatient() public method

public getOrderStatusForPatient ( string dfn, string orderableItemId ) : string
dfn string
orderableItemId string
return string

getOrderableItemsByName() public method

public getOrderableItemsByName ( string name ) : OrderedDictionary
name string
return System.Collections.Specialized.OrderedDictionary

getOrders() public method

public getOrders ( string dfn ) : Order[]
dfn string
return Order[]

getOrders1() public method

public getOrders1 ( string dfn ) : IndexedHashtable
dfn string
return IndexedHashtable

getOrdersForPatient() public method

public getOrdersForPatient ( ) : Order[]
return Order[]

getOrdersForPatient() public method

public getOrdersForPatient ( string dfn ) : Order[]
dfn string
return Order[]

getPatientOrderEvents() public method

Get order events for connection's selected patient Executes: OREVNTX PAT
public getPatientOrderEvents ( ) : string
return string

getPatientOrderEvents() public method

Get order events for patient Executes: OREVNTX PAT
public getPatientOrderEvents ( string dfn ) : string
dfn string local patient ID
return string

releaseOrderByPolicy() public method

public releaseOrderByPolicy ( string dfn, String duz, String locIen, String esig, Order order ) : void
dfn string
duz String
locIen String
esig String
order Order
return void

sendOrderByPolicy() public method

public sendOrderByPolicy ( string dfn, string locIen, string esig, Order order ) : void
dfn string
locIen string
esig string
order Order
return void

writeSimpleOrderByPolicy() public method

public writeSimpleOrderByPolicy ( Patient patient, String duz, String esig, String locationIen, String orderIen, DateTime startDate ) : Order
patient Patient
duz String
esig String
locationIen String
orderIen String
startDate DateTime
return Order

writeSimpleOrderByPolicy() public method

public writeSimpleOrderByPolicy ( Patient patient, String duz, String esig, String locationIen, String orderIen, DateTime startDate, string reason ) : Order
patient Patient
duz String
esig String
locationIen String
orderIen String
startDate DateTime
reason string
return Order