|
(aka Spells and Incantations)
APPLICATION Access Matrix
This is a matrix of what other applications you can access from your primary DPM without having to use fragments.
PATIENT urn Matrix
This is a matrix of how each of the DPMs refers to the internal #s (urn) for ADM, BAR, MRI and the Account# and Unit#.
ASCII Table (7 bit)
B/AR: Determining the ALT.CODE for a Procedure:
Within a macro:
@procedure.code.mnemonic^BAR.PROC.mnemonic,
"ALT.CODE.ABBREVIATION"^BAR.PROC.alt.code.type,
@.today+1^BAR.PROC.alt.code.eff.date
@Prev(BAR.PROC.alt.code.eff.date),
@BAR.PROC.alt.code^ALT.CODE
As a VAL= statement:
IF{@procedure.code.mnemonic^BAR.PROC.mnemonic,"ALT.CODE.ABBREVIATION"^BAR.PROC.alt.code.type,
@.today+1^BAR.PROC.alt.code.eff.date,@Prev(BAR.PROC.alt.code.eff.date),@BAR.PROC.alt.code}
NOTE: @procedure.code.mnemonic needs to be replaced with the real field.name that you will be using.
"ALT.CODE.ABBREVIATION" needs to be replaced with the real alt.code mnemonic that you will be using.
The references to BAR.PROC enable this program to work whether you are using BAR.PAT, BAR.BCH or BAR.PROC as your main DPM.
B/AR: Determining the Standard Price for a Procedure:
Within a macro:
@procedure.code.mnemonic,
@.today+1^BAR.PROC.std.effective.date
@Prev(BAR.PROC.std.effective.date),
@BAR.PROC.std.effective.date.charge^STD.CHG
As a VAL= statement:
IF{@procedure.code.mnemonic,@.today+1^BAR.PROC.std.effective.date,
@Prev(BAR.PROC.std.effective.date),@BAR.PROC.std.effective.date.charge}
NOTE: @procedure.code.mnemonic needs to be replaced with the real field.name that you will be using.
The references to BAR.PROC enable this program to work whether you are using BAR.PAT, BAR.BCH or BAR.PROC as your main DPM.
Funky date indexes:
OE.ORD: oe.orders.by.category.index (comp.order.num)
PHA.RX: pha.rx.active.index (dc.date.or.active)
RADRW.EXAM: radiology.order.index (exam.dates)
Setting up your NPR reports for downloading
NPR Report efficiency
Finding LAST Month's Beginning and End Date:
%Z.date.add(@.today$6_“01”,“0-1”)^/MON.END.DATE
/MON.END.DATE$6_“01”^/MON.BEG.DATE
NOTE: $6 means take everything to the left of, but not including, the sixth position of the field. Remember: MEDITECH starts its counting with zero! “01” means, join 01 to this field.
NPR 'SELECT' operators
Pre-loading an unchanging SELECT List
NPR Report 'Style'
...and the TRUTH shall set you free!
Key MEDITECH NPR Variables
Let's do some MAGIC!
|