Top Questions - The MEDITECH KEmost recent 30 from http://www.meditech-ke.com2010-09-08T12:52:12Zhttp://www.meditech-ke.com/feedshttp://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://www.meditech-ke.com/questions/80/how-do-you-find-txn-gl-account-for-a-check-invoiceHow Do You Find txn.gl.account For A Check/invoice?Chuck2009-12-21T20:23:02Z2010-09-08T02:22:23Z
<p>I am trying to get a report to show the invoices for each check written (accomplished). Problem is the txn.gl.account doesn't show up on the report. DPM/Segment is AP.CHECK.invoices. This is the macro code:</p>
<p>DO{@First(AP.INV.urn),
@AP.INV.po.num^/PONUM,
""^@AP.INV.txn.urn,
DO{@Next(AP.INV.txn.urn),
DO{@Next(AP.INV.txn.gl.account),
@AP.INV.txn.gl.account^/GLACCT}}}</p>
http://www.meditech-ke.com/questions/248/how-do-you-call-the-bar-code-printing-routine-in-a-macroHow do you call the bar code printing routine in a macroMMiller2010-05-01T18:30:11Z2010-09-07T14:22:21Z
<p>How (in a macro) do you call the routine to print code.128 barcode? I have a computed field like: xx.bc, TYP=CODE.128,LEN=10,VAL=@stock. It prints OK, but I would like to call the routine in a macro. I noticed from LIST OBJECT that the routine' name is something similiar to Z.program.bar.code(var1,var2,var3,...)
I tried using @Z.program.bar.code(var1,var2,var3,...) and received an error message indicating the routine was not found. </p>
http://www.meditech-ke.com/questions/16/current-inpatients-in-bar-pat-dpmCurrent Inpatients in BAR.PAT DPMunknown (google)2009-11-01T05:05:13Z2010-09-07T06:22:23Z
<p>Is there any way to get current Inpatient in hospital apart from looping through ADM.PAT.room.bed Index or PHA.PAT.room.bed Index in BAR.PAT DPM?</p>
http://www.meditech-ke.com/questions/269/emr-server-fragmentationEMR Server FragmentationRizmaan Mohamed2010-05-11T06:23:50Z2010-09-06T21:22:21Z
<p>Our EMR Server has lots of DISK fragmentation. We are Using RAID 10 disks and I be-leave that because of disk fragmentation the Daily Tivoli Backup is taking around 9 -10 Hours to continue and this has a major impact on our server performance.</p>
<p>My Question is that i ve been evaluating Disk keeper will this make a difference?</p>
http://www.meditech-ke.com/questions/363/meaning-of-memory-writeMeaning of @Memory.writeRizmaan Mohamed2010-07-28T13:14:28Z2010-09-06T09:27:15Z
<p>What Is meant by @Memory.write(MEM,"191100201650020"<em>""</em>@patient's.unit.number_D(13))</p>
http://www.meditech-ke.com/questions/398/pcs-nursing-status-board-does-not-printPCS Nursing Status board does not printRizmaan Mohamed2010-09-06T06:55:56Z2010-09-06T09:09:28Z
<p>Our Hospital changed to Windows 7 recently, one of the problems which we are facing now is in PCS the nursers are not able to print there "status board".
When they click on the print button the vmagicppII preview comes as blank. </p>
<p>I did add meditech document manager as a windows service but the result is same.</p>
<p>I am getting the following error on the VMAGICPPII log file;</p>
<p>Function: MIPC::INIT()
Event: PIPE ALREADY EXISTED
Data: Global\MIPC4816</p>
<p>And Nt Log as follows</p>
<p>Error code: 10053
Client Name: duch11706.KOCKW.com Client IP: 10.2.1.15:56669
Data: 21282716808VMagic PP
Failed to print report: 'Status Board
Destination:
System failure: Socket framing error
GetLastError = 0x0011282716808VMagic PPData length: 0x0c21283146108VMagic PPStarting MEDITECH Document Manager</p>
<p>File Version
VMagicPPII.exe 5.51 Release Instance 51
VMagicPPVw.exe 5.51 Release Instance 51
VPrintProc.exe 5.51 Release Instance 51
MFX.dll 1.40 Release Instance 40
DM.dll 5.51 Release Instance 51
DMFS.dll 5.51 Release Instance 51
DMHTML.dll 5.51 Release Instance 51
DMDiag.dl_ 5.51 Release Instance 5141283406079VMagic PPStarting MEDITECH Document Manager</p>
<p>File Version
VMagicPPII.exe 5.51 Release Instance 51
VMagicPPVw.exe 5.51 Release Instance 51
VPrintProc.exe 5.51 Release Instance 51
MFX.dll 1.40 Release Instance 40
DM.dll 5.51 Release Instance 51
DMFS.dll 5.51 Release Instance 51
DMHTML.dll 5.51 Release Instance 51
DMDiag.dl_ 5.51 Release Instance 514</p>
<p>Any Suggestions will be a great help?</p>
<p>Thanks in advance.</p>
http://www.meditech-ke.com/questions/319/can-i-reverse-the-sign-on-a-balance-field-in-a-tk-regionCan I reverse the sign on a balance field in a TK regionCathy Ownby2010-06-11T20:09:45Z2010-09-06T03:22:21Z
<p>I have a basic flat file report written out of Gl.Amount. There is a HR and a TK region on the report. I am extracting the balances on Balance sheet accounts and when the account type= Liability I want the amounts to output as positive numbers. I have tried to change the DAT to PINT, DEC2 etc and this does not remove the negatives. I tried a computed field:</p>
<p>DAT= FREE
FNC=TOT
JFY=L
LEN=12
VAL= IF{@account's.class's.alres="L" @balance*(-1);@balance} This and several other variations of this crashes. </p>
<p>Is there a way to do this?</p>
<p>Thanks
Cathy</p>
http://www.meditech-ke.com/questions/384/meditech-data-repository-getting-an-overviewMeditech data repository, getting an overviewThomas Salvini2010-08-26T15:54:20Z2010-09-05T06:16:16Z
<p>I have no direct Meditech end user experience, I am using the DR and have no documentation. I am trying to get a bit of an understanding. Are there any good overview guides which give signposts as to naming conventions and key tables?</p>
<p>Many thanks</p>
<p>Thomas</p>
http://www.meditech-ke.com/questions/115/responses-in-nur-pc-work-td-repeat-results-multResponses in NUR.PC.WORK.td.repeat.results.multDavid P2010-01-22T16:12:50Z2010-09-04T08:22:23Z
<p>In NUR.PC.WORK.td.repeat.results.mult my field containing: IF{td.rep.query^MIS.QUERY.mnemonic,
VAL=@MIS.QUERY.group.resp^MIS.GROUP.RESP.mnemonic,
VAL=@td.rep.value.mult^MIS.GROUP.RESP.element.mnemonic .,
VAL=@MIS.GROUP.RESP.element.response}</p>
<p>gives what I think is the responses to all the queries available for the patient. If I follow the field with one containing @td.rep.value.mult["QUERYNAME'] I do not get the response even though it is there. Is retrieving repsonses different in this segment?</p>
http://www.meditech-ke.com/questions/324/selection-based-on-fragmentSelection based on fragmentsamuel2010-06-18T17:26:01Z2010-09-04T01:22:23Z
<p>I have a report that prints a list of drug mnemonics based on a selection criteria. The result is some 100+ drugs. </p>
<p>I'd like to create a separate report to total usage. In this report, I'd like to base the results on the drugs printed from report A. </p>
<p>How would I best accomplish this? </p>
http://www.meditech-ke.com/questions/296/meditech-6-0-report-designer-rule-naming-conventionsMEDITECH 6.0 Report Designer - Rule Naming ConventionsJohn Sharpe2010-05-27T00:41:21Z2010-09-04T01:22:23Z
<p>You'll be using rules to accomplish the heavy lifting in the Report Designer.</p>
<p>Agreeing on a Naming Convention for these Rules is going to make your life a lot easier by doing this before very many reports are written.</p>
<p>The RD Rule Mnemonic is limited to 10 or 15 characters. The release of 6.0.5 Priority Pack 5 does allow for 32 characters to name or describe the rule. </p>
<p>QUESTION: Anyone have an interest in getting together in a WebEx and coming up with Standard Naming Recommendations to help keep rules manageable? Email me at jsharpe@comstock-software.com if you are interested and I'll set a date.</p>
http://www.meditech-ke.com/questions/395/need-to-create-report-that-show-users-profiles-and-mpasNeed to Create Report that Show Users, Profiles and MPAsWayne Willis2010-09-03T17:45:16Z2010-09-03T17:45:16Z
<p>Hello </p>
<p>I am new to Report Writer. We are half way through our install. How can I print a report that will show the users, profile and that uss MPAs. I can get a user list but not the mpas.</p>
<p>Thanks</p>
http://www.meditech-ke.com/questions/393/mouse-click-itemMouse click itemCheryl Ivey2010-09-02T18:07:00Z2010-09-03T15:05:49Z
<p>IFE=IF{@Z.lastkey=@Z.mouse.click 1,
IFE=P(R,S,"X"^/[ANS%0,"Z.C1"]|0)^#;1}</p>
<p>Hi Dave,</p>
<p>Do you have more information on how to use it with the skin item that was shown? Would you share? Have you used this before? </p>
<p>Where "Z.C1" is the name of the query on the CDS, and "X" being the input added to a field that is clicked with the mouse.</p>
<p>I can see this being used for a few different things. </p>
<ol>
<li><p>We are going live with electronic ordering by doctors, and to minimize on the amount of time they must spend entering data on a patient we could use this for check boxes. E.g. for MRI</p></li>
<li><p>We have a wound identification screen that clicking would be much faster than entering all the way through it.</p></li>
</ol>
<p>Any help is appreciated!</p>
http://www.meditech-ke.com/questions/191/report-getting-checks-paid-to-a-poReport: Getting checks paid to a PORick2010-03-29T17:15:34Z2010-09-03T09:22:24Z
<p>I am trying to get in a report the checks made to pay a particular PO.
I have tried making a report in the AP.INV DPM but I get the check number (txn.check.num) and not the PO.</p>
http://www.meditech-ke.com/questions/130/query-responses-for-seven-different-days-on-reportQuery responses for seven different days on reportDavid P2010-02-03T22:16:24Z2010-09-03T08:22:24Z
<p>I'm trying to list the @td.value["IRFTDUR"] daily results, for seven days, left to right in NUR.PC.WORK.td.results. I think I need to use a DO loop with PREV but I am not sure of the syntax. My first (failed attempt) is:</p>
<p>@GET.DATA,<br />
@PREV.DATE,<br />
1<br /> </p>
<p>GET.DATA<br />
6^/MV.FN,<br />
"LN"^/MV.LN,<br />
"IRF"^/MV.NAME,<br />
@TD.VALUE["IRFTDUR",@PREV.DATE]^@MV.ARRAY,<br />
1<br /> </p>
<p>TD.VALUE<br />
IF{@MIS.QUERY.group.resp[td.query]^MIS.GROUP.RESP.mnemonic,<br />
@td.value^MIS.GROUP.RESP.element.mnemonic,<br />
@MIS.GROUP.RESP.element.response @MIS.GROUP.RESP.element.response;<br />
@td.value}<br /> </p>
<p>PREV.DATE<br />
DO{@Prev(td.act.date) IF{@td.value["IRFTDUR"]>0 @td.act.date^1}},<br />
1<br /> </p>
<p>MV.ARRAY<br />
/R.MV[/MV.NAME,MV.LN,/MV.FN] <br /> </p>
http://www.meditech-ke.com/questions/362/abs-report-listing-procedures-for-the-day-by-patientABS report listing procedures for the day by patientDimitri Papachristos2010-07-27T18:09:03Z2010-09-03T01:22:22Z
<p>Since ABS does not an index by date activity in Magic, does anyone know what the best approach would be to get all surgical procedures for inpatients and outpatients using a date range?</p>
<p>Thanks
Dimitri</p>
http://www.meditech-ke.com/questions/368/need-all-values-from-a-single-response-query-when-it-is-a-quantity-typeNeed all values from a single response query when it is a quantity type.Matthew2010-08-05T20:49:47Z2010-09-03T00:22:23Z
<p>We are trying to get all the temperature values per patient to pull up and our NPR report is only pulling up the last value that was entered by nursing. Tried doing a multiple response formatting but it is only for Several or text type queries. Here is the code so far for our computed field.
DAT=FREE
JFY=L
LEN=5
VAL=@cd.response["VS.TEMP"] </p>
http://www.meditech-ke.com/questions/340/dr-how-to-join-admvisits-to-barbchtxnsDR- How to Join AdmVisits to BarBchTxnsColin 2010-07-07T15:18:45Z2010-09-03T00:22:23Z
<p>Does anyone know how I can Join AdmVisits or BarVisits to BarBchTxns or BarBchTxnItems?
I have a report that I need patient names on but cant seem to find any way to Join them.</p>
http://www.meditech-ke.com/questions/338/how-to-join-admvisits-with-bar-tablesHow to Join AdmVisits with Bar TablesColin2010-07-07T15:05:12Z2010-09-02T19:22:24Z
<p>Does anyone know how I can Join AdmVisits or BarVisits to BarBchTxns or BarBchTxnItems?
I have a report that I need patient names on but cant seem to find any way to Join them.</p>
http://www.meditech-ke.com/questions/392/pulling-exempt-withholdings-from-pp-whold-dict-onto-a-pp-pay-reportPulling Exempt Withholdings from PP.WHOLD.DICT onto a PP.PAY reportBrenda Gorham2010-09-02T15:54:11Z2010-09-02T15:54:11Z
<p>I have a report written in PP.PAY, detail segment of pp.time.card.file.</p>
<p>One of the fields that I need to pull is the dollar amount for the pre-taxable withholdings (health, dental, etc). I was able to hard code each withholding in my macro, but I would prefer to reference the federal tax withholding and loop thru the exempt withholding listing.</p>
<p>I feel this would be more sufficient, as I would not have to update the macro each time a new exempt withholding is added.
Could someone help me with the looping expression?
Thanks so much, Brenda</p>
http://www.meditech-ke.com/questions/267/shortcut-in-find-baby-account-associated-with-mom-accountShortcut In Find Baby Account Associated With Mom AccountJen2010-05-10T16:33:44Z2010-09-01T18:25:41Z
<p>Is there a shortcut on the MTech 5.64 to find the related baby account assoicated with the Mom's account w/o having to go through all of the steps? On the previous version it was one click away now you have to go trough a whole cycle. Thanks!</p>
http://www.meditech-ke.com/questions/373/emr-server-backupEMR Server BackupRizmaan Mohamed2010-08-07T15:50:12Z2010-09-01T18:19:13Z
<p>Meditech EMR is consist of a huge amount of small files which rapidly grows every day. Data backup is very important specially for the EMR server.
What are the types of backup strategies used for EMR Server in your sites;</p>
<ol>
<li>What backup software is used in your site.</li>
<li>What type of backup is used (File level or Block level etc.)</li>
<li>Usually how much time it takes for the backup to complete.</li>
</ol>
<p>Any recommendations /suggestions /lessons learned that you like to share! </p>
http://www.meditech-ke.com/questions/388/report-query-response-for-all-instances-of-assessment-for-every-visitReport query response for all instances of assessment for every visitElizabeth2010-08-31T23:37:58Z2010-09-01T18:13:05Z
<p>I have a download report (DPM=ADM.PAT, detail=main) that will print the query responses for a nursing assessment, but it will only print the results of one assessment /visit. urn is the only sort and facility is the only select. Am I only getting one assessment per visit to print because the report is sorting on urn? </p>
http://www.meditech-ke.com/questions/101/how-do-i-access-the-count-in-the-macro-for-trailer-keysHow do I access the count in the macro for trailer keys?Thillai2010-01-05T15:59:17Z2010-08-31T21:22:22Z
<p>Hi,</p>
<p>I need to be able to access the count in the macro called from a trailer key. Is there a global variable for this? I can do a running total but I am trying to avoid this. </p>
<p>Thanks
Thillai</p>
http://www.meditech-ke.com/questions/186/getting-data-from-another-reportGetting Data from another reportRick2010-03-25T12:33:15Z2010-08-31T17:22:22Z
<p>Is it possible to get data from another report?
I have a custom PO report from MM module which needs the PO numbers from a standard report in GL module (Non vouchered Proccess Money Batch report: NV Journal).</p>
http://www.meditech-ke.com/questions/237/client-server-npr-page-trailerClient Server NPR Page TrailerJohn Sharpe2010-04-27T02:58:04Z2010-08-31T08:22:23Z
<p>How many lines does MEDITECH calculate to be in a Client Server Page Trailer?</p>
http://www.meditech-ke.com/questions/26/report-writing-technologies-for-data-repositoryReport Writing Technologies for Data RepositoryJohn Sharpe2009-11-11T01:50:13Z2010-08-30T01:46:01Z
<p>Which report writing technologies are you using to access MEDITECH DR?</p>
http://www.meditech-ke.com/questions/325/estimate-correct-value-for-pg-attributeEstimate correct value for PG attributesamuel2010-06-18T18:08:31Z2010-08-30T00:22:21Z
<p>I’m working on a MAR for a site (yes, there are sites still on paper!)</p>
<p>I'm having problems with my MAR sections regarding page breaks. </p>
<p>Each fragment is 120 chars/line 16 chars/inc 80 lines/page 6 lines/inch</p>
<p>Depending on how many label comments appear on each pharmacy order determines how many lines each order will be. </p>
<p>I've tried to accommodate for large orders with a PG=20, but for orders that don't have that many lines, the report will break with just a huge section left. </p>
<p>Is there any way to determine a number before the detailed order prints, almost like a variable PG command? </p>
<p>Make sense?</p>
http://www.meditech-ke.com/questions/313/reassessment-ruleReassessment rulesamuel2010-06-04T06:53:52Z2010-08-27T23:22:21Z
<p>Anybody written a reassessment rule based on PRN reason? </p>
<p>Basically I'm trying to prevent a reassessment trigger unless the PRN reason is "PAIN"</p>
<p>IF{[f rx prn reason]="PAIN" 1;""};</p>
<p>I ordered the drug this is attached two for 2 orders, one with a PRN reason of PAIN and another for fever. </p>
<p>However, neither order flags for reassessment. </p>
<p>Any ideas?</p>
http://www.meditech-ke.com/questions/358/start-macro-editorStart MAcro EditorColin 2010-07-22T20:06:59Z2010-08-27T22:35:12Z
<p>Ok, I want to teach myself NPR. But I dont really know where to begin.
How do you entr a new report? We are Magic 5.6.</p>