Pharmacy FOI

Embed Size (px)

DESCRIPTION

ehis

Citation preview

MANDATORY ACTIVITIESSL NOISSUEISSUE TYPEISSUE DESCRIPTIONTO BE CHECKED AND PROBLEM FACED AND SOLUTION1Nurse ID mapping in Pharmacy to do Pharmacy Transactions.ValidationIf the Nurse wants to do Pharmacy Transactions in Wards, that Nurse ID should be mapped in the below mentioned screen of Pharmacy Module. In Pharmacy module, select Functions --> Store Management --> Store User Master. Then given the user ID and check the any Stores/Dept are mapped. Only Wards Dept has to be mapped for Ward Nurse and if any other Stores are mapped for Ward Nurse has to be removed.If the Nurse ID is not mapped to Wards Depta. While Receiving the Issue Number in Drug Receive Screen, we are getting the message as Prescription Data is not available.Solution:: Map the Nurse ID to Wards Dept and receive the Issue Number.b. Once Nurse Retuned the items in Drug Return screen, Then In Pharmacy Stock Transaction Table, It is not inserting the Wards Store Code for the Return Transaction Record and after acknowledging the return number status is not updating properly.Solution:: As mentioned below changes has to be done1. For Return Record(Transaction Code is "4" in Stock Transaction table)"Storecode" as "Wards Dept Store Code" and "FromStorecode" as "Issued Pharmacy Store code".2. For Acknowledgement Record(Transaction Code is "5" in Stock Transaction table) "Storecode" as ""Issued Pharmacy Store code" and "FromStorecode" as "Wards Dept Store Code".3. For Return Record if Status is "4" after acknowledgement , change the status as "2".2Code Mapping in DC TableFrequent TaskIn Pharmacy , Item Details are maintained as Common Data for all the locations.The Substitute is getting displayed based upon the Generic Name and Drug Strength.At the time of issuing , In Indent Issue page while clicking on "Sub" Hyperlink Proper Substitute item(s) will get displayed. If Expeted Substitute Items is not displaying , Need to be checked whether that items are having same Generic Name and DrugStrength.Solution :: 1.We have to update the Same Generic Name and Drugstrength for the Actual Indented Item and Substitute Items in the DC table(Pharmacy.Itemcompany) table using below query.Query :: SELECT IC.ITEMCODE , IC.ITEMSHORTDESC , IC.GENERICNAME , IC.DRUGSTRENGTH , ROWID FROM PHARMACY.ITEMCOMPANY IC WHERE IC.ITEMCODE in ('CLE0014','HOT0018')2. Then we have to refresh the "Itemcompany" table using the below query with "Pharmacy_chprod" login to reflect the substitute Items.Query :EXEC DBMS_MVIEW.REFRESH('PHARMACY.ITEMCOMPANY');

ISSUES OBSERVEDSL NOISSUEISSUE TYPEISSUE DESCRIPTIONTO BE CHECKED AND PROBLEM FACED AND SOLUTION1While searching , Item is not showing in Purchase Request Page to Raise PO.Master Data IssueIf the Item is not showing in Purchase Request screen , the item is not used in Medmantra till now means no transactions happened for that item in this location(Like whole chennai region).Pharmacy Users will do this activity if the item is not shown while searching. And If it is critical we(IT Team) also can check and update as below mentioned to solve the issue.To be Checked : Need to check the Item is existed in Item Master Data(DC Table :: Itemcompany) as mentioned below in screen level >> Pharmacy "ItemMastercompany"(Functions --> Item Management -- > ItemMastercompany) , Give the Itemcode and click on "View". 1. If the details are getting displayed , then the item is existed in DC table. Then search the Item in "ItemMasterLocation"(Functions --> Item Management -- > ItemMasterLoaction) screen and select the item and update the details as mentioned below. i. First select the "Region" as "Chennai". ii. Give Values under "Purchasing" tab, MRP = 1 , PurchasePrice = 1. iii. Under "Receiving" , Quantity receipt = 1 , Quantity receipt=1 iv. Under Planning , Shelf life = 1 , Shelf life unit = Days , Stock UOM = NOS , Purchase UOM = NOS , Issue UOM= NOS. v. Then click on save. 2. If the details are not getting displayed , Then inform the Pharmacy users to create that Item in "Item Master Company" Page.2While searching , Item is not showing in wards to raise Prescription/NonDrug Indent.Master Data IssueIf the Item is not showing in Purchase Request screen , the item is not used in Medmantra till now means no transactions happened for that item in this location(Like whole chennai region).Pharmacy Users will do this activity if the item is not shown while searching. And If it is critical we(IT Team) also can check and update as below mentioned to solve the issue.To be Checked : Need to check the Item is existed in Item Master Data(DC Table :: Itemcompany) as mentioned below in screen level >> Pharmacy "ItemMastercompany"(Functions --> Item Management -- > ItemMastercompany) , Give the Itemcode and click on "View". 1. If the details are getting displayed , then the item is existed in DC table. Then search the Item in "ItemMasterLocation"(Functions --> Item Management -- > ItemMasterLoaction) screen and select the item and update the details as mentioned below. i. First select the "Region" as "Chennai". ii. Give Values under "Purchasing" tab, MRP = 1 , PurchasePrice = 1. iii. Under "Receiving" , Quantity receipt = 1 , Quantity receipt=1 iv. Under Planning , Shelf life = 1 , Shelf life unit = Days , Stock UOM = NOS , Purchase UOM = NOS , Issue UOM= NOS. v. Then click on save. 2. If the details are not getting displayed , Then inform the Pharmacy users to create that Item in "Item Master Company" Page.3Indent Number not showing in Pharmacy(Indent Landing Page) and While Intiating the Discharge for that patient Indent Status is "Approved".BugAfter PAT Approval Indent Number is getting generated and the record is getting inserted in the "MaterialRequest" table. But the Indented details are not getting inserted in the "MaterialRequestDetails" table.We can check the issue as mentioned below.1. The Indent will not show in "Indent Landing" page. But it will show in "Indent Search" screen and details won't be displayed.2. We have to check any record is existed in "MaterialRequestDetails" table for the "MaterilaRequestID"(MaterialRequestID of Indent Number in MaterialRequestable) of the IndentNumber. If the details are not there cancel the Indent Number by changing the StatusID = 99.4Indent Number is not getting generated for the Approve prescription.BugAfter PAT Approval Indent Number is not getting generated for the prescrption number since special characters(like &) might have given in Remarks filed.If Indent Number is not generated for any precription after PAT Approval.Need to be checked :: 1. First check any Indent Number is generated for the given prescription.Query :: SELECT DISTINCT PO.PRESCRIPTIONNO , PO.IPNUMBER , MR.INDENTCODE, MR.STATUSID , S.STORENAME FROM WARDS.PRESCRIPTIONORDER POINNER JOIN WARDS.PRESCRIPTIONDETAILS PD ON PD.PRESCRIPTIONNO = PO.PRESCRIPTIONNOINNER JOIN PHARMACY.MATERIALREQUESTDETAILS MRD ON MRD.PRESCRIPTIONDETAILSID = PD.PRESCRIPTIONDETAILIDINNER JOIN PHARMACY.MATERIALREQUEST MR ON MR.MATERIALREQUESTID = MRD.MATERIALREQUESTIDINNER JOIN PHARMACY.STORE S ON S.STORECODE = MR.STORECODEWHERE PO.PRESCRIPTIONNO= '345731'2. If Indent Number not existing , then Check any special characters are there in remarks filed for the given precription as mentioned below using the below query.2. If special characters are there in remarks field , remove the special characters.3. Change the status as mentioned below and ask the PAT team to approve again if it is really critical. a. Change the "Transaction Status" from "2" to "1" in "PrescriptionOrder" and "PrescriptionDetails" tables. b. It will display in PAT screen to approve and after approval Indent Number will get generated.4Indent is pending to approve for the DischargeSummaryPrepared/Dead Patient.No IssueIf Indent is pending for the DischargeSummaryPrepared/Dead Patient , the message will get displayed "No Items for the Indent/Patient might be discharged or Dead".Solution :: 1. If Items are not given Physically to Patient , Cancel the Indent by changing the "StatuID" as "99" in "MaterialRequest" Table.2. If Items are given Physically to Patient , then Patient Status need to be change as "Active Patient" and they can issue the Indent in Pharmacy.5While Issuing the Indent in "IssuePage" , getting any of these alerts "Error While Saving Records" or "Plz enter Batch serial for the item"BugWhile Issuing the Indent in "IssuePage" , getting any of these alerts "Error While Saving Records" or "Plz enter Batch serial for the item"Need to be checked all the points as mentioned below(Any one of the Point might be the problem).1. For the Indented/selected substitute Items , The "COSTINGMETHODCOST" and "TOTALPURLEADTIME" columns should not be null. If it is null , Zero Value(0) has to be inserted in those filds using the below query.Query :: SELECT IL.ITEMCODE , IL.COSTINGMETHODCOST , IL.TOTALPURLEADTIME , ROWID FROM PHARMACY.ITEMLOCATION IL WHERE IL.ITEMCODE = 'WAS0003'

2. Need to be checked , a. Indented Item is there in "Pharmacy.Itemstore" table for the respective store using below query. b.Then if not there one record need to be added in this table c. While adding the record for Indented Item take the reference as Substitute Item Record. And Make the Qty as "0" , "IntranQty" as "0" for the Indented Item onece the Record Inserted.Query :: SELECT IST.*,ROWID FROM PHARMACY.ITEMSTORE IST WHERE IST.ITEMCODE IN ('COS0114', 'REN0053') AND IST.STORECODE = '2101011911289'6While creating New Item , Getting the message as "Item Already Exists" and Details are not showing against that Item.BugItem got created previously without proper details. Hence no details are getting displayed except Itemcode while viewing the details.1. If Similar Category Item is there for the given Item a. Get the Similar Category Item. b. Then update the details by taking all the details of Similar Category Item except Manufacture ID.

2. If Similar Category Item is not there for the given Item, Contact respective L3 Person to update and share all the required details(All fileds of "ItemMasterCompany" Screen).7Unable to acknowledge the returnsBugIf the Nurse ID is not mapped to Wards Dept , the Storecodes not capturing and Nurses(Who are not mapped to Wards Dept) are retuning the Pharmacy Items.Once , Nurse(Who are not mapped) Retuned the items in Drug Return screen, In Pharmacy Stock Transaction Table, It is not inserting the Wards Store Code for the Return Transaction Record and after acknowledging the return number status is not updating properly.

Solution:: As mentioned below changes has to be done1. For Return Record(Transaction Code is "4" in Stock Transaction table)"Storecode" as "Wards Dept Store Code" and "FromStorecode" as "Issued Pharmacy Store code".2. For Acknowledgement Record(Transaction Code is "5" in Stock Transaction table) "Storecode" as ""Issued Pharmacy Store code" and "FromStorecode" as "Wards Dept Store Code".3. For Return Record if Status is "4" after acknowledgement , change the status as "2".8Unable to open the returns and it is showing "No Records" against the Return NumberBugWhile Returning the Items in Wards ,The Returned Item Details are not getting Captured since the one/few items having Zero Batchcode.1. If No Item(Extra Item) is Retuned Physically to Pharmacy for that Perticular Patient(Except Acknowledged Items) , We have to Cancel both the Records(Return Record and Declaration Record) as mentioned below a. First get the "DeclarationCode" for the Return Number in Pharmacy "StockTransaction" table using below query.Query :: SELECT ST.RETURNCODE , ST.DECLARATIONCODE FROM PHARMACY.STOCKTRANSACTION ST WHERE ST.RETURNCODE = 'RET00126517'

b. Then Change the "Status" as "99" for the two records by passing the above taken "Declaration Code" using below query.Query :: SELECT ST.STOCKTRANSACTIONID , ST.TRANSACTIONCODE , ST.RETURNCODE , ST.DECLARATIONCODE , ST.STATUS ,ROWID FROM PHARMACY.STOCKTRANSACTION ST WHERE ST.DECLARATIONCODE = 'DEC00126499'

2. If any Item(Extra Item) is Retuned Physically to Pharmacy for that Particular Patient(Except Acknowledged Items) , then Communicate to L3 Person if they want return that Extra Item.9In "Purchase Request" screen , While selecting the Item from "Left Side Panel" It is not getting added in to the "Right Side Panel".BugIn "Purchase Request" screen , While selecting the Item from "Left Side Panle" It is not getting added in to the "Right Side Panel" since the Item might be having Null Values for "COSTINGMETHODCOST" and "TOTALPURLEADTIME" columns.For the given Items , The "COSTINGMETHODCOST" and "TOTALPURLEADTIME" columns should not be null. If it null , Zero Value(0) has to be inserted in those fields using the below query.

Query :: SELECT IL.ITEMCODE , IL.COSTINGMETHODCOST , IL.TOTALPURLEADTIME , ROWID FROM PHARMACY.ITEMLOCATION IL WHERE IL.ITEMCODE = 'WAS0003'10In "Purchase Request" screen , After selecting the Items to "Right Side Panel". Then after assining , It is not getting added in to the "Selected PR Items" panel.BugIn "Purchase Request" screen , While selecting the Item from "Right Side Panle" It is not getting added in to the "Selected PR Items" panel since the Item might be having Null Value/STRIP/BOX for UOM field.For the given Items , The "StockUomID" , "PurchaseUomID" and "SalesIssueUomID" columns should not be null/STRIP/BOX . If it is , "NOS" has to be inserted in those filds using the below query.Query :: SELECT IL.ITEMCODE , IL.StockUomID , IL.PurchaseUomID , IL.SalesIssueUomID , ROWID FROM PHARMACY.ITEMLOCATION IL WHERE IL.ITEMCODE = 'WAS0003'11Unable to convert the Purchase Request(PR) to Purchase Order(PO) (Po Number not getting generated)BugCase 1 ::In "Item Location" table , Any of the Indented Items in that PR Number might be having huge "MARKET PRICE" and "PURCHASE PRICE"(incorrect values) as compare in "QOH" table for the Items.

Case 2 :: While Converting PO , Same Item is getting displayed twice in Convert PR to pO Screen.Case 1 ::For the given Items , The"MARKET PRICE" and "PURCHASE PRICE" columns are having incorrect value as compare in "QOH" table for the Items using the below queries.Query 1 :: SELECT Q.ITEMCODE , Q.MARKETPRICE , Q.PURCHASEPRICE FROM PHARMACY.QOH Q WHERE Q.ITEMCODE = 'DOL0026' AND Q.STORECODE = '2101011911289'Query 2 :: SELECT IL.Itemcode , IL.MARKETPRICE , IL.PURCHASEPRICE ROWID FROM PHARMACY.ITEMLOCATION IL WHERE IL.ITEMCODE = 'DOL0026'

Case 2 :: Item Showing twice might be having two records in "ITEMUOM" master table.Need to be Done :: 1. The Second Record of that Item has to be deleted in "ITEMUOM" master table using below Query.2. One Record of that Item has to be deleted in "PR Details" table as mentioned below. a. Get the "Purchase Request ID" for the PR Number using below queryQuery :: b. Delete one of the record(Of two records) for that Item in "PR Details" table12While Converting PO , Same Item is getting displayed twice.BugIn "Item Location" table , Any of the Indented Items in that PR Number might be having huge "MARKET PRICE" and "PURCHASE PRICE"(incorrect values) as compare in "QOH" table for the Items.For the given Items , The"MARKET PRICE" and "PURCHASE PRICE" columns are having incorrect value as compare in "QOH" table for the Items using the below queries.Query 1 :: SELECT Q.ITEMCODE , Q.MARKETPRICE , Q.PURCHASEPRICE FROM PHARMACY.QOH Q WHERE Q.ITEMCODE = 'DOL0026' AND Q.STORECODE = '2101011911289'Query 2 :: SELECT IL.Itemcode , IL.MARKETPRICE , IL.PURCHASEPRICE ROWID FROM PHARMACY.ITEMLOCATION IL WHERE IL.ITEMCODE = 'GLI0059'13To cancel the PR Number(Purchase Request)BugWe can cancel the PR Number if the raised Items are not needed (OR) PO Number is not getting generated.To cancel the PR Number , Change the "Status" as "5" for the given PR Number in the Pharmacy "PURCHASEREQUEST" table using below Query.Query :: SELECT PR.PRCODE , PR.STATUS ,ROWID FROM PHARMACY.PURCHASEREQUEST PR WHERE PR.PRCODE = 'PR0100016049'14Stock Mismatch IssueBugStock mismatch exists in Stock Ledger , Physical Stock Report , Retails Mastre Stock Reports with the Stock in Hands.Need to be analysed Inflow & Outflow of the perticular item on trasnaction basis form ralted transaction tables. Then it need to be rectified according to that.

And mismatch Issue exists for the below mrntioned scenarios.1. For the adjusments transactions , Stock is getting updated in either of the tables(QOH , ItemStore) , but it is not updating in the both the tables. This Issue has been fixed as part of the 3.4 Release Notes.2. If the Two Issue Numbers are generated for same Indent Number and one of the Issue number is received in wards , then another Iassue number is cancelling automatically , But stock is not getting added back to Issued store.15Mismatch in Month End Receonciliation ReportsBugAmount Mismatch exists in the below mentioned reports.1. Retail Summary2. Daily Sales Summary3. Sales Report - Discharge Patient4. Department wise Item Wise consumtionThis Issue occurred due to the below mentioned issues.1. Retail Summary with Daily Sales Summary & Sales Report - Discharge Patient Reports not talliedIssue 1 : If the Issue Number is cancelled after date change.

Issue 2: One of the Issue is Number is cancelling while Receiving the Pharmacy Items in Wards in the case of Two Issue Numbers are generated for Same Indent Number. But stock is not reverting back(Has to be added to Issued Store). Due to this , Stock Mismatch Issue also exists.

Note :: 2nd point has been moved as part of 3.4 Release Notes to avoid the Two Issue Numbers for One Indent Number.

2. Retails Summary with Department wise Item wise consumption reportIf the next day the Issued Items received by the store and the Batch Code does not exists in QOH table for the Receiving store , This Issue is occurring.

ALL STORES INFORMATIONLOCATIONHOSPITALIDSTORENAMESTORECODEISDEPTSTOREISOUTSIDESTORESTORE TYPESTATUSCHN MAIN BUILDING10101CHN MAIN WARDS DEPT2101015129210WARDS DEPT DUMMYACTIVECHN MAIN BUILDING10101CHN OT PHARMACY2101015129000OT STOREACTIVECHN MAIN BUILDING10101CHN MAIN OP PHARMACY2101015129100OP PHARMACYINACTIVECHN MAIN BUILDING10101SINDOORI IP PHARMACY210101191128800IP PHARMACYACTIVECHN MAIN BUILDING10101ICCU PHARMACY210101191128700IP PHARMACYACTIVECHN MAIN BUILDING10101BREATHE EASY DEPT CHN2101015129410BREATH EASY DEPT DUMMYACTIVECHN MAIN BUILDING10101Pharmacy Store210101000128601CENTRAL PHARMACY FOR POsACTIVECHN MAIN BUILDING10101CHN MAIN IP PHARMACY210101191128900IP PHARMACYACTIVEAYANAMBAKKAM10108Substore Ayanambakkam210101000123501CENTRAL PHARMACY FOR POsACTIVEAYANAMBAKKAM10108Wards Dept Ayanambakkam21010111123210WARDS DEPT DUMMYACTIVEAYANAMBAKKAM10108OP PHARMACY Ayanambakkam210108191128400OP PHARMACYINACTIVEAYANAMBAKKAM10108IP Pharmacy Ayanambakkam210108191128500IP PHARMACYACTIVE

TABLE INFO FOR IP FLOWDETAILSTABLE DETAILSRECORD COUNTRECORD STATUSPRESCRIPTION DETAILS1.WARDS.PRESCRIPTIONORDER(Whole Prescription)2.WARDS.PRESCRIPTIONDETAILS(Item Wise)1.PRESCRIPTIONORDER table contains one record for each Prescription Number.2.PRESCRIPTIONDETAILS table contains one record for each item raised of Precription Number.1.PRESCRIPTIONORDER Table Statusa. Whole Prescription is pending to be approved if Transaction Status = 1b. Whole Prescription is approved in PAT if Transaction Status = 2c. Whole Prescription is rejected in PAT if Transaction Status = 3d. Whole Discharge Medication is raised and Discharge Summary has to be finalized if Transaction Status = 4e. Whole Prescription is cancelled in Discharge Summary if Transaction Status = 5f. If the Precription is Discharge Medication. i. Discahrge Medication is part of the Final Bill DISCHARGEMEDICATION = 'YES' and IPBILL = 'YES' ii.Discahrge Medication is not part of the Final Bill DISCHARGEMEDICATION = 'YES' and IPBILL = 'NO'

2.PRESCRIPTIONDETAILS Table Statusa.That Perticular item in the Prescription is pending to be approved if Transaction Status = 1b. That Perticular item in the Prescription is approved in PAT if Transaction Status = 2c. That Perticular item in the Prescription is rejected in PAT if Transaction Status = 3d. That Perticular item in the Discharge Medication is raised and Discharge Summary has to be finalized if Transaction Status = 4e. That Perticular item in the Prescription is cancelled in Discharge Summary if Transaction Status = 5INDENT DETAILS1.PHARMACY.MATERIALREQUEST(Whole Indent)2.PHARMACY.MATERIALREQUESTDETAILS(Item Wise)1.MATERIALREQUEST table contains one record for each Indent Number.2.MATERIALREQUESTDETAILS table contains one record for each item indented for that Indent Number.MATERIALREQUEST Table Status1. Indent Number is pending to be Issued in Pharmacy if StatusID = 12. Indent Number is Issued(Billed) in Pharmacy if StatusID = 33. Indent Number is Cancelled in Pharmacy if StatusID = 994. Can Find the Indent Type as mentioned below.a. Drug Indent(Normal Prescription) if IndentFalgType = 1b. Non - Drug Indent(Raise Requset --> Pharmacy) if IndentFalgType = 2c. Stat Indent(Stat Prescription) if IndentFalgType = 3d. Discahrge Medication if IndentFalgType = 4e. ICU Ward Indents if IndentFalgType = 5 (This Functionality applicable where ICU Pharmacy Physically not there and hitting the Indents to IP Pharmacy under ICU radio button based on Wards - Store Mapping.)f. Other Indent(From OT/BreathEasy Dept) if IndentFlagType is NullISSUED , DISPATCH DETAILS1.PHARMACY.STOCKTRANSACTION(Whole Indent)2.PHARMACY.STOCKTRANSACTIONDETAILS(Item Wise)3.PHARMACY.BATCHSERIALITEM(Item Wise and Batch Wise)1.STOCKTRANSACTION table contains one record for each Issue Transaction.2.STOCKTRANSACTIONDETAILS table contains Issued Item wise details and only one record for each unique Itemcode.3.BATCHSERIALITEM table contains Item wise Batch Wise details and only one record for each unique Itemcode and Batchcode.Only one record is maintained for Issue and Dispatch of Indent.

STOCKTRANSACTION Table Status(Indent is Issued)1. Wards Indents :: Once the Indent is Issued in Pharmacy , one record will be inserted and Transaction Status is "2" , Status is "7" , DispatchedDate is Null.2. Other Indents(OT Indent/User Indent) :: Once the Indent is Issued in Pharmacy , one record will be inserted and Transaction Status is "2" , Status is "2".Note :: For Other Indents , Once the Indent Number is Issued The Issued amount will be added in Billing for that patient(No Dispatch and Receive is not Applicable).

STOCKTRANSACTION Table Status(Issue Number is Dispatched) 1. Wards Indents :: Once the Indent is Dispatched in Pharmacy , same Issue record will be updated and Transaction Status is "2" , Status is "1" , DispatchedDate will be captured.2. Other Indents(OT Indent/BreathEasy Dept) :: Dispatch is not applicable.

BATCHSERIALITEM Table StatusIn BatchserialItem table, For the reords of this Issue/Dispatch Record(Transaction Status :: 2) , Status is "2" and TransactionTypeID is "3".RECEIVE DETAILS1.PHARMACY.STOCKTRANSACTION(Whole Indent)2.PHARMACY.STOCKTRANSACTIONDETAILS(Item Wise)3.PHARMACY.BATCHSERIALITEM(Item Wise and Batch Wise)1.STOCKTRANSACTION table contains one record for each Issue Transaction.2.STOCKTRANSACTIONDETAILS table contains Issued Item wise details and only one record for each unique Itemcode.3.BATCHSERIALITEM table contains Item wise Batch Wise details and only one record for each unique Itemcode and Batchcode.STOCKTRANSACTION Table Status(Issue Number is Received)1. Wards Indents :: Once the Indent Received in wards , one record will be inserted and Transaction Status is "3" , Status is "1".2. Other Indents(OT Indent/User Indent) :: Receive is not applicable.Note :For Wards Indents , Once the Issue Number is Received The Received amount will be added in Billing for that patient.

BATCHSERIALITEM Table StatusIn BatchserialItem table,For the reords of this Receive Record(Transaction Status :: 3) , Status is "2" and TransactionTypeID is "3".RETUNR DETAILS1.PHARMACY.STOCKTRANSACTION(Whole Indent)2.PHARMACY.STOCKTRANSACTIONDETAILS(Item Wise)3.PHARMACY.BATCHSERIALITEM(Item Wise and Batch Wise)1.STOCKTRANSACTION table contains one record for each Issue Transaction.2.STOCKTRANSACTIONDETAILS table contains Issued Item wise details and only one record for each unique Itemcode.3.BATCHSERIALITEM table contains Item wise Batch Wise details and only one record for each unique Itemcode and Batchcode.STOCKTRANSACTION Table Status(Received Items Retuned to Pharmacy)We can Return few/all items in the Isssue Number. And we can't return again the same item of Same Issue Number.

Wards Indents & Other Indents(OT Indent/User Indent)::

Stock Transaction :: a. Once the Items are retuned , two records will be inserted in Stock Transaction table(One is Declaration Record and one more is Return Record) and Return Number will be displayed in Respective Pharmacy Store.b. Transaction status is "8" and Status is "4" for Declaration Record.c. Transaction status is "4" and Status is "4" for Return Record.d . For the Receive Record of Issue Number , In StockTransactionDetails table , status will be inserted as "2" once the items retuned and that item details won't show again in Drug Return page for return.

BATCHSERIALITEM Table StatusIn BatchserialItem table,For the reords of this Declaration/ Return Record(Transaction Status :: 8 & 4) , Status is "1" and TransactionTypeID is "3".ACKMOWLEDGEMENT DETAILS1.PHARMACY.STOCKTRANSACTION(Whole Indent)2.PHARMACY.STOCKTRANSACTIONDETAILS(Item Wise)3.PHARMACY.BATCHSERIALITEM(Item Wise and Batch Wise)1.STOCKTRANSACTION table contains one record for each Issue Transaction.2.STOCKTRANSACTIONDETAILS table contains Issued Item wise details and only one record for each unique Itemcode.3.BATCHSERIALITEM table contains Item wise Batch Wise details and only one record for each unique Itemcode and Batchcode.STOCKTRANSACTION Table Status(Retuned Number Acknowledged in Pharmacy)

Wards Indents & Other Indents(OT Indent/User Indent):: Stock Transaction :: a. Once the Return Number is Acknowledged , one record will be inserted and Transaction Status is "5" , Status is "2"b . For the Return Record of Issue Number , In StockTransaction table status will be updated as "2" once the Return Number is Acknowledged. Note ::The Acknowledged amount will be deducted in Billing for that patient.

BATCHSERIALITEM Table StatusIn BatchserialItem table,For the reords of this Acknowledged Record(Transaction Status :: 5) , Status is "2" and TransactionTypeID is "3".

TABLE INFLOW FOR INTERNALDETAILSTABLE DETAILSRECORD COUNTRECORD STATUSINDNETED DETAILS1.PHARMACY.MATERIALREQUEST2.PHARMACY.MATERIALREQUESTDETAILS1.MATERIALREQUEST table contains one record for each Indent Number.2.MATERIALREQUESTDETAILS table contains one record for each item indented of Indent Number.MATERIALREQUEST Table Status1. Indent Number is pending to be Issued in Pharmacy if StatusID = 12. Indent Number is Issued(Billed) in Pharmacy if StatusID = 33. Indent Number is Cancelled in Pharmacy if StatusID = 99ISSUED DETAILS1.PHARMACY.STOCKTRANSACTION(Whole Indent)2.PHARMACY.STOCKTRANSACTIONDETAILS(Item Wise)3.PHARMACY.BATCHSERIALITEM(Batch Wise)1.STOCKTRANSACTION table contains one record for each Issue Transaction.2.STOCKTRANSACTIONDETAILS table contains Issued Item wise details and only one record for each unique Itemcode.3.BATCHSERIALITEM table contains Item wise Batch Wise details and only one record for each unique Itemcode and Batchcode.STOCKTRANSACTION Table Status(Indent is Issued)Once the Indent is Issued in Pharmacy , one record will be inserted and Transaction Status is "2" , Status is "1" .

BATCHSERIALITEM Table StatusFor the reords of this Issue Record(Transaction Status :: 2) , Status is "2" and TransactionTypeID is "3".RECEIVE DETAILS1.PHARMACY.STOCKTRANSACTION(Whole Indent)2.PHARMACY.STOCKTRANSACTIONDETAILS(Item Wise)3.PHARMACY.BATCHSERIALITEM(Batch Wise)1.STOCKTRANSACTION table contains one record for each Issue Transaction.2.STOCKTRANSACTIONDETAILS table contains Issued Item wise details and only one record for each unique Itemcode.3.BATCHSERIALITEM table contains Item wise Batch Wise details and only one record for each unique Itemcode and Batchcode.STOCKTRANSACTION Table Status(Issue Number is Received)Once the Indent Received in wards , one record will be inserted and Transaction Status is "3" , Status is "1".

BATCHSERIALITEM Table StatusFor the reords of this Receive Record(Transaction Status :: 3) , Status is "2" and TransactionTypeID is "3".DETAILSTABLE DETAILSRECORD COUNTRECORD STATUSADJUSTMENT DETAILS1.PHARMACY.STOCKTRANSACTION(Whole Indent)2.PHARMACY.STOCKTRANSACTIONDETAILS(Item Wise)3.PHARMACY.BATCHSERIALITEM(Batch Wise)1.STOCKTRANSACTION table contains one record for each Issue Transaction.2.STOCKTRANSACTIONDETAILS table contains Issued Item wise details and only one record for each unique Itemcode.3.BATCHSERIALITEM table contains Item wise Batch Wise details and only one record for each unique Itemcode and Batchcode.STOCKTRANSACTION Table Status(Indent is Issued)Once theAdjustment Transaction done in Pharmacy , one record will be inserted and Transaction Status is "6" , Status is "1" . And two type of transactions are there as mentioned below.1. Adjustment Receipt :: If the Physical Stock is more than the System Stock , then users will do Adjustment Receipt to increase the stock in system.2. Adjustment Issue(AI) :: If the Physical Stock is less than the System Stock , then users will do Adjustment Issue to reduce the stock in system.

STOCKTRANSACTIONDETAILS Table StatusFor the Records of this Adjustment Record 1. Adjustment Type is "5" if it is AdjustmentReceipt of that Item.2. Adjustment Type is "1" if it is AdjustmentIssue of that Item.

BATCHSERIALITEM Table StatusFor the reords of this Issue Record(Transaction Status :: 2) , Status is "1" and TransactionTypeID is "3".

PRESCRIPTION TABLETABLESTATUSTRANSACTIONALSTATUSSTATUS NAMEREMARKSPRESCRIPTION ORDER11PrescriptionRaisedWard Nurse will raise the Prescription.12PrescriptionApprovedClinical Pharmacist will approve the Prescription , then indent will get generated.13PrescriptionRejectedIf PRES is wrongly raised , then Clinical Pharmacist will reject the Prescription.14PrescriptionDuringDischargeIf DIS MED raised status will be 4 and it won't display in PAT screen. Once Discharge Summary is finalised status will be "1".15PrescriptionCancelled(Cancel Before PAT from UI or Cancelling in Backend by IT)This scenario is happening , Once Nurse is cancelling the Rejected Prescription.(OR)This can done in Backend by IT to hide the Prescription in Discahrge Summary.0Any of ( 1, 2 , 3 , 4 ,5)PrescriptionCancelled(Cancel Before PAT from UI or Cancelling in Backend by IT)This scenario is happening , Once Doctor/Nurse is deleting the Raised Prescription/Discharge Medication(Before PAT Approval).PRESCRIPTION DETAILSSTATUSTRANSACTIONALSTATUSSTATUS NAMEREMARKS11PrescriptionRaisedWard Nurse will raise the Prescription.12PrescriptionApprovedClinical Pharmacist will approve the Prescription , then indent will get generated.13PrescriptionRejectedIf PRES is wrongly raised , then Clinical Pharmacist will reject the Prescription.14PrescriptionDuringDischargeIf DIS MED raised status will be 4 and it won't display in PAT screen. Once Discharge Summary is finalised status will be "1".15PrescriptionCancelled(Cancel Before PAT from UI or Cancelling in Backend by IT)This scenario is happening , Once Nurse is cancelling the Rejected Prescription.(OR)This can done in Backend by IT to hide the Prescription in Discahrge Summary.0Any of ( 1, 2 , 3 , 4 ,5)PrescriptionCancelled(Cancel Before PAT from UI or Cancelling in Backend by IT)This scenario is happening , Once Doctor/Nurse is deleting the Raised Prescription/Discharge Medication(Before PAT Approval).

MATERIAL REQUEST TABLEIF INDENT RAISEDMATERIAL PROFILE CODEINDENT TYPESTATUS IDTRANSACTION TYPEINDNET FLAG TYPEDRUGNULL1111NON - DRUG1NULL112STATNULL1113DISCHARGE MEDICATIONNULL1114ICUNULL1115OTHER INDENT(AGAINST SURGERY)/USER INDENTNULL212NULLIF INDENT IS ISSUEDDRUGNULL1311NON - DRUG1NULL312STATNULL1313DISCHARGE MEDICATIONNULL1314ICUNULL1315OTHER INDENT(AGAINST SURGERY)/USER INDENTNULL232NULLIF INDENT IS CANCELLEDDRUGNULL19911NON - DRUG1NULL9912STATNULL19913DISCHARGE MEDICATIONNULL19914ICUNULL19915OTHER INDENT(AGAINST SURGERY)/USER INDENTNA2992NULLIF INDENT RAISEDMATERIAL PROFILE CODEINDENT TYPESTATUS IDTRANSACTION TYPEINDNET FLAG TYPEINTERNAL INDENTNULL211NAIF INDENT IS ISSUEDINTERNAL INDENTNULL231NAIF INDENT IS CANCELLEDINTERNAL INDENTNULL2991NA

apollo:This Functionality applicable where ICU Pharmacy Physically not there and hitting the Indents to IP Pharmacy under ICU radio button based on Wards - Store Mapping.apollo:This Functionality applicable where ICU Pharmacy Physically not there and hitting the Indents to IP Pharmacy under ICU radio button based on Wards - Store Mapping.apollo:This Functionality applicable where ICU Pharmacy Physically not there and hitting the Indents to IP Pharmacy under ICU radio button based on Wards - Store Mapping.

STOCKTRANSACTIONTABLEFOR PATIENT TRANSACTIONS(PMIN & PMIS)TRANSACTION CODESTATUSOne Indent will have only one Issue Number , But it may have two Issue Numbers if first Issue Number is cancelled in the Two.DRUG27NON - DRUGSTATDISCHARGE MEDICATIONICUOTHER INDENT(AGAINST SURGERY)22IF ISSUE IS CANCELLEDISSUE TRANSACTIONRECEIVE TRANSACTIONTRANSACTION CODESTATUSTRANSACTION CODESTATUSIf Indent is Issued , User can cancel the Issue Number before Dispatch. And Once it is cancelled it will update the status as "9" for Issue Record and then one more(Receive) Record will be inserted with status "0". Then same indent will be reverted back to pending list and can be issued again.DRUG2930NON - DRUGSTATDISCHARGE MEDICATIONICUOTHER INDENT(AGAINST SURGERY)NANANANAWe can't cancel the Issue Number of Other Indent.IF INDENT IS DISPATCHEDTRANSACTION CODESTATUSThere won't be any separate record for Dispatch.In Issue Record only Dispatch Date and Status will be updated.DRUG21NON - DRUGSTATDISCHARGE MEDICATIONICUOTHER INDENT(AGAINST SURGERY)NANAThere is No Dispatch for Other Indent.IF INDENT IS RECEIVEDOne Issue Number will have only one Receive NumberISSUE TRANSACTIONRECEIVE TRANSACTIONDECLARATION TRANSACTIONRETURN TRANSACTIONRET ACK TRANSACTIONTRANSACTION CODESTATUSTRANSACTION CODESTATUSTRANSACTION CODESTATUSTRANSACTION CODESTATUSTRANSACTION CODESTATUSDRUG2231NANANANANANANON - DRUGSTATDISCHARGE MEDICATIONICUOTHER INDENT(AGAINST SURGERY)22There is No Receive Functionality for Other IndentNANANANANANAIF INDENT IS RETURNEDOne Issue Number will have Multiple Declaration & Return Numbers.ISSUE TRANSACTIONRECEIVE TRANSACTIONDECLARATION TRANSACTIONRETURN TRANSACTIONRET ACK TRANSACTIONTRANSACTION CODESTATUSTRANSACTION CODESTATUSTRANSACTION CODESTATUSTRANSACTION CODESTATUSTRANSACTION CODESTATUSDRUG22318444NANANON - DRUGSTATDISCHARGE MEDICATIONICUOTHER INDENT(AGAINST SURGERY)22There is No Receive Functionality for Other Indent8444NANAIF INDENT IS ACKNOWLEDGEDOne Issue Number will have Multiple Declaration , Return & Acknoeledge Numbers.ISSUE TRANSACTIONRECEIVE TRANSACTIONDECLARATION TRANSACTIONRETURN TRANSACTIONRET ACK TRANSACTIONTRANSACTION CODESTATUSTRANSACTION CODESTATUSTRANSACTION CODESTATUSTRANSACTION CODESTATUSTRANSACTION CODESTATUSDRUG2231844252NON - DRUGSTATDISCHARGE MEDICATIONICUOTHER INDENT(AGAINST SURGERY)22There is No Receive Functionality for Other Indent844252FOR INTERNAL STORE TRANSACTIONS(IN & IS)IF INDENT IS ISSUEDISSUE TRANSACTIONTRANSACTION CODESTATUSINTERNAL INDENT21IF INDENT IS ISSUEDISSUE TRANSACTIONRECEIVE TRANSACTIONTRANSACTION CODESTATUSTRANSACTION CODESTATUSINTERNAL INDENT2231FOR ADJUSTMENT(ADJ) TRANSACTIONS(AI & AR)IF INDENT IS ISSUEDISSUE TRANSACTIONTRANSACTION CODESTATUSINTERNAL INDENT61

apollo:(To show the Cancelled Qty in Report